Build Information
Failed to build Recap, reference 2.0.0 (f5998e), with Swift 6.3 for macOS (SPM) on 19 Apr 2026 02:18:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
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 | }
[16/25] 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 | }
[17/25] Compiling Recap Feature.swift
/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/Feature.swift:23:20: 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 {
| `- note: add '@available' attribute to enclosing property
22 | if self.colorRepresentation.hasPrefix("#") {
23 | return Color(hex: self.colorRepresentation)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | } else if let color = Color(systemName: self.colorRepresentation) {
25 | return color
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/Feature.swift:24:31: 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 {
| `- note: add '@available' attribute to enclosing property
22 | if self.colorRepresentation.hasPrefix("#") {
23 | return Color(hex: self.colorRepresentation)
24 | } else if let color = Color(systemName: self.colorRepresentation) {
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | return color
26 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/Feature.swift:27:21: error: 'black' 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 {
| `- note: add '@available' attribute to enclosing property
22 | if self.colorRepresentation.hasPrefix("#") {
23 | return Color(hex: self.colorRepresentation)
:
25 | return color
26 | } else {
27 | return .black
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
[18/25] Compiling Recap IconFillMode.swift
/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/Feature.swift:23:20: 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 {
| `- note: add '@available' attribute to enclosing property
22 | if self.colorRepresentation.hasPrefix("#") {
23 | return Color(hex: self.colorRepresentation)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | } else if let color = Color(systemName: self.colorRepresentation) {
25 | return color
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/Feature.swift:24:31: 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 {
| `- note: add '@available' attribute to enclosing property
22 | if self.colorRepresentation.hasPrefix("#") {
23 | return Color(hex: self.colorRepresentation)
24 | } else if let color = Color(systemName: self.colorRepresentation) {
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | return color
26 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/Feature.swift:27:21: error: 'black' 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 {
| `- note: add '@available' attribute to enclosing property
22 | if self.colorRepresentation.hasPrefix("#") {
23 | return Color(hex: self.colorRepresentation)
:
25 | return color
26 | } else {
27 | return .black
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
[19/25] 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 | }
[20/25] 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 | }
[21/25] 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:35:60: error: cannot find type 'UIColor' in scope
33 | @Environment(\.recapScreenPaginationStyle) private var paginationStyle
34 |
35 | @State private var originalSelectedPageIndicatorColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
36 | @State private var originalDeselectedPageIndicatorColor: UIColor?
37 | @State private var selectedIndex = 0
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:36:62: error: cannot find type 'UIColor' in scope
34 |
35 | @State private var originalSelectedPageIndicatorColor: UIColor?
36 | @State private var originalDeselectedPageIndicatorColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
37 | @State private var selectedIndex = 0
38 |
/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(\.recapScreenDismissButtonVisibility) private var dismissButtonVisibility
/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(\.recapScreenDismissButtonVisibility) private var dismissButtonVisibility
32 | @Environment(\.recapScreenDismissAction) private var dismissAction
/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(\.recapScreenDismissButtonVisibility) private var dismissButtonVisibility
| `- error: 'Environment' is only available in macOS 10.15 or newer
32 | @Environment(\.recapScreenDismissAction) private var dismissAction
33 | @Environment(\.recapScreenPaginationStyle) private var paginationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:32: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
:
30 | @Environment(\.recapScreenDismissButtonTitle) private var dismissButtonTitle
31 | @Environment(\.recapScreenDismissButtonVisibility) private var dismissButtonVisibility
32 | @Environment(\.recapScreenDismissAction) private var dismissAction
| `- error: 'Environment' is only available in macOS 10.15 or newer
33 | @Environment(\.recapScreenPaginationStyle) private var paginationStyle
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:33: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
:
31 | @Environment(\.recapScreenDismissButtonVisibility) private var dismissButtonVisibility
32 | @Environment(\.recapScreenDismissAction) private var dismissAction
33 | @Environment(\.recapScreenPaginationStyle) private var paginationStyle
| `- error: 'Environment' is only available in macOS 10.15 or newer
34 |
35 | @State private var originalSelectedPageIndicatorColor: UIColor?
/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 | @Environment(\.recapScreenPaginationStyle) private var paginationStyle
34 |
35 | @State private var originalSelectedPageIndicatorColor: UIColor?
| `- error: 'State' is only available in macOS 10.15 or newer
36 | @State private var originalDeselectedPageIndicatorColor: UIColor?
37 | @State private var selectedIndex = 0
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:36: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
:
34 |
35 | @State private var originalSelectedPageIndicatorColor: UIColor?
36 | @State private var originalDeselectedPageIndicatorColor: UIColor?
| `- error: 'State' is only available in macOS 10.15 or newer
37 | @State private var selectedIndex = 0
38 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:37: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
:
35 | @State private var originalSelectedPageIndicatorColor: UIColor?
36 | @State private var originalDeselectedPageIndicatorColor: UIColor?
37 | @State private var selectedIndex = 0
| `- error: 'State' is only available in macOS 10.15 or newer
38 |
39 | private let releases: [Release]
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:43: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
:
41 | private let trailingView: TrailingView
42 |
43 | 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
44 | self.releases = releases
45 | self.leadingView = leadingView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:43: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
:
41 | private let trailingView: TrailingView
42 |
43 | 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
44 | self.releases = releases
45 | self.leadingView = leadingView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:49: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
:
47 | }
48 |
49 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
50 | VStack(spacing: 0.0) {
51 | 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:98:32: error: 'ViewBuilder' is only available in macOS 10.15 or newer
95 | // MARK: Convenience Initializers
96 |
97 | public extension RecapScreen where LeadingView == EmptyView {
| `- note: add '@available' attribute to enclosing extension
98 | init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing initializer
99 | self.releases = releases
100 | self.leadingView = EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:97:51: error: 'EmptyView' is only available in macOS 10.15 or newer
95 | // MARK: Convenience Initializers
96 |
97 | public extension RecapScreen where LeadingView == EmptyView {
| | `- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
98 | init(releases: [Release], @ViewBuilder trailingView: () -> TrailingView) {
99 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:106:32: error: 'ViewBuilder' is only available in macOS 10.15 or newer
103 | }
104 |
105 | public extension RecapScreen where TrailingView == EmptyView {
| `- note: add '@available' attribute to enclosing extension
106 | init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing initializer
107 | self.releases = releases
108 | self.leadingView = leadingView()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:105:52: error: 'EmptyView' is only available in macOS 10.15 or newer
103 | }
104 |
105 | public extension RecapScreen where TrailingView == EmptyView {
| | `- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
106 | init(releases: [Release], @ViewBuilder leadingView: () -> LeadingView) {
107 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:113:51: error: 'EmptyView' is only available in macOS 10.15 or newer
111 | }
112 |
113 | 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
114 | init(releases: [Release]) {
115 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:113:78: error: 'EmptyView' is only available in macOS 10.15 or newer
111 | }
112 |
113 | 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
114 | init(releases: [Release]) {
115 | self.releases = releases
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:124:31: error: 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
125 | Group {
126 | switch self.paginationStyle {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:146:27: error: 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
144 | }
145 |
146 | var pageIndicators: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
147 | HStack(spacing: 10.0) {
148 | ForEach(Array(0..<self.totalPageCount), id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:163:26: error: 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
161 | }
162 |
163 | var dismissButton: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
164 | Button(action: {
165 | dismissAction?() ?? dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:262:33: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
260 | }
261 |
262 | var derivedBackgroundStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add '@available' attribute to enclosing property
263 | if let backgroundStyle {
264 | backgroundStyle
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:321:62: error: 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
319 | }
320 |
321 | func paginationControls(displaysButtonTitles: Bool) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
322 | HStack(spacing: 16.0) {
323 | self.paginationButton(
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:350:34: error: 'LocalizedStringResource' is only available in macOS 13 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:350:138: error: 'View' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
348 |
349 | @ViewBuilder
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:349:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
121 | // MARK: Private
122 |
123 | private extension RecapScreen {
| `- note: add '@available' attribute to enclosing extension
124 | var paginationControls: some View {
125 | Group {
:
347 | }
348 |
349 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
350 | func paginationButton(title: LocalizedStringResource, systemImage: String, direction: PaginationDirection, showsTitle: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
351 | let isEnabled = self.canPaginate(in: direction)
352 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:403:42: error: 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add '@available' attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:402:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add '@available' attribute to enclosing extension
402 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
403 | func versionSpecificClipShape() -> some View {
| `- note: add '@available' attribute to enclosing instance method
404 | if #available(iOS 26.0, *) {
405 | self.clipShape(.capsule)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:428:79: error: 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add '@available' attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
426 |
427 | @ViewBuilder
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:427:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| `- note: add '@available' attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
:
425 | }
426 |
427 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
428 | func withBottomPaddingIfNoSafeArea(when shouldApply: Bool = true) -> some View {
| `- note: add '@available' attribute to enclosing instance method
429 | if !shouldApply || hasSafeAreaForBottomPadding {
430 | self
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/RecapScreen.swift:401:19: error: 'View' is only available in macOS 10.15 or newer
399 | // MARK: Safe Area Insets
400 |
401 | private extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
402 | @ViewBuilder
403 | func versionSpecificClipShape() -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/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:103: 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 whether the `RecapScreen` dismiss button is shown.
42 | func recapScreenDismissButtonVisibility(_ visibility: RecapScreenDismissButtonVisibility) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
43 | self.environment(\.recapScreenDismissButtonVisibility, visibility)
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:47: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 {
:
45 |
46 | /// Configures an `IconFillMode` for the icons displayed on the `RecapScreen`.
47 | 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
48 | self.environment(\.recapScreenIconFillMode, style)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52: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 {
:
50 |
51 | /// Configures the vertical alignment of a feature's icon displayed on the `RecapScreen`.
52 | 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
53 | self.environment(\.recapScreenIconAlignment, alignment)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:52: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 {
:
50 |
51 | /// Configures the vertical alignment of a feature's icon displayed on the `RecapScreen`.
52 | 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
53 | self.environment(\.recapScreenIconAlignment, alignment)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:57: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 {
:
55 |
56 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
57 | 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
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:57: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 {
:
55 |
56 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
57 | 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
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:57: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 {
:
55 |
56 | /// Configures the `selected` and `deselected` state page indicator colors displayed on the `RecapScreen`.
57 | 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
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:63: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 {
:
61 |
62 | /// Configures how pagination controls are displayed on the `RecapScreen`.
63 | func recapScreenPaginationStyle(_ style: RecapScreenPaginationStyle) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
64 | self.environment(\.recapScreenPaginationStyle, style)
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:68: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 {
:
66 |
67 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
68 | 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
69 | self.environment(\.backgroundStyle, style)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:68: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 {
:
66 |
67 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
68 | 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
69 | self.environment(\.backgroundStyle, style)
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:73: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 {
:
71 |
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | 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
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:73: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 {
:
71 |
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | 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
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:78: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 {
:
76 |
77 | /// Configures additional insets to be applied as padding to the content of the `RecapScreen`.
78 | 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
79 | self.environment(\.recapScreenPadding, insets)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:78: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 {
:
76 |
77 | /// Configures additional insets to be applied as padding to the content of the `RecapScreen`.
78 | 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
79 | self.environment(\.recapScreenPadding, insets)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:83: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 {
:
81 |
82 | /// Configures the spacing to be applied as in between the `RecapScreen` title and a release's featured items.
83 | 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
84 | self.environment(\.recapScreenHeaderSpacing, spacing)
85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:88: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 {
:
86 |
87 | /// Configures the spacing to be applied as in between featured items displayed on the `RecapScreen`.
88 | 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
89 | self.environment(\.recapScreenItemSpacing, spacing)
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:93: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 {
:
91 |
92 | /// Configures a customizable action for the `RecapScreen` dismiss button, useful when your screen is presented through non-standard means.
93 | 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
94 | if let dismissAction {
95 | 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:120:32: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
118 | // MARK: TitleStyle
119 |
120 | var recapScreenTitleStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add '@available' attribute to enclosing property
121 | get { self[TitleStyleKey.self] }
122 | set { self[TitleStyleKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:35: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
123 | }
124 |
125 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
126 | 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
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:49: error: 'ForegroundStyle' is only available in macOS 10.15 or newer
123 | }
124 |
125 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
126 | 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
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:126:65: error: 'foreground' is only available in macOS 10.15 or newer
123 | }
124 |
125 | private struct TitleStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
126 | 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
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:125: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
123 | }
124 |
125 | 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
126 | static let defaultValue = AnyShapeStyle(ForegroundStyle.foreground)
127 | }
SwiftUI.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:138:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
139 | foregroundStyle: AnyShapeStyle(Color.white)
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:138:30: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
139 | foregroundStyle: AnyShapeStyle(Color.white)
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:138:44: error: 'Color' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'Color' is only available in macOS 10.15 or newer
139 | foregroundStyle: AnyShapeStyle(Color.white)
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:138:50: error: 'blue' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
| `- error: 'blue' is only available in macOS 10.15 or newer
139 | foregroundStyle: AnyShapeStyle(Color.white)
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:139:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
139 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
140 | )
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:139:30: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
139 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
140 | )
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:139:44: error: 'Color' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
139 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'Color' is only available in macOS 10.15 or newer
140 | )
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:139:50: error: 'white' is only available in macOS 10.15 or newer
134 | }
135 |
136 | private struct DismissButtonStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
137 | static let defaultValue = RecapScreenDismissButtonStyle(
| `- note: add '@available' attribute to enclosing static property
138 | backgroundStyle: AnyShapeStyle(Color.blue),
139 | foregroundStyle: AnyShapeStyle(Color.white)
| `- error: 'white' is only available in macOS 10.15 or newer
140 | )
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:145:40: error: 'LocalizedStringResource' is only available in macOS 13 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
143 | // MARK: DismissButtonTitle
144 |
145 | var recapScreenDismissButtonTitle: LocalizedStringResource {
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add '@available' attribute to enclosing property
146 | get { self[DismissButtonLocalizedKeyTitle.self] }
147 | set { self[DismissButtonLocalizedKeyTitle.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:151:46: error: 'LocalizedStringResource' is only available in macOS 13 or newer
148 | }
149 |
150 | private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
151 | @MainActor static let defaultValue = LocalizedStringResource(
| | `- error: 'LocalizedStringResource' is only available in macOS 13 or newer
| `- note: add '@available' attribute to enclosing static property
152 | "RECAP.SCREEN.DISMISS.BUTTON.TITLE",
153 | bundle: .atURL(Bundle.module.bundleURL)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:152:13: error: 'LocalizationValue' is only available in macOS 12 or newer
148 | }
149 |
150 | private struct DismissButtonLocalizedKeyTitle: @preconcurrency EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
151 | @MainActor static let defaultValue = LocalizedStringResource(
| `- note: add '@available' attribute to enclosing static property
152 | "RECAP.SCREEN.DISMISS.BUTTON.TITLE",
| `- error: 'LocalizationValue' is only available in macOS 12 or newer
153 | bundle: .atURL(Bundle.module.bundleURL)
154 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:150: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
148 | }
149 |
150 | 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
151 | @MainActor static let defaultValue = LocalizedStringResource(
152 | "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:181:48: error: 'Color' is only available in macOS 10.15 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
179 | // MARK: SelectedPageIndicatorColor
180 |
181 | var recapScreenSelectedPageIndicatorColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
182 | get { self[SelectedPageIndicatorColorKey.self] }
183 | set { self[SelectedPageIndicatorColorKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:187:35: error: 'Color' is only available in macOS 10.15 or newer
184 | }
185 |
186 | private struct SelectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
187 | static let defaultValue = Color.primary
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
188 | }
189 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:187:41: error: 'primary' is only available in macOS 10.15 or newer
184 | }
185 |
186 | private struct SelectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
187 | static let defaultValue = Color.primary
| | `- error: 'primary' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
188 | }
189 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:192:50: error: 'Color' is only available in macOS 10.15 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
190 | // MARK: DeselectedPageIndicatorColor
191 |
192 | var recapScreenDeselectedPageIndicatorColor: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
193 | get { self[DeselectedPageIndicatorColorKey.self] }
194 | set { self[DeselectedPageIndicatorColorKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:198:35: error: 'Color' is only available in macOS 10.15 or newer
195 | }
196 |
197 | private struct DeselectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
198 | static let defaultValue = Color.gray
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
199 | }
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:198:41: error: 'gray' is only available in macOS 10.15 or newer
195 | }
196 |
197 | private struct DeselectedPageIndicatorColorKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
198 | static let defaultValue = Color.gray
| | `- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
199 | }
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:225:35: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
223 | // MARK: IconAlignment
224 |
225 | var recapScreenIconAlignment: VerticalAlignment {
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
226 | get { self[IconAlignmentKey.self] }
227 | set { self[IconAlignmentKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:231:35: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
228 | }
229 |
230 | private struct IconAlignmentKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
231 | static let defaultValue = VerticalAlignment.center
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
232 | }
233 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:231:53: error: 'center' is only available in macOS 10.15 or newer
228 | }
229 |
230 | private struct IconAlignmentKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
231 | static let defaultValue = VerticalAlignment.center
| | `- error: 'center' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
232 | }
233 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:236:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
:
234 | // MARK: PaddingKey
235 |
236 | var recapScreenPadding: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
237 | get { self[PaddingKey.self] }
238 | set { self[PaddingKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:242:35: error: 'EdgeInsets' is only available in macOS 10.15 or newer
239 | }
240 |
241 | private struct PaddingKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
242 | 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
243 | }
244 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:104:20: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
102 | // MARK: Environment
103 |
104 | internal extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
105 | // MARK: StartIndex
106 |
[22/25] Compiling Recap RecapScreenPaginationStyle.swift
[23/25] Compiling Recap RecapScreenStartIndex.swift
[24/25] Compiling Recap Release.swift
[25/25] Compiling Recap ReleasesParser.swift
BUILD FAILURE 6.3 macosSpm