Build Information
Failed to build Recap, reference 1.1.4 (2e2941
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 02:37:44 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
124 | }
125 |
126 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
127 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
128 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
129 | foregroundStyle: AnyShapeStyle(Color.white)
130 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:128:44: error: 'Color' is only available in macOS 10.15 or newer
124 | }
125 |
126 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
127 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
128 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'Color' is only available in macOS 10.15 or newer
129 | foregroundStyle: AnyShapeStyle(Color.white)
130 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:128:50: error: 'blue' is only available in macOS 10.15 or newer
124 | }
125 |
126 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
127 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
128 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'blue' is only available in macOS 10.15 or newer
129 | foregroundStyle: AnyShapeStyle(Color.white)
130 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:129:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
124 | }
125 |
126 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
127 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
128 | backgroundStyle: AnyShapeStyle(Color.blue),
129 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
130 | )
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:129:30: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
124 | }
125 |
126 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
127 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
128 | backgroundStyle: AnyShapeStyle(Color.blue),
129 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
130 | )
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:129:44: error: 'Color' is only available in macOS 10.15 or newer
124 | }
125 |
126 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
127 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
128 | backgroundStyle: AnyShapeStyle(Color.blue),
129 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'Color' is only available in macOS 10.15 or newer
130 | )
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:129:50: error: 'white' is only available in macOS 10.15 or newer
124 | }
125 |
126 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
127 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
128 | backgroundStyle: AnyShapeStyle(Color.blue),
129 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'white' is only available in macOS 10.15 or newer
130 | )
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:135:40: error: 'LocalizedStringResource' is only available in macOS 13 or newer
92 | // MARK: Environment
93 |
94 | internal extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
95 | // MARK: StartIndex
96 |
:
133 | // MARK: DismissButtonTitle
134 |
135 | var recapScreenDismissButtonTitle: LocalizedStringResource {
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add @available attribute to enclosing property
136 | get { self[DismissButtonLocalizedKeyTitle.self] }
137 | set { self[DismissButtonLocalizedKeyTitle.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:141:46: error: 'LocalizedStringResource' is only available in macOS 13 or newer
138 | }
139 |
140 | private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
| `- note: add @available attribute to enclosing struct
141 | @MainActor static let defaultValue = LocalizedStringResource(
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add @available attribute to enclosing static property
142 | "RECAP.SCREEN.DISMISS.BUTTON.TITLE",
143 | bundle: .atURL(Bundle.module.bundleURL)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:142:13: error: 'LocalizationValue' is only available in macOS 12 or newer
138 | }
139 |
140 | private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
| `- note: add @available attribute to enclosing struct
141 | @MainActor static let defaultValue = LocalizedStringResource(
| `- note: add @available attribute to enclosing static property
142 | "RECAP.SCREEN.DISMISS.BUTTON.TITLE",
| `- error: 'LocalizationValue' is only available in macOS 12 or newer
143 | bundle: .atURL(Bundle.module.bundleURL)
144 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:160:48: error: 'Color' is only available in macOS 10.15 or newer
92 | // MARK: Environment
93 |
94 | internal extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
95 | // MARK: StartIndex
96 |
:
158 | // MARK: SelectedPageIndicatorColor
159 |
160 | var recapScreenSelectedPageIndicatorColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
161 | get { self[SelectedPageIndicatorColorKey.self] }
162 | set { self[SelectedPageIndicatorColorKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:166:35: error: 'Color' is only available in macOS 10.15 or newer
163 | }
164 |
165 | private struct SelectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
166 | static let defaultValue = Color.primary
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
167 | }
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:166:41: error: 'primary' is only available in macOS 10.15 or newer
163 | }
164 |
165 | private struct SelectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
166 | static let defaultValue = Color.primary
| | `- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
167 | }
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:171:50: error: 'Color' is only available in macOS 10.15 or newer
92 | // MARK: Environment
93 |
94 | internal extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
95 | // MARK: StartIndex
96 |
:
169 | // MARK: DeselectedPageIndicatorColor
170 |
171 | var recapScreenDeselectedPageIndicatorColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
172 | get { self[DeselectedPageIndicatorColorKey.self] }
173 | set { self[DeselectedPageIndicatorColorKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:177:35: error: 'Color' is only available in macOS 10.15 or newer
174 | }
175 |
176 | private struct DeselectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
177 | static let defaultValue = Color.gray
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
178 | }
179 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:177:41: error: 'gray' is only available in macOS 10.15 or newer
174 | }
175 |
176 | private struct DeselectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
177 | static let defaultValue = Color.gray
| | `- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
178 | }
179 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:193:35: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
92 | // MARK: Environment
93 |
94 | internal extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
95 | // MARK: StartIndex
96 |
:
191 | // MARK: IconAlignment
192 |
193 | var recapScreenIconAlignment: VerticalAlignment {
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
194 | get { self[IconAlignmentKey.self] }
195 | set { self[IconAlignmentKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:199:35: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
196 | }
197 |
198 | private struct IconAlignmentKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
199 | static let defaultValue = VerticalAlignment.center
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
200 | }
201 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:199:53: error: 'center' is only available in macOS 10.15 or newer
196 | }
197 |
198 | private struct IconAlignmentKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
199 | static let defaultValue = VerticalAlignment.center
| | `- error: 'center' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
200 | }
201 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:204:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
92 | // MARK: Environment
93 |
94 | internal extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
95 | // MARK: StartIndex
96 |
:
202 | // MARK: PaddingKey
203 |
204 | var recapScreenPadding: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
205 | get { self[PaddingKey.self] }
206 | set { self[PaddingKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:210:35: error: 'EdgeInsets' is only available in macOS 10.15 or newer
207 | }
208 |
209 | private struct PaddingKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
210 | static let defaultValue = EdgeInsets(top: 48.0, leading: 32.0, bottom: 24.0, trailing: 32.0)
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
211 | }
212 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:94:20: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
92 | // MARK: Environment
93 |
94 | internal extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
95 | // MARK: StartIndex
96 |
[15/21] 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/21] 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/21] 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 |
[18/21] 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 |
[19/21] 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 | }
[20/21] 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 | }
[21/21] Compiling Recap resource_bundle_accessor.swift
BUILD FAILURE 6.0 macosSpm