Build Information
Failed to build Billboard, reference main (989b71
), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 16:36:05 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:34:21: error: 'init(systemName:)' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
32 | ZStack {
33 | plainBackground
34 | Image(systemName: "bolt.slash.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
35 | .foregroundColor(advert.tint)
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:35:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
33 | plainBackground
34 | Image(systemName: "bolt.slash.fill")
35 | .foregroundColor(advert.tint)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | }
37 | .accessibilityHidden(true)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:37:18: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
35 | .foregroundColor(advert.tint)
36 | }
37 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
38 |
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:32:17: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
30 | .accessibilityAddTraits(.isImage)
31 | default:
32 | ZStack {
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
33 | plainBackground
34 | Image(systemName: "bolt.slash.fill")
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:32:17: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
30 | .accessibilityAddTraits(.isImage)
31 | default:
32 | ZStack {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | plainBackground
34 | Image(systemName: "bolt.slash.fill")
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:14:55: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
15 | switch phase {
16 | case .empty:
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:13:25: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| | |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:13:25: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| | |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
/Users/admin/builder/spi-builder-workspace/Sources/CachedImage/CachedImage.swift:21:39: error: 'identity' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct CachedImage<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
11 |
12 | @State private var manager = CachedImageManager()
:
17 | public let content: (AsyncImagePhase) -> Content
18 |
19 | public init(url: String,
| `- note: add @available attribute to enclosing initializer
20 | animation: Animation? = nil,
21 | transition: AnyTransition = .identity,
| `- error: 'identity' is only available in macOS 10.15 or newer
22 | @ViewBuilder content: @escaping (AsyncImagePhase) -> Content) {
23 | self.url = url
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:44:9: error: 'Rectangle' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
:
41 | }
42 |
43 | private var plainBackground : some View {
| `- note: add @available attribute to enclosing property
44 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | .fill(advert.background)
46 | .aspectRatio(1.0, contentMode: .fill)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:45:14: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
:
41 | }
42 |
43 | private var plainBackground : some View {
| `- note: add @available attribute to enclosing property
44 | Rectangle()
45 | .fill(advert.background)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
46 | .aspectRatio(1.0, contentMode: .fill)
47 | .frame(maxWidth: 640)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:46:14: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
:
41 | }
42 |
43 | private var plainBackground : some View {
| `- note: add @available attribute to enclosing property
44 | Rectangle()
45 | .fill(advert.background)
46 | .aspectRatio(1.0, contentMode: .fill)
| |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | .frame(maxWidth: 640)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:47:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
:
41 | }
42 |
43 | private var plainBackground : some View {
| `- note: add @available attribute to enclosing property
44 | Rectangle()
45 | .fill(advert.background)
46 | .aspectRatio(1.0, contentMode: .fill)
47 | .frame(maxWidth: 640)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | }
49 | }
[25/30] Compiling Billboard BillboardImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:11:20: error: 'dismiss' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
| `- error: 'dismiss' is only available in macOS 12.0 or newer
12 |
13 | var label: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:11:6: error: 'Environment' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
| `- error: 'Environment' is only available in macOS 10.15 or newer
12 |
13 | var label: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:13:21: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
13 | var label: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
14 | #if os(visionOS)
15 | Label("Dismiss advertisement", systemImage: "xmark")
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:30:20: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
:
28 | }
29 |
30 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
31 | Button {
32 | dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:18:9: error: 'Label' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
13 | var label: some View {
| `- note: add @available attribute to enclosing property
14 | #if os(visionOS)
15 | Label("Dismiss advertisement", systemImage: "xmark")
16 | .labelStyle(.iconOnly)
17 | #else
18 | Label("Dismiss advertisement", systemImage: "xmark.circle.fill")
| |- error: 'Label' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
19 | .labelStyle(.iconOnly)
20 | #if os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:18:9: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
13 | var label: some View {
| `- note: add @available attribute to enclosing property
14 | #if os(visionOS)
15 | Label("Dismiss advertisement", systemImage: "xmark")
16 | .labelStyle(.iconOnly)
17 | #else
18 | Label("Dismiss advertisement", systemImage: "xmark.circle.fill")
| |- error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
19 | .labelStyle(.iconOnly)
20 | #if os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:18:15: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
13 | var label: some View {
| `- note: add @available attribute to enclosing property
14 | #if os(visionOS)
15 | Label("Dismiss advertisement", systemImage: "xmark")
16 | .labelStyle(.iconOnly)
17 | #else
18 | Label("Dismiss advertisement", systemImage: "xmark.circle.fill")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .labelStyle(.iconOnly)
20 | #if os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:19:14: error: 'labelStyle' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
13 | var label: some View {
| `- note: add @available attribute to enclosing property
14 | #if os(visionOS)
15 | Label("Dismiss advertisement", systemImage: "xmark")
:
17 | #else
18 | Label("Dismiss advertisement", systemImage: "xmark.circle.fill")
19 | .labelStyle(.iconOnly)
| |- error: 'labelStyle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
20 | #if os(tvOS)
21 | .font(.system(.body, design: .rounded, weight: .bold))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:19:26: error: 'iconOnly' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
13 | var label: some View {
| `- note: add @available attribute to enclosing property
14 | #if os(visionOS)
15 | Label("Dismiss advertisement", systemImage: "xmark")
:
17 | #else
18 | Label("Dismiss advertisement", systemImage: "xmark.circle.fill")
19 | .labelStyle(.iconOnly)
| |- error: 'iconOnly' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
20 | #if os(tvOS)
21 | .font(.system(.body, design: .rounded, weight: .bold))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:23:14: error: 'font' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
13 | var label: some View {
| `- note: add @available attribute to enclosing property
14 | #if os(visionOS)
15 | Label("Dismiss advertisement", systemImage: "xmark")
:
21 | .font(.system(.body, design: .rounded, weight: .bold))
22 | #else
23 | .font(.system(.title2, design: .rounded, weight: .bold))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | #endif
25 | .symbolRenderingMode(.hierarchical)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:23:20: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
13 | var label: some View {
| `- note: add @available attribute to enclosing property
14 | #if os(visionOS)
15 | Label("Dismiss advertisement", systemImage: "xmark")
:
21 | .font(.system(.body, design: .rounded, weight: .bold))
22 | #else
23 | .font(.system(.title2, design: .rounded, weight: .bold))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
24 | #endif
25 | .symbolRenderingMode(.hierarchical)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:23:28: error: 'title2' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
13 | var label: some View {
| `- note: add @available attribute to enclosing property
14 | #if os(visionOS)
15 | Label("Dismiss advertisement", systemImage: "xmark")
:
21 | .font(.system(.body, design: .rounded, weight: .bold))
22 | #else
23 | .font(.system(.title2, design: .rounded, weight: .bold))
| |- error: 'title2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
24 | #endif
25 | .symbolRenderingMode(.hierarchical)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:25:14: error: 'symbolRenderingMode' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
13 | var label: some View {
| `- note: add @available attribute to enclosing property
14 | #if os(visionOS)
15 | Label("Dismiss advertisement", systemImage: "xmark")
:
23 | .font(.system(.title2, design: .rounded, weight: .bold))
24 | #endif
25 | .symbolRenderingMode(.hierarchical)
| |- error: 'symbolRenderingMode' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
26 | .imageScale(.large)
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:26:14: error: 'imageScale' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
13 | var label: some View {
| `- note: add @available attribute to enclosing property
14 | #if os(visionOS)
15 | Label("Dismiss advertisement", systemImage: "xmark")
:
24 | #endif
25 | .symbolRenderingMode(.hierarchical)
26 | .imageScale(.large)
| |- error: 'imageScale' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
27 | #endif
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:31:9: error: 'Button' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
:
28 | }
29 |
30 | var body: some View {
| `- note: add @available attribute to enclosing property
31 | Button {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | dismiss()
33 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:39:10: error: 'controlSize' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
:
28 | }
29 |
30 | var body: some View {
| `- note: add @available attribute to enclosing property
31 | Button {
32 | dismiss()
:
37 | .buttonBorderShape(.circle)
38 | #else
39 | .controlSize(.large)
| |- error: 'controlSize' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | #endif
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:39:23: error: 'large' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
:
28 | }
29 |
30 | var body: some View {
| `- note: add @available attribute to enclosing property
31 | Button {
32 | dismiss()
:
37 | .buttonBorderShape(.circle)
38 | #else
39 | .controlSize(.large)
| |- error: 'large' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
40 | #endif
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:43:40: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
:
41 | }
42 |
43 | private var plainBackground : some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
44 | Rectangle()
45 | .fill(advert.background)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:52:31: error: 'View' is only available in macOS 10.15 or newer
49 | }
50 |
51 | struct BillboardImageView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
52 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
53 | BillboardImageView(advert: BillboardSamples.sampleFullScreenAd)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:14:9: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
15 | switch phase {
16 | case .empty:
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:14:9: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
15 | switch phase {
16 | case .empty:
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:14:9: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
15 | switch phase {
16 | case .empty:
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:17:17: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
16 | case .empty:
17 | ZStack {
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
18 | plainBackground
19 | ProgressView()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:17:17: error: 'ZStack' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
16 | case .empty:
17 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | plainBackground
19 | ProgressView()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:19:21: error: 'ProgressView' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
17 | ZStack {
18 | plainBackground
19 | ProgressView()
| |- error: 'ProgressView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
20 | .tint(advert.tint)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:19:21: error: 'init()' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
17 | ZStack {
18 | plainBackground
19 | ProgressView()
| |- error: 'init()' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
20 | .tint(advert.tint)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:20:26: error: 'tint' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
18 | plainBackground
19 | ProgressView()
20 | .tint(advert.tint)
| |- error: 'tint' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
21 | }
22 | .accessibilityHidden(true)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:22:18: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
20 | .tint(advert.tint)
21 | }
22 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
23 | case .success(let image):
24 | image
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:17:17: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
16 | case .empty:
17 | ZStack {
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
18 | plainBackground
19 | ProgressView()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:17:17: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
16 | case .empty:
17 | ZStack {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | plainBackground
19 | ProgressView()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:17:17: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
16 | case .empty:
17 | ZStack {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | plainBackground
19 | ProgressView()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:24:17: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
22 | .accessibilityHidden(true)
23 | case .success(let image):
24 | image
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | .resizable()
26 | .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:25:22: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
23 | case .success(let image):
24 | image
25 | .resizable()
| |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .aspectRatio(contentMode: .fit)
27 | .frame(maxWidth: 640)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:26:22: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
24 | image
25 | .resizable()
26 | .aspectRatio(contentMode: .fit)
| |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .frame(maxWidth: 640)
28 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:27:22: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
25 | .resizable()
26 | .aspectRatio(contentMode: .fit)
27 | .frame(maxWidth: 640)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .padding()
29 | .accessibilityLabel(Text(advert.name))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:28:22: error: 'padding' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
26 | .aspectRatio(contentMode: .fit)
27 | .frame(maxWidth: 640)
28 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | .accessibilityLabel(Text(advert.name))
30 | .accessibilityAddTraits(.isImage)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:29:22: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
27 | .frame(maxWidth: 640)
28 | .padding()
29 | .accessibilityLabel(Text(advert.name))
| |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
30 | .accessibilityAddTraits(.isImage)
31 | default:
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:29:41: error: 'Text' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
27 | .frame(maxWidth: 640)
28 | .padding()
29 | .accessibilityLabel(Text(advert.name))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | .accessibilityAddTraits(.isImage)
31 | default:
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:30:22: error: 'accessibilityAddTraits' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
28 | .padding()
29 | .accessibilityLabel(Text(advert.name))
30 | .accessibilityAddTraits(.isImage)
| |- error: 'accessibilityAddTraits' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
31 | default:
32 | ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:24:17: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
22 | .accessibilityHidden(true)
23 | case .success(let image):
24 | image
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
25 | .resizable()
26 | .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:24:17: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
22 | .accessibilityHidden(true)
23 | case .success(let image):
24 | image
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .resizable()
26 | .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:24:17: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
22 | .accessibilityHidden(true)
23 | case .success(let image):
24 | image
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .resizable()
26 | .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:32:17: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
30 | .accessibilityAddTraits(.isImage)
31 | default:
32 | ZStack {
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
33 | plainBackground
34 | Image(systemName: "bolt.slash.fill")
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:32:17: error: 'ZStack' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
30 | .accessibilityAddTraits(.isImage)
31 | default:
32 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | plainBackground
34 | Image(systemName: "bolt.slash.fill")
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:34:21: error: 'Image' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
32 | ZStack {
33 | plainBackground
34 | Image(systemName: "bolt.slash.fill")
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | .foregroundColor(advert.tint)
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:34:21: error: 'init(systemName:)' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
32 | ZStack {
33 | plainBackground
34 | Image(systemName: "bolt.slash.fill")
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
35 | .foregroundColor(advert.tint)
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:35:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
33 | plainBackground
34 | Image(systemName: "bolt.slash.fill")
35 | .foregroundColor(advert.tint)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | }
37 | .accessibilityHidden(true)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:37:18: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
35 | .foregroundColor(advert.tint)
36 | }
37 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
38 |
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:32:17: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
30 | .accessibilityAddTraits(.isImage)
31 | default:
32 | ZStack {
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
33 | plainBackground
34 | Image(systemName: "bolt.slash.fill")
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:32:17: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
:
30 | .accessibilityAddTraits(.isImage)
31 | default:
32 | ZStack {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | plainBackground
34 | Image(systemName: "bolt.slash.fill")
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:14:55: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
15 | switch phase {
16 | case .empty:
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:13:25: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| | |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:13:25: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| | |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing property
14 | CachedImage(url: advert.media.absoluteString) { phase in
15 | switch phase {
/Users/admin/builder/spi-builder-workspace/Sources/CachedImage/CachedImage.swift:21:39: error: 'identity' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct CachedImage<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
11 |
12 | @State private var manager = CachedImageManager()
:
17 | public let content: (AsyncImagePhase) -> Content
18 |
19 | public init(url: String,
| `- note: add @available attribute to enclosing initializer
20 | animation: Animation? = nil,
21 | transition: AnyTransition = .identity,
| `- error: 'identity' is only available in macOS 10.15 or newer
22 | @ViewBuilder content: @escaping (AsyncImagePhase) -> Content) {
23 | self.url = url
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:44:9: error: 'Rectangle' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
:
41 | }
42 |
43 | private var plainBackground : some View {
| `- note: add @available attribute to enclosing property
44 | Rectangle()
| |- error: 'Rectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | .fill(advert.background)
46 | .aspectRatio(1.0, contentMode: .fill)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:45:14: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
:
41 | }
42 |
43 | private var plainBackground : some View {
| `- note: add @available attribute to enclosing property
44 | Rectangle()
45 | .fill(advert.background)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
46 | .aspectRatio(1.0, contentMode: .fill)
47 | .frame(maxWidth: 640)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:46:14: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
:
41 | }
42 |
43 | private var plainBackground : some View {
| `- note: add @available attribute to enclosing property
44 | Rectangle()
45 | .fill(advert.background)
46 | .aspectRatio(1.0, contentMode: .fill)
| |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | .frame(maxWidth: 640)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardImageView.swift:47:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardImageView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert : BillboardAd
12 |
:
41 | }
42 |
43 | private var plainBackground : some View {
| `- note: add @available attribute to enclosing property
44 | Rectangle()
45 | .fill(advert.background)
46 | .aspectRatio(1.0, contentMode: .fill)
47 | .frame(maxWidth: 640)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | }
49 | }
[26/30] Compiling Billboard BillboardTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:45:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
43 | }
44 |
45 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
46 | BillboardTextView(advert: BillboardSamples.sampleDefaultAd)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:173:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
171 | }
172 |
173 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
174 | VStack {
175 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:174:5: error: 'VStack' is only available in macOS 10.15 or newer
172 |
173 | #Preview {
174 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
175 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
176 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd, hideDismissButtonAndTimer: true)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:178:6: error: 'padding' is only available in macOS 10.15 or newer
176 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd, hideDismissButtonAndTimer: true)
177 | }
178 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
179 | }
180 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:202:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
200 |
201 |
202 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
203 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
204 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:204:9: error: 'VStack' is only available in macOS 10.15 or newer
202 | #Preview {
203 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
204 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
205 | Spacer()
206 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:205:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
203 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
204 | VStack {
205 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
206 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
207 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:205:13: error: 'Spacer' is only available in macOS 10.15 or newer
203 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
204 | VStack {
205 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
206 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
207 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:207:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
205 | Spacer()
206 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
207 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
208 | }
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:207:13: error: 'Spacer' is only available in macOS 10.15 or newer
205 | Spacer()
206 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
207 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
208 | }
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:204:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
202 | #Preview {
203 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
204 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
205 | Spacer()
206 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:204:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
202 | #Preview {
203 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
204 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
205 | Spacer()
206 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/DefaultAdView.swift:74:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | }
73 |
74 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | DefaultAdView(advert: BillboardSamples.sampleDefaultAd)
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:14:9: error: 'VStack' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | BillboardAdInfoLabel(advert: advert)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:17:13: error: 'VStack' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | Text(advert.title)
19 | .font(.system(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:18:17: error: 'Text' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
18 | Text(advert.title)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .font(.system(.title2, design: .rounded, weight: .heavy))
20 | .fixedSize(horizontal: false, vertical: true)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:19:22: error: 'font' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
17 | VStack(spacing: 6) {
18 | Text(advert.title)
19 | .font(.system(.title2, design: .rounded, weight: .heavy))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | .fixedSize(horizontal: false, vertical: true)
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:19:28: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
17 | VStack(spacing: 6) {
18 | Text(advert.title)
19 | .font(.system(.title2, design: .rounded, weight: .heavy))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
20 | .fixedSize(horizontal: false, vertical: true)
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:19:36: error: 'title2' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
17 | VStack(spacing: 6) {
18 | Text(advert.title)
19 | .font(.system(.title2, design: .rounded, weight: .heavy))
| |- error: 'title2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
20 | .fixedSize(horizontal: false, vertical: true)
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:20:22: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
18 | Text(advert.title)
19 | .font(.system(.title2, design: .rounded, weight: .heavy))
20 | .fixedSize(horizontal: false, vertical: true)
| |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 |
22 | Text(advert.description)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:22:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
20 | .fixedSize(horizontal: false, vertical: true)
21 |
22 | Text(advert.description)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
23 | .font(.system(.body, design: .rounded))
24 | #if os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:22:17: error: 'Text' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
20 | .fixedSize(horizontal: false, vertical: true)
21 |
22 | Text(advert.description)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .font(.system(.body, design: .rounded))
24 | #if os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:23:22: error: 'font' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
21 |
22 | Text(advert.description)
23 | .font(.system(.body, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | #if os(tvOS)
25 | if let appStoreLink = advert.appStoreLink {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:23:28: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
21 |
22 | Text(advert.description)
23 | .font(.system(.body, design: .rounded))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
24 | #if os(tvOS)
25 | if let appStoreLink = advert.appStoreLink {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:17:32: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
18 | Text(advert.title)
19 | .font(.system(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:37:10: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
35 | }
36 | }
37 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | .foregroundColor(advert.text)
39 | .frame(maxWidth: 640)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:38:10: error: 'foregroundColor' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
36 | }
37 | .multilineTextAlignment(.center)
38 | .foregroundColor(advert.text)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | .frame(maxWidth: 640)
40 | .padding(.horizontal, 24)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:39:10: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
37 | .multilineTextAlignment(.center)
38 | .foregroundColor(advert.text)
39 | .frame(maxWidth: 640)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | .padding(.horizontal, 24)
41 | .padding(.bottom, 64)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:40:10: error: 'padding' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
38 | .foregroundColor(advert.text)
39 | .frame(maxWidth: 640)
40 | .padding(.horizontal, 24)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | .padding(.bottom, 64)
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:41:10: error: 'padding' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
39 | .frame(maxWidth: 640)
40 | .padding(.horizontal, 24)
41 | .padding(.bottom, 64)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:14:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
13 |
14 | @ViewBuilder var paywall: () -> Content
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
15 |
16 | @State private var showPaywall : Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
14 | @ViewBuilder var paywall: () -> Content
15 |
16 | @State private var showPaywall : Bool = false
| `- error: 'State' is only available in macOS 10.15 or newer
17 | @State private var canDismiss = false
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
15 |
16 | @State private var showPaywall : Bool = false
17 | @State private var canDismiss = false
| `- error: 'State' is only available in macOS 10.15 or newer
18 |
19 | public init(advert: BillboardAd, config: BillboardConfiguration = BillboardConfiguration(), paywall: @escaping () -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:25:27: error: 'View' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:169:32: error: 'SKOverlay' is unavailable in macOS
167 | //MARK: - App Store Overlay
168 | #if !os(tvOS)
169 | private var storeOverlay : SKOverlay {
| `- error: 'SKOverlay' is unavailable in macOS
170 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
171 | let overlay = SKOverlay(configuration: config)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h:36:12: note: 'SKOverlay' has been explicitly marked unavailable here
34 | SK_CLASS_FINAL
35 | API_AVAILABLE(ios(14.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
36 | @interface SKOverlay : NSObject
| `- note: 'SKOverlay' has been explicitly marked unavailable here
37 |
38 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:176:25: error: cannot find 'UIApplication' in scope
174 |
175 |
176 | private let scene = UIApplication.shared.connectedScenes
| `- error: cannot find 'UIApplication' in scope
177 | .compactMap({ scene -> UIWindow? in
178 | (scene as? UIWindowScene)?.keyWindow
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:177:32: error: cannot find type 'UIWindow' in scope
175 |
176 | private let scene = UIApplication.shared.connectedScenes
177 | .compactMap({ scene -> UIWindow? in
| `- error: cannot find type 'UIWindow' in scope
178 | (scene as? UIWindowScene)?.keyWindow
179 | })
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:178:24: error: cannot find type 'UIWindowScene' in scope
176 | private let scene = UIApplication.shared.connectedScenes
177 | .compactMap({ scene -> UIWindow? in
178 | (scene as? UIWindowScene)?.keyWindow
| `- error: cannot find type 'UIWindowScene' in scope
179 | })
180 | .first?
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:10:37: error: 'View' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:11:20: error: 'dismiss' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
| `- error: 'dismiss' is only available in macOS 12.0 or newer
12 |
13 | var label: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:80:9: error: 'ZStack' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
78 | })
79 | #else
80 | ZStack(alignment: .top) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | advert.background.ignoresSafeArea()
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:80:28: error: 'top' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
78 | })
79 | #else
80 | ZStack(alignment: .top) {
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | advert.background.ignoresSafeArea()
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:80:33: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
78 | })
79 | #else
80 | ZStack(alignment: .top) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
81 | advert.background.ignoresSafeArea()
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:81:31: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
79 | #else
80 | ZStack(alignment: .top) {
81 | advert.background.ignoresSafeArea()
| |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
82 |
83 | if advert.fullscreen {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:83:34: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
81 | advert.background.ignoresSafeArea()
82 |
83 | if advert.fullscreen {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | FullScreenAdView(advert: advert)
85 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:85:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
83 | if advert.fullscreen {
84 | FullScreenAdView(advert: advert)
85 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
86 | DefaultAdView(advert: advert)
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:89:13: error: 'HStack' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
87 | }
88 | #if !os(tvOS)
89 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | Button {
91 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:89:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
87 | }
88 | #if !os(tvOS)
89 | HStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
90 | Button {
91 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:90:17: error: 'Button' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
88 | #if !os(tvOS)
89 | HStack {
90 | Button {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | showPaywall.toggle()
92 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:90:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
88 | #if !os(tvOS)
89 | HStack {
90 | Button {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
91 | showPaywall.toggle()
92 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:91:21: error: cannot pass as inout because setter for 'showPaywall' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
89 | HStack {
90 | Button {
91 | showPaywall.toggle()
| |- error: cannot pass as inout because setter for 'showPaywall' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | } label: {
93 | Text("Remove Ads")
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:93:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
91 | showPaywall.toggle()
92 | } label: {
93 | Text("Remove Ads")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
94 | .font(.system(.footnote, design: .rounded))
95 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:93:21: error: 'Text' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
91 | showPaywall.toggle()
92 | } label: {
93 | Text("Remove Ads")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | .font(.system(.footnote, design: .rounded))
95 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:94:26: error: 'font' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
92 | } label: {
93 | Text("Remove Ads")
94 | .font(.system(.footnote, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
95 | .bold()
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:94:32: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
92 | } label: {
93 | Text("Remove Ads")
94 | .font(.system(.footnote, design: .rounded))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
95 | .bold()
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:95:26: error: 'bold()' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
93 | Text("Remove Ads")
94 | .font(.system(.footnote, design: .rounded))
95 | .bold()
| |- error: 'bold()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | }
97 | .buttonStyle(.bordered)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:92:26: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
90 | Button {
91 | showPaywall.toggle()
92 | } label: {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
93 | Text("Remove Ads")
94 | .font(.system(.footnote, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:97:18: error: 'buttonStyle' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
95 | .bold()
96 | }
97 | .buttonStyle(.bordered)
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | .controlSize(.small)
99 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:97:31: error: 'bordered' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
95 | .bold()
96 | }
97 | .buttonStyle(.bordered)
| |- error: 'bordered' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | .controlSize(.small)
99 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:98:18: error: 'controlSize' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
96 | }
97 | .buttonStyle(.bordered)
98 | .controlSize(.small)
| |- error: 'controlSize' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
99 | Spacer()
100 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:99:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
97 | .buttonStyle(.bordered)
98 | .controlSize(.small)
99 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
100 |
101 | // TimerView
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:99:17: error: 'Spacer' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
97 | .buttonStyle(.bordered)
98 | .controlSize(.small)
99 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
100 |
101 | // TimerView
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:104:26: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
102 | if canDismiss {
103 | BillboardDismissButton()
104 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
105 | #if os(iOS)
106 | if config.allowHaptics {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:102:31: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
100 |
101 | // TimerView
102 | if canDismiss {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | BillboardDismissButton()
104 | .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:111:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
109 | #endif
110 | }
111 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | BillboardCountdownView(advert:advert,
113 | totalDuration: config.duration,
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:89:20: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
87 | }
88 | #if !os(tvOS)
89 | HStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
90 | Button {
91 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:89:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
87 | }
88 | #if !os(tvOS)
89 | HStack {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
90 | Button {
91 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:117:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
115 | }
116 | }
117 | .frame(height: 40)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
118 | .tint(advert.tint)
119 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:118:14: error: 'tint' is only available in macOS 12.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
116 | }
117 | .frame(height: 40)
118 | .tint(advert.tint)
| |- error: 'tint' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
119 | .padding()
120 | #else
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:119:14: error: 'padding' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
117 | .frame(height: 40)
118 | .tint(advert.tint)
119 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | #else
121 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:80:33: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
78 | })
79 | #else
80 | ZStack(alignment: .top) {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
81 | advert.background.ignoresSafeArea()
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:148:10: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
146 | #endif
147 | }
148 | .background(advert.background.ignoresSafeArea())
| |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | .sheet(isPresented: $showPaywall) { paywall() }
150 | #if !os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:148:39: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
146 | #endif
147 | }
148 | .background(advert.background.ignoresSafeArea())
| |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
149 | .sheet(isPresented: $showPaywall) { paywall() }
150 | #if !os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:149:10: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
147 | }
148 | .background(advert.background.ignoresSafeArea())
149 | .sheet(isPresented: $showPaywall) { paywall() }
| |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
150 | #if !os(tvOS)
151 | .onAppear(perform: displayOverlay)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:151:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
149 | .sheet(isPresented: $showPaywall) { paywall() }
150 | #if !os(tvOS)
151 | .onAppear(perform: displayOverlay)
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
152 | .onDisappear(perform: dismissOverlay)
153 | .onChange(of: showPaywall, {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:152:10: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
150 | #if !os(tvOS)
151 | .onAppear(perform: displayOverlay)
152 | .onDisappear(perform: dismissOverlay)
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
153 | .onChange(of: showPaywall, {
154 | if showPaywall {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:153:10: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
151 | .onAppear(perform: displayOverlay)
152 | .onDisappear(perform: dismissOverlay)
153 | .onChange(of: showPaywall, {
| |- error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
154 | if showPaywall {
155 | dismissOverlay()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:161:10: error: 'statusBarHidden' is unavailable in macOS
159 | })
160 |
161 | .statusBarHidden(true)
| `- error: 'statusBarHidden' is unavailable in macOS
162 | #endif
163 | #endif
SwiftUI.View.statusBarHidden:6:27: note: 'statusBarHidden' has been explicitly marked unavailable here
4 | @available(tvOS, unavailable)
5 | @available(watchOS, unavailable)
6 | nonisolated public func statusBarHidden(_ hidden: Bool = true) -> some View
| `- note: 'statusBarHidden' has been explicitly marked unavailable here
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:170:22: error: 'SKOverlay' is unavailable in macOS
168 | #if !os(tvOS)
169 | private var storeOverlay : SKOverlay {
170 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
| `- error: 'SKOverlay' is unavailable in macOS
171 | let overlay = SKOverlay(configuration: config)
172 | return overlay
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h:36:12: note: 'SKOverlay' has been explicitly marked unavailable here
34 | SK_CLASS_FINAL
35 | API_AVAILABLE(ios(14.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
36 | @interface SKOverlay : NSObject
| `- note: 'SKOverlay' has been explicitly marked unavailable here
37 |
38 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:171:23: error: 'SKOverlay' is unavailable in macOS
169 | private var storeOverlay : SKOverlay {
170 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
171 | let overlay = SKOverlay(configuration: config)
| `- error: 'SKOverlay' is unavailable in macOS
172 | return overlay
173 | }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h:36:12: note: 'SKOverlay' has been explicitly marked unavailable here
34 | SK_CLASS_FINAL
35 | API_AVAILABLE(ios(14.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
36 | @interface SKOverlay : NSObject
| `- note: 'SKOverlay' has been explicitly marked unavailable here
37 |
38 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:185:19: error: type 'SKOverlay' has no member 'dismiss'
183 | private func dismissOverlay() {
184 | guard let scene else { return }
185 | SKOverlay.dismiss(in: scene)
| `- error: type 'SKOverlay' has no member 'dismiss'
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:190:22: error: value of type 'SKOverlay' has no member 'present'
188 | private func displayOverlay() {
189 | guard let scene else { return }
190 | storeOverlay.present(in: scene)
| `- error: value of type 'SKOverlay' has no member 'present'
191 |
192 | #if os(iOS)
[27/30] Compiling Billboard BillboardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:45:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
43 | }
44 |
45 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
46 | BillboardTextView(advert: BillboardSamples.sampleDefaultAd)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:173:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
171 | }
172 |
173 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
174 | VStack {
175 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:174:5: error: 'VStack' is only available in macOS 10.15 or newer
172 |
173 | #Preview {
174 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
175 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
176 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd, hideDismissButtonAndTimer: true)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:178:6: error: 'padding' is only available in macOS 10.15 or newer
176 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd, hideDismissButtonAndTimer: true)
177 | }
178 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
179 | }
180 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:202:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
200 |
201 |
202 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
203 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
204 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:204:9: error: 'VStack' is only available in macOS 10.15 or newer
202 | #Preview {
203 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
204 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
205 | Spacer()
206 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:205:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
203 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
204 | VStack {
205 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
206 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
207 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:205:13: error: 'Spacer' is only available in macOS 10.15 or newer
203 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
204 | VStack {
205 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
206 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
207 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:207:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
205 | Spacer()
206 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
207 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
208 | }
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:207:13: error: 'Spacer' is only available in macOS 10.15 or newer
205 | Spacer()
206 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
207 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
208 | }
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:204:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
202 | #Preview {
203 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
204 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
205 | Spacer()
206 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:204:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
202 | #Preview {
203 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
204 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
205 | Spacer()
206 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/DefaultAdView.swift:74:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
72 | }
73 |
74 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
75 | DefaultAdView(advert: BillboardSamples.sampleDefaultAd)
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:14:9: error: 'VStack' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | BillboardAdInfoLabel(advert: advert)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:17:13: error: 'VStack' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | Text(advert.title)
19 | .font(.system(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:18:17: error: 'Text' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
18 | Text(advert.title)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .font(.system(.title2, design: .rounded, weight: .heavy))
20 | .fixedSize(horizontal: false, vertical: true)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:19:22: error: 'font' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
17 | VStack(spacing: 6) {
18 | Text(advert.title)
19 | .font(.system(.title2, design: .rounded, weight: .heavy))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | .fixedSize(horizontal: false, vertical: true)
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:19:28: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
17 | VStack(spacing: 6) {
18 | Text(advert.title)
19 | .font(.system(.title2, design: .rounded, weight: .heavy))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
20 | .fixedSize(horizontal: false, vertical: true)
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:19:36: error: 'title2' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
17 | VStack(spacing: 6) {
18 | Text(advert.title)
19 | .font(.system(.title2, design: .rounded, weight: .heavy))
| |- error: 'title2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
20 | .fixedSize(horizontal: false, vertical: true)
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:20:22: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
18 | Text(advert.title)
19 | .font(.system(.title2, design: .rounded, weight: .heavy))
20 | .fixedSize(horizontal: false, vertical: true)
| |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 |
22 | Text(advert.description)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:22:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
20 | .fixedSize(horizontal: false, vertical: true)
21 |
22 | Text(advert.description)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
23 | .font(.system(.body, design: .rounded))
24 | #if os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:22:17: error: 'Text' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
20 | .fixedSize(horizontal: false, vertical: true)
21 |
22 | Text(advert.description)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | .font(.system(.body, design: .rounded))
24 | #if os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:23:22: error: 'font' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
21 |
22 | Text(advert.description)
23 | .font(.system(.body, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | #if os(tvOS)
25 | if let appStoreLink = advert.appStoreLink {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:23:28: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
21 |
22 | Text(advert.description)
23 | .font(.system(.body, design: .rounded))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
24 | #if os(tvOS)
25 | if let appStoreLink = advert.appStoreLink {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:17:32: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
18 | Text(advert.title)
19 | .font(.system(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:37:10: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
35 | }
36 | }
37 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | .foregroundColor(advert.text)
39 | .frame(maxWidth: 640)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:38:10: error: 'foregroundColor' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
36 | }
37 | .multilineTextAlignment(.center)
38 | .foregroundColor(advert.text)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | .frame(maxWidth: 640)
40 | .padding(.horizontal, 24)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:39:10: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
37 | .multilineTextAlignment(.center)
38 | .foregroundColor(advert.text)
39 | .frame(maxWidth: 640)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | .padding(.horizontal, 24)
41 | .padding(.bottom, 64)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:40:10: error: 'padding' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
38 | .foregroundColor(advert.text)
39 | .frame(maxWidth: 640)
40 | .padding(.horizontal, 24)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | .padding(.bottom, 64)
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:41:10: error: 'padding' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
39 | .frame(maxWidth: 640)
40 | .padding(.horizontal, 24)
41 | .padding(.bottom, 64)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:14:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
13 |
14 | @ViewBuilder var paywall: () -> Content
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
15 |
16 | @State private var showPaywall : Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
14 | @ViewBuilder var paywall: () -> Content
15 |
16 | @State private var showPaywall : Bool = false
| `- error: 'State' is only available in macOS 10.15 or newer
17 | @State private var canDismiss = false
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
15 |
16 | @State private var showPaywall : Bool = false
17 | @State private var canDismiss = false
| `- error: 'State' is only available in macOS 10.15 or newer
18 |
19 | public init(advert: BillboardAd, config: BillboardConfiguration = BillboardConfiguration(), paywall: @escaping () -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:25:27: error: 'View' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:169:32: error: 'SKOverlay' is unavailable in macOS
167 | //MARK: - App Store Overlay
168 | #if !os(tvOS)
169 | private var storeOverlay : SKOverlay {
| `- error: 'SKOverlay' is unavailable in macOS
170 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
171 | let overlay = SKOverlay(configuration: config)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h:36:12: note: 'SKOverlay' has been explicitly marked unavailable here
34 | SK_CLASS_FINAL
35 | API_AVAILABLE(ios(14.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
36 | @interface SKOverlay : NSObject
| `- note: 'SKOverlay' has been explicitly marked unavailable here
37 |
38 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:176:25: error: cannot find 'UIApplication' in scope
174 |
175 |
176 | private let scene = UIApplication.shared.connectedScenes
| `- error: cannot find 'UIApplication' in scope
177 | .compactMap({ scene -> UIWindow? in
178 | (scene as? UIWindowScene)?.keyWindow
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:177:32: error: cannot find type 'UIWindow' in scope
175 |
176 | private let scene = UIApplication.shared.connectedScenes
177 | .compactMap({ scene -> UIWindow? in
| `- error: cannot find type 'UIWindow' in scope
178 | (scene as? UIWindowScene)?.keyWindow
179 | })
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:178:24: error: cannot find type 'UIWindowScene' in scope
176 | private let scene = UIApplication.shared.connectedScenes
177 | .compactMap({ scene -> UIWindow? in
178 | (scene as? UIWindowScene)?.keyWindow
| `- error: cannot find type 'UIWindowScene' in scope
179 | })
180 | .first?
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:10:37: error: 'View' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardDismissButton.swift:11:20: error: 'dismiss' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
| `- error: 'dismiss' is only available in macOS 12.0 or newer
12 |
13 | var label: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:80:9: error: 'ZStack' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
78 | })
79 | #else
80 | ZStack(alignment: .top) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | advert.background.ignoresSafeArea()
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:80:28: error: 'top' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
78 | })
79 | #else
80 | ZStack(alignment: .top) {
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | advert.background.ignoresSafeArea()
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:80:33: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
78 | })
79 | #else
80 | ZStack(alignment: .top) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
81 | advert.background.ignoresSafeArea()
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:81:31: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
79 | #else
80 | ZStack(alignment: .top) {
81 | advert.background.ignoresSafeArea()
| |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
82 |
83 | if advert.fullscreen {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:83:34: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
81 | advert.background.ignoresSafeArea()
82 |
83 | if advert.fullscreen {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | FullScreenAdView(advert: advert)
85 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:85:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
83 | if advert.fullscreen {
84 | FullScreenAdView(advert: advert)
85 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
86 | DefaultAdView(advert: advert)
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:89:13: error: 'HStack' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
87 | }
88 | #if !os(tvOS)
89 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | Button {
91 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:89:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
87 | }
88 | #if !os(tvOS)
89 | HStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
90 | Button {
91 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:90:17: error: 'Button' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
88 | #if !os(tvOS)
89 | HStack {
90 | Button {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | showPaywall.toggle()
92 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:90:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
88 | #if !os(tvOS)
89 | HStack {
90 | Button {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
91 | showPaywall.toggle()
92 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:91:21: error: cannot pass as inout because setter for 'showPaywall' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
89 | HStack {
90 | Button {
91 | showPaywall.toggle()
| |- error: cannot pass as inout because setter for 'showPaywall' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | } label: {
93 | Text("Remove Ads")
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:93:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
91 | showPaywall.toggle()
92 | } label: {
93 | Text("Remove Ads")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
94 | .font(.system(.footnote, design: .rounded))
95 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:93:21: error: 'Text' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
91 | showPaywall.toggle()
92 | } label: {
93 | Text("Remove Ads")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | .font(.system(.footnote, design: .rounded))
95 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:94:26: error: 'font' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
92 | } label: {
93 | Text("Remove Ads")
94 | .font(.system(.footnote, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
95 | .bold()
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:94:32: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
92 | } label: {
93 | Text("Remove Ads")
94 | .font(.system(.footnote, design: .rounded))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
95 | .bold()
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:95:26: error: 'bold()' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
93 | Text("Remove Ads")
94 | .font(.system(.footnote, design: .rounded))
95 | .bold()
| |- error: 'bold()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | }
97 | .buttonStyle(.bordered)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:92:26: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
90 | Button {
91 | showPaywall.toggle()
92 | } label: {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
93 | Text("Remove Ads")
94 | .font(.system(.footnote, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:97:18: error: 'buttonStyle' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
95 | .bold()
96 | }
97 | .buttonStyle(.bordered)
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | .controlSize(.small)
99 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:97:31: error: 'bordered' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
95 | .bold()
96 | }
97 | .buttonStyle(.bordered)
| |- error: 'bordered' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | .controlSize(.small)
99 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:98:18: error: 'controlSize' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
96 | }
97 | .buttonStyle(.bordered)
98 | .controlSize(.small)
| |- error: 'controlSize' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
99 | Spacer()
100 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:99:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
97 | .buttonStyle(.bordered)
98 | .controlSize(.small)
99 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
100 |
101 | // TimerView
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:99:17: error: 'Spacer' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
97 | .buttonStyle(.bordered)
98 | .controlSize(.small)
99 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
100 |
101 | // TimerView
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:104:26: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
102 | if canDismiss {
103 | BillboardDismissButton()
104 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
105 | #if os(iOS)
106 | if config.allowHaptics {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:102:31: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
100 |
101 | // TimerView
102 | if canDismiss {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
103 | BillboardDismissButton()
104 | .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:111:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
109 | #endif
110 | }
111 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | BillboardCountdownView(advert:advert,
113 | totalDuration: config.duration,
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:89:20: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
87 | }
88 | #if !os(tvOS)
89 | HStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
90 | Button {
91 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:89:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
87 | }
88 | #if !os(tvOS)
89 | HStack {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
90 | Button {
91 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:117:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
115 | }
116 | }
117 | .frame(height: 40)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
118 | .tint(advert.tint)
119 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:118:14: error: 'tint' is only available in macOS 12.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
116 | }
117 | .frame(height: 40)
118 | .tint(advert.tint)
| |- error: 'tint' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
119 | .padding()
120 | #else
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:119:14: error: 'padding' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
117 | .frame(height: 40)
118 | .tint(advert.tint)
119 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | #else
121 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:80:33: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
78 | })
79 | #else
80 | ZStack(alignment: .top) {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
81 | advert.background.ignoresSafeArea()
82 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:148:10: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
146 | #endif
147 | }
148 | .background(advert.background.ignoresSafeArea())
| |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | .sheet(isPresented: $showPaywall) { paywall() }
150 | #if !os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:148:39: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
146 | #endif
147 | }
148 | .background(advert.background.ignoresSafeArea())
| |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
149 | .sheet(isPresented: $showPaywall) { paywall() }
150 | #if !os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:149:10: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
147 | }
148 | .background(advert.background.ignoresSafeArea())
149 | .sheet(isPresented: $showPaywall) { paywall() }
| |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
150 | #if !os(tvOS)
151 | .onAppear(perform: displayOverlay)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:151:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
149 | .sheet(isPresented: $showPaywall) { paywall() }
150 | #if !os(tvOS)
151 | .onAppear(perform: displayOverlay)
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
152 | .onDisappear(perform: dismissOverlay)
153 | .onChange(of: showPaywall, {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:152:10: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
150 | #if !os(tvOS)
151 | .onAppear(perform: displayOverlay)
152 | .onDisappear(perform: dismissOverlay)
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
153 | .onChange(of: showPaywall, {
154 | if showPaywall {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:153:10: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | #if os(visionOS)
27 | NavigationStack {
:
151 | .onAppear(perform: displayOverlay)
152 | .onDisappear(perform: dismissOverlay)
153 | .onChange(of: showPaywall, {
| |- error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
154 | if showPaywall {
155 | dismissOverlay()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:161:10: error: 'statusBarHidden' is unavailable in macOS
159 | })
160 |
161 | .statusBarHidden(true)
| `- error: 'statusBarHidden' is unavailable in macOS
162 | #endif
163 | #endif
SwiftUI.View.statusBarHidden:6:27: note: 'statusBarHidden' has been explicitly marked unavailable here
4 | @available(tvOS, unavailable)
5 | @available(watchOS, unavailable)
6 | nonisolated public func statusBarHidden(_ hidden: Bool = true) -> some View
| `- note: 'statusBarHidden' has been explicitly marked unavailable here
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:170:22: error: 'SKOverlay' is unavailable in macOS
168 | #if !os(tvOS)
169 | private var storeOverlay : SKOverlay {
170 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
| `- error: 'SKOverlay' is unavailable in macOS
171 | let overlay = SKOverlay(configuration: config)
172 | return overlay
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h:36:12: note: 'SKOverlay' has been explicitly marked unavailable here
34 | SK_CLASS_FINAL
35 | API_AVAILABLE(ios(14.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
36 | @interface SKOverlay : NSObject
| `- note: 'SKOverlay' has been explicitly marked unavailable here
37 |
38 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:171:23: error: 'SKOverlay' is unavailable in macOS
169 | private var storeOverlay : SKOverlay {
170 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
171 | let overlay = SKOverlay(configuration: config)
| `- error: 'SKOverlay' is unavailable in macOS
172 | return overlay
173 | }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h:36:12: note: 'SKOverlay' has been explicitly marked unavailable here
34 | SK_CLASS_FINAL
35 | API_AVAILABLE(ios(14.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
36 | @interface SKOverlay : NSObject
| `- note: 'SKOverlay' has been explicitly marked unavailable here
37 |
38 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:185:19: error: type 'SKOverlay' has no member 'dismiss'
183 | private func dismissOverlay() {
184 | guard let scene else { return }
185 | SKOverlay.dismiss(in: scene)
| `- error: type 'SKOverlay' has no member 'dismiss'
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:190:22: error: value of type 'SKOverlay' has no member 'present'
188 | private func displayOverlay() {
189 | guard let scene else { return }
190 | storeOverlay.present(in: scene)
| `- error: value of type 'SKOverlay' has no member 'present'
191 |
192 | #if os(iOS)
[28/30] Compiling Billboard ImageRetriever.swift
/Users/admin/builder/spi-builder-workspace/Sources/CachedImage/ImageRetriever.swift:17:53: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
8 | import Foundation
9 |
10 | struct ImageRetriver {
| `- note: add @available attribute to enclosing struct
11 |
12 | func fetch(_ imgUrl: String) async throws -> Data {
| `- note: add @available attribute to enclosing instance method
13 | guard let url = URL(string: imgUrl) else {
14 | throw RetriverError.invalidUrl
15 | }
16 |
17 | let (data, _) = try await URLSession.shared.data(from: url)
| |- error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
18 | return data
19 | }
[29/30] Compiling Billboard AdCategory.swift
/Users/admin/builder/spi-builder-workspace/Sources/CachedImage/ImageRetriever.swift:17:53: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
8 | import Foundation
9 |
10 | struct ImageRetriver {
| `- note: add @available attribute to enclosing struct
11 |
12 | func fetch(_ imgUrl: String) async throws -> Data {
| `- note: add @available attribute to enclosing instance method
13 | guard let url = URL(string: imgUrl) else {
14 | throw RetriverError.invalidUrl
15 | }
16 |
17 | let (data, _) = try await URLSession.shared.data(from: url)
| |- error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
18 | return data
19 | }
[30/30] Compiling Billboard AppIconResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/CachedImage/ImageRetriever.swift:17:53: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
8 | import Foundation
9 |
10 | struct ImageRetriver {
| `- note: add @available attribute to enclosing struct
11 |
12 | func fetch(_ imgUrl: String) async throws -> Data {
| `- note: add @available attribute to enclosing instance method
13 | guard let url = URL(string: imgUrl) else {
14 | throw RetriverError.invalidUrl
15 | }
16 |
17 | let (data, _) = try await URLSession.shared.data(from: url)
| |- error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
18 | return data
19 | }
BUILD FAILURE 6.2 macosSpm