Build Information
Failed to build Recap, reference main (38b486
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 01:07:00 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
78 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
79 |
80 | Spacer(minLength: 0.0)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | }
82 | .contentShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:24: error: conformance of 'Spacer' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
68 | dismissAction?() ?? dismiss()
69 | }, label: {
70 | HStack {
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | Spacer(minLength: 0.0)
72 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:24: error: conformance of 'Spacer' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
68 | dismissAction?() ?? dismiss()
69 | }, label: {
70 | HStack {
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | Spacer(minLength: 0.0)
72 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:82:18: error: 'contentShape(_:eoFill:)' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
80 | Spacer(minLength: 0.0)
81 | }
82 | .contentShape(.rect(cornerRadius: 16.0))
| |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | })
84 | .frame(maxWidth: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:82:32: error: 'rect(cornerRadius:style:)' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
80 | Spacer(minLength: 0.0)
81 | }
82 | .contentShape(.rect(cornerRadius: 16.0))
| |- error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | })
84 | .frame(maxWidth: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:84:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
82 | .contentShape(.rect(cornerRadius: 16.0))
83 | })
84 | .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
85 | .background(self.dismissButtonStyle.backgroundStyle)
86 | .clipShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:85: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
83 | })
84 | .frame(maxWidth: .infinity)
85 | .background(self.dismissButtonStyle.backgroundStyle)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
86 | .clipShape(.rect(cornerRadius: 16.0))
87 | .padding(.horizontal, 40.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:86:14: error: 'clipShape(_:style:)' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
84 | .frame(maxWidth: .infinity)
85 | .background(self.dismissButtonStyle.backgroundStyle)
86 | .clipShape(.rect(cornerRadius: 16.0))
| |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | .padding(.horizontal, 40.0)
88 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:86:25: error: 'rect(cornerRadius:style:)' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
84 | .frame(maxWidth: .infinity)
85 | .background(self.dismissButtonStyle.backgroundStyle)
86 | .clipShape(.rect(cornerRadius: 16.0))
| |- error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | .padding(.horizontal, 40.0)
88 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:87:14: 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
85 | .background(self.dismissButtonStyle.backgroundStyle)
86 | .clipShape(.rect(cornerRadius: 16.0))
87 | .padding(.horizontal, 40.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
88 | .foregroundStyle(.primary)
89 | .withBottomPaddingIfNoSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:88:14: error: 'foregroundStyle' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
86 | .clipShape(.rect(cornerRadius: 16.0))
87 | .padding(.horizontal, 40.0)
88 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
89 | .withBottomPaddingIfNoSafeArea()
90 | .background(self.derivedBackgroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:88:31: error: 'primary' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
86 | .clipShape(.rect(cornerRadius: 16.0))
87 | .padding(.horizontal, 40.0)
88 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
89 | .withBottomPaddingIfNoSafeArea()
90 | .background(self.derivedBackgroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:90: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
88 | .foregroundStyle(.primary)
89 | .withBottomPaddingIfNoSafeArea()
90 | .background(self.derivedBackgroundStyle)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
91 | .onAppear(perform: {
92 | self.selectedIndex = self.tabIndex(from: self.startIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:91:14: 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
89 | .withBottomPaddingIfNoSafeArea()
90 | .background(self.derivedBackgroundStyle)
91 | .onAppear(perform: {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | self.selectedIndex = self.tabIndex(from: self.startIndex)
93 | })
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:92:17: 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
90 | .background(self.derivedBackgroundStyle)
91 | .onAppear(perform: {
92 | 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
93 | })
94 | .onAppear(perform: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:94:14: 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
92 | self.selectedIndex = self.tabIndex(from: self.startIndex)
93 | })
94 | .onAppear(perform: {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
95 | self.setupAppearanceChanges()
96 | })
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:97:14: 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
95 | self.setupAppearanceChanges()
96 | })
97 | .onDisappear(perform: {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | self.teardownAppearanceChanges()
99 | })
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:109:28: error: 'EmptyView' is only available in macOS 10.15 or newer
104 | // MARK: Convenience Initializers
105 |
106 | public extension RecapScreen where LeadingView == EmptyView {
| `- note: add @available attribute to enclosing extension
107 | init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
| `- note: add @available attribute to enclosing initializer
108 | self.releases = releases
109 | self.leadingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
110 | self.trailingView = trailingView()
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:118:29: error: 'EmptyView' is only available in macOS 10.15 or newer
112 | }
113 |
114 | public extension RecapScreen where TrailingView == EmptyView {
| `- note: add @available attribute to enclosing extension
115 | init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
| `- note: add @available attribute to enclosing initializer
116 | self.releases = releases
117 | self.leadingView = leadingView()
118 | self.trailingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
119 | }
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:125:28: error: 'EmptyView' is only available in macOS 10.15 or newer
120 | }
121 |
122 | public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
| `- note: add @available attribute to enclosing extension
123 | init(releases: [Release]) {
| `- note: add @available attribute to enclosing initializer
124 | self.releases = releases
125 | self.leadingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | self.trailingView = EmptyView()
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:126:29: error: 'EmptyView' is only available in macOS 10.15 or newer
120 | }
121 |
122 | public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
| `- note: add @available attribute to enclosing extension
123 | init(releases: [Release]) {
| `- note: add @available attribute to enclosing initializer
124 | self.releases = releases
125 | self.leadingView = EmptyView()
126 | self.trailingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
127 | }
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:13: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:55: error: 'Color' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:61: error: 'black' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:69: error: 'Color' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:75: error: 'white' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:193:40: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
194 | self
195 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:196:18: error: 'padding' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
194 | self
195 | } else {
196 | self.padding(.bottom, 24.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
197 | }
198 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:195:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
194 | self
195 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
196 | self.padding(.bottom, 24.0)
197 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:55: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| | |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
194 | self
[19/21] Compiling Recap RecapScreenStartIndex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:23:20: error: 'dismiss' 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
| `- error: 'dismiss' is only available in macOS 12.0 or newer
24 | @Environment(\.backgroundStyle) private var backgroundStyle
25 | @Environment(\.colorScheme) private var colorScheme
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:24:20: error: 'backgroundStyle' is only available in macOS 13.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
| `- error: 'backgroundStyle' is only available in macOS 13.0 or newer
25 | @Environment(\.colorScheme) private var colorScheme
26 | @Environment(\.recapScreenStartIndex) private var startIndex
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:25:20: error: 'colorScheme' 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
25 | @Environment(\.colorScheme) private var colorScheme
| `- error: 'colorScheme' is only available in macOS 10.15 or newer
26 | @Environment(\.recapScreenStartIndex) private var startIndex
27 | @Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:33:60: error: cannot find type 'UIColor' in scope
31 | @Environment(\.recapScreenDismissAction) private var dismissAction
32 |
33 | @State private var originalSelectedPageIndicatorColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
34 | @State private var originalDeselectedPageIndicatorColor: UIColor?
35 | @State private var selectedIndex = 0
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:34:62: error: cannot find type 'UIColor' in scope
32 |
33 | @State private var originalSelectedPageIndicatorColor: UIColor?
34 | @State private var originalDeselectedPageIndicatorColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
35 | @State private var selectedIndex = 0
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:23:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
| `- error: 'Environment' is only available in macOS 10.15 or newer
24 | @Environment(\.backgroundStyle) private var backgroundStyle
25 | @Environment(\.colorScheme) private var colorScheme
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:24:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
| `- error: 'Environment' is only available in macOS 10.15 or newer
25 | @Environment(\.colorScheme) private var colorScheme
26 | @Environment(\.recapScreenStartIndex) private var startIndex
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:25:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
25 | @Environment(\.colorScheme) private var colorScheme
| `- error: 'Environment' is only available in macOS 10.15 or newer
26 | @Environment(\.recapScreenStartIndex) private var startIndex
27 | @Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:26:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
25 | @Environment(\.colorScheme) private var colorScheme
26 | @Environment(\.recapScreenStartIndex) private var startIndex
| `- error: 'Environment' is only available in macOS 10.15 or newer
27 | @Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
28 | @Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:27:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
25 | @Environment(\.colorScheme) private var colorScheme
26 | @Environment(\.recapScreenStartIndex) private var startIndex
27 | @Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
| `- error: 'Environment' is only available in macOS 10.15 or newer
28 | @Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
29 | @Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:28:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
26 | @Environment(\.recapScreenStartIndex) private var startIndex
27 | @Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
28 | @Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
| `- error: 'Environment' is only available in macOS 10.15 or newer
29 | @Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
30 | @Environment(\.recapScreenDismissButtonTitle) private var dismissButtonTitle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:29:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
27 | @Environment(\.recapScreenSelectedPageIndicatorColor) private var selectedPageIndicatorColor
28 | @Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
29 | @Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
| `- error: 'Environment' is only available in macOS 10.15 or newer
30 | @Environment(\.recapScreenDismissButtonTitle) private var dismissButtonTitle
31 | @Environment(\.recapScreenDismissAction) private var dismissAction
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:30:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
28 | @Environment(\.recapScreenDeselectedPageIndicatorColor) private var deselectedPageIndicatorColor
29 | @Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
30 | @Environment(\.recapScreenDismissButtonTitle) private var dismissButtonTitle
| `- error: 'Environment' is only available in macOS 10.15 or newer
31 | @Environment(\.recapScreenDismissAction) private var dismissAction
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:31:6: error: 'Environment' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
29 | @Environment(\.recapScreenDismissButtonStyle) private var dismissButtonStyle
30 | @Environment(\.recapScreenDismissButtonTitle) private var dismissButtonTitle
31 | @Environment(\.recapScreenDismissAction) private var dismissAction
| `- error: 'Environment' is only available in macOS 10.15 or newer
32 |
33 | @State private var originalSelectedPageIndicatorColor: UIColor?
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:33:6: error: 'State' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
31 | @Environment(\.recapScreenDismissAction) private var dismissAction
32 |
33 | @State private var originalSelectedPageIndicatorColor: UIColor?
| `- error: 'State' is only available in macOS 10.15 or newer
34 | @State private var originalDeselectedPageIndicatorColor: UIColor?
35 | @State private var selectedIndex = 0
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
32 |
33 | @State private var originalSelectedPageIndicatorColor: UIColor?
34 | @State private var originalDeselectedPageIndicatorColor: UIColor?
| `- error: 'State' is only available in macOS 10.15 or newer
35 | @State private var selectedIndex = 0
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
33 | @State private var originalSelectedPageIndicatorColor: UIColor?
34 | @State private var originalDeselectedPageIndicatorColor: UIColor?
35 | @State private var selectedIndex = 0
| `- error: 'State' is only available in macOS 10.15 or newer
36 |
37 | private let releases: [Release]
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:41:39: error: 'ViewBuilder' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
39 | private let trailingView: TrailingView
40 |
41 | public init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView, @ViewBuilder trailingView: () -> TrailingView) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
42 | self.releases = releases
43 | self.leadingView = leadingView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:41:84: error: 'ViewBuilder' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
39 | private let trailingView: TrailingView
40 |
41 | public init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView, @ViewBuilder trailingView: () -> TrailingView) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
42 | self.releases = releases
43 | self.leadingView = leadingView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:47:27: error: 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
:
45 | }
46 |
47 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:40: error: 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:22:60: error: 'View' is only available in macOS 10.15 or newer
20 | ///
21 | /// - Note: The releases are displayed in reverse chronological order, with the most recent release shown first.
22 | public struct RecapScreen<LeadingView: View, TrailingView: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
23 | @Environment(\.dismiss) private var dismiss
24 | @Environment(\.backgroundStyle) private var backgroundStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:107:32: error: 'ViewBuilder' is only available in macOS 10.15 or newer
104 | // MARK: Convenience Initializers
105 |
106 | public extension RecapScreen where LeadingView == EmptyView {
| `- note: add @available attribute to enclosing extension
107 | init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
108 | self.releases = releases
109 | self.leadingView = EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:106:51: error: 'EmptyView' is only available in macOS 10.15 or newer
104 | // MARK: Convenience Initializers
105 |
106 | public extension RecapScreen where LeadingView == EmptyView {
| | `- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
107 | init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
108 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:115:32: error: 'ViewBuilder' is only available in macOS 10.15 or newer
112 | }
113 |
114 | public extension RecapScreen where TrailingView == EmptyView {
| `- note: add @available attribute to enclosing extension
115 | init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
116 | self.releases = releases
117 | self.leadingView = leadingView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:114:52: error: 'EmptyView' is only available in macOS 10.15 or newer
112 | }
113 |
114 | public extension RecapScreen where TrailingView == EmptyView {
| | `- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
115 | init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
116 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:122:51: error: 'EmptyView' is only available in macOS 10.15 or newer
120 | }
121 |
122 | public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
| | `- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
123 | init(releases: [Release]) {
124 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:122:78: error: 'EmptyView' is only available in macOS 10.15 or newer
120 | }
121 |
122 | public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
| | `- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
123 | init(releases: [Release]) {
124 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:137:33: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:50: error: 'View' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
194 | self
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:191:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
189 | }
190 |
191 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
194 | self
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:174:19: error: 'View' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:48: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | TabView(selection: $selectedIndex) {
50 | self.leadingView
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:49: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
| |- error: 'TabView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | self.leadingView
51 | .tag(self.tabIndex(from: .leadingView))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:51:22: 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
50 | self.leadingView
51 | .tag(self.tabIndex(from: .leadingView))
| |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 |
53 | ForEach(self.displayedReleases) { release in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:53: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
51 | .tag(self.tabIndex(from: .leadingView))
52 |
53 | ForEach(self.displayedReleases) { 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
54 | ReleaseView(release: release)
55 | .padding(.bottom, 32.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:53: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
51 | .tag(self.tabIndex(from: .leadingView))
52 |
53 | ForEach(self.displayedReleases) { release in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | ReleaseView(release: release)
55 | .padding(.bottom, 32.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:53:17: error: 'init(_: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
51 | .tag(self.tabIndex(from: .leadingView))
52 |
53 | ForEach(self.displayedReleases) { release in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | ReleaseView(release: release)
55 | .padding(.bottom, 32.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:55: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
53 | ForEach(self.displayedReleases) { release in
54 | ReleaseView(release: release)
55 | .padding(.bottom, 32.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | .tag((self.tabIndex(from: .release(
57 | self.displayedReleases.firstIndex(of: release) ?? 0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:56: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
54 | ReleaseView(release: release)
55 | .padding(.bottom, 32.0)
56 | .tag((self.tabIndex(from: .release(
| |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | self.displayedReleases.firstIndex(of: release) ?? 0)
58 | )))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:62:22: 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
60 |
61 | self.trailingView
62 | .tag(self.tabIndex(from: .trailingView))
| |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | }
64 | .tabViewStyle(.page(indexDisplayMode: self.releases.count > 1 ? .always : .never))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:49: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | 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
50 | self.leadingView
51 | .tag(self.tabIndex(from: .leadingView))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:64: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
62 | .tag(self.tabIndex(from: .trailingView))
63 | }
64 | .tabViewStyle(.page(indexDisplayMode: self.releases.count > 1 ? .always : .never))
| |- error: 'tabViewStyle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
65 | .background(self.derivedBackgroundStyle)
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:64:28: error: 'page(indexDisplayMode:)' is unavailable in macOS
62 | .tag(self.tabIndex(from: .trailingView))
63 | }
64 | .tabViewStyle(.page(indexDisplayMode: self.releases.count > 1 ? .always : .never))
| `- error: 'page(indexDisplayMode:)' is unavailable in macOS
65 | .background(self.derivedBackgroundStyle)
66 |
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:65: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
63 | }
64 | .tabViewStyle(.page(indexDisplayMode: self.releases.count > 1 ? .always : .never))
65 | .background(self.derivedBackgroundStyle)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
66 |
67 | Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:67:13: error: 'Button' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
65 | .background(self.derivedBackgroundStyle)
66 |
67 | Button(action: {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | dismissAction?() ?? dismiss()
69 | }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:17: error: 'HStack' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
68 | dismissAction?() ?? dismiss()
69 | }, label: {
70 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | Spacer(minLength: 0.0)
72 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:71:21: error: conformance of 'Spacer' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
69 | }, label: {
70 | HStack {
71 | 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
72 |
73 | Text(self.dismissButtonTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:71:21: error: 'Spacer' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
69 | }, label: {
70 | HStack {
71 | Spacer(minLength: 0.0)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 |
73 | Text(self.dismissButtonTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:73:21: error: 'Text' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
71 | Spacer(minLength: 0.0)
72 |
73 | Text(self.dismissButtonTitle)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | .font(.system(.title3, weight: .bold))
75 | .padding(8.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:73:21: error: 'init(_:)' is only available in macOS 13 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
71 | Spacer(minLength: 0.0)
72 |
73 | Text(self.dismissButtonTitle)
| |- error: 'init(_:)' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
74 | .font(.system(.title3, weight: .bold))
75 | .padding(8.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:74:26: error: 'font' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
72 |
73 | Text(self.dismissButtonTitle)
74 | .font(.system(.title3, weight: .bold))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | .padding(8.0)
76 | .padding(.vertical, 4.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:74:32: error: 'system(_:design:weight:)' is only available in macOS 13.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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
72 |
73 | Text(self.dismissButtonTitle)
74 | .font(.system(.title3, weight: .bold))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
75 | .padding(8.0)
76 | .padding(.vertical, 4.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:74:40: error: 'title3' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
72 |
73 | Text(self.dismissButtonTitle)
74 | .font(.system(.title3, weight: .bold))
| |- error: 'title3' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
75 | .padding(8.0)
76 | .padding(.vertical, 4.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:75: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
73 | Text(self.dismissButtonTitle)
74 | .font(.system(.title3, weight: .bold))
75 | .padding(8.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | .padding(.vertical, 4.0)
77 | .padding(.horizontal, 16.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:76: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
74 | .font(.system(.title3, weight: .bold))
75 | .padding(8.0)
76 | .padding(.vertical, 4.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | .padding(.horizontal, 16.0)
78 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:77: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
75 | .padding(8.0)
76 | .padding(.vertical, 4.0)
77 | .padding(.horizontal, 16.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
79 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:78:26: error: 'foregroundStyle' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
76 | .padding(.vertical, 4.0)
77 | .padding(.horizontal, 16.0)
78 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
79 |
80 | Spacer(minLength: 0.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:80:21: error: conformance of 'Spacer' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
78 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
79 |
80 | 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
81 | }
82 | .contentShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:80:21: error: 'Spacer' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
78 | .foregroundStyle(dismissButtonStyle.foregroundStyle)
79 |
80 | Spacer(minLength: 0.0)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | }
82 | .contentShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:24: error: conformance of 'Spacer' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
68 | dismissAction?() ?? dismiss()
69 | }, label: {
70 | HStack {
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | Spacer(minLength: 0.0)
72 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:70:24: error: conformance of 'Spacer' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
68 | dismissAction?() ?? dismiss()
69 | }, label: {
70 | HStack {
| |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | Spacer(minLength: 0.0)
72 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:82:18: error: 'contentShape(_:eoFill:)' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
80 | Spacer(minLength: 0.0)
81 | }
82 | .contentShape(.rect(cornerRadius: 16.0))
| |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | })
84 | .frame(maxWidth: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:82:32: error: 'rect(cornerRadius:style:)' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
80 | Spacer(minLength: 0.0)
81 | }
82 | .contentShape(.rect(cornerRadius: 16.0))
| |- error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | })
84 | .frame(maxWidth: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:84:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
82 | .contentShape(.rect(cornerRadius: 16.0))
83 | })
84 | .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
85 | .background(self.dismissButtonStyle.backgroundStyle)
86 | .clipShape(.rect(cornerRadius: 16.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:85: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
83 | })
84 | .frame(maxWidth: .infinity)
85 | .background(self.dismissButtonStyle.backgroundStyle)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
86 | .clipShape(.rect(cornerRadius: 16.0))
87 | .padding(.horizontal, 40.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:86:14: error: 'clipShape(_:style:)' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
84 | .frame(maxWidth: .infinity)
85 | .background(self.dismissButtonStyle.backgroundStyle)
86 | .clipShape(.rect(cornerRadius: 16.0))
| |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | .padding(.horizontal, 40.0)
88 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:86:25: error: 'rect(cornerRadius:style:)' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
84 | .frame(maxWidth: .infinity)
85 | .background(self.dismissButtonStyle.backgroundStyle)
86 | .clipShape(.rect(cornerRadius: 16.0))
| |- error: 'rect(cornerRadius:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | .padding(.horizontal, 40.0)
88 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:87:14: 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
85 | .background(self.dismissButtonStyle.backgroundStyle)
86 | .clipShape(.rect(cornerRadius: 16.0))
87 | .padding(.horizontal, 40.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
88 | .foregroundStyle(.primary)
89 | .withBottomPaddingIfNoSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:88:14: error: 'foregroundStyle' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
86 | .clipShape(.rect(cornerRadius: 16.0))
87 | .padding(.horizontal, 40.0)
88 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
89 | .withBottomPaddingIfNoSafeArea()
90 | .background(self.derivedBackgroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:88:31: error: 'primary' 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
86 | .clipShape(.rect(cornerRadius: 16.0))
87 | .padding(.horizontal, 40.0)
88 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
89 | .withBottomPaddingIfNoSafeArea()
90 | .background(self.derivedBackgroundStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:90: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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
88 | .foregroundStyle(.primary)
89 | .withBottomPaddingIfNoSafeArea()
90 | .background(self.derivedBackgroundStyle)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
91 | .onAppear(perform: {
92 | self.selectedIndex = self.tabIndex(from: self.startIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:91:14: 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
89 | .withBottomPaddingIfNoSafeArea()
90 | .background(self.derivedBackgroundStyle)
91 | .onAppear(perform: {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | self.selectedIndex = self.tabIndex(from: self.startIndex)
93 | })
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:92:17: 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
90 | .background(self.derivedBackgroundStyle)
91 | .onAppear(perform: {
92 | 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
93 | })
94 | .onAppear(perform: {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:94:14: 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
92 | self.selectedIndex = self.tabIndex(from: self.startIndex)
93 | })
94 | .onAppear(perform: {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
95 | self.setupAppearanceChanges()
96 | })
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:97:14: 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
:
45 | }
46 |
47 | public var body: some View {
| `- note: add @available attribute to enclosing property
48 | VStack(spacing: 0.0) {
49 | TabView(selection: $selectedIndex) {
:
95 | self.setupAppearanceChanges()
96 | })
97 | .onDisappear(perform: {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | self.teardownAppearanceChanges()
99 | })
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:109:28: error: 'EmptyView' is only available in macOS 10.15 or newer
104 | // MARK: Convenience Initializers
105 |
106 | public extension RecapScreen where LeadingView == EmptyView {
| `- note: add @available attribute to enclosing extension
107 | init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
| `- note: add @available attribute to enclosing initializer
108 | self.releases = releases
109 | self.leadingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
110 | self.trailingView = trailingView()
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:118:29: error: 'EmptyView' is only available in macOS 10.15 or newer
112 | }
113 |
114 | public extension RecapScreen where TrailingView == EmptyView {
| `- note: add @available attribute to enclosing extension
115 | init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
| `- note: add @available attribute to enclosing initializer
116 | self.releases = releases
117 | self.leadingView = leadingView()
118 | self.trailingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
119 | }
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:125:28: error: 'EmptyView' is only available in macOS 10.15 or newer
120 | }
121 |
122 | public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
| `- note: add @available attribute to enclosing extension
123 | init(releases: [Release]) {
| `- note: add @available attribute to enclosing initializer
124 | self.releases = releases
125 | self.leadingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | self.trailingView = EmptyView()
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:126:29: error: 'EmptyView' is only available in macOS 10.15 or newer
120 | }
121 |
122 | public extension RecapScreen where LeadingView == EmptyView, TrailingView == EmptyView {
| `- note: add @available attribute to enclosing extension
123 | init(releases: [Release]) {
| `- note: add @available attribute to enclosing initializer
124 | self.releases = releases
125 | self.leadingView = EmptyView()
126 | self.trailingView = EmptyView()
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
127 | }
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:13: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:55: error: 'Color' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:61: error: 'black' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:69: error: 'Color' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:75: error: 'white' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:193:40: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
194 | self
195 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:196:18: error: 'padding' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
194 | self
195 | } else {
196 | self.padding(.bottom, 24.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
197 | }
198 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:195:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
194 | self
195 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
196 | self.padding(.bottom, 24.0)
197 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:55: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| | |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
194 | self
[20/21] Compiling Recap FeatureRow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:5:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
| `- error: 'Environment' is only available in macOS 10.15 or newer
6 |
7 | let feature: Feature
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:34:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:10:9: error: 'HStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:13: error: 'ZStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:31: error: 'Alignment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'Alignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:54: error: 'center' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12:17: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .frame(width: 48.0, height: 48.0)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12:23: error: 'clear' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .frame(width: 48.0, height: 48.0)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:13:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 |
15 | Image(systemName: feature.symbolName)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15:17: error: 'Image' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
13 | .frame(width: 48.0, height: 48.0)
14 |
15 | Image(systemName: feature.symbolName)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
13 | .frame(width: 48.0, height: 48.0)
14 |
15 | Image(systemName: feature.symbolName)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:16:22: error: 'foregroundStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
14 |
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
17 | .font(.system(size: 32.0))
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:17:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:17:28: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:13: error: 'VStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:32: error: 'leading' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
22 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundStyle(.primary)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22:28: error: 'headline' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
22 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundStyle(.primary)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:23:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
21 | Text(.init(feature.title))
22 | .font(.headline)
23 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 |
25 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:23:39: error: 'primary' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
21 | Text(.init(feature.title))
22 | .font(.headline)
23 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
24 |
25 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
24 |
25 | Text(.init(feature.description))
26 | .font(.subheadline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundStyle(.secondary)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26:28: error: 'subheadline' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
24 |
25 | Text(.init(feature.description))
26 | .font(.subheadline)
| |- error: 'subheadline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundStyle(.secondary)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:27:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
25 | Text(.init(feature.description))
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:27:39: error: 'secondary' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
25 | Text(.init(feature.description))
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:46: error: 'gradient' is only available in macOS 13.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'gradient' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:4:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
5 | let foregroundStyle: AnyShapeStyle
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:5:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
5 | let foregroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
6 | }
7 |
[21/21] Compiling Recap RecapDismissButtonStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:5:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
| `- error: 'Environment' is only available in macOS 10.15 or newer
6 |
7 | let feature: Feature
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:34:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:10:9: error: 'HStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:13: error: 'ZStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:31: error: 'Alignment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'Alignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:54: error: 'center' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12:17: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .frame(width: 48.0, height: 48.0)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12:23: error: 'clear' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .frame(width: 48.0, height: 48.0)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:13:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 |
15 | Image(systemName: feature.symbolName)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15:17: error: 'Image' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
13 | .frame(width: 48.0, height: 48.0)
14 |
15 | Image(systemName: feature.symbolName)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
13 | .frame(width: 48.0, height: 48.0)
14 |
15 | Image(systemName: feature.symbolName)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:16:22: error: 'foregroundStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
14 |
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
17 | .font(.system(size: 32.0))
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:17:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:17:28: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:13: error: 'VStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:32: error: 'leading' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
22 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundStyle(.primary)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22:28: error: 'headline' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
22 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundStyle(.primary)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:23:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
21 | Text(.init(feature.title))
22 | .font(.headline)
23 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 |
25 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:23:39: error: 'primary' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
21 | Text(.init(feature.title))
22 | .font(.headline)
23 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
24 |
25 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
24 |
25 | Text(.init(feature.description))
26 | .font(.subheadline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundStyle(.secondary)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26:28: error: 'subheadline' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
24 |
25 | Text(.init(feature.description))
26 | .font(.subheadline)
| |- error: 'subheadline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundStyle(.secondary)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:27:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
25 | Text(.init(feature.description))
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:27:39: error: 'secondary' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
25 | Text(.init(feature.description))
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:46: error: 'gradient' is only available in macOS 13.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'gradient' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:4:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
5 | let foregroundStyle: AnyShapeStyle
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:5:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
5 | let foregroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
6 | }
7 |
BUILD FAILURE 6.0 macosSpm