Build Information
Failed to build Billboard, reference main (e40ac4
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 19:13:02 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/CachedImage/CachedImage.swift:20:39: error: 'identity' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CachedImage<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
11 |
12 | @StateObject private var manager = CachedImageManager()
:
16 | let content: (AsyncImagePhase) -> Content
17 |
18 | init(url: String,
| `- note: add @available attribute to enclosing initializer
19 | animation: Animation? = nil,
20 | transition: AnyTransition = .identity,
| `- error: 'identity' is only available in macOS 10.15 or newer
21 | @ViewBuilder content: @escaping (AsyncImagePhase) -> Content) {
22 | self.url = url
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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/Billboard/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/Billboard/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/Billboard/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/BillboardSamples.swift:24:16: warning: static property 'sampleFullScreenAd' is not concurrency-safe because non-'Sendable' type 'BillboardAd' may have shared mutable state; this is an error in the Swift 6 language mode
22 | transparent: true)
23 |
24 | static let sampleFullScreenAd : BillboardAd = BillboardAd(appStoreID: "1661833753",
| |- warning: static property 'sampleFullScreenAd' is not concurrency-safe because non-'Sendable' type 'BillboardAd' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sampleFullScreenAd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | name: "Sample Ad",
26 | title: "Red Pandas",
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: consider making struct 'BillboardAd' conform to the 'Sendable' protocol
9 | import SwiftUI
10 |
11 | public struct BillboardAd : Codable, Identifiable, Hashable {
| `- note: consider making struct 'BillboardAd' conform to the 'Sendable' protocol
12 |
13 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
[24/26] Compiling Billboard BillboardImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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 body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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 body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:13: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 |
13 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
14 | Button {
15 | dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:14: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 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | Button {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | dismiss()
16 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:16:18: 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 BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | Button {
15 | dismiss()
16 | } 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
17 | #if os(visionOS)
18 | Label("Dismiss advertisement", systemImage: "xmark")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:16:18: warning: conformance of 'Image' 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 BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | Button {
15 | dismiss()
16 | } label: {
| |- warning: conformance of 'Image' 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
17 | #if os(visionOS)
18 | Label("Dismiss advertisement", systemImage: "xmark")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:21:13: 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 body: some View {
| `- note: add @available attribute to enclosing property
14 | Button {
15 | dismiss()
:
19 | .labelStyle(.iconOnly)
20 | #else
21 | Label("Dismiss advertisement", systemImage: "xmark.circle.fill")
| |- error: 'Label' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
22 | .labelStyle(.iconOnly)
23 | .font(.compatibleSystem(.title2, design: .rounded, weight: .bold))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:21:13: 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 body: some View {
| `- note: add @available attribute to enclosing property
14 | Button {
15 | dismiss()
:
19 | .labelStyle(.iconOnly)
20 | #else
21 | 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
22 | .labelStyle(.iconOnly)
23 | .font(.compatibleSystem(.title2, design: .rounded, weight: .bold))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:21:19: 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 body: some View {
| `- note: add @available attribute to enclosing property
14 | Button {
15 | dismiss()
:
19 | .labelStyle(.iconOnly)
20 | #else
21 | Label("Dismiss advertisement", systemImage: "xmark.circle.fill")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .labelStyle(.iconOnly)
23 | .font(.compatibleSystem(.title2, design: .rounded, weight: .bold))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:22:18: 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 body: some View {
| `- note: add @available attribute to enclosing property
14 | Button {
15 | dismiss()
:
20 | #else
21 | Label("Dismiss advertisement", systemImage: "xmark.circle.fill")
22 | .labelStyle(.iconOnly)
| |- error: 'labelStyle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
23 | .font(.compatibleSystem(.title2, design: .rounded, weight: .bold))
24 | .symbolRenderingMode(.hierarchical)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:22:30: 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 body: some View {
| `- note: add @available attribute to enclosing property
14 | Button {
15 | dismiss()
:
20 | #else
21 | Label("Dismiss advertisement", systemImage: "xmark.circle.fill")
22 | .labelStyle(.iconOnly)
| |- error: 'iconOnly' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
23 | .font(.compatibleSystem(.title2, design: .rounded, weight: .bold))
24 | .symbolRenderingMode(.hierarchical)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:23:18: 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 body: some View {
| `- note: add @available attribute to enclosing property
14 | Button {
15 | dismiss()
:
21 | Label("Dismiss advertisement", systemImage: "xmark.circle.fill")
22 | .labelStyle(.iconOnly)
23 | .font(.compatibleSystem(.title2, design: .rounded, weight: .bold))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | .symbolRenderingMode(.hierarchical)
25 | .imageScale(.large)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:23:42: 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 body: some View {
| `- note: add @available attribute to enclosing property
14 | Button {
15 | dismiss()
:
21 | Label("Dismiss advertisement", systemImage: "xmark.circle.fill")
22 | .labelStyle(.iconOnly)
23 | .font(.compatibleSystem(.title2, design: .rounded, weight: .bold))
| |- error: 'title2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
24 | .symbolRenderingMode(.hierarchical)
25 | .imageScale(.large)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:24:18: 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 body: some View {
| `- note: add @available attribute to enclosing property
14 | Button {
15 | dismiss()
:
22 | .labelStyle(.iconOnly)
23 | .font(.compatibleSystem(.title2, design: .rounded, weight: .bold))
24 | .symbolRenderingMode(.hierarchical)
| |- error: 'symbolRenderingMode' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
25 | .imageScale(.large)
26 | .controlSize(.large)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:25:18: 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 body: some View {
| `- note: add @available attribute to enclosing property
14 | Button {
15 | dismiss()
:
23 | .font(.compatibleSystem(.title2, design: .rounded, weight: .bold))
24 | .symbolRenderingMode(.hierarchical)
25 | .imageScale(.large)
| |- error: 'imageScale' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
26 | .controlSize(.large)
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:26:18: 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 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | Button {
15 | dismiss()
:
24 | .symbolRenderingMode(.hierarchical)
25 | .imageScale(.large)
26 | .controlSize(.large)
| |- error: 'controlSize' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | #endif
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:26:31: 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 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | Button {
15 | dismiss()
:
24 | .symbolRenderingMode(.hierarchical)
25 | .imageScale(.large)
26 | .controlSize(.large)
| |- error: 'large' 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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/CachedImage/CachedImage.swift:20:39: error: 'identity' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct CachedImage<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
11 |
12 | @StateObject private var manager = CachedImageManager()
:
16 | let content: (AsyncImagePhase) -> Content
17 |
18 | init(url: String,
| `- note: add @available attribute to enclosing initializer
19 | animation: Animation? = nil,
20 | transition: AnyTransition = .identity,
| `- error: 'identity' is only available in macOS 10.15 or newer
21 | @ViewBuilder content: @escaping (AsyncImagePhase) -> Content) {
22 | self.url = url
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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/Billboard/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/Billboard/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/Billboard/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/BillboardSamples.swift:24:16: warning: static property 'sampleFullScreenAd' is not concurrency-safe because non-'Sendable' type 'BillboardAd' may have shared mutable state; this is an error in the Swift 6 language mode
22 | transparent: true)
23 |
24 | static let sampleFullScreenAd : BillboardAd = BillboardAd(appStoreID: "1661833753",
| |- warning: static property 'sampleFullScreenAd' is not concurrency-safe because non-'Sendable' type 'BillboardAd' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sampleFullScreenAd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | name: "Sample Ad",
26 | title: "Red Pandas",
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: consider making struct 'BillboardAd' conform to the 'Sendable' protocol
9 | import SwiftUI
10 |
11 | public struct BillboardAd : Codable, Identifiable, Hashable {
| `- note: consider making struct 'BillboardAd' conform to the 'Sendable' protocol
12 |
13 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
[25/26] Compiling Billboard BillboardTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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/Billboard/Views/BillboardTextView.swift:33:31: error: 'View' is only available in macOS 10.15 or newer
30 | }
31 |
32 | struct BillboardTextView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
33 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
34 | DefaultAdView(advert: BillboardSamples.sampleDefaultAd)
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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/Billboard/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(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:18: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)
16 |
17 | VStack(spacing: 6) {
18 | Text(advert.title)
| |- 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
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:19:46: 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(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
| |- error: 'title2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:20: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)
:
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | 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
21 | .font(.system(.body, design: .rounded))
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:20: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)
:
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | .font(.system(.body, design: .rounded))
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:21: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)
:
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:21: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)
:
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:24: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)
:
22 | }
23 | }
24 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .foregroundColor(advert.text)
26 | .frame(maxWidth: 640)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:25: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)
:
23 | }
24 | .multilineTextAlignment(.center)
25 | .foregroundColor(advert.text)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .frame(maxWidth: 640)
27 | .padding(.horizontal, 24)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:26: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)
:
24 | .multilineTextAlignment(.center)
25 | .foregroundColor(advert.text)
26 | .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
27 | .padding(.horizontal, 24)
28 | .padding(.bottom, 64)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:27: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)
:
25 | .foregroundColor(advert.text)
26 | .frame(maxWidth: 640)
27 | .padding(.horizontal, 24)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .padding(.bottom, 64)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:28: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)
:
26 | .frame(maxWidth: 640)
27 | .padding(.horizontal, 24)
28 | .padding(.bottom, 64)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/BillboardSamples.swift:13:16: warning: static property 'sampleDefaultAd' is not concurrency-safe because non-'Sendable' type 'BillboardAd' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct BillboardSamples {
12 |
13 | static let sampleDefaultAd : BillboardAd = BillboardAd(appStoreID: "1596487035",
| |- warning: static property 'sampleDefaultAd' is not concurrency-safe because non-'Sendable' type 'BillboardAd' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sampleDefaultAd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | name: "NowPlaying",
15 | title: "Learn everything about any song",
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: consider making struct 'BillboardAd' conform to the 'Sendable' protocol
9 | import SwiftUI
10 |
11 | public struct BillboardAd : Codable, Identifiable, Hashable {
| `- note: consider making struct 'BillboardAd' conform to the 'Sendable' protocol
12 |
13 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/Views/BillboardView.swift:139:32: error: 'SKOverlay' is unavailable in macOS
137 | //MARK: - App Store Overlay
138 |
139 | private var storeOverlay : SKOverlay {
| `- error: 'SKOverlay' is unavailable in macOS
140 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
141 | let overlay = SKOverlay(configuration: config)
StoreKit.SKOverlay:2:14: note: 'SKOverlay' has been explicitly marked unavailable here
1 | @available(macOS, unavailable)
2 | public class SKOverlay : NSObject {
| `- note: 'SKOverlay' has been explicitly marked unavailable here
3 | @available(*, unavailable)
4 | public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:145:25: error: cannot find 'UIApplication' in scope
143 | }
144 |
145 | private let scene = UIApplication.shared.connectedScenes
| `- error: cannot find 'UIApplication' in scope
146 | .compactMap({ scene -> UIWindow? in
147 | (scene as? UIWindowScene)?.keyWindow
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:146:32: error: cannot find type 'UIWindow' in scope
144 |
145 | private let scene = UIApplication.shared.connectedScenes
146 | .compactMap({ scene -> UIWindow? in
| `- error: cannot find type 'UIWindow' in scope
147 | (scene as? UIWindowScene)?.keyWindow
148 | })
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:147:24: error: cannot find type 'UIWindowScene' in scope
145 | private let scene = UIApplication.shared.connectedScenes
146 | .compactMap({ scene -> UIWindow? in
147 | (scene as? UIWindowScene)?.keyWindow
| `- error: cannot find type 'UIWindowScene' in scope
148 | })
149 | .first?
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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/Billboard/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 body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:20:31: error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add @available attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
18 | @State private var timerProgress : CGFloat = 0.0
19 |
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
| `- error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
21 |
22 | var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:20:73: error: 'autoconnect()' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add @available attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
18 | @State private var timerProgress : CGFloat = 0.0
19 |
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
| `- error: 'autoconnect()' is only available in macOS 10.15 or newer
21 |
22 | var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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 |
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/Billboard/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 |
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/Billboard/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 |
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/Billboard/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 |
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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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 |
100 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:100: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 {
:
98 | .controlSize(.small)
99 |
100 | 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
101 |
102 | // TimerView
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:100: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 {
:
98 | .controlSize(.small)
99 |
100 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 |
102 | // TimerView
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:105: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 {
:
103 | if canDismiss {
104 | BillboardDismissButton()
105 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
106 | #if os(iOS)
107 | if config.allowHaptics {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:103: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 {
:
101 |
102 | // TimerView
103 | if canDismiss {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | BillboardDismissButton()
105 | .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:112: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 {
:
110 | #endif
111 | }
112 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | BillboardCountdownView(advert:advert,
114 | totalDuration: config.duration,
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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 |
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/Billboard/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 |
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/Billboard/Views/BillboardView.swift:118: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 {
:
116 | }
117 | }
118 | .frame(height: 40)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
119 | .tint(advert.tint)
120 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:119: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 {
:
117 | }
118 | .frame(height: 40)
119 | .tint(advert.tint)
| |- error: 'tint' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
120 | .padding()
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:120: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 {
:
118 | .frame(height: 40)
119 | .tint(advert.tint)
120 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | }
122 | .sheet(isPresented: $showPaywall) { paywall() }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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/Billboard/Views/BillboardView.swift:122: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 {
:
120 | .padding()
121 | }
122 | .sheet(isPresented: $showPaywall) { paywall() }
| |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | .onAppear(perform: displayOverlay)
124 | .onDisappear(perform: dismissOverlay)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:123: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 {
:
121 | }
122 | .sheet(isPresented: $showPaywall) { paywall() }
123 | .onAppear(perform: displayOverlay)
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
124 | .onDisappear(perform: dismissOverlay)
125 | .onChange(of: showPaywall) { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:124: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 {
:
122 | .sheet(isPresented: $showPaywall) { paywall() }
123 | .onAppear(perform: displayOverlay)
124 | .onDisappear(perform: dismissOverlay)
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
125 | .onChange(of: showPaywall) { newValue in
126 | if newValue {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:125:10: error: 'onChange(of:perform:)' 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 {
:
123 | .onAppear(perform: displayOverlay)
124 | .onDisappear(perform: dismissOverlay)
125 | .onChange(of: showPaywall) { newValue in
| |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
126 | if newValue {
127 | dismissOverlay()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:132:10: error: 'statusBarHidden' is unavailable in macOS
130 | }
131 | }
132 | .statusBarHidden(true)
| `- error: 'statusBarHidden' is unavailable in macOS
133 | #endif
134 |
SwiftUI.View:6:29: 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 | @available(iOS 13.0, watchOS 6.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:140:22: error: 'SKOverlay' is unavailable in macOS
138 |
139 | private var storeOverlay : SKOverlay {
140 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
| `- error: 'SKOverlay' is unavailable in macOS
141 | let overlay = SKOverlay(configuration: config)
142 | return overlay
StoreKit.SKOverlay:2:14: note: 'SKOverlay' has been explicitly marked unavailable here
1 | @available(macOS, unavailable)
2 | public class SKOverlay : NSObject {
| `- note: 'SKOverlay' has been explicitly marked unavailable here
3 | @available(*, unavailable)
4 | public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:141:23: error: 'SKOverlay' is unavailable in macOS
139 | private var storeOverlay : SKOverlay {
140 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
141 | let overlay = SKOverlay(configuration: config)
| `- error: 'SKOverlay' is unavailable in macOS
142 | return overlay
143 | }
StoreKit.SKOverlay:2:14: note: 'SKOverlay' has been explicitly marked unavailable here
1 | @available(macOS, unavailable)
2 | public class SKOverlay : NSObject {
| `- note: 'SKOverlay' has been explicitly marked unavailable here
3 | @available(*, unavailable)
4 | public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:154:19: error: type 'SKOverlay' has no member 'dismiss'
152 | private func dismissOverlay() {
153 | guard let scene else { return }
154 | SKOverlay.dismiss(in: scene)
| `- error: type 'SKOverlay' has no member 'dismiss'
155 | }
156 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:159:22: error: value of type 'SKOverlay' has no member 'present'
157 | private func displayOverlay() {
158 | guard let scene else { return }
159 | storeOverlay.present(in: scene)
| `- error: value of type 'SKOverlay' has no member 'present'
160 |
161 | #if os(iOS)
[26/26] Compiling Billboard BillboardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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/Billboard/Views/BillboardTextView.swift:33:31: error: 'View' is only available in macOS 10.15 or newer
30 | }
31 |
32 | struct BillboardTextView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
33 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
34 | DefaultAdView(advert: BillboardSamples.sampleDefaultAd)
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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/Billboard/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(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:18: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)
16 |
17 | VStack(spacing: 6) {
18 | Text(advert.title)
| |- 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
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:19:46: 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(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
| |- error: 'title2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:20: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)
:
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | 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
21 | .font(.system(.body, design: .rounded))
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:20: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)
:
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | .font(.system(.body, design: .rounded))
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:21: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)
:
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:21: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)
:
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:24: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)
:
22 | }
23 | }
24 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .foregroundColor(advert.text)
26 | .frame(maxWidth: 640)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:25: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)
:
23 | }
24 | .multilineTextAlignment(.center)
25 | .foregroundColor(advert.text)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .frame(maxWidth: 640)
27 | .padding(.horizontal, 24)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:26: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)
:
24 | .multilineTextAlignment(.center)
25 | .foregroundColor(advert.text)
26 | .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
27 | .padding(.horizontal, 24)
28 | .padding(.bottom, 64)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:27: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)
:
25 | .foregroundColor(advert.text)
26 | .frame(maxWidth: 640)
27 | .padding(.horizontal, 24)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .padding(.bottom, 64)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:28: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)
:
26 | .frame(maxWidth: 640)
27 | .padding(.horizontal, 24)
28 | .padding(.bottom, 64)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/BillboardSamples.swift:13:16: warning: static property 'sampleDefaultAd' is not concurrency-safe because non-'Sendable' type 'BillboardAd' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct BillboardSamples {
12 |
13 | static let sampleDefaultAd : BillboardAd = BillboardAd(appStoreID: "1596487035",
| |- warning: static property 'sampleDefaultAd' is not concurrency-safe because non-'Sendable' type 'BillboardAd' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sampleDefaultAd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | name: "NowPlaying",
15 | title: "Learn everything about any song",
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:11:15: note: consider making struct 'BillboardAd' conform to the 'Sendable' protocol
9 | import SwiftUI
10 |
11 | public struct BillboardAd : Codable, Identifiable, Hashable {
| `- note: consider making struct 'BillboardAd' conform to the 'Sendable' protocol
12 |
13 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/Views/BillboardView.swift:139:32: error: 'SKOverlay' is unavailable in macOS
137 | //MARK: - App Store Overlay
138 |
139 | private var storeOverlay : SKOverlay {
| `- error: 'SKOverlay' is unavailable in macOS
140 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
141 | let overlay = SKOverlay(configuration: config)
StoreKit.SKOverlay:2:14: note: 'SKOverlay' has been explicitly marked unavailable here
1 | @available(macOS, unavailable)
2 | public class SKOverlay : NSObject {
| `- note: 'SKOverlay' has been explicitly marked unavailable here
3 | @available(*, unavailable)
4 | public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:145:25: error: cannot find 'UIApplication' in scope
143 | }
144 |
145 | private let scene = UIApplication.shared.connectedScenes
| `- error: cannot find 'UIApplication' in scope
146 | .compactMap({ scene -> UIWindow? in
147 | (scene as? UIWindowScene)?.keyWindow
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:146:32: error: cannot find type 'UIWindow' in scope
144 |
145 | private let scene = UIApplication.shared.connectedScenes
146 | .compactMap({ scene -> UIWindow? in
| `- error: cannot find type 'UIWindow' in scope
147 | (scene as? UIWindowScene)?.keyWindow
148 | })
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:147:24: error: cannot find type 'UIWindowScene' in scope
145 | private let scene = UIApplication.shared.connectedScenes
146 | .compactMap({ scene -> UIWindow? in
147 | (scene as? UIWindowScene)?.keyWindow
| `- error: cannot find type 'UIWindowScene' in scope
148 | })
149 | .first?
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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/Billboard/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 body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:20:31: error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add @available attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
18 | @State private var timerProgress : CGFloat = 0.0
19 |
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
| `- error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
21 |
22 | var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardCountdownView.swift:20:73: error: 'autoconnect()' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add @available attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
18 | @State private var timerProgress : CGFloat = 0.0
19 |
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
| `- error: 'autoconnect()' is only available in macOS 10.15 or newer
21 |
22 | var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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 |
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/Billboard/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 |
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/Billboard/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 |
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/Billboard/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 |
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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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/Billboard/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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 |
100 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:100: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 {
:
98 | .controlSize(.small)
99 |
100 | 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
101 |
102 | // TimerView
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:100: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 {
:
98 | .controlSize(.small)
99 |
100 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 |
102 | // TimerView
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:105: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 {
:
103 | if canDismiss {
104 | BillboardDismissButton()
105 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
106 | #if os(iOS)
107 | if config.allowHaptics {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:103: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 {
:
101 |
102 | // TimerView
103 | if canDismiss {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | BillboardDismissButton()
105 | .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:112: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 {
:
110 | #endif
111 | }
112 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | BillboardCountdownView(advert:advert,
114 | totalDuration: config.duration,
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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 |
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/Billboard/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 |
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/Billboard/Views/BillboardView.swift:118: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 {
:
116 | }
117 | }
118 | .frame(height: 40)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
119 | .tint(advert.tint)
120 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:119: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 {
:
117 | }
118 | .frame(height: 40)
119 | .tint(advert.tint)
| |- error: 'tint' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
120 | .padding()
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:120: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 {
:
118 | .frame(height: 40)
119 | .tint(advert.tint)
120 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | }
122 | .sheet(isPresented: $showPaywall) { paywall() }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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/Billboard/Views/BillboardView.swift:122: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 {
:
120 | .padding()
121 | }
122 | .sheet(isPresented: $showPaywall) { paywall() }
| |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | .onAppear(perform: displayOverlay)
124 | .onDisappear(perform: dismissOverlay)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:123: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 {
:
121 | }
122 | .sheet(isPresented: $showPaywall) { paywall() }
123 | .onAppear(perform: displayOverlay)
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
124 | .onDisappear(perform: dismissOverlay)
125 | .onChange(of: showPaywall) { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:124: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 {
:
122 | .sheet(isPresented: $showPaywall) { paywall() }
123 | .onAppear(perform: displayOverlay)
124 | .onDisappear(perform: dismissOverlay)
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
125 | .onChange(of: showPaywall) { newValue in
126 | if newValue {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:125:10: error: 'onChange(of:perform:)' 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 {
:
123 | .onAppear(perform: displayOverlay)
124 | .onDisappear(perform: dismissOverlay)
125 | .onChange(of: showPaywall) { newValue in
| |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
126 | if newValue {
127 | dismissOverlay()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:132:10: error: 'statusBarHidden' is unavailable in macOS
130 | }
131 | }
132 | .statusBarHidden(true)
| `- error: 'statusBarHidden' is unavailable in macOS
133 | #endif
134 |
SwiftUI.View:6:29: 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 | @available(iOS 13.0, watchOS 6.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:140:22: error: 'SKOverlay' is unavailable in macOS
138 |
139 | private var storeOverlay : SKOverlay {
140 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
| `- error: 'SKOverlay' is unavailable in macOS
141 | let overlay = SKOverlay(configuration: config)
142 | return overlay
StoreKit.SKOverlay:2:14: note: 'SKOverlay' has been explicitly marked unavailable here
1 | @available(macOS, unavailable)
2 | public class SKOverlay : NSObject {
| `- note: 'SKOverlay' has been explicitly marked unavailable here
3 | @available(*, unavailable)
4 | public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:141:23: error: 'SKOverlay' is unavailable in macOS
139 | private var storeOverlay : SKOverlay {
140 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
141 | let overlay = SKOverlay(configuration: config)
| `- error: 'SKOverlay' is unavailable in macOS
142 | return overlay
143 | }
StoreKit.SKOverlay:2:14: note: 'SKOverlay' has been explicitly marked unavailable here
1 | @available(macOS, unavailable)
2 | public class SKOverlay : NSObject {
| `- note: 'SKOverlay' has been explicitly marked unavailable here
3 | @available(*, unavailable)
4 | public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:154:19: error: type 'SKOverlay' has no member 'dismiss'
152 | private func dismissOverlay() {
153 | guard let scene else { return }
154 | SKOverlay.dismiss(in: scene)
| `- error: type 'SKOverlay' has no member 'dismiss'
155 | }
156 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:159:22: error: value of type 'SKOverlay' has no member 'present'
157 | private func displayOverlay() {
158 | guard let scene else { return }
159 | storeOverlay.present(in: scene)
| `- error: value of type 'SKOverlay' has no member 'present'
160 |
161 | #if os(iOS)
BUILD FAILURE 6.0 macosSpm