Build Information
Failed to build Recap, reference 1.0.1 (68954a
), with Swift 6.0 for macOS (SPM) on 12 Oct 2024 01:24:52 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
27 | @Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
| `- error: 'Environment' is only available in macOS 10.15 or newer
28 | @Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
29 | @Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:28:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
26 | @Environment(\.recapScreenStartIndex) private var startIndex
27 | @Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
28 | @Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
| `- error: 'Environment' is only available in macOS 10.15 or newer
29 | @Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
30 | @Environment(\.recapScreenDismissAction) private var dismissAction
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:29:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
27 | @Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
28 | @Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
29 | @Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
| `- error: 'Environment' is only available in macOS 10.15 or newer
30 | @Environment(\.recapScreenDismissAction) private var dismissAction
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:30:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
28 | @Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
29 | @Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
30 | @Environment(\.recapScreenDismissAction) private var dismissAction
| `- error: 'Environment' is only available in macOS 10.15 or newer
31 |
32 | @State private var originalSelectedPageIndicatorColor: UIColor?
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:32:6: error: 'State' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
30 | @Environment(\.recapScreenDismissAction) private var dismissAction
31 |
32 | @State private var originalSelectedPageIndicatorColor: UIColor?
| `- error: 'State' is only available in macOS 10.15 or newer
33 | @State private var originalDeselectedPageIndicatorColor: UIColor?
34 | @State private var selectedIndex = 0
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:33:6: error: 'State' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
31 |
32 | @State private var originalSelectedPageIndicatorColor: UIColor?
33 | @State private var originalDeselectedPageIndicatorColor: UIColor?
| `- error: 'State' is only available in macOS 10.15 or newer
34 | @State private var selectedIndex = 0
35 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
32 | @State private var originalSelectedPageIndicatorColor: UIColor?
33 | @State private var originalDeselectedPageIndicatorColor: UIColor?
34 | @State private var selectedIndex = 0
| `- error: 'State' is only available in macOS 10.15 or newer
35 |
36 | private let releases: [Release]
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:40:39: error: 'ViewBuilder' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
38 | private let trailingView: TrailingView
39 |
40 | public init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView, @ViewBuilder trailingView: () -> TrailingView) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
41 | self.releases = releases
42 | self.leadingView = leadingView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:40:84: error: 'ViewBuilder' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
38 | private let trailingView: TrailingView
39 |
40 | public init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView, @ViewBuilder trailingView: () -> TrailingView) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
41 | self.releases = releases
42 | self.leadingView = leadingView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:46:27: error: 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
44 | }
45 |
46 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
47 | NavigationStack {
48 | TabView(selection: $selectedIndex) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:40: error: 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:60: error: 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:104:33: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
97 | }
98 |
99 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
100 | var displayedReleases: [Release] {
101 | self.releases.reversed()
102 | }
103 |
104 | var derivedBackgroundStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing property
105 | if let backgroundStyle {
106 | backgroundStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:142:32: error: 'ViewBuilder' is only available in macOS 10.15 or newer
139 | // MARK: Convenience Initializers
140 |
141 | public extension RecapScreen where LeadingView == EmptyView {
| `- note: add @available attribute to enclosing extension
142 | init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
143 | self.releases = releases
144 | self.leadingView = EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:51: error: 'EmptyView' is only available in macOS 10.15 or newer
139 | // MARK: Convenience Initializers
140 |
141 | public extension RecapScreen where LeadingView == EmptyView {
| | `- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
142 | init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
143 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:150:32: error: 'ViewBuilder' is only available in macOS 10.15 or newer
147 | }
148 |
149 | public extension RecapScreen where TrailingView == EmptyView {
| `- note: add @available attribute to enclosing extension
150 | init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
151 | self.releases = releases
152 | self.leadingView = leadingView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:149:52: error: 'EmptyView' is only available in macOS 10.15 or newer
147 | }
148 |
149 | public extension RecapScreen where TrailingView == EmptyView {
| | `- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
150 | init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
151 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:157:51: error: 'EmptyView' is only available in macOS 10.15 or newer
155 | }
156 |
157 | public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
| | `- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
158 | init(releases: [Release]) {
159 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:157:78: error: 'EmptyView' is only available in macOS 10.15 or newer
155 | }
156 |
157 | public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
| | `- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
158 | init(releases: [Release]) {
159 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:7:77: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
8 | self.environment(\.recapScreenStartIndex, startIndex)
9 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:46: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:46: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:66: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:54: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:54: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:74: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:64: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:100: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:64: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:100: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:120: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:37:65: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
35 |
36 | /// Configures an `IconFillMode` for the icons displayed on the `RecapScreen`.
37 | func recapScreenIconFillMode(_ style: IconFillMode) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
38 | self.environment(\.recapScreenIconFillMode, style)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:42:51: error: 'Color' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
40 |
41 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
42 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
43 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
44 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:42:70: error: 'Color' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
40 |
41 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
42 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
43 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
44 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:42:85: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
40 |
41 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
42 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
43 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
44 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:48:41: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
46 |
47 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
48 | func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
49 | self.environment(\.backgroundStyle, style)
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:48:65: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
46 |
47 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
48 | func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
49 | self.environment(\.backgroundStyle, style)
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:53:41: error: 'Color' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
51 |
52 | /// Configures a background `Color` for the `RecapScreen`.
53 | func recapScreenBackground(_ color: Color) -> some View {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
54 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:53:56: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
51 |
52 | /// Configures a background `Color` for the `RecapScreen`.
53 | func recapScreenBackground(_ color: Color) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
54 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:58:39: error: 'EdgeInsets' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
56 |
57 | /// Configures additional insets to be applied as padding to the content of the `RecapScreen`.
58 | func recapScreenPadding(_ insets: EdgeInsets) -> some View {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
59 | self.environment(\.recapScreenPadding, insets)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:58:59: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
56 |
57 | /// Configures additional insets to be applied as padding to the content of the `RecapScreen`.
58 | func recapScreenPadding(_ insets: EdgeInsets) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
59 | self.environment(\.recapScreenPadding, insets)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:63:63: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
61 |
62 | /// Configures the spacing to be applied as in between the `RecapScreen` title and a release's featured items.
63 | func recapScreenHeaderSpacing(_ spacing: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
64 | self.environment(\.recapScreenHeaderSpacing, spacing)
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:68:61: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
66 |
67 | /// Configures the spacing to be applied as in between featured items displayed on the `RecapScreen`.
68 | func recapScreenItemSpacing(_ spacing: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
69 | self.environment(\.recapScreenItemSpacing, spacing)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:73:85: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
71 |
72 | /// Configures a customizable action for the `RecapScreen` dismiss button, useful when your screen is presented through non-standard means.
73 | func recapScreenDismissAction(_ dismissAction: (@Sendable () -> Void)?) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
74 | if let dismissAction {
75 | self.environment(\.recapScreenDismissAction, RecapScreenDismissAction(dismissAction: dismissAction))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:18: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:100:32: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
82 | // MARK: Environment
83 |
84 | internal extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
85 | // MARK: StartIndex
86 |
:
98 | // MARK: TitleStyle
99 |
100 | var recapScreenTitleStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing property
101 | get { self[TitleStyleKey.self] }
102 | set { self[TitleStyleKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:106:35: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
103 | }
104 |
105 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
106 | static let defaultValue = AnyShapeStyle(Color.black)
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing static property
107 | }
108 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:106:35: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
103 | }
104 |
105 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
106 | static let defaultValue = AnyShapeStyle(Color.black)
| | `- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add @available attribute to enclosing static property
107 | }
108 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:106:49: error: 'Color' is only available in macOS 10.15 or newer
103 | }
104 |
105 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
106 | static let defaultValue = AnyShapeStyle(Color.black)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
107 | }
108 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:106:55: error: 'black' is only available in macOS 10.15 or newer
103 | }
104 |
105 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
106 | static let defaultValue = AnyShapeStyle(Color.black)
| | `- error: 'black' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
107 | }
108 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:118:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
114 | }
115 |
116 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
117 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
118 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
119 | foregroundStyle: AnyShapeStyle(Color.white)
120 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:118:30: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
114 | }
115 |
116 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
117 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
118 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
119 | foregroundStyle: AnyShapeStyle(Color.white)
120 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:118:44: error: 'Color' is only available in macOS 10.15 or newer
114 | }
115 |
116 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
117 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
118 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'Color' is only available in macOS 10.15 or newer
119 | foregroundStyle: AnyShapeStyle(Color.white)
120 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:118:50: error: 'blue' is only available in macOS 10.15 or newer
114 | }
115 |
116 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
117 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
118 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'blue' is only available in macOS 10.15 or newer
119 | foregroundStyle: AnyShapeStyle(Color.white)
120 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:119:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
114 | }
115 |
116 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
117 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
118 | backgroundStyle: AnyShapeStyle(Color.blue),
119 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
120 | )
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:119:30: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
114 | }
115 |
116 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
117 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
118 | backgroundStyle: AnyShapeStyle(Color.blue),
119 | foregroundStyle: AnyShapeStyle(Color.white)
| `- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
120 | )
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:119:44: error: 'Color' is only available in macOS 10.15 or newer
114 | }
115 |
116 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
117 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
118 | backgroundStyle: AnyShapeStyle(Color.blue),
119 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'Color' is only available in macOS 10.15 or newer
120 | )
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:119:50: error: 'white' is only available in macOS 10.15 or newer
114 | }
115 |
116 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
117 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
118 | backgroundStyle: AnyShapeStyle(Color.blue),
119 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'white' is only available in macOS 10.15 or newer
120 | )
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:136:48: error: 'Color' is only available in macOS 10.15 or newer
82 | // MARK: Environment
83 |
84 | internal extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
85 | // MARK: StartIndex
86 |
:
134 | // MARK: SelectedPageIndicatorColor
135 |
136 | var recapScreenSelectedPageIndicatorColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
137 | get { self[SelectedPageIndicatorColorKey.self] }
138 | set { self[SelectedPageIndicatorColorKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:142:35: error: 'Color' is only available in macOS 10.15 or newer
139 | }
140 |
141 | private struct SelectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
142 | static let defaultValue = Color.black
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:142:41: error: 'black' is only available in macOS 10.15 or newer
139 | }
140 |
141 | private struct SelectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
142 | static let defaultValue = Color.black
| | `- error: 'black' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:147:50: error: 'Color' is only available in macOS 10.15 or newer
82 | // MARK: Environment
83 |
84 | internal extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
85 | // MARK: StartIndex
86 |
:
145 | // MARK: DeselectedPageIndicatorColor
146 |
147 | var recapScreenDeselectedPageIndicatorColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
148 | get { self[DeselectedPageIndicatorColorKey.self] }
149 | set { self[DeselectedPageIndicatorColorKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:153:35: error: 'Color' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private struct DeselectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
153 | static let defaultValue = Color.gray
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
154 | }
155 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:153:41: error: 'gray' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private struct DeselectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
153 | static let defaultValue = Color.gray
| | `- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
154 | }
155 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:169:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
82 | // MARK: Environment
83 |
84 | internal extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
85 | // MARK: StartIndex
86 |
:
167 | // MARK: PaddingKey
168 |
169 | var recapScreenPadding: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
170 | get { self[PaddingKey.self] }
171 | set { self[PaddingKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:175:35: error: 'EdgeInsets' is only available in macOS 10.15 or newer
172 | }
173 |
174 | private struct PaddingKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
175 | 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
176 | }
177 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:84:20: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
82 | // MARK: Environment
83 |
84 | internal extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
85 | // MARK: StartIndex
86 |
[17/20] Compiling Recap RecapDismissButtonStyle.swift
/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 |
/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: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: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
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: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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 {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
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: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
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: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
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: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
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 | .scrollBounceBehavior(.basedOnSize)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:30:14: error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 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)
:
28 | .padding(.trailing, self.padding.trailing)
29 | }
30 | .scrollBounceBehavior(.basedOnSize)
| |- error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
| `- note: add 'if #available' version check
31 | }
32 | .padding(.top, self.padding.top)
/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 | .scrollBounceBehavior(.basedOnSize)
31 | }
32 | .padding(.top, self.padding.top)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | .padding(.bottom, self.padding.bottom)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:33:10: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
31 | }
32 | .padding(.top, self.padding.top)
33 | .padding(.bottom, self.padding.bottom)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | }
35 | }
[18/20] Compiling Recap ReleaseView.swift
/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 |
/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: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: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
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: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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 {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
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: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
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: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
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: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
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 | .scrollBounceBehavior(.basedOnSize)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:30:14: error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 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)
:
28 | .padding(.trailing, self.padding.trailing)
29 | }
30 | .scrollBounceBehavior(.basedOnSize)
| |- error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
| `- note: add 'if #available' version check
31 | }
32 | .padding(.top, self.padding.top)
/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 | .scrollBounceBehavior(.basedOnSize)
31 | }
32 | .padding(.top, self.padding.top)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | .padding(.bottom, self.padding.bottom)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:33:10: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
31 | }
32 | .padding(.top, self.padding.top)
33 | .padding(.bottom, self.padding.bottom)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | }
35 | }
[19/20] Compiling Recap 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/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 |
6 | let feature: Feature
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:8: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:33:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
30 | }
31 |
32 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
33 | var iconForegroundStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing property
34 | switch self.iconFillMode {
35 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:9: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
10 | ZStack(alignment: .center) {
11 | Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:9:28: 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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
10 | ZStack(alignment: .center) {
11 | Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:10: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | Color.clear
12 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:10:32: 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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | Color.clear
12 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
11 | Color.clear
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | .frame(width: 48.0, height: 48.0)
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
11 | Color.clear
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | .frame(width: 48.0, height: 48.0)
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
11 | Color.clear
12 | .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
13 |
14 | Image(systemName: feature.symbolName)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:14: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
12 | .frame(width: 48.0, height: 48.0)
13 |
14 | Image(systemName: feature.symbolName)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | .foregroundStyle(self.iconForegroundStyle)
16 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:14: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
12 | .frame(width: 48.0, height: 48.0)
13 |
14 | Image(systemName: feature.symbolName)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
15 | .foregroundStyle(self.iconForegroundStyle)
16 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
13 |
14 | Image(systemName: feature.symbolName)
15 | .foregroundStyle(self.iconForegroundStyle)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
16 | .font(.system(size: 32.0))
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:16: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
14 | Image(systemName: feature.symbolName)
15 | .foregroundStyle(self.iconForegroundStyle)
16 | .font(.system(size: 32.0))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:16: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
14 | Image(systemName: feature.symbolName)
15 | .foregroundStyle(self.iconForegroundStyle)
16 | .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
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:19: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
17 | }
18 |
19 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | Text(.init(feature.title))
21 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:19: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
17 | }
18 |
19 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | Text(.init(feature.title))
21 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
18 |
19 | VStack(alignment: .leading, spacing: 4.0) {
20 | Text(.init(feature.title))
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
21 | .font(.headline)
22 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
18 |
19 | VStack(alignment: .leading, spacing: 4.0) {
20 | Text(.init(feature.title))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | .font(.headline)
22 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
18 |
19 | VStack(alignment: .leading, spacing: 4.0) {
20 | Text(.init(feature.title))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | .font(.headline)
22 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
19 | VStack(alignment: .leading, spacing: 4.0) {
20 | Text(.init(feature.title))
21 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .foregroundStyle(.primary)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
19 | VStack(alignment: .leading, spacing: 4.0) {
20 | Text(.init(feature.title))
21 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .foregroundStyle(.primary)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
20 | Text(.init(feature.title))
21 | .font(.headline)
22 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
23 |
24 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
20 | Text(.init(feature.title))
21 | .font(.headline)
22 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
23 |
24 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:24:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
22 | .foregroundStyle(.primary)
23 |
24 | Text(.init(feature.description))
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | .font(.subheadline)
26 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:24: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
22 | .foregroundStyle(.primary)
23 |
24 | Text(.init(feature.description))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .font(.subheadline)
26 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:24: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
22 | .foregroundStyle(.primary)
23 |
24 | Text(.init(feature.description))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .font(.subheadline)
26 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
23 |
24 | Text(.init(feature.description))
25 | .font(.subheadline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .foregroundStyle(.secondary)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
23 |
24 | Text(.init(feature.description))
25 | .font(.subheadline)
| |- error: 'subheadline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .foregroundStyle(.secondary)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
24 | Text(.init(feature.description))
25 | .font(.subheadline)
26 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
24 | Text(.init(feature.description))
25 | .font(.subheadline)
26 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:19:55: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
17 | }
18 |
19 | VStack(alignment: .leading, spacing: 4.0) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | Text(.init(feature.title))
21 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:19:55: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
17 | }
18 |
19 | VStack(alignment: .leading, spacing: 4.0) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | Text(.init(feature.title))
21 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:37:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
30 | }
31 |
32 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
33 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
34 | switch self.iconFillMode {
35 |
36 | case .gradient:
37 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
38 |
39 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:37:46: error: 'gradient' is only available in macOS 13.0 or newer
30 | }
31 |
32 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
33 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
34 | switch self.iconFillMode {
35 |
36 | case .gradient:
37 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'gradient' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
38 |
39 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:40:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
30 | }
31 |
32 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
33 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
34 | switch self.iconFillMode {
35 |
:
38 |
39 | case .solid:
40 | AnyShapeStyle(self.feature.color)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
41 | }
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:40:13: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | }
31 |
32 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
33 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
34 | switch self.iconFillMode {
35 |
:
38 |
39 | case .solid:
40 | AnyShapeStyle(self.feature.color)
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
41 | }
42 | }
[20/20] Compiling Recap FeatureRow.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/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 |
6 | let feature: Feature
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:8: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:33:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
30 | }
31 |
32 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
33 | var iconForegroundStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing property
34 | switch self.iconFillMode {
35 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:9: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
10 | ZStack(alignment: .center) {
11 | Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:9:28: 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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
10 | ZStack(alignment: .center) {
11 | Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:10: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | Color.clear
12 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:10:32: 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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | Color.clear
12 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
11 | Color.clear
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | .frame(width: 48.0, height: 48.0)
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
11 | Color.clear
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | .frame(width: 48.0, height: 48.0)
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
11 | Color.clear
12 | .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
13 |
14 | Image(systemName: feature.symbolName)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:14: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
12 | .frame(width: 48.0, height: 48.0)
13 |
14 | Image(systemName: feature.symbolName)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | .foregroundStyle(self.iconForegroundStyle)
16 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:14: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
12 | .frame(width: 48.0, height: 48.0)
13 |
14 | Image(systemName: feature.symbolName)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
15 | .foregroundStyle(self.iconForegroundStyle)
16 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
13 |
14 | Image(systemName: feature.symbolName)
15 | .foregroundStyle(self.iconForegroundStyle)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
16 | .font(.system(size: 32.0))
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:16: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
14 | Image(systemName: feature.symbolName)
15 | .foregroundStyle(self.iconForegroundStyle)
16 | .font(.system(size: 32.0))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:16: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
14 | Image(systemName: feature.symbolName)
15 | .foregroundStyle(self.iconForegroundStyle)
16 | .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
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:19: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
17 | }
18 |
19 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | Text(.init(feature.title))
21 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:19: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
17 | }
18 |
19 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | Text(.init(feature.title))
21 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
18 |
19 | VStack(alignment: .leading, spacing: 4.0) {
20 | Text(.init(feature.title))
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
21 | .font(.headline)
22 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
18 |
19 | VStack(alignment: .leading, spacing: 4.0) {
20 | Text(.init(feature.title))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | .font(.headline)
22 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
18 |
19 | VStack(alignment: .leading, spacing: 4.0) {
20 | Text(.init(feature.title))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | .font(.headline)
22 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
19 | VStack(alignment: .leading, spacing: 4.0) {
20 | Text(.init(feature.title))
21 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .foregroundStyle(.primary)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
19 | VStack(alignment: .leading, spacing: 4.0) {
20 | Text(.init(feature.title))
21 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .foregroundStyle(.primary)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
20 | Text(.init(feature.title))
21 | .font(.headline)
22 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
23 |
24 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
20 | Text(.init(feature.title))
21 | .font(.headline)
22 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
23 |
24 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:24:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
22 | .foregroundStyle(.primary)
23 |
24 | Text(.init(feature.description))
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | .font(.subheadline)
26 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:24: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
22 | .foregroundStyle(.primary)
23 |
24 | Text(.init(feature.description))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .font(.subheadline)
26 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:24: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
22 | .foregroundStyle(.primary)
23 |
24 | Text(.init(feature.description))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .font(.subheadline)
26 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
23 |
24 | Text(.init(feature.description))
25 | .font(.subheadline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .foregroundStyle(.secondary)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
23 |
24 | Text(.init(feature.description))
25 | .font(.subheadline)
| |- error: 'subheadline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .foregroundStyle(.secondary)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
24 | Text(.init(feature.description))
25 | .font(.subheadline)
26 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26: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 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
24 | Text(.init(feature.description))
25 | .font(.subheadline)
26 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:19:55: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
17 | }
18 |
19 | VStack(alignment: .leading, spacing: 4.0) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | Text(.init(feature.title))
21 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:19:55: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 |
6 | let feature: Feature
7 |
8 | var body: some View {
| `- note: add @available attribute to enclosing property
9 | HStack(alignment: .center, spacing: 16.0) {
10 | ZStack(alignment: .center) {
:
17 | }
18 |
19 | VStack(alignment: .leading, spacing: 4.0) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | Text(.init(feature.title))
21 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:37:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
30 | }
31 |
32 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
33 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
34 | switch self.iconFillMode {
35 |
36 | case .gradient:
37 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
38 |
39 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:37:46: error: 'gradient' is only available in macOS 13.0 or newer
30 | }
31 |
32 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
33 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
34 | switch self.iconFillMode {
35 |
36 | case .gradient:
37 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'gradient' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
38 |
39 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:40:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
30 | }
31 |
32 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
33 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
34 | switch self.iconFillMode {
35 |
:
38 |
39 | case .solid:
40 | AnyShapeStyle(self.feature.color)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
41 | }
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:40:13: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | }
31 |
32 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
33 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
34 | switch self.iconFillMode {
35 |
:
38 |
39 | case .solid:
40 | AnyShapeStyle(self.feature.color)
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
41 | }
42 | }
BUILD FAILURE 6.0 macosSpm