Build Information
Failed to build Recap, reference main (38b486
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 20:21:46 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:61: error: 'black' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:69: error: 'Color' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:141:75: error: 'white' is only available in macOS 10.15 or newer
130 | // MARK: Private
131 |
132 | private extension RecapScreen {
| `- note: add @available attribute to enclosing extension
133 | var displayedReleases: [Release] {
134 | self.releases.reversed()
135 | }
136 |
137 | var derivedBackgroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
138 | if let backgroundStyle {
139 | backgroundStyle
140 | } else {
141 | AnyShapeStyle(self.colorScheme == .dark ? Color.black : Color.white)
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:193:40: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
194 | self
195 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:196:18: error: 'padding' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
194 | self
195 | } else {
196 | self.padding(.bottom, 24.0)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
197 | }
198 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:195:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
194 | self
195 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
196 | self.padding(.bottom, 24.0)
197 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:192:55: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
172 | // MARK: Safe Area Insets
173 |
174 | private extension View {
| `- note: add @available attribute to enclosing extension
175 | var hasSafeAreaForBottomPadding: Bool {
176 | #if os(macOS)
:
190 |
191 | @ViewBuilder
192 | func withBottomPaddingIfNoSafeArea() -> some View {
| | |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing instance method
193 | if hasSafeAreaForBottomPadding {
194 | self
[13/18] Compiling Recap ReleaseView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:4:61: error: 'EdgeInsets' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
| `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:5:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
| `- error: 'Environment' is only available in macOS 10.15 or newer
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:6:67: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:6:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
| `- error: 'Environment' is only available in macOS 10.15 or newer
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:7:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
| `- error: 'Environment' is only available in macOS 10.15 or newer
8 |
9 | let release: Release
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:40:60: error: 'View' is only available in macOS 10.15 or newer
37 | // MARK: ScrollView
38 |
39 | fileprivate extension ScrollView {
| `- note: add @available attribute to enclosing extension
40 | func withSizedBasedBounceBehaviorIfAvailable() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
41 | if #available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) {
42 | return self.scrollBounceBehavior(.basedOnSize)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:39:23: error: 'ScrollView' is only available in macOS 10.15 or newer
37 | // MARK: ScrollView
38 |
39 | fileprivate extension ScrollView {
| | `- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
40 | func withSizedBasedBounceBehaviorIfAvailable() -> some View {
41 | if #available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:12:9: error: 'VStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:12:28: error: 'center' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:12:64: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:13:13: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:13:13: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:14:18: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:14:24: error: 'largeTitle' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
| |- error: 'largeTitle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:15:18: error: 'fontWeight' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
| |- error: 'fontWeight' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.titleStyle)
17 | .multilineTextAlignment(.center)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:16:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
17 | .multilineTextAlignment(.center)
18 | .padding(.leading, self.padding.leading)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:17:18: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
17 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .padding(.leading, self.padding.leading)
19 | .padding(.trailing, self.padding.trailing)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:18:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
16 | .foregroundStyle(self.titleStyle)
17 | .multilineTextAlignment(.center)
18 | .padding(.leading, self.padding.leading)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .padding(.trailing, self.padding.trailing)
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:19:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
17 | .multilineTextAlignment(.center)
18 | .padding(.leading, self.padding.leading)
19 | .padding(.trailing, self.padding.trailing)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 |
21 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:21:13: error: 'ScrollView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
19 | .padding(.trailing, self.padding.trailing)
20 |
21 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:21:13: error: 'init(_:content:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
19 | .padding(.trailing, self.padding.trailing)
20 |
21 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:21:24: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
19 | .padding(.trailing, self.padding.trailing)
20 |
21 | ScrollView {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:17: error: 'VStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:17: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:36: error: 'leading' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:23:21: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | FeatureRow(feature: feature)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:23:21: error: 'ForEach' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | FeatureRow(feature: feature)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:23:21: error: 'init(_:content:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | FeatureRow(feature: feature)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:72: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:27:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
25 | }
26 | }
27 | .padding(.leading, self.padding.leading)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .padding(.trailing, self.padding.trailing)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:28:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
26 | }
27 | .padding(.leading, self.padding.leading)
28 | .padding(.trailing, self.padding.trailing)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 | .withSizedBasedBounceBehaviorIfAvailable()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:32:10: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
30 | .withSizedBasedBounceBehaviorIfAvailable()
31 | }
32 | .padding(.top, self.padding.top)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | .padding(.bottom, self.padding.bottom)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:33:10: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
31 | }
32 | .padding(.top, self.padding.top)
33 | .padding(.bottom, self.padding.bottom)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | }
35 | }
[14/18] Compiling Recap AppVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:4:61: error: 'EdgeInsets' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
| `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:5:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
| `- error: 'Environment' is only available in macOS 10.15 or newer
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:6:67: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:6:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
| `- error: 'Environment' is only available in macOS 10.15 or newer
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:7:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
| `- error: 'Environment' is only available in macOS 10.15 or newer
8 |
9 | let release: Release
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:40:60: error: 'View' is only available in macOS 10.15 or newer
37 | // MARK: ScrollView
38 |
39 | fileprivate extension ScrollView {
| `- note: add @available attribute to enclosing extension
40 | func withSizedBasedBounceBehaviorIfAvailable() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
41 | if #available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) {
42 | return self.scrollBounceBehavior(.basedOnSize)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:39:23: error: 'ScrollView' is only available in macOS 10.15 or newer
37 | // MARK: ScrollView
38 |
39 | fileprivate extension ScrollView {
| | `- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
40 | func withSizedBasedBounceBehaviorIfAvailable() -> some View {
41 | if #available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:12:9: error: 'VStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:12:28: error: 'center' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:12:64: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:13:13: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:13:13: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:14:18: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:14:24: error: 'largeTitle' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
| |- error: 'largeTitle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:15:18: error: 'fontWeight' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
| |- error: 'fontWeight' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.titleStyle)
17 | .multilineTextAlignment(.center)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:16:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
14 | .font(.largeTitle)
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
17 | .multilineTextAlignment(.center)
18 | .padding(.leading, self.padding.leading)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:17:18: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
15 | .fontWeight(.bold)
16 | .foregroundStyle(self.titleStyle)
17 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .padding(.leading, self.padding.leading)
19 | .padding(.trailing, self.padding.trailing)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:18:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
16 | .foregroundStyle(self.titleStyle)
17 | .multilineTextAlignment(.center)
18 | .padding(.leading, self.padding.leading)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .padding(.trailing, self.padding.trailing)
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:19:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
17 | .multilineTextAlignment(.center)
18 | .padding(.leading, self.padding.leading)
19 | .padding(.trailing, self.padding.trailing)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 |
21 | ScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:21:13: error: 'ScrollView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
19 | .padding(.trailing, self.padding.trailing)
20 |
21 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:21:13: error: 'init(_:content:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
19 | .padding(.trailing, self.padding.trailing)
20 |
21 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:21:24: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
19 | .padding(.trailing, self.padding.trailing)
20 |
21 | ScrollView {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:17: error: 'VStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:17: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:36: error: 'leading' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:23:21: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | FeatureRow(feature: feature)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:23:21: error: 'ForEach' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | FeatureRow(feature: feature)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:23:21: error: 'init(_:content:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
23 | ForEach(release.features) { feature in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | FeatureRow(feature: feature)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:22:72: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
20 |
21 | ScrollView {
22 | VStack(alignment: .leading, spacing: self.itemSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | ForEach(release.features) { feature in
24 | FeatureRow(feature: feature)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:27:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
25 | }
26 | }
27 | .padding(.leading, self.padding.leading)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .padding(.trailing, self.padding.trailing)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:28:18: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
26 | }
27 | .padding(.leading, self.padding.leading)
28 | .padding(.trailing, self.padding.trailing)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 | .withSizedBasedBounceBehaviorIfAvailable()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:32:10: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
30 | .withSizedBasedBounceBehaviorIfAvailable()
31 | }
32 | .padding(.top, self.padding.top)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | .padding(.bottom, self.padding.bottom)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:33:10: error: 'padding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
:
31 | }
32 | .padding(.top, self.padding.top)
33 | .padding(.bottom, self.padding.bottom)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | }
35 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/18] Emitting module Recap
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:3:20: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:3:11: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
5 | let sanitizedColorName = systemName
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/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/RecapDismissButtonStyle.swift:4:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
5 | let foregroundStyle: AnyShapeStyle
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:5:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
5 | let foregroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:4:61: error: 'EdgeInsets' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
| `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:5:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
| `- error: 'Environment' is only available in macOS 10.15 or newer
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:6:67: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:6:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
| `- error: 'Environment' is only available in macOS 10.15 or newer
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:7:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
6 | @Environment(\.recapScreenTitleStyle) private var titleStyle: AnyShapeStyle
7 | @Environment(\.recapScreenItemSpacing) private var itemSpacing: CGFloat
| `- error: 'Environment' is only available in macOS 10.15 or newer
8 |
9 | let release: Release
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct ReleaseView: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenPadding) private var padding: EdgeInsets
5 | @Environment(\.recapScreenHeaderSpacing) private var titleSpacing: CGFloat
:
9 | let release: Release
10 |
11 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
12 | VStack(alignment: .center, spacing: self.titleSpacing) {
13 | Text(.init(release.title), bundle: .module)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:40:60: error: 'View' is only available in macOS 10.15 or newer
37 | // MARK: ScrollView
38 |
39 | fileprivate extension ScrollView {
| `- note: add @available attribute to enclosing extension
40 | func withSizedBasedBounceBehaviorIfAvailable() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
41 | if #available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) {
42 | return self.scrollBounceBehavior(.basedOnSize)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/ReleaseView.swift:39:23: error: 'ScrollView' is only available in macOS 10.15 or newer
37 | // MARK: ScrollView
38 |
39 | fileprivate extension ScrollView {
| | `- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
40 | func withSizedBasedBounceBehaviorIfAvailable() -> some View {
41 | if #available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/Feature.swift:21:16: error: 'Color' is only available in macOS 10.15 or newer
18 | }
19 |
20 | internal extension Feature {
| `- note: add @available attribute to enclosing extension
21 | var color: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
22 | if self.colorRepresentation.hasPrefix("#") {
23 | return Color(hex: self.colorRepresentation)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/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/View+Recap.swift:7:77: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
8 | self.environment(\.recapScreenStartIndex, startIndex)
9 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:46: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:46: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:12:66: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:54: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:54: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:17:74: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:64: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:100: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:64: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:100: error: 'ShapeStyle' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:27:120: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:37:49: error: 'LocalizedStringResource' is only available in macOS 13 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
35 |
36 | /// Configures a custom title for the `RecapScreen` dismiss button.
37 | func recapScreenDismissButtonTitle(_ title: LocalizedStringResource) -> some View {
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add @available attribute to enclosing instance method
38 | self.environment(\.recapScreenDismissButtonTitle, title)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:37:82: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
35 |
36 | /// Configures a custom title for the `RecapScreen` dismiss button.
37 | func recapScreenDismissButtonTitle(_ title: LocalizedStringResource) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
38 | self.environment(\.recapScreenDismissButtonTitle, title)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:42:65: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
40 |
41 | /// Configures an `IconFillMode` for the icons displayed on the `RecapScreen`.
42 | func recapScreenIconFillMode(_ style: IconFillMode) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
43 | self.environment(\.recapScreenIconFillMode, style)
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:47:48: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
45 |
46 | /// Configures the vertical alignment of a feature's icon displayed on the `RecapScreen`.
47 | func recapScreenIconAlignment(_ alignment: VerticalAlignment) -> some View {
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
48 | self.environment(\.recapScreenIconAlignment, alignment)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:47:75: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
45 |
46 | /// Configures the vertical alignment of a feature's icon displayed on the `RecapScreen`.
47 | func recapScreenIconAlignment(_ alignment: VerticalAlignment) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
48 | self.environment(\.recapScreenIconAlignment, alignment)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52:51: error: 'Color' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
50 |
51 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
52 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
53 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
54 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52:70: error: 'Color' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
50 |
51 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
52 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
53 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
54 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52:85: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
50 |
51 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
52 | func recapScreenPageIndicatorColors(selected: Color, deselected: Color) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
53 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
54 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:58:41: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
56 |
57 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
58 | func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
59 | self.environment(\.backgroundStyle, style)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:58:65: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
56 |
57 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
58 | func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
59 | self.environment(\.backgroundStyle, style)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:63:41: error: 'Color' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
61 |
62 | /// Configures a background `Color` for the `RecapScreen`.
63 | func recapScreenBackground(_ color: Color) -> some View {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
64 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:63:56: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
61 |
62 | /// Configures a background `Color` for the `RecapScreen`.
63 | func recapScreenBackground(_ color: Color) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
64 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:68:39: error: 'EdgeInsets' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
66 |
67 | /// Configures additional insets to be applied as padding to the content of the `RecapScreen`.
68 | func recapScreenPadding(_ insets: EdgeInsets) -> some View {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
69 | self.environment(\.recapScreenPadding, insets)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:68:59: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
66 |
67 | /// Configures additional insets to be applied as padding to the content of the `RecapScreen`.
68 | func recapScreenPadding(_ insets: EdgeInsets) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
69 | self.environment(\.recapScreenPadding, insets)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:73:63: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
71 |
72 | /// Configures the spacing to be applied as in between the `RecapScreen` title and a release's featured items.
73 | func recapScreenHeaderSpacing(_ spacing: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
74 | self.environment(\.recapScreenHeaderSpacing, spacing)
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:78:61: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
76 |
77 | /// Configures the spacing to be applied as in between featured items displayed on the `RecapScreen`.
78 | func recapScreenItemSpacing(_ spacing: CGFloat) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
79 | self.environment(\.recapScreenItemSpacing, spacing)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:83:85: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
:
81 |
82 | /// Configures a customizable action for the `RecapScreen` dismiss button, useful when your screen is presented through non-standard means.
83 | func recapScreenDismissAction(_ dismissAction: (@Sendable () -> Void)?) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
84 | if let dismissAction {
85 | self.environment(\.recapScreenDismissAction, RecapScreenDismissAction(dismissAction: dismissAction))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:5:18: error: 'View' is only available in macOS 10.15 or newer
3 | // MARK: View Modifiers
4 |
5 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
6 | /// Configures what index should be first shown when displaying the `RecapScreen`.
7 | func recapScreenStartIndex(_ startIndex: RecapScreenStartIndex) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:110:32: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
92 | // MARK: Environment
93 |
94 | internal extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
95 | // MARK: StartIndex
96 |
:
108 | // MARK: TitleStyle
109 |
110 | var recapScreenTitleStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing property
111 | get { self[TitleStyleKey.self] }
112 | set { self[TitleStyleKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:116:35: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
113 | }
114 |
115 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
116 | static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing static property
117 | }
118 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:116:49: error: 'ForegroundStyle' is only available in macOS 10.15 or newer
113 | }
114 |
115 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
116 | static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
| | `- error: 'ForegroundStyle' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
117 | }
118 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:116:65: error: 'foreground' is only available in macOS 10.15 or newer
113 | }
114 |
115 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
116 | static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
| | `- error: 'foreground' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
117 | }
118 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:115:20: warning: protocol 'EnvironmentKey' requires 'AnyShapeStyle' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
113 | }
114 |
115 | private struct TitleStyleKey: EnvironmentKey {
| `- warning: protocol 'EnvironmentKey' requires 'AnyShapeStyle' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
116 | static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
117 | }
SwiftUICore.AnyShapeStyle:2:23: note: 'AnyShapeStyle' declared here
1 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
2 | @frozen public struct AnyShapeStyle : ShapeStyle {
| `- note: 'AnyShapeStyle' declared here
3 | public init<S>(_ style: S) where S : ShapeStyle
4 | public func _apply(to shape: inout _ShapeStyle_Shape)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:128:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
124 | }
125 |
126 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
127 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
128 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
129 | foregroundStyle: AnyShapeStyle(Color.white)
130 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:128:30: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
124 | }
125 |
126 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
127 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
128 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
129 | foregroundStyle: AnyShapeStyle(Color.white)
130 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:128:44: error: 'Color' is only available in macOS 10.15 or newer
124 | }
125 |
126 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
127 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
128 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'Color' is only available in macOS 10.15 or newer
129 | foregroundStyle: AnyShapeStyle(Color.white)
130 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:128:50: error: 'blue' is only available in macOS 10.15 or newer
124 | }
125 |
126 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
127 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
128 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'blue' is only available in macOS 10.15 or newer
129 | foregroundStyle: AnyShapeStyle(Color.white)
130 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:129:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
124 | }
125 |
126 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
127 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
128 | backgroundStyle: AnyShapeStyle(Color.blue),
129 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
130 | )
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:129:30: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
124 | }
125 |
126 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
127 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
128 | backgroundStyle: AnyShapeStyle(Color.blue),
129 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
130 | )
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:129:44: error: 'Color' is only available in macOS 10.15 or newer
124 | }
125 |
126 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
127 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
128 | backgroundStyle: AnyShapeStyle(Color.blue),
129 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'Color' is only available in macOS 10.15 or newer
130 | )
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:129:50: error: 'white' is only available in macOS 10.15 or newer
124 | }
125 |
126 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
127 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add @available attribute to enclosing static property
128 | backgroundStyle: AnyShapeStyle(Color.blue),
129 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'white' is only available in macOS 10.15 or newer
130 | )
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:135:40: error: 'LocalizedStringResource' is only available in macOS 13 or newer
92 | // MARK: Environment
93 |
94 | internal extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
95 | // MARK: StartIndex
96 |
:
133 | // MARK: DismissButtonTitle
134 |
135 | var recapScreenDismissButtonTitle: LocalizedStringResource {
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add @available attribute to enclosing property
136 | get { self[DismissButtonLocalizedKeyTitle.self] }
137 | set { self[DismissButtonLocalizedKeyTitle.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:141:46: error: 'LocalizedStringResource' is only available in macOS 13 or newer
138 | }
139 |
140 | private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
| `- note: add @available attribute to enclosing struct
141 | @MainActor static let defaultValue = LocalizedStringResource(
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add @available attribute to enclosing static property
142 | "RECAP.SCREEN.DISMISS.BUTTON.TITLE",
143 | bundle: .atURL(Bundle.module.bundleURL)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:142:13: error: 'LocalizationValue' is only available in macOS 12 or newer
138 | }
139 |
140 | private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
| `- note: add @available attribute to enclosing struct
141 | @MainActor static let defaultValue = LocalizedStringResource(
| `- note: add @available attribute to enclosing static property
142 | "RECAP.SCREEN.DISMISS.BUTTON.TITLE",
| `- error: 'LocalizationValue' is only available in macOS 12 or newer
143 | bundle: .atURL(Bundle.module.bundleURL)
144 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:140:20: warning: protocol 'EnvironmentKey' requires 'LocalizedStringResource' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
138 | }
139 |
140 | private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
| `- warning: protocol 'EnvironmentKey' requires 'LocalizedStringResource' to be available in macOS 10.15 and newer; this will be an error in a future Swift language mode
141 | @MainActor static let defaultValue = LocalizedStringResource(
142 | "RECAP.SCREEN.DISMISS.BUTTON.TITLE",
Foundation.LocalizedStringResource:2:15: note: 'LocalizedStringResource' declared here
1 | @available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
2 | public struct LocalizedStringResource : Equatable, Codable, CustomLocalizedStringResourceConvertible, ExpressibleByStringInterpolation {
| `- note: 'LocalizedStringResource' declared here
3 | public let key: String
4 | public let defaultValue: String.LocalizationValue
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:160:48: error: 'Color' is only available in macOS 10.15 or newer
92 | // MARK: Environment
93 |
94 | internal extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
95 | // MARK: StartIndex
96 |
:
158 | // MARK: SelectedPageIndicatorColor
159 |
160 | var recapScreenSelectedPageIndicatorColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
161 | get { self[SelectedPageIndicatorColorKey.self] }
162 | set { self[SelectedPageIndicatorColorKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:166:35: error: 'Color' is only available in macOS 10.15 or newer
163 | }
164 |
165 | private struct SelectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
166 | static let defaultValue = Color.primary
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
167 | }
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:166:41: error: 'primary' is only available in macOS 10.15 or newer
163 | }
164 |
165 | private struct SelectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
166 | static let defaultValue = Color.primary
| | `- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
167 | }
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:171:50: error: 'Color' is only available in macOS 10.15 or newer
92 | // MARK: Environment
93 |
94 | internal extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
95 | // MARK: StartIndex
96 |
:
169 | // MARK: DeselectedPageIndicatorColor
170 |
171 | var recapScreenDeselectedPageIndicatorColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
172 | get { self[DeselectedPageIndicatorColorKey.self] }
173 | set { self[DeselectedPageIndicatorColorKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:177:35: error: 'Color' is only available in macOS 10.15 or newer
174 | }
175 |
176 | private struct DeselectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
177 | static let defaultValue = Color.gray
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
178 | }
179 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:177:41: error: 'gray' is only available in macOS 10.15 or newer
174 | }
175 |
176 | private struct DeselectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
177 | static let defaultValue = Color.gray
| | `- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
178 | }
179 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:193:35: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
92 | // MARK: Environment
93 |
94 | internal extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
95 | // MARK: StartIndex
96 |
:
191 | // MARK: IconAlignment
192 |
193 | var recapScreenIconAlignment: VerticalAlignment {
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
194 | get { self[IconAlignmentKey.self] }
195 | set { self[IconAlignmentKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:199:35: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
196 | }
197 |
198 | private struct IconAlignmentKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
199 | static let defaultValue = VerticalAlignment.center
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
200 | }
201 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:199:53: error: 'center' is only available in macOS 10.15 or newer
196 | }
197 |
198 | private struct IconAlignmentKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
199 | static let defaultValue = VerticalAlignment.center
| | `- error: 'center' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
200 | }
201 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:204:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
92 | // MARK: Environment
93 |
94 | internal extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
95 | // MARK: StartIndex
96 |
:
202 | // MARK: PaddingKey
203 |
204 | var recapScreenPadding: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
205 | get { self[PaddingKey.self] }
206 | set { self[PaddingKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:210:35: error: 'EdgeInsets' is only available in macOS 10.15 or newer
207 | }
208 |
209 | private struct PaddingKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
210 | static let defaultValue = EdgeInsets(top: 48.0, leading: 32.0, bottom: 24.0, trailing: 32.0)
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
211 | }
212 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:94:20: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
92 | // MARK: Environment
93 |
94 | internal extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
95 | // MARK: StartIndex
96 |
[16/18] Compiling Recap Color+Hex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:3:20: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:16:18: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
| `- note: add @available attribute to enclosing initializer
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
6 | hexString = hexString.replacingOccurrences(of: "#", with: "")
:
14 |
15 | guard Scanner(string: hexString).scanHexInt64(&rgb) else {
16 | self.init(.sRGB, red: 1, green: 1, blue: 1, opacity: 1)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | return
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:39:18: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
| `- note: add @available attribute to enclosing initializer
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
6 | hexString = hexString.replacingOccurrences(of: "#", with: "")
:
37 | a = CGFloat(rgb & 0x000000FF) / 255.0
38 | } else {
39 | self.init(.sRGB, red: 1, green: 1, blue: 1, opacity: 1)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | return
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:43:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
| `- note: add @available attribute to enclosing initializer
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
6 | hexString = hexString.replacingOccurrences(of: "#", with: "")
:
41 | }
42 |
43 | self.init(.sRGB, red: r, green: g, blue: b, opacity: a)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:50:26: error: 'init(_:)' is only available in macOS 11.0 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
:
44 | }
45 |
46 | var hex: String {
| `- note: add @available attribute to enclosing property
47 | #if os(iOS) || os(watchOS)
48 | let components = UIColor(self).cgColor.components
49 | #elseif os(macOS)
50 | let components = NSColor(self).cgColor.components
| |- error: 'init(_:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
51 | #endif
52 | let red: CGFloat = components?[0] ?? 0.0
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:3:11: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
5 | let sanitizedColorName = systemName
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:10:32: error: 'accentColor' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
8 |
9 | switch sanitizedColorName {
10 | case "accent": self = .accentColor
| |- error: 'accentColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | case "black": self = .black
12 | case "blue": self = .blue
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:11:31: error: 'black' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
9 | switch sanitizedColorName {
10 | case "accent": self = .accentColor
11 | case "black": self = .black
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | case "blue": self = .blue
13 | case "brown": self = .brown
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:12:30: error: 'blue' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
10 | case "accent": self = .accentColor
11 | case "black": self = .black
12 | case "blue": self = .blue
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | case "brown": self = .brown
14 | case "cyan": self = .cyan
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:13:31: error: 'brown' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
11 | case "black": self = .black
12 | case "blue": self = .blue
13 | case "brown": self = .brown
| |- error: 'brown' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
14 | case "cyan": self = .cyan
15 | case "gray": self = .gray
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:14:30: error: 'cyan' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
12 | case "blue": self = .blue
13 | case "brown": self = .brown
14 | case "cyan": self = .cyan
| |- error: 'cyan' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
15 | case "gray": self = .gray
16 | case "green": self = .green
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:15:30: error: 'gray' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
13 | case "brown": self = .brown
14 | case "cyan": self = .cyan
15 | case "gray": self = .gray
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | case "green": self = .green
17 | case "indigo": self = .indigo
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:16:31: error: 'green' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
14 | case "cyan": self = .cyan
15 | case "gray": self = .gray
16 | case "green": self = .green
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | case "indigo": self = .indigo
18 | case "mint": self = .mint
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:17:32: error: 'indigo' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
15 | case "gray": self = .gray
16 | case "green": self = .green
17 | case "indigo": self = .indigo
| |- error: 'indigo' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
18 | case "mint": self = .mint
19 | case "orange": self = .orange
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:18:30: error: 'mint' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
16 | case "green": self = .green
17 | case "indigo": self = .indigo
18 | case "mint": self = .mint
| |- error: 'mint' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
19 | case "orange": self = .orange
20 | case "pink": self = .pink
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:19:32: error: 'orange' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
17 | case "indigo": self = .indigo
18 | case "mint": self = .mint
19 | case "orange": self = .orange
| |- error: 'orange' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | case "pink": self = .pink
21 | case "primary": self = .primary
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:20:30: error: 'pink' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
18 | case "mint": self = .mint
19 | case "orange": self = .orange
20 | case "pink": self = .pink
| |- error: 'pink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | case "primary": self = .primary
22 | case "purple": self = .purple
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:21:33: error: 'primary' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
19 | case "orange": self = .orange
20 | case "pink": self = .pink
21 | case "primary": self = .primary
| |- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | case "purple": self = .purple
23 | case "secondary": self = .secondary
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:22:32: error: 'purple' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
20 | case "pink": self = .pink
21 | case "primary": self = .primary
22 | case "purple": self = .purple
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | case "secondary": self = .secondary
24 | case "red": self = .red
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:23:35: error: 'secondary' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
21 | case "primary": self = .primary
22 | case "purple": self = .purple
23 | case "secondary": self = .secondary
| |- error: 'secondary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | case "red": self = .red
25 | case "teal": self = .teal
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:24:29: error: 'red' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
22 | case "purple": self = .purple
23 | case "secondary": self = .secondary
24 | case "red": self = .red
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | case "teal": self = .teal
26 | case "white": self = .white
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:25:30: error: 'teal' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
23 | case "secondary": self = .secondary
24 | case "red": self = .red
25 | case "teal": self = .teal
| |- error: 'teal' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
26 | case "white": self = .white
27 | case "yellow": self = .yellow
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:26:31: error: 'white' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
24 | case "red": self = .red
25 | case "teal": self = .teal
26 | case "white": self = .white
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | case "yellow": self = .yellow
28 | default: return nil
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:27:32: error: 'yellow' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
25 | case "teal": self = .teal
26 | case "white": self = .white
27 | case "yellow": self = .yellow
| |- error: 'yellow' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | default: return nil
29 | }
[17/18] Compiling Recap Color+SystemNames.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:3:20: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:16:18: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
| `- note: add @available attribute to enclosing initializer
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
6 | hexString = hexString.replacingOccurrences(of: "#", with: "")
:
14 |
15 | guard Scanner(string: hexString).scanHexInt64(&rgb) else {
16 | self.init(.sRGB, red: 1, green: 1, blue: 1, opacity: 1)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | return
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:39:18: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
| `- note: add @available attribute to enclosing initializer
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
6 | hexString = hexString.replacingOccurrences(of: "#", with: "")
:
37 | a = CGFloat(rgb & 0x000000FF) / 255.0
38 | } else {
39 | self.init(.sRGB, red: 1, green: 1, blue: 1, opacity: 1)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | return
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:43:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
| `- note: add @available attribute to enclosing initializer
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
6 | hexString = hexString.replacingOccurrences(of: "#", with: "")
:
41 | }
42 |
43 | self.init(.sRGB, red: r, green: g, blue: b, opacity: a)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+Hex.swift:50:26: error: 'init(_:)' is only available in macOS 11.0 or newer
1 | import SwiftUI
2 |
3 | internal extension Color {
| `- note: add @available attribute to enclosing extension
4 | init(hex: String) {
5 | var hexString = hex.trimmingCharacters(in: .whitespacesAndNewlines)
:
44 | }
45 |
46 | var hex: String {
| `- note: add @available attribute to enclosing property
47 | #if os(iOS) || os(watchOS)
48 | let components = UIColor(self).cgColor.components
49 | #elseif os(macOS)
50 | let components = NSColor(self).cgColor.components
| |- error: 'init(_:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
51 | #endif
52 | let red: CGFloat = components?[0] ?? 0.0
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:3:11: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
5 | let sanitizedColorName = systemName
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:10:32: error: 'accentColor' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
8 |
9 | switch sanitizedColorName {
10 | case "accent": self = .accentColor
| |- error: 'accentColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | case "black": self = .black
12 | case "blue": self = .blue
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:11:31: error: 'black' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
9 | switch sanitizedColorName {
10 | case "accent": self = .accentColor
11 | case "black": self = .black
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | case "blue": self = .blue
13 | case "brown": self = .brown
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:12:30: error: 'blue' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
10 | case "accent": self = .accentColor
11 | case "black": self = .black
12 | case "blue": self = .blue
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | case "brown": self = .brown
14 | case "cyan": self = .cyan
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:13:31: error: 'brown' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
11 | case "black": self = .black
12 | case "blue": self = .blue
13 | case "brown": self = .brown
| |- error: 'brown' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
14 | case "cyan": self = .cyan
15 | case "gray": self = .gray
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:14:30: error: 'cyan' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
12 | case "blue": self = .blue
13 | case "brown": self = .brown
14 | case "cyan": self = .cyan
| |- error: 'cyan' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
15 | case "gray": self = .gray
16 | case "green": self = .green
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:15:30: error: 'gray' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
13 | case "brown": self = .brown
14 | case "cyan": self = .cyan
15 | case "gray": self = .gray
| |- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | case "green": self = .green
17 | case "indigo": self = .indigo
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:16:31: error: 'green' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
14 | case "cyan": self = .cyan
15 | case "gray": self = .gray
16 | case "green": self = .green
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | case "indigo": self = .indigo
18 | case "mint": self = .mint
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:17:32: error: 'indigo' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
15 | case "gray": self = .gray
16 | case "green": self = .green
17 | case "indigo": self = .indigo
| |- error: 'indigo' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
18 | case "mint": self = .mint
19 | case "orange": self = .orange
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:18:30: error: 'mint' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
16 | case "green": self = .green
17 | case "indigo": self = .indigo
18 | case "mint": self = .mint
| |- error: 'mint' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
19 | case "orange": self = .orange
20 | case "pink": self = .pink
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:19:32: error: 'orange' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
17 | case "indigo": self = .indigo
18 | case "mint": self = .mint
19 | case "orange": self = .orange
| |- error: 'orange' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | case "pink": self = .pink
21 | case "primary": self = .primary
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:20:30: error: 'pink' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
18 | case "mint": self = .mint
19 | case "orange": self = .orange
20 | case "pink": self = .pink
| |- error: 'pink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | case "primary": self = .primary
22 | case "purple": self = .purple
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:21:33: error: 'primary' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
19 | case "orange": self = .orange
20 | case "pink": self = .pink
21 | case "primary": self = .primary
| |- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | case "purple": self = .purple
23 | case "secondary": self = .secondary
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:22:32: error: 'purple' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
20 | case "pink": self = .pink
21 | case "primary": self = .primary
22 | case "purple": self = .purple
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | case "secondary": self = .secondary
24 | case "red": self = .red
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:23:35: error: 'secondary' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
21 | case "primary": self = .primary
22 | case "purple": self = .purple
23 | case "secondary": self = .secondary
| |- error: 'secondary' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | case "red": self = .red
25 | case "teal": self = .teal
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:24:29: error: 'red' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
22 | case "purple": self = .purple
23 | case "secondary": self = .secondary
24 | case "red": self = .red
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | case "teal": self = .teal
26 | case "white": self = .white
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:25:30: error: 'teal' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
23 | case "secondary": self = .secondary
24 | case "red": self = .red
25 | case "teal": self = .teal
| |- error: 'teal' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
26 | case "white": self = .white
27 | case "yellow": self = .yellow
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:26:31: error: 'white' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
24 | case "red": self = .red
25 | case "teal": self = .teal
26 | case "white": self = .white
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | case "yellow": self = .yellow
28 | default: return nil
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/Color+SystemNames.swift:27:32: error: 'yellow' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | extension Color {
| `- note: add @available attribute to enclosing extension
4 | init?(systemName: String) {
| `- note: add @available attribute to enclosing initializer
5 | let sanitizedColorName = systemName
6 | .trimmingCharacters(in: .whitespaces)
:
25 | case "teal": self = .teal
26 | case "white": self = .white
27 | case "yellow": self = .yellow
| |- error: 'yellow' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | default: return nil
29 | }
[18/18] Compiling Recap resource_bundle_accessor.swift
BUILD FAILURE 6.1 macosSpm