Build Information
Failed to build Recap, reference main (7669e5), with Swift 6.1 for macOS (SPM) on 11 Mar 2026 06:58:26 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:46: error: 'gradient' is only available in macOS 13.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'gradient' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:4:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
5 | let foregroundStyle: AnyShapeStyle
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:5:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
5 | let foregroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
6 | }
7 |
[20/20] Compiling Recap RecapDismissButtonStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:4:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
| `- error: 'Environment' is only available in macOS 10.15 or newer
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:5:6: error: 'Environment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
| `- error: 'Environment' is only available in macOS 10.15 or newer
6 |
7 | let feature: Feature
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:34:30: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| | `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:10:9: error: 'HStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:13: error: 'ZStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:31: error: 'Alignment' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'Alignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:11:54: error: 'center' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12:17: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .frame(width: 48.0, height: 48.0)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:12:23: error: 'clear' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | .frame(width: 48.0, height: 48.0)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:13:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
12 | Color.clear
13 | .frame(width: 48.0, height: 48.0)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 |
15 | Image(systemName: feature.symbolName)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15:17: error: 'Image' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
13 | .frame(width: 48.0, height: 48.0)
14 |
15 | Image(systemName: feature.symbolName)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:15:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
13 | .frame(width: 48.0, height: 48.0)
14 |
15 | Image(systemName: feature.symbolName)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:16:22: error: 'foregroundStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
14 |
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
17 | .font(.system(size: 32.0))
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:17:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:17:28: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
15 | Image(systemName: feature.symbolName)
16 | .foregroundStyle(self.iconForegroundStyle)
17 | .font(.system(size: 32.0))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:13: error: 'VStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:32: error: 'leading' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:21:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .font(.headline)
23 | .foregroundStyle(.primary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
22 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundStyle(.primary)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:22:28: error: 'headline' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
20 | VStack(alignment: .leading, spacing: 4.0) {
21 | Text(.init(feature.title))
22 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .foregroundStyle(.primary)
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:23:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
21 | Text(.init(feature.title))
22 | .font(.headline)
23 | .foregroundStyle(.primary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 |
25 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:23:39: error: 'primary' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
21 | Text(.init(feature.title))
22 | .font(.headline)
23 | .foregroundStyle(.primary)
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
24 |
25 | Text(.init(feature.description))
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: 'Text' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:25:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
23 | .foregroundStyle(.primary)
24 |
25 | Text(.init(feature.description))
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26:22: error: 'font' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
24 |
25 | Text(.init(feature.description))
26 | .font(.subheadline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundStyle(.secondary)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:26:28: error: 'subheadline' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
24 |
25 | Text(.init(feature.description))
26 | .font(.subheadline)
| |- error: 'subheadline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundStyle(.secondary)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:27:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
25 | Text(.init(feature.description))
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:27:39: error: 'secondary' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
25 | Text(.init(feature.description))
26 | .font(.subheadline)
27 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:20:55: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | struct FeatureRow: View {
| `- note: add @available attribute to enclosing struct
4 | @Environment(\.recapScreenIconFillMode) private var iconFillMode
5 | @Environment(\.recapScreenIconAlignment) private var iconAlignment
:
7 | let feature: Feature
8 |
9 | var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack(alignment: iconAlignment, spacing: 16.0) {
11 | ZStack(alignment: Alignment(horizontal: .center, vertical: iconAlignment)) {
:
18 | }
19 |
20 | VStack(alignment: .leading, spacing: 4.0) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | Text(.init(feature.title))
22 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:38:46: error: 'gradient' is only available in macOS 13.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
37 | case .gradient:
38 | AnyShapeStyle(self.feature.color.gradient)
| |- error: 'gradient' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
39 |
40 | case .solid:
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/FeatureRow.swift:41:13: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
31 | }
32 |
33 | private extension FeatureRow {
| `- note: add @available attribute to enclosing extension
34 | var iconForegroundStyle: AnyShapeStyle {
| `- note: add @available attribute to enclosing property
35 | switch self.iconFillMode {
36 |
:
39 |
40 | case .solid:
41 | AnyShapeStyle(self.feature.color)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:4:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
5 | let foregroundStyle: AnyShapeStyle
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Internal/RecapDismissButtonStyle.swift:5:26: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
1 | import SwiftUI
2 |
3 | struct RecapScreenDismissButtonStyle {
| `- note: add @available attribute to enclosing struct
4 | let backgroundStyle: AnyShapeStyle
5 | let foregroundStyle: AnyShapeStyle
| `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
6 | }
7 |
[21/22] Compiling Recap View+Recap.swift
/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 | }
SwiftUICore.AnyShapeStyle:2:23: note: 'AnyShapeStyle' declared here
1 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
2 | @frozen public struct AnyShapeStyle : ShapeStyle {
| `- note: 'AnyShapeStyle' declared here
3 | public init<S>(_ style: S) where S : ShapeStyle
4 | public func _apply(to shape: inout _ShapeStyle_Shape)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift: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 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:8:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
8 | self.environment(\.recapScreenStartIndex, startIndex)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:13:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:13:51: 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 {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| `- note: add @available attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:18:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:20:34: 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 {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
21 | foregroundStyle: AnyShapeStyle(Color.white)
22 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:34: 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 {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:34: error: conformance of 'Color' to '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 {
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:48: 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 {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:54: error: 'white' 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 {
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:28:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
30 | backgroundStyle: AnyShapeStyle(backgroundStyle),
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:30:34: 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 {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
30 | backgroundStyle: AnyShapeStyle(backgroundStyle),
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
31 | foregroundStyle: AnyShapeStyle(foregroundStyle)
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:31:34: 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 {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
30 | backgroundStyle: AnyShapeStyle(backgroundStyle),
31 | foregroundStyle: AnyShapeStyle(foregroundStyle)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
32 | )
33 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:38:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
38 | self.environment(\.recapScreenDismissButtonTitle, title)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:43:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
43 | self.environment(\.recapScreenDismissButtonVisibility, visibility)
| |- error: 'environment' 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/Public/View+Recap.swift:48:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
48 | self.environment(\.recapScreenIconFillMode, style)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:53:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
53 | self.environment(\.recapScreenIconAlignment, alignment)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:58:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:59:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:64:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
64 | self.environment(\.recapScreenPaginationStyle, style)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:69:26: error: cannot convert value of type 'any KeyPath<EnvironmentValues, AnyShapeStyle?> & Sendable' to expected argument type 'WritableKeyPath<EnvironmentValues, AnyShapeStyle?>'
67 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
68 | func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
69 | self.environment(\.backgroundStyle, style)
| `- error: cannot convert value of type 'any KeyPath<EnvironmentValues, AnyShapeStyle?> & Sendable' to expected argument type 'WritableKeyPath<EnvironmentValues, AnyShapeStyle?>'
70 | }
71 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:74:26: error: cannot convert value of type 'any KeyPath<EnvironmentValues, AnyShapeStyle?> & Sendable' to expected argument type 'WritableKeyPath<EnvironmentValues, AnyShapeStyle>'
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | func recapScreenBackground(_ color: Color) -> some View {
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
| `- error: cannot convert value of type 'any KeyPath<EnvironmentValues, AnyShapeStyle?> & Sendable' to expected argument type 'WritableKeyPath<EnvironmentValues, AnyShapeStyle>'
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:79:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
79 | self.environment(\.recapScreenPadding, insets)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:84:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
84 | self.environment(\.recapScreenHeaderSpacing, spacing)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:89:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
89 | self.environment(\.recapScreenItemSpacing, spacing)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:95:18: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
94 | if let dismissAction {
95 | self.environment(\.recapScreenDismissAction, RecapScreenDismissAction(dismissAction: dismissAction))
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | } else {
97 | self.environment(\.recapScreenDismissAction, nil)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:97:18: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
94 | if let dismissAction {
95 | self.environment(\.recapScreenDismissAction, RecapScreenDismissAction(dismissAction: dismissAction))
96 | } else {
97 | self.environment(\.recapScreenDismissAction, nil)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | }
99 | }
[22/22] Compiling Recap resource_bundle_accessor.swift
/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 | }
SwiftUICore.AnyShapeStyle:2:23: note: 'AnyShapeStyle' declared here
1 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
2 | @frozen public struct AnyShapeStyle : ShapeStyle {
| `- note: 'AnyShapeStyle' declared here
3 | public init<S>(_ style: S) where S : ShapeStyle
4 | public func _apply(to shape: inout _ShapeStyle_Shape)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift: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 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:8:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
8 | self.environment(\.recapScreenStartIndex, startIndex)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:13:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:13:51: 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 {
:
10 |
11 | /// Configures a foreground `ShapeStyle` to display the `RecapScreen` title text.
12 | func recapScreenTitleStyle(_ style: some ShapeStyle) -> some View {
| `- note: add @available attribute to enclosing instance method
13 | self.environment(\.recapScreenTitleStyle, AnyShapeStyle(style))
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:18:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:20:34: 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 {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
21 | foregroundStyle: AnyShapeStyle(Color.white)
22 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:34: 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 {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:34: error: conformance of 'Color' to '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 {
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:48: 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 {
:
15 |
16 | /// Configures a `backgroundStyle` for the `RecapScreen` dismiss button, defaulting to white for the `foregroundStyle`.
17 | func recapScreenDismissButtonStyle(_ style: some ShapeStyle) -> some View {
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:21:54: error: 'white' 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 {
| `- note: add @available attribute to enclosing instance method
18 | self.environment(
19 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
20 | backgroundStyle: AnyShapeStyle(style),
21 | foregroundStyle: AnyShapeStyle(Color.white)
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | )
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:28:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
30 | backgroundStyle: AnyShapeStyle(backgroundStyle),
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:30:34: 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 {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
30 | backgroundStyle: AnyShapeStyle(backgroundStyle),
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
31 | foregroundStyle: AnyShapeStyle(foregroundStyle)
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:31:34: 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 {
:
25 |
26 | /// Configures a `backgroundStyle` and `foregroundStyle` for the `RecapScreen` dismiss button.
27 | func recapScreenDismissButtonStyle(_ backgroundStyle: some ShapeStyle, _ foregroundStyle: some ShapeStyle) -> some View {
| `- note: add @available attribute to enclosing instance method
28 | self.environment(
29 | \.recapScreenDismissButtonStyle, RecapScreenDismissButtonStyle(
30 | backgroundStyle: AnyShapeStyle(backgroundStyle),
31 | foregroundStyle: AnyShapeStyle(foregroundStyle)
| |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
32 | )
33 | )
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:38:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
38 | self.environment(\.recapScreenDismissButtonTitle, title)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:43:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
43 | self.environment(\.recapScreenDismissButtonVisibility, visibility)
| |- error: 'environment' 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/Public/View+Recap.swift:48:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
48 | self.environment(\.recapScreenIconFillMode, style)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:53:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
53 | self.environment(\.recapScreenIconAlignment, alignment)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:58:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:59:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
58 | self.environment(\.recapScreenSelectedPageIndicatorColor, selected)
59 | .environment(\.recapScreenDeselectedPageIndicatorColor, deselected)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:64:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
64 | self.environment(\.recapScreenPaginationStyle, style)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:69:26: error: cannot convert value of type 'any KeyPath<EnvironmentValues, AnyShapeStyle?> & Sendable' to expected argument type 'WritableKeyPath<EnvironmentValues, AnyShapeStyle?>'
67 | /// Configures a background `ShapeStyle` for the `RecapScreen`.
68 | func recapScreenBackground(_ style: AnyShapeStyle?) -> some View {
69 | self.environment(\.backgroundStyle, style)
| `- error: cannot convert value of type 'any KeyPath<EnvironmentValues, AnyShapeStyle?> & Sendable' to expected argument type 'WritableKeyPath<EnvironmentValues, AnyShapeStyle?>'
70 | }
71 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:74:26: error: cannot convert value of type 'any KeyPath<EnvironmentValues, AnyShapeStyle?> & Sendable' to expected argument type 'WritableKeyPath<EnvironmentValues, AnyShapeStyle>'
72 | /// Configures a background `Color` for the `RecapScreen`.
73 | func recapScreenBackground(_ color: Color) -> some View {
74 | self.environment(\.backgroundStyle, AnyShapeStyle(color))
| `- error: cannot convert value of type 'any KeyPath<EnvironmentValues, AnyShapeStyle?> & Sendable' to expected argument type 'WritableKeyPath<EnvironmentValues, AnyShapeStyle>'
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:79:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
79 | self.environment(\.recapScreenPadding, insets)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:84:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
84 | self.environment(\.recapScreenHeaderSpacing, spacing)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:89:14: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
89 | self.environment(\.recapScreenItemSpacing, spacing)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:95:18: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
94 | if let dismissAction {
95 | self.environment(\.recapScreenDismissAction, RecapScreenDismissAction(dismissAction: dismissAction))
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | } else {
97 | self.environment(\.recapScreenDismissAction, nil)
/Users/admin/builder/spi-builder-workspace/Sources/Recap/Public/View+Recap.swift:97:18: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
94 | if let dismissAction {
95 | self.environment(\.recapScreenDismissAction, RecapScreenDismissAction(dismissAction: dismissAction))
96 | } else {
97 | self.environment(\.recapScreenDismissAction, nil)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | }
99 | }
BUILD FAILURE 6.1 macosSpm