Build Information
Failed to build Recap, reference main (7669e5), with Swift 6.0 for macOS (SPM) on 11 Mar 2026 11:04:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
323 | self.paginationButton(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:350:34: error: 'LocalizedStringResource' is only available in macOS 13 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add @available attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:350:138: error: 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:349:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
347 | }
348 |
349 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:403:42: error: 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:402:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:428:79: error: 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:427:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
425 | }
426 |
427 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:401:19: error: 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:50:9: error: 'VStack' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | TabView(selection: $selectedIndex) {
52 | if self.hasLeadingPage {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:51:13: error: 'TabView' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
| |- error: 'TabView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | if self.hasLeadingPage {
53 | self.leadingView
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:54:26: error: 'tag(_:includeOptional:)' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
52 | if self.hasLeadingPage {
53 | self.leadingView
54 | .tag(self.leadingPageIndex)
| |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:52:40: error: 'buildIf' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
52 | if self.hasLeadingPage {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | self.leadingView
54 | .tag(self.leadingPageIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:55:17: error: 'buildIf' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
53 | self.leadingView
54 | .tag(self.leadingPageIndex)
55 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 |
57 | ForEach(Array(self.displayedReleases.enumerated()), id: \.element.id) { index, release in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:57:17: error: conformance of 'ForEach<Data, ID, Content>' to '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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
55 | }
56 |
57 | ForEach(Array(self.displayedReleases.enumerated()), id: \.element.id) { index, release in
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | ReleaseView(release: release)
59 | .padding(.bottom, 32.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:57:17: error: 'ForEach' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
55 | }
56 |
57 | ForEach(Array(self.displayedReleases.enumerated()), id: \.element.id) { index, release in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | ReleaseView(release: release)
59 | .padding(.bottom, 32.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:57:17: error: 'init(_:id:content:)' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
55 | }
56 |
57 | ForEach(Array(self.displayedReleases.enumerated()), id: \.element.id) { index, release in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | ReleaseView(release: release)
59 | .padding(.bottom, 32.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:59:26: error: 'padding' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
57 | ForEach(Array(self.displayedReleases.enumerated()), id: \.element.id) { index, release in
58 | ReleaseView(release: release)
59 | .padding(.bottom, 32.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | .tag(self.releasePageIndex(for: index))
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:60:26: error: 'tag(_:includeOptional:)' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
58 | ReleaseView(release: release)
59 | .padding(.bottom, 32.0)
60 | .tag(self.releasePageIndex(for: index))
| |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | }
62 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:65:26: error: 'tag(_:includeOptional:)' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
63 | if self.hasTrailingPage {
64 | self.trailingView
65 | .tag(self.trailingPageIndex)
| |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:63:41: error: 'buildIf' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
61 | }
62 |
63 | if self.hasTrailingPage {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | self.trailingView
65 | .tag(self.trailingPageIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:66:17: error: 'buildIf' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
64 | self.trailingView
65 | .tag(self.trailingPageIndex)
66 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | }
68 | .tabViewStyle(.page(indexDisplayMode: self.usesSystemPaginationControls ? .always : .never))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:51:48: error: conformance of 'Optional<Wrapped>' to '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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | if self.hasLeadingPage {
53 | self.leadingView
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:51:48: error: conformance of 'ForEach<Data, ID, Content>' to '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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | if self.hasLeadingPage {
53 | self.leadingView
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:51:48: error: conformance of 'Optional<Wrapped>' to '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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | if self.hasLeadingPage {
53 | self.leadingView
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:68:14: error: 'tabViewStyle' is only available in macOS 11.0 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
66 | }
67 | }
68 | .tabViewStyle(.page(indexDisplayMode: self.usesSystemPaginationControls ? .always : .never))
| |- error: 'tabViewStyle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
69 | .background(self.derivedBackgroundStyle)
70 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:68:28: error: 'page(indexDisplayMode:)' is unavailable in macOS
66 | }
67 | }
68 | .tabViewStyle(.page(indexDisplayMode: self.usesSystemPaginationControls ? .always : .never))
| `- error: 'page(indexDisplayMode:)' is unavailable in macOS
69 | .background(self.derivedBackgroundStyle)
70 |
SwiftUI.TabViewStyle:5:51: note: 'page(indexDisplayMode:)' has been explicitly marked unavailable here
3 | extension TabViewStyle where Self == PageTabViewStyle {
4 | @MainActor @preconcurrency public static var page: PageTabViewStyle { get }
5 | @MainActor @preconcurrency public static func page(indexDisplayMode: PageTabViewStyle.IndexDisplayMode) -> PageTabViewStyle
| `- note: 'page(indexDisplayMode:)' has been explicitly marked unavailable here
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:69:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
67 | }
68 | .tabViewStyle(.page(indexDisplayMode: self.usesSystemPaginationControls ? .always : .never))
69 | .background(self.derivedBackgroundStyle)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
70 |
71 | if self.showsFooter {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:72:17: error: 'VStack' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
70 |
71 | if self.showsFooter {
72 | VStack(spacing: 0.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | if self.usesButtonPaginationControls {
74 | self.paginationControls
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:73:58: error: 'buildIf' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
71 | if self.showsFooter {
72 | VStack(spacing: 0.0) {
73 | if self.usesButtonPaginationControls {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | self.paginationControls
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:75:21: error: 'buildIf' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
73 | if self.usesButtonPaginationControls {
74 | self.paginationControls
75 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 |
77 | if self.showsDismissButton {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:77:48: error: 'buildIf' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
75 | }
76 |
77 | if self.showsDismissButton {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | self.dismissButton
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:79:21: error: 'buildIf' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
77 | if self.showsDismissButton {
78 | self.dismissButton
79 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | }
81 | .background(self.derivedBackgroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:72:38: error: conformance of 'Optional<Wrapped>' to '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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
70 |
71 | if self.showsFooter {
72 | VStack(spacing: 0.0) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | if self.usesButtonPaginationControls {
74 | self.paginationControls
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:72:38: error: conformance of 'Optional<Wrapped>' to '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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
70 |
71 | if self.showsFooter {
72 | VStack(spacing: 0.0) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | if self.usesButtonPaginationControls {
74 | self.paginationControls
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:81:18: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
79 | }
80 | }
81 | .background(self.derivedBackgroundStyle)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:71:33: error: 'buildIf' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
69 | .background(self.derivedBackgroundStyle)
70 |
71 | if self.showsFooter {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | VStack(spacing: 0.0) {
73 | if self.usesButtonPaginationControls {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:82:13: error: 'buildIf' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
80 | }
81 | .background(self.derivedBackgroundStyle)
82 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | }
84 | .onAppear(perform: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:50:30: error: conformance of 'Optional<Wrapped>' to '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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | TabView(selection: $selectedIndex) {
52 | if self.hasLeadingPage {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:84:10: error: 'onAppear(perform:)' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
82 | }
83 | }
84 | .onAppear(perform: {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | self.selectedIndex = self.tabIndex(from: self.startIndex)
86 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:85:4: error: setter for 'selectedIndex' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
83 | }
84 | .onAppear(perform: {
85 | self.selectedIndex = self.tabIndex(from: self.startIndex)
| |- error: setter for 'selectedIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
86 |
87 | self.setupAppearanceChanges()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:89:10: error: 'onDisappear(perform:)' 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
:
47 | }
48 |
49 | public var body: some View {
| `- note: add @available attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | TabView(selection: $selectedIndex) {
:
87 | self.setupAppearanceChanges()
88 | })
89 | .onDisappear(perform: {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | self.teardownAppearanceChanges()
91 | })
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:100:28: error: 'EmptyView' is only available in macOS 10.15 or newer
95 | // MARK: Convenience Initializers
96 |
97 | public extension RecapScreen where LeadingView == EmptyView {
| `- note: add @available attribute to enclosing extension
98 | init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
| `- note: add @available attribute to enclosing initializer
99 | self.releases = releases
100 | self.leadingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 | self.trailingView = trailingView()
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:109:29: error: 'EmptyView' is only available in macOS 10.15 or newer
103 | }
104 |
105 | public extension RecapScreen where TrailingView == EmptyView {
| `- note: add @available attribute to enclosing extension
106 | init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
| `- note: add @available attribute to enclosing initializer
107 | self.releases = releases
108 | self.leadingView = leadingView()
109 | self.trailingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
110 | }
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:116:28: error: 'EmptyView' is only available in macOS 10.15 or newer
111 | }
112 |
113 | public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
| `- note: add @available attribute to enclosing extension
114 | init(releases: [Release]) {
| `- note: add @available attribute to enclosing initializer
115 | self.releases = releases
116 | self.leadingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
117 | self.trailingView = EmptyView()
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:117:29: error: 'EmptyView' is only available in macOS 10.15 or newer
111 | }
112 |
113 | public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
| `- note: add @available attribute to enclosing extension
114 | init(releases: [Release]) {
| `- note: add @available attribute to enclosing initializer
115 | self.releases = releases
116 | self.leadingView = EmptyView()
117 | self.trailingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:125:3: error: 'Group' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | switch self.paginationStyle {
127 | case .automatic:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:125:3: error: 'init(content:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | switch self.paginationStyle {
127 | case .automatic:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:128:5: error: 'ViewThatFits' is only available in macOS 13.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
127 | case .automatic:
128 | ViewThatFits(in: .horizontal) {
| |- error: 'ViewThatFits' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
129 | self.paginationControls(displaysButtonTitles: true)
130 | self.paginationControls(displaysButtonTitles: false)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:128:5: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
127 | case .automatic:
128 | ViewThatFits(in: .horizontal) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | self.paginationControls(displaysButtonTitles: true)
130 | self.paginationControls(displaysButtonTitles: false)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:128:5: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
127 | case .automatic:
128 | ViewThatFits(in: .horizontal) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | self.paginationControls(displaysButtonTitles: true)
130 | self.paginationControls(displaysButtonTitles: false)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:134:5: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
:
132 |
133 | case .labeled:
134 | self.paginationControls(displaysButtonTitles: true)
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
135 |
136 | case .compact:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:134:5: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
:
132 |
133 | case .labeled:
134 | self.paginationControls(displaysButtonTitles: true)
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
135 |
136 | case .compact:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:5: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
:
135 |
136 | case .compact:
137 | self.paginationControls(displaysButtonTitles: false)
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
138 | }
139 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:125:9: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
| |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | switch self.paginationStyle {
127 | case .automatic:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:140:4: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
:
138 | }
139 | }
140 | .padding(.top, 24.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | .padding(.horizontal, 32.0)
142 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:4: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
:
139 | }
140 | .padding(.top, 24.0)
141 | .padding(.horizontal, 32.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | .foregroundStyle(.primary)
143 | .withBottomPaddingIfNoSafeArea(when: !self.showsDismissButton)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:142:4: error: 'foregroundStyle' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
:
140 | .padding(.top, 24.0)
141 | .padding(.horizontal, 32.0)
142 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
143 | .withBottomPaddingIfNoSafeArea(when: !self.showsDismissButton)
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:142:21: error: 'primary' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
| `- note: add @available attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
:
140 | .padding(.top, 24.0)
141 | .padding(.horizontal, 32.0)
142 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
143 | .withBottomPaddingIfNoSafeArea(when: !self.showsDismissButton)
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:147:3: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:147:3: error: 'HStack' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:147:3: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:147:25: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:148:4: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | Button(action: {
150 | withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:148:4: error: 'ForEach' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | Button(action: {
150 | withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:148:4: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | Button(action: {
150 | withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:148:56: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | Button(action: {
150 | withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:149:5: error: 'Button' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
150 | withAnimation {
151 | self.selectedIndex = index
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:150:6: error: 'withAnimation' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
150 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
151 | self.selectedIndex = index
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:151:7: error: setter for 'selectedIndex' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
150 | withAnimation {
151 | self.selectedIndex = index
| |- error: setter for 'selectedIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
152 | }
153 | }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:153:15: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
:
151 | self.selectedIndex = index
152 | }
153 | }, label: {
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
154 | Circle()
155 | .fill(index == self.selectedIndex ? self.selectedPageIndicatorColor : self.deselectedPageIndicatorColor)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:154:6: error: 'Circle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
:
152 | }
153 | }, label: {
154 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
155 | .fill(index == self.selectedIndex ? self.selectedPageIndicatorColor : self.deselectedPageIndicatorColor)
156 | .frame(width: 8.0, height: 8.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:155:8: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
:
153 | }, label: {
154 | Circle()
155 | .fill(index == self.selectedIndex ? self.selectedPageIndicatorColor : self.deselectedPageIndicatorColor)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
156 | .frame(width: 8.0, height: 8.0)
157 | })
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:156:8: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
:
154 | Circle()
155 | .fill(index == self.selectedIndex ? self.selectedPageIndicatorColor : self.deselectedPageIndicatorColor)
156 | .frame(width: 8.0, height: 8.0)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
157 | })
158 | .buttonStyle(.plain)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:158:6: error: 'buttonStyle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
:
156 | .frame(width: 8.0, height: 8.0)
157 | })
158 | .buttonStyle(.plain)
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
159 | }
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:158:19: error: 'plain' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
:
156 | .frame(width: 8.0, height: 8.0)
157 | })
158 | .buttonStyle(.plain)
| |- error: 'plain' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
159 | }
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:147:25: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| `- note: add @available attribute to enclosing property
147 | HStack(spacing: 10.0) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
149 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:164:3: error: 'Button' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
165 | dismissAction?() ?? dismiss()
166 | }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:167:4: error: 'HStack' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
166 | }, label: {
167 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
168 | Spacer(minLength: 0.0)
169 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:168:5: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
166 | }, label: {
167 | HStack {
168 | Spacer(minLength: 0.0)
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
169 |
170 | Text(self.dismissButtonTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:168:5: error: 'Spacer' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
166 | }, label: {
167 | HStack {
168 | Spacer(minLength: 0.0)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
169 |
170 | Text(self.dismissButtonTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:170:5: error: 'Text' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
168 | Spacer(minLength: 0.0)
169 |
170 | Text(self.dismissButtonTitle)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
171 | .font(.system(.title3, weight: .bold))
172 | .padding(8.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:170:5: error: 'init(_:)' is only available in macOS 13 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
168 | Spacer(minLength: 0.0)
169 |
170 | Text(self.dismissButtonTitle)
| |- error: 'init(_:)' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
171 | .font(.system(.title3, weight: .bold))
172 | .padding(8.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:171:7: error: 'font' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
169 |
170 | Text(self.dismissButtonTitle)
171 | .font(.system(.title3, weight: .bold))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
172 | .padding(8.0)
173 | .padding(.vertical, 4.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:171:13: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
169 |
170 | Text(self.dismissButtonTitle)
171 | .font(.system(.title3, weight: .bold))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
172 | .padding(8.0)
173 | .padding(.vertical, 4.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:171:21: error: 'title3' is only available in macOS 11.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
169 |
170 | Text(self.dismissButtonTitle)
171 | .font(.system(.title3, weight: .bold))
| |- error: 'title3' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
172 | .padding(8.0)
173 | .padding(.vertical, 4.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:172:7: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
170 | Text(self.dismissButtonTitle)
171 | .font(.system(.title3, weight: .bold))
172 | .padding(8.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
173 | .padding(.vertical, 4.0)
174 | .padding(.horizontal, 16.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:173:7: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
171 | .font(.system(.title3, weight: .bold))
172 | .padding(8.0)
173 | .padding(.vertical, 4.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
174 | .padding(.horizontal, 16.0)
175 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:7: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
172 | .padding(8.0)
173 | .padding(.vertical, 4.0)
174 | .padding(.horizontal, 16.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
175 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
176 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:175:7: error: 'foregroundStyle' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
173 | .padding(.vertical, 4.0)
174 | .padding(.horizontal, 16.0)
175 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
176 |
177 | Spacer(minLength: 0.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:177:5: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
175 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
176 |
177 | Spacer(minLength: 0.0)
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
178 | }
179 | .contentShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:177:5: error: 'Spacer' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
175 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
176 |
177 | Spacer(minLength: 0.0)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
178 | }
179 | .contentShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:167:11: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
166 | }, label: {
167 | HStack {
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
168 | Spacer(minLength: 0.0)
169 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:167:11: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
166 | }, label: {
167 | HStack {
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
168 | Spacer(minLength: 0.0)
169 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:179:5: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
177 | Spacer(minLength: 0.0)
178 | }
179 | .contentShape(.rect(cornerRadius: 16.0))
| |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | })
181 | .buttonStyle(.borderless)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:179:19: error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
177 | Spacer(minLength: 0.0)
178 | }
179 | .contentShape(.rect(cornerRadius: 16.0))
| |- error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | })
181 | .buttonStyle(.borderless)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:181:4: error: 'buttonStyle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
179 | .contentShape(.rect(cornerRadius: 16.0))
180 | })
181 | .buttonStyle(.borderless)
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
182 | .frame(maxWidth: .infinity)
183 | .background(self.dismissButtonStyle.backgroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:181:17: error: 'borderless' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
179 | .contentShape(.rect(cornerRadius: 16.0))
180 | })
181 | .buttonStyle(.borderless)
| |- error: 'borderless' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
182 | .frame(maxWidth: .infinity)
183 | .background(self.dismissButtonStyle.backgroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:182:4: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
180 | })
181 | .buttonStyle(.borderless)
182 | .frame(maxWidth: .infinity)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
183 | .background(self.dismissButtonStyle.backgroundStyle)
184 | .versionSpecificClipShape()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:183:4: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
181 | .buttonStyle(.borderless)
182 | .frame(maxWidth: .infinity)
183 | .background(self.dismissButtonStyle.backgroundStyle)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
184 | .versionSpecificClipShape()
185 | .padding(.horizontal, 40.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:185:4: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
183 | .background(self.dismissButtonStyle.backgroundStyle)
184 | .versionSpecificClipShape()
185 | .padding(.horizontal, 40.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
186 | .padding(.top, self.usesButtonPaginationControls ? 16.0 : 0.0)
187 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:186:4: error: 'padding' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
184 | .versionSpecificClipShape()
185 | .padding(.horizontal, 40.0)
186 | .padding(.top, self.usesButtonPaginationControls ? 16.0 : 0.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
187 | .foregroundStyle(.primary)
188 | .withBottomPaddingIfNoSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:187:4: error: 'foregroundStyle' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
185 | .padding(.horizontal, 40.0)
186 | .padding(.top, self.usesButtonPaginationControls ? 16.0 : 0.0)
187 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
188 | .withBottomPaddingIfNoSafeArea()
189 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:187:21: error: 'primary' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| `- note: add @available attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
:
185 | .padding(.horizontal, 40.0)
186 | .padding(.top, self.usesButtonPaginationControls ? 16.0 : 0.0)
187 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
188 | .withBottomPaddingIfNoSafeArea()
189 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:196:29: error: 'EmptyView' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
193 | }
194 |
195 | var hasLeadingPage: Bool {
| `- note: add @available attribute to enclosing property
196 | LeadingView.self != EmptyView.self
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
197 | }
198 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:200:30: error: 'EmptyView' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
197 | }
198 |
199 | var hasTrailingPage: Bool {
| `- note: add @available attribute to enclosing property
200 | TrailingView.self != EmptyView.self
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
201 | }
202 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:13: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:55: error: 'Color' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:61: error: 'black' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:69: error: 'Color' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:266:75: error: 'white' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
265 | } else {
266 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | }
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:322:3: error: 'HStack' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
323 | self.paginationButton(
324 | title: LocalizedStringResource(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:324:12: error: 'LocalizedStringResource' is only available in macOS 13 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
324 | title: LocalizedStringResource(
| |- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
325 | "RECAP.SCREEN.PAGINATION.BUTTON.PREVIOUS",
326 | bundle: .atURL(Bundle.module.bundleURL)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:325:6: error: 'LocalizationValue' is only available in macOS 12 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
324 | title: LocalizedStringResource(
325 | "RECAP.SCREEN.PAGINATION.BUTTON.PREVIOUS",
| |- error: 'LocalizationValue' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
326 | bundle: .atURL(Bundle.module.bundleURL)
327 | ),
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:332:5: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
330 | showsTitle: displaysButtonTitles
331 | )
332 | .frame(maxWidth: .infinity, alignment: .leading)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
333 |
334 | self.pageIndicators
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:332:44: error: 'leading' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
330 | showsTitle: displaysButtonTitles
331 | )
332 | .frame(maxWidth: .infinity, alignment: .leading)
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
333 |
334 | self.pageIndicators
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:337:12: error: 'LocalizedStringResource' is only available in macOS 13 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
335 |
336 | self.paginationButton(
337 | title: LocalizedStringResource(
| |- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
338 | "RECAP.SCREEN.PAGINATION.BUTTON.NEXT",
339 | bundle: .atURL(Bundle.module.bundleURL)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:338:6: error: 'LocalizationValue' is only available in macOS 12 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
336 | self.paginationButton(
337 | title: LocalizedStringResource(
338 | "RECAP.SCREEN.PAGINATION.BUTTON.NEXT",
| |- error: 'LocalizationValue' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
339 | bundle: .atURL(Bundle.module.bundleURL)
340 | ),
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:345:5: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
343 | showsTitle: displaysButtonTitles
344 | )
345 | .frame(maxWidth: .infinity, alignment: .trailing)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:345:44: error: 'trailing' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| `- note: add @available attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
:
343 | showsTitle: displaysButtonTitles
344 | )
345 | .frame(maxWidth: .infinity, alignment: .trailing)
| |- error: 'trailing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:377:10: error: instance method 'accessibilityLabel' requires that 'LocalizedStringResource' conform to 'StringProtocol'
375 | .buttonStyle(.plain)
376 | .disabled(!isEnabled)
377 | .accessibilityLabel(title)
| `- error: instance method 'accessibilityLabel' requires that 'LocalizedStringResource' conform to 'StringProtocol'
378 | }
379 |
SwiftUI.View:5:29: note: where 'S' = 'LocalizedStringResource'
3 | nonisolated public func accessibilityLabel(_ label: Text) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
4 | nonisolated public func accessibilityLabel(_ labelKey: LocalizedStringKey) -> ModifiedContent<Self, AccessibilityAttachmentModifier>
5 | nonisolated public func accessibilityLabel<S>(_ label: S) -> ModifiedContent<Self, AccessibilityAttachmentModifier> where S : StringProtocol
| `- note: where 'S' = 'LocalizedStringResource'
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:383:9: error: 'withAnimation' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
378 | }
379 |
380 | func paginate(in direction: PaginationDirection) {
| `- note: add @available attribute to enclosing instance method
381 | guard self.canPaginate(in: direction) else { return }
382 |
383 | withAnimation {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
384 | switch direction {
385 | case .previous: self.selectedIndex -= 1
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:385:29: error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
378 | }
379 |
380 | func paginate(in direction: PaginationDirection) {
| `- note: add @available attribute to enclosing instance method
381 | guard self.canPaginate(in: direction) else { return }
382 |
383 | withAnimation {
384 | switch direction {
385 | case .previous: self.selectedIndex -= 1
| |- error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
386 | case .next: self.selectedIndex += 1
387 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:386:25: error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
378 | }
379 |
380 | func paginate(in direction: PaginationDirection) {
| `- note: add @available attribute to enclosing instance method
381 | guard self.canPaginate(in: direction) else { return }
382 |
:
384 | switch direction {
385 | case .previous: self.selectedIndex -= 1
386 | case .next: self.selectedIndex += 1
| |- error: cannot pass as inout because setter for 'selectedIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
387 | }
388 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:404:6: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
404 | if #available(iOS 26.0, *) {
| `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
405 | self.clipShape(.capsule)
406 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:405:9: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
| |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
406 | } else {
407 | self.clipShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:405:20: error: 'capsule' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
406 | } else {
407 | self.clipShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:404:30: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
405 | self.clipShape(.capsule)
406 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:404:30: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
405 | self.clipShape(.capsule)
406 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:406:10: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
406 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
407 | self.clipShape(.rect(cornerRadius: 16.0))
408 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:403:47: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| | |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:429:56: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
430 | self
431 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:432:18: error: 'padding' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
431 | } else {
432 | self.padding(.bottom, 24.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
433 | }
434 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:431:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
431 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
432 | self.padding(.bottom, 24.0)
433 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:428:84: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add @available attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| | |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
[24/25] Compiling Recap FeatureRow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:5:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
| `- error: 'Environment' is only available in macOS 10.15 or newer
6 |
7 | let feature: Feature
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:34:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:10:9: error: 'HStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:13: error: 'ZStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:31: error: 'Alignment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'Alignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:54: error: 'center' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12:17: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .frame(width: 48.0, height: 48.0)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12:23: error: 'clear' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .frame(width: 48.0, height: 48.0)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:13:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 |
15 | Image(systemName: feature.symbolName)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15:17: error: 'Image' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
13 | .frame(width: 48.0, height: 48.0)
14 |
15 | Image(systemName: feature.symbolName)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
13 | .frame(width: 48.0, height: 48.0)
14 |
15 | Image(systemName: feature.symbolName)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:16:22: error: 'foregroundStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
14 |
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
17 | .font(.system(size: 32.0))
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:17:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:17:28: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:13: error: 'VStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:32: error: 'leading' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
22 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundStyle(.primary)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22:28: error: 'headline' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
22 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundStyle(.primary)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:23:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
21 | Text(.init(feature.title))
22 | .font(.headline)
23 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 |
25 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:23:39: error: 'primary' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
21 | Text(.init(feature.title))
22 | .font(.headline)
23 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
24 |
25 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
24 |
25 | Text(.init(feature.description))
26 | .font(.subheadline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundStyle(.secondary)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26:28: error: 'subheadline' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
24 |
25 | Text(.init(feature.description))
26 | .font(.subheadline)
| |- error: 'subheadline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundStyle(.secondary)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:27:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
25 | Text(.init(feature.description))
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:27:39: error: 'secondary' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
25 | Text(.init(feature.description))
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:46: error: 'gradient' is only available in macOS 13.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'gradient' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:4:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
5 | let foregroundStyle: AnyShapeStyle
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:5:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
5 | let foregroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
6 | }
7 |
[25/25] Compiling Recap RecapDismissButtonStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:5:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
| `- error: 'Environment' is only available in macOS 10.15 or newer
6 |
7 | let feature: Feature
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:34:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:10:9: error: 'HStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:13: error: 'ZStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:31: error: 'Alignment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'Alignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:54: error: 'center' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12:17: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .frame(width: 48.0, height: 48.0)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12:23: error: 'clear' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .frame(width: 48.0, height: 48.0)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:13:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 |
15 | Image(systemName: feature.symbolName)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15:17: error: 'Image' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
13 | .frame(width: 48.0, height: 48.0)
14 |
15 | Image(systemName: feature.symbolName)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
13 | .frame(width: 48.0, height: 48.0)
14 |
15 | Image(systemName: feature.symbolName)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:16:22: error: 'foregroundStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
14 |
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
17 | .font(.system(size: 32.0))
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:17:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:17:28: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:13: error: 'VStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:32: error: 'leading' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
22 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundStyle(.primary)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22:28: error: 'headline' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
22 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundStyle(.primary)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:23:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
21 | Text(.init(feature.title))
22 | .font(.headline)
23 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 |
25 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:23:39: error: 'primary' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
21 | Text(.init(feature.title))
22 | .font(.headline)
23 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
24 |
25 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
24 |
25 | Text(.init(feature.description))
26 | .font(.subheadline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundStyle(.secondary)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26:28: error: 'subheadline' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
24 |
25 | Text(.init(feature.description))
26 | .font(.subheadline)
| |- error: 'subheadline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundStyle(.secondary)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:27:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
25 | Text(.init(feature.description))
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:27:39: error: 'secondary' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
25 | Text(.init(feature.description))
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:46: error: 'gradient' is only available in macOS 13.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'gradient' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:4:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
5 | let foregroundStyle: AnyShapeStyle
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:5:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
5 | let foregroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
6 | }
7 |
BUILD FAILURE 6.0 macosSpm