Build Information
Failed to build Recap, reference 1.1.5 (38b486
), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 11:07:41 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
127 | }
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:13: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:55: error: 'Color' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:61: error: 'black' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:69: error: 'Color' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:75: error: 'white' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:193:40: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
194 | self
195 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:196:18: error: 'padding' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
194 | self
195 | } else {
196 | self.padding(.bottom, 24.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
197 | }
198 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:195:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
194 | self
195 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
196 | self.padding(.bottom, 24.0)
197 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:55: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| | |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
194 | self
[13/20] Compiling Recap Feature.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/Feature.swift:21:16: error: 'Color' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension Feature {
| `- note: add @available attribute to enclosing extension
21 | var color: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
22 | if self.colorRepresentation.hasPrefix("#") {
23 | return Color(hex: self.colorRepresentation)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/Feature.swift:23:20: error: 'Color' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension Feature {
| `- note: add @available attribute to enclosing extension
21 | var color: Color {
| `- note: add @available attribute to enclosing property
22 | if self.colorRepresentation.hasPrefix("#") {
23 | return Color(hex: self.colorRepresentation)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | } else if let color = Color(systemName: self.colorRepresentation) {
25 | return color
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/Feature.swift:24:31: error: 'Color' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension Feature {
| `- note: add @available attribute to enclosing extension
21 | var color: Color {
| `- note: add @available attribute to enclosing property
22 | if self.colorRepresentation.hasPrefix("#") {
23 | return Color(hex: self.colorRepresentation)
24 | } else if let color = Color(systemName: self.colorRepresentation) {
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | return color
26 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/Feature.swift:27:21: error: 'black' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension Feature {
| `- note: add @available attribute to enclosing extension
21 | var color: Color {
| `- note: add @available attribute to enclosing property
22 | if self.colorRepresentation.hasPrefix("#") {
23 | return Color(hex: self.colorRepresentation)
:
25 | return color
26 | } else {
27 | return .black
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
[14/20] Compiling Recap IconFillMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/Feature.swift:21:16: error: 'Color' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension Feature {
| `- note: add @available attribute to enclosing extension
21 | var color: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
22 | if self.colorRepresentation.hasPrefix("#") {
23 | return Color(hex: self.colorRepresentation)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/Feature.swift:23:20: error: 'Color' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension Feature {
| `- note: add @available attribute to enclosing extension
21 | var color: Color {
| `- note: add @available attribute to enclosing property
22 | if self.colorRepresentation.hasPrefix("#") {
23 | return Color(hex: self.colorRepresentation)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | } else if let color = Color(systemName: self.colorRepresentation) {
25 | return color
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/Feature.swift:24:31: error: 'Color' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension Feature {
| `- note: add @available attribute to enclosing extension
21 | var color: Color {
| `- note: add @available attribute to enclosing property
22 | if self.colorRepresentation.hasPrefix("#") {
23 | return Color(hex: self.colorRepresentation)
24 | } else if let color = Color(systemName: self.colorRepresentation) {
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | return color
26 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/Feature.swift:27:21: error: 'black' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension Feature {
| `- note: add @available attribute to enclosing extension
21 | var color: Color {
| `- note: add @available attribute to enclosing property
22 | if self.colorRepresentation.hasPrefix("#") {
23 | return Color(hex: self.colorRepresentation)
:
25 | return color
26 | } else {
27 | return .black
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
[15/20] Compiling Recap Color+Hex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:3:20: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:16:18: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
| `- note: add @available attribute to enclosing initializer
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
6 | hexString = hexString.replacingOccurrences(of: "#", with: "")
:
14 |
15 | guard Scanner(string: hexString).scanHexInt64(&rgb) else {
16 | self.init(.sRGB, red: 1, green: 1, blue: 1, opacity: 1)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | return
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:39:18: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
| `- note: add @available attribute to enclosing initializer
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
6 | hexString = hexString.replacingOccurrences(of: "#", with: "")
:
37 | a = CGFloat(rgb & 0x000000FF) / 255.0
38 | } else {
39 | self.init(.sRGB, red: 1, green: 1, blue: 1, opacity: 1)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | return
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:43:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
| `- note: add @available attribute to enclosing initializer
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
6 | hexString = hexString.replacingOccurrences(of: "#", with: "")
:
41 | }
42 |
43 | self.init(.sRGB, red: r, green: g, blue: b, opacity: a)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:50:26: error: 'init(_:)' is only available in macOS 11.0 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
:
44 | }
45 |
46 | var hex: String {
| `- note: add @available attribute to enclosing property
47 | #if os(iOS) || os(watchOS)
48 | let components = UIColor(self).cgColor.components
49 | #elseif os(macOS)
50 | let components = NSColor(self).cgColor.components
| |- error: 'init(_:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
51 | #endif
52 | let red: CGFloat = components?[0] ?? 0.0
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:3:11: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
5 | let sanitizedColorName = systemName
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:10:32: error: 'accentColor' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
8 |
9 | switch sanitizedColorName {
10 | case "accent": self = .accentColor
| |- error: 'accentColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | case "black": self = .black
12 | case "blue": self = .blue
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:11:31: error: 'black' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
9 | switch sanitizedColorName {
10 | case "accent": self = .accentColor
11 | case "black": self = .black
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | case "blue": self = .blue
13 | case "brown": self = .brown
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:12:30: error: 'blue' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
10 | case "accent": self = .accentColor
11 | case "black": self = .black
12 | case "blue": self = .blue
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | case "brown": self = .brown
14 | case "cyan": self = .cyan
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:13:31: error: 'brown' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
11 | case "black": self = .black
12 | case "blue": self = .blue
13 | case "brown": self = .brown
| |- error: 'brown' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
14 | case "cyan": self = .cyan
15 | case "gray": self = .gray
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:14:30: error: 'cyan' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
12 | case "blue": self = .blue
13 | case "brown": self = .brown
14 | case "cyan": self = .cyan
| |- error: 'cyan' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
15 | case "gray": self = .gray
16 | case "green": self = .green
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:15:30: error: 'gray' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
13 | case "brown": self = .brown
14 | case "cyan": self = .cyan
15 | case "gray": self = .gray
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | case "green": self = .green
17 | case "indigo": self = .indigo
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:16:31: error: 'green' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
14 | case "cyan": self = .cyan
15 | case "gray": self = .gray
16 | case "green": self = .green
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | case "indigo": self = .indigo
18 | case "mint": self = .mint
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:17:32: error: 'indigo' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
15 | case "gray": self = .gray
16 | case "green": self = .green
17 | case "indigo": self = .indigo
| |- error: 'indigo' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
18 | case "mint": self = .mint
19 | case "orange": self = .orange
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:18:30: error: 'mint' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
16 | case "green": self = .green
17 | case "indigo": self = .indigo
18 | case "mint": self = .mint
| |- error: 'mint' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
19 | case "orange": self = .orange
20 | case "pink": self = .pink
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:19:32: error: 'orange' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
17 | case "indigo": self = .indigo
18 | case "mint": self = .mint
19 | case "orange": self = .orange
| |- error: 'orange' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | case "pink": self = .pink
21 | case "primary": self = .primary
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:20:30: error: 'pink' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
18 | case "mint": self = .mint
19 | case "orange": self = .orange
20 | case "pink": self = .pink
| |- error: 'pink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | case "primary": self = .primary
22 | case "purple": self = .purple
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:21:33: error: 'primary' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
19 | case "orange": self = .orange
20 | case "pink": self = .pink
21 | case "primary": self = .primary
| |- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | case "purple": self = .purple
23 | case "secondary": self = .secondary
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:22:32: error: 'purple' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
20 | case "pink": self = .pink
21 | case "primary": self = .primary
22 | case "purple": self = .purple
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | case "secondary": self = .secondary
24 | case "red": self = .red
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:23:35: error: 'secondary' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
21 | case "primary": self = .primary
22 | case "purple": self = .purple
23 | case "secondary": self = .secondary
| |- error: 'secondary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | case "red": self = .red
25 | case "teal": self = .teal
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:24:29: error: 'red' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
22 | case "purple": self = .purple
23 | case "secondary": self = .secondary
24 | case "red": self = .red
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | case "teal": self = .teal
26 | case "white": self = .white
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:25:30: error: 'teal' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
23 | case "secondary": self = .secondary
24 | case "red": self = .red
25 | case "teal": self = .teal
| |- error: 'teal' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
26 | case "white": self = .white
27 | case "yellow": self = .yellow
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:26:31: error: 'white' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
24 | case "red": self = .red
25 | case "teal": self = .teal
26 | case "white": self = .white
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | case "yellow": self = .yellow
28 | default: return nil
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:27:32: error: 'yellow' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
25 | case "teal": self = .teal
26 | case "white": self = .white
27 | case "yellow": self = .yellow
| |- error: 'yellow' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | default: return nil
29 | }
[16/20] Compiling Recap Color+SystemNames.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:3:20: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:16:18: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
| `- note: add @available attribute to enclosing initializer
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
6 | hexString = hexString.replacingOccurrences(of: "#", with: "")
:
14 |
15 | guard Scanner(string: hexString).scanHexInt64(&rgb) else {
16 | self.init(.sRGB, red: 1, green: 1, blue: 1, opacity: 1)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | return
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:39:18: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
| `- note: add @available attribute to enclosing initializer
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
6 | hexString = hexString.replacingOccurrences(of: "#", with: "")
:
37 | a = CGFloat(rgb & 0x000000FF) / 255.0
38 | } else {
39 | self.init(.sRGB, red: 1, green: 1, blue: 1, opacity: 1)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | return
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:43:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
| `- note: add @available attribute to enclosing initializer
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
6 | hexString = hexString.replacingOccurrences(of: "#", with: "")
:
41 | }
42 |
43 | self.init(.sRGB, red: r, green: g, blue: b, opacity: a)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:50:26: error: 'init(_:)' is only available in macOS 11.0 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
:
44 | }
45 |
46 | var hex: String {
| `- note: add @available attribute to enclosing property
47 | #if os(iOS) || os(watchOS)
48 | let components = UIColor(self).cgColor.components
49 | #elseif os(macOS)
50 | let components = NSColor(self).cgColor.components
| |- error: 'init(_:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
51 | #endif
52 | let red: CGFloat = components?[0] ?? 0.0
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:3:11: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
5 | let sanitizedColorName = systemName
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:10:32: error: 'accentColor' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
8 |
9 | switch sanitizedColorName {
10 | case "accent": self = .accentColor
| |- error: 'accentColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | case "black": self = .black
12 | case "blue": self = .blue
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:11:31: error: 'black' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
9 | switch sanitizedColorName {
10 | case "accent": self = .accentColor
11 | case "black": self = .black
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | case "blue": self = .blue
13 | case "brown": self = .brown
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:12:30: error: 'blue' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
10 | case "accent": self = .accentColor
11 | case "black": self = .black
12 | case "blue": self = .blue
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | case "brown": self = .brown
14 | case "cyan": self = .cyan
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:13:31: error: 'brown' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
11 | case "black": self = .black
12 | case "blue": self = .blue
13 | case "brown": self = .brown
| |- error: 'brown' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
14 | case "cyan": self = .cyan
15 | case "gray": self = .gray
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:14:30: error: 'cyan' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
12 | case "blue": self = .blue
13 | case "brown": self = .brown
14 | case "cyan": self = .cyan
| |- error: 'cyan' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
15 | case "gray": self = .gray
16 | case "green": self = .green
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:15:30: error: 'gray' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
13 | case "brown": self = .brown
14 | case "cyan": self = .cyan
15 | case "gray": self = .gray
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | case "green": self = .green
17 | case "indigo": self = .indigo
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:16:31: error: 'green' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
14 | case "cyan": self = .cyan
15 | case "gray": self = .gray
16 | case "green": self = .green
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | case "indigo": self = .indigo
18 | case "mint": self = .mint
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:17:32: error: 'indigo' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
15 | case "gray": self = .gray
16 | case "green": self = .green
17 | case "indigo": self = .indigo
| |- error: 'indigo' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
18 | case "mint": self = .mint
19 | case "orange": self = .orange
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:18:30: error: 'mint' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
16 | case "green": self = .green
17 | case "indigo": self = .indigo
18 | case "mint": self = .mint
| |- error: 'mint' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
19 | case "orange": self = .orange
20 | case "pink": self = .pink
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:19:32: error: 'orange' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
17 | case "indigo": self = .indigo
18 | case "mint": self = .mint
19 | case "orange": self = .orange
| |- error: 'orange' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | case "pink": self = .pink
21 | case "primary": self = .primary
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:20:30: error: 'pink' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
18 | case "mint": self = .mint
19 | case "orange": self = .orange
20 | case "pink": self = .pink
| |- error: 'pink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | case "primary": self = .primary
22 | case "purple": self = .purple
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:21:33: error: 'primary' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
19 | case "orange": self = .orange
20 | case "pink": self = .pink
21 | case "primary": self = .primary
| |- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | case "purple": self = .purple
23 | case "secondary": self = .secondary
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:22:32: error: 'purple' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
20 | case "pink": self = .pink
21 | case "primary": self = .primary
22 | case "purple": self = .purple
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | case "secondary": self = .secondary
24 | case "red": self = .red
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:23:35: error: 'secondary' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
21 | case "primary": self = .primary
22 | case "purple": self = .purple
23 | case "secondary": self = .secondary
| |- error: 'secondary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | case "red": self = .red
25 | case "teal": self = .teal
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:24:29: error: 'red' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
22 | case "purple": self = .purple
23 | case "secondary": self = .secondary
24 | case "red": self = .red
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | case "teal": self = .teal
26 | case "white": self = .white
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:25:30: error: 'teal' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
23 | case "secondary": self = .secondary
24 | case "red": self = .red
25 | case "teal": self = .teal
| |- error: 'teal' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
26 | case "white": self = .white
27 | case "yellow": self = .yellow
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:26:31: error: 'white' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
24 | case "red": self = .red
25 | case "teal": self = .teal
26 | case "white": self = .white
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | case "yellow": self = .yellow
28 | default: return nil
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:27:32: error: 'yellow' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
25 | case "teal": self = .teal
26 | case "white": self = .white
27 | case "yellow": self = .yellow
| |- error: 'yellow' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | default: return nil
29 | }
[17/20] Compiling Recap ReleaseView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:4:61: error: 'EdgeInsets' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
| `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:5:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
| `- error: 'Environment' is only available in macOS 10.15 or newer
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:6:67: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:6:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
| `- error: 'Environment' is only available in macOS 10.15 or newer
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:7:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
| `- error: 'Environment' is only available in macOS 10.15 or newer
8 |
9 | let release: Release
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:40:60: error: 'View' is only available in macOS 10.15 or newer
37 | // MARK: ScrollView
38 |
39 | fileprivate extension ScrollView {
| `- note: add @available attribute to enclosing extension
40 | func withSizedBasedBounceBehaviorIfAvailable() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
41 | if #available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) {
42 | return self.scrollBounceBehavior(.basedOnSize)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:39:23: error: 'ScrollView' is only available in macOS 10.15 or newer
37 | // MARK: ScrollView
38 |
39 | fileprivate extension ScrollView {
| | `- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
40 | func withSizedBasedBounceBehaviorIfAvailable() -> some View {
41 | if #available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:12:9: error: 'VStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:12:28: error: 'center' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:12:64: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:13:13: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:13:13: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:14:18: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:14:24: error: 'largeTitle' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
| |- error: 'largeTitle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:15:18: error: 'fontWeight' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
| |- error: 'fontWeight' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.titleStyle)
17 | .multilineTextAlignment(.center)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:16:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
17 | .multilineTextAlignment(.center)
18 | .padding(.leading, self.padding.leading)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:17:18: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
17 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .padding(.leading, self.padding.leading)
19 | .padding(.trailing, self.padding.trailing)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:18:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
16 | .foregroundStyle(self.titleStyle)
17 | .multilineTextAlignment(.center)
18 | .padding(.leading, self.padding.leading)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .padding(.trailing, self.padding.trailing)
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:19:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
17 | .multilineTextAlignment(.center)
18 | .padding(.leading, self.padding.leading)
19 | .padding(.trailing, self.padding.trailing)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 |
21 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:21:13: error: 'ScrollView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
19 | .padding(.trailing, self.padding.trailing)
20 |
21 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:21:13: error: 'init(_:content:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
19 | .padding(.trailing, self.padding.trailing)
20 |
21 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:21:24: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
19 | .padding(.trailing, self.padding.trailing)
20 |
21 | ScrollView {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:17: error: 'VStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:17: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:36: error: 'leading' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:23:21: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | FeatureRow(feature: feature)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:23:21: error: 'ForEach' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | FeatureRow(feature: feature)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:23:21: error: 'init(_:content:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | FeatureRow(feature: feature)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:72: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:27:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
25 | }
26 | }
27 | .padding(.leading, self.padding.leading)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .padding(.trailing, self.padding.trailing)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:28:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
26 | }
27 | .padding(.leading, self.padding.leading)
28 | .padding(.trailing, self.padding.trailing)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 | .withSizedBasedBounceBehaviorIfAvailable()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:32:10: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
30 | .withSizedBasedBounceBehaviorIfAvailable()
31 | }
32 | .padding(.top, self.padding.top)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | .padding(.bottom, self.padding.bottom)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:33:10: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
31 | }
32 | .padding(.top, self.padding.top)
33 | .padding(.bottom, self.padding.bottom)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | }
35 | }
[18/20] Compiling Recap AppVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:4:61: error: 'EdgeInsets' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
| `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:5:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
| `- error: 'Environment' is only available in macOS 10.15 or newer
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:6:67: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:6:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
| `- error: 'Environment' is only available in macOS 10.15 or newer
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:7:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
| `- error: 'Environment' is only available in macOS 10.15 or newer
8 |
9 | let release: Release
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:40:60: error: 'View' is only available in macOS 10.15 or newer
37 | // MARK: ScrollView
38 |
39 | fileprivate extension ScrollView {
| `- note: add @available attribute to enclosing extension
40 | func withSizedBasedBounceBehaviorIfAvailable() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
41 | if #available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) {
42 | return self.scrollBounceBehavior(.basedOnSize)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:39:23: error: 'ScrollView' is only available in macOS 10.15 or newer
37 | // MARK: ScrollView
38 |
39 | fileprivate extension ScrollView {
| | `- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
40 | func withSizedBasedBounceBehaviorIfAvailable() -> some View {
41 | if #available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:12:9: error: 'VStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:12:28: error: 'center' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:12:64: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:13:13: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:13:13: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:14:18: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:14:24: error: 'largeTitle' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
| |- error: 'largeTitle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:15:18: error: 'fontWeight' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
| |- error: 'fontWeight' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.titleStyle)
17 | .multilineTextAlignment(.center)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:16:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
17 | .multilineTextAlignment(.center)
18 | .padding(.leading, self.padding.leading)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:17:18: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
17 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .padding(.leading, self.padding.leading)
19 | .padding(.trailing, self.padding.trailing)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:18:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
16 | .foregroundStyle(self.titleStyle)
17 | .multilineTextAlignment(.center)
18 | .padding(.leading, self.padding.leading)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .padding(.trailing, self.padding.trailing)
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:19:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
17 | .multilineTextAlignment(.center)
18 | .padding(.leading, self.padding.leading)
19 | .padding(.trailing, self.padding.trailing)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 |
21 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:21:13: error: 'ScrollView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
19 | .padding(.trailing, self.padding.trailing)
20 |
21 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:21:13: error: 'init(_:content:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
19 | .padding(.trailing, self.padding.trailing)
20 |
21 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:21:24: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
19 | .padding(.trailing, self.padding.trailing)
20 |
21 | ScrollView {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:17: error: 'VStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:17: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:36: error: 'leading' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:23:21: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | FeatureRow(feature: feature)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:23:21: error: 'ForEach' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | FeatureRow(feature: feature)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:23:21: error: 'init(_:content:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | FeatureRow(feature: feature)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:72: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:27:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
25 | }
26 | }
27 | .padding(.leading, self.padding.leading)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .padding(.trailing, self.padding.trailing)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:28:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
26 | }
27 | .padding(.leading, self.padding.leading)
28 | .padding(.trailing, self.padding.trailing)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 | .withSizedBasedBounceBehaviorIfAvailable()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:32:10: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
30 | .withSizedBasedBounceBehaviorIfAvailable()
31 | }
32 | .padding(.top, self.padding.top)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | .padding(.bottom, self.padding.bottom)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:33:10: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
31 | }
32 | .padding(.top, self.padding.top)
33 | .padding(.bottom, self.padding.bottom)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | }
35 | }
[19/20] Compiling Recap FeatureRow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:5:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
| `- error: 'Environment' is only available in macOS 10.15 or newer
6 |
7 | let feature: Feature
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:34:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:10:9: error: 'HStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:13: error: 'ZStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:31: error: 'Alignment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'Alignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:54: error: 'center' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12:17: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .frame(width: 48.0, height: 48.0)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12:23: error: 'clear' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .frame(width: 48.0, height: 48.0)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:13:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 |
15 | Image(systemName: feature.symbolName)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15:17: error: 'Image' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
13 | .frame(width: 48.0, height: 48.0)
14 |
15 | Image(systemName: feature.symbolName)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
13 | .frame(width: 48.0, height: 48.0)
14 |
15 | Image(systemName: feature.symbolName)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:16:22: error: 'foregroundStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
14 |
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
17 | .font(.system(size: 32.0))
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:17:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:17:28: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:13: error: 'VStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:32: error: 'leading' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
22 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundStyle(.primary)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22:28: error: 'headline' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
22 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundStyle(.primary)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:23:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
21 | Text(.init(feature.title))
22 | .font(.headline)
23 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 |
25 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:23:39: error: 'primary' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
21 | Text(.init(feature.title))
22 | .font(.headline)
23 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
24 |
25 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
24 |
25 | Text(.init(feature.description))
26 | .font(.subheadline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundStyle(.secondary)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26:28: error: 'subheadline' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
24 |
25 | Text(.init(feature.description))
26 | .font(.subheadline)
| |- error: 'subheadline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundStyle(.secondary)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:27:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
25 | Text(.init(feature.description))
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:27:39: error: 'secondary' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
25 | Text(.init(feature.description))
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:46: error: 'gradient' is only available in macOS 13.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'gradient' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:4:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
5 | let foregroundStyle: AnyShapeStyle
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:5:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
5 | let foregroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
6 | }
7 |
[20/20] Compiling Recap RecapDismissButtonStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:5:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
| `- error: 'Environment' is only available in macOS 10.15 or newer
6 |
7 | let feature: Feature
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:34:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:10:9: error: 'HStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:13: error: 'ZStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:31: error: 'Alignment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'Alignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:54: error: 'center' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12:17: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .frame(width: 48.0, height: 48.0)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12:23: error: 'clear' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .frame(width: 48.0, height: 48.0)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:13:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 |
15 | Image(systemName: feature.symbolName)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15:17: error: 'Image' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
13 | .frame(width: 48.0, height: 48.0)
14 |
15 | Image(systemName: feature.symbolName)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
13 | .frame(width: 48.0, height: 48.0)
14 |
15 | Image(systemName: feature.symbolName)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:16:22: error: 'foregroundStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
14 |
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
17 | .font(.system(size: 32.0))
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:17:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:17:28: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:13: error: 'VStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:32: error: 'leading' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
22 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundStyle(.primary)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22:28: error: 'headline' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
22 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundStyle(.primary)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:23:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
21 | Text(.init(feature.title))
22 | .font(.headline)
23 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 |
25 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:23:39: error: 'primary' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
21 | Text(.init(feature.title))
22 | .font(.headline)
23 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
24 |
25 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
24 |
25 | Text(.init(feature.description))
26 | .font(.subheadline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundStyle(.secondary)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26:28: error: 'subheadline' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
24 |
25 | Text(.init(feature.description))
26 | .font(.subheadline)
| |- error: 'subheadline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundStyle(.secondary)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:27:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
25 | Text(.init(feature.description))
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:27:39: error: 'secondary' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
25 | Text(.init(feature.description))
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:46: error: 'gradient' is only available in macOS 13.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'gradient' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:4:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
5 | let foregroundStyle: AnyShapeStyle
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:5:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
5 | let foregroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
6 | }
7 |
[21/21] Compiling Recap resource_bundle_accessor.swift
BUILD FAILURE 6.2 macosSpm