Build Information
Failed to build Billboard, reference main (cd6c78), with Swift 6.2 for macOS (SPM) on 14 Oct 2025 11:51:33 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
343 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:341:38: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
328 |
329 |
330 | private func fetchAppIcon() async {
| `- note: add '@available' attribute to enclosing instance method
331 | defer { loadingNewIcon = false }
332 | do {
:
339 | }
340 | } catch {
341 | Logger.billboard.error("\(error.localizedDescription)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
342 | }
343 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:14:6: error: 'Binding' 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
13 | let totalDuration : TimeInterval
14 | @Binding var canDismiss : Bool
| `- error: 'Binding' is only available in macOS 10.15 or newer
15 |
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:17:6: error: 'State' 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
:
15 |
16 |
17 | @State private var seconds : Double = 15
| `- error: 'State' is only available in macOS 10.15 or newer
18 | @State private var timerProgress : CGFloat = 0.0
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:18:6: error: 'State' 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
:
16 |
17 | @State private var seconds : Double = 15
18 | @State private var timerProgress : CGFloat = 0.0
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
/Users/admin/builder/spi-builder-workspace/Sources/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/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/Views/BillboardCountdownView.swift:22:20: error: 'View' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:112:31: error: 'View' is only available in macOS 10.15 or newer
109 |
110 |
111 | struct BillboardCountdownView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
112 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
113 | ZStack {
114 | BillboardSamples.sampleDefaultAd.background.ignoresSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:60:9: error: 'ZStack' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
58 | })
59 | #else
60 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | Circle()
62 | .stroke(.quinary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:61:13: error: 'Circle' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
59 | #else
60 | ZStack {
61 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | .stroke(.quinary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
63 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:62:18: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
60 | ZStack {
61 | Circle()
62 | .stroke(.quinary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
63 |
64 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:62:26: error: 'quinary' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
60 | ZStack {
61 | Circle()
62 | .stroke(.quinary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'quinary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
63 |
64 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:62:42: error: 'StrokeStyle' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
60 | ZStack {
61 | Circle()
62 | .stroke(.quinary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 |
64 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:65:13: error: 'Circle' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
63 |
64 |
65 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | .trim(from: 0, to: timerProgress)
67 | .stroke(.primary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:66:18: error: 'trim(from:to:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
64 |
65 | Circle()
66 | .trim(from: 0, to: timerProgress)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | .stroke(.primary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
68 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:67:18: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
65 | Circle()
66 | .trim(from: 0, to: timerProgress)
67 | .stroke(.primary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
68 |
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:67:26: error: 'primary' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
65 | Circle()
66 | .trim(from: 0, to: timerProgress)
67 | .stroke(.primary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
68 |
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:67:42: error: 'StrokeStyle' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
65 | Circle()
66 | .trim(from: 0, to: timerProgress)
67 | .stroke(.primary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 |
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:70:13: error: 'Text' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
68 |
69 |
70 | Text("\(seconds, specifier: "%.0f")")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:70:13: error: 'init(_:tableName:bundle:comment:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
68 |
69 |
70 | Text("\(seconds, specifier: "%.0f")")
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:70:18: error: 'LocalizedStringKey' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
68 |
69 |
70 | Text("\(seconds, specifier: "%.0f")")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:70:20: warning: conformance of 'Double' to '_FormatSpecifiable' 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 BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
68 |
69 |
70 | Text("\(seconds, specifier: "%.0f")")
| |- warning: conformance of 'Double' to '_FormatSpecifiable' 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
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:71:18: error: 'font' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
69 |
70 | Text("\(seconds, specifier: "%.0f")")
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:71:24: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
69 |
70 | Text("\(seconds, specifier: "%.0f")")
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:71:75: error: 'monospacedDigit()' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
69 |
70 | Text("\(seconds, specifier: "%.0f")")
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
| |- error: 'monospacedDigit()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:72:18: error: 'rotationEffect(_:anchor:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
70 | Text("\(seconds, specifier: "%.0f")")
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | .minimumScaleFactor(0.5)
74 | .animation(.default, value: seconds)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:73:18: error: 'minimumScaleFactor' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
| |- error: 'minimumScaleFactor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | .animation(.default, value: seconds)
75 | .transition(.identity)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:74:18: error: 'animation(_:value:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
74 | .animation(.default, value: seconds)
| |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | .transition(.identity)
76 | .contentTransition(.numericText(value: seconds))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:74:29: error: 'default' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
74 | .animation(.default, value: seconds)
| |- error: 'default' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | .transition(.identity)
76 | .contentTransition(.numericText(value: seconds))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:75:18: error: 'transition' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
73 | .minimumScaleFactor(0.5)
74 | .animation(.default, value: seconds)
75 | .transition(.identity)
| |- error: 'transition' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
76 | .contentTransition(.numericText(value: seconds))
77 | .onReceive(timer) { _ in
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:75:30: error: 'identity' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
73 | .minimumScaleFactor(0.5)
74 | .animation(.default, value: seconds)
75 | .transition(.identity)
| |- error: 'identity' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
76 | .contentTransition(.numericText(value: seconds))
77 | .onReceive(timer) { _ in
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:76:18: error: 'contentTransition' is only available in macOS 13.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
74 | .animation(.default, value: seconds)
75 | .transition(.identity)
76 | .contentTransition(.numericText(value: seconds))
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
77 | .onReceive(timer) { _ in
78 | if seconds > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:76:37: error: 'numericText(value:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
74 | .animation(.default, value: seconds)
75 | .transition(.identity)
76 | .contentTransition(.numericText(value: seconds))
| |- error: 'numericText(value:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
77 | .onReceive(timer) { _ in
78 | if seconds > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:77:18: error: 'onReceive(_:perform:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
75 | .transition(.identity)
76 | .contentTransition(.numericText(value: seconds))
77 | .onReceive(timer) { _ in
| |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | if seconds > 0 {
79 | seconds -= 1
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:79:25: error: cannot pass as inout because setter for 'seconds' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
77 | .onReceive(timer) { _ in
78 | if seconds > 0 {
79 | seconds -= 1
| |- error: cannot pass as inout because setter for 'seconds' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | }
81 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:86:10: error: 'foregroundStyle' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
84 | .foregroundStyle(.primary)
85 | #else
86 | .foregroundStyle(advert.tint)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
87 | #endif
88 | .rotationEffect(.degrees(-90))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:88:10: error: 'rotationEffect(_:anchor:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
86 | .foregroundStyle(advert.tint)
87 | #endif
88 | .rotationEffect(.degrees(-90))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
89 | .frame(width: 32, height: 32)
90 | .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:89:10: error: 'frame(width:height:alignment:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
87 | #endif
88 | .rotationEffect(.degrees(-90))
89 | .frame(width: 32, height: 32)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | .onAppear {
91 | seconds = totalDuration
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:90:10: error: 'onAppear(perform:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
88 | .rotationEffect(.degrees(-90))
89 | .frame(width: 32, height: 32)
90 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | seconds = totalDuration
92 | withAnimation(.linear(duration: totalDuration)) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:91:13: error: setter for 'seconds' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
89 | .frame(width: 32, height: 32)
90 | .onAppear {
91 | seconds = totalDuration
| |- error: setter for 'seconds' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | withAnimation(.linear(duration: totalDuration)) {
93 | timerProgress = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:92:13: error: 'withAnimation' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
90 | .onAppear {
91 | seconds = totalDuration
92 | withAnimation(.linear(duration: totalDuration)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | timerProgress = 1.0
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:92:28: error: 'linear(duration:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
90 | .onAppear {
91 | seconds = totalDuration
92 | withAnimation(.linear(duration: totalDuration)) {
| |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | timerProgress = 1.0
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:93:17: error: setter for 'timerProgress' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
91 | seconds = totalDuration
92 | withAnimation(.linear(duration: totalDuration)) {
93 | timerProgress = 1.0
| |- error: setter for 'timerProgress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:96:10: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
94 | }
95 | }
96 | .onChange(of: seconds, {
| |- error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
97 | if seconds < 1 {
98 | canDismiss = true
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:98:17: error: setter for 'canDismiss' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
96 | .onChange(of: seconds, {
97 | if seconds < 1 {
98 | canDismiss = true
| |- error: setter for 'canDismiss' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
99 | }
100 | })
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:101:10: error: 'onTapGesture(count:perform:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
99 | }
100 | })
101 | .onTapGesture {
| |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | #if DEBUG
103 | canDismiss = true
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:103:13: error: setter for 'canDismiss' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
101 | .onTapGesture {
102 | #if DEBUG
103 | canDismiss = true
| |- error: setter for 'canDismiss' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | #endif
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:113:9: error: 'ZStack' is only available in macOS 10.15 or newer
109 |
110 |
111 | struct BillboardCountdownView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
112 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
113 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | BillboardSamples.sampleDefaultAd.background.ignoresSafeArea()
115 | BillboardCountdownView(advert: BillboardSamples.sampleDefaultAd, totalDuration: 15.0, canDismiss: .constant(false))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:114:57: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
109 |
110 |
111 | struct BillboardCountdownView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
112 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
113 | ZStack {
114 | BillboardSamples.sampleDefaultAd.background.ignoresSafeArea()
| |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
115 | BillboardCountdownView(advert: BillboardSamples.sampleDefaultAd, totalDuration: 15.0, canDismiss: .constant(false))
116 | }
[29/30] Compiling Billboard BillboardBannerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:38:31: error: 'View' is only available in macOS 10.15 or newer
35 | }
36 |
37 | struct BillboardAdInfoLabel_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
38 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
39 | BillboardAdInfoLabel(advert: BillboardSamples.sampleDefaultAd)
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:24:9: 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 BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
22 | .background(advert.tint.quinary, in: .capsule)
23 | #else
24 | 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
25 | Text("AD")
26 | .font(.system(size: 10, weight: .heavy, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:24:9: error: 'ZStack' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
22 | .background(advert.tint.quinary, in: .capsule)
23 | #else
24 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | Text("AD")
26 | .font(.system(size: 10, weight: .heavy, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:25:13: error: 'Text' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
23 | #else
24 | ZStack {
25 | Text("AD")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.system(size: 10, weight: .heavy, design: .rounded))
27 | .foregroundColor(advert.tint)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:26:18: error: 'font' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
24 | ZStack {
25 | Text("AD")
26 | .font(.system(size: 10, weight: .heavy, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundColor(advert.tint)
28 | .offset(x:0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:26:24: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
24 | ZStack {
25 | Text("AD")
26 | .font(.system(size: 10, weight: .heavy, design: .rounded))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
27 | .foregroundColor(advert.tint)
28 | .offset(x:0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:27:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
25 | Text("AD")
26 | .font(.system(size: 10, weight: .heavy, design: .rounded))
27 | .foregroundColor(advert.tint)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .offset(x:0.5)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:28:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
26 | .font(.system(size: 10, weight: .heavy, design: .rounded))
27 | .foregroundColor(advert.tint)
28 | .offset(x:0.5)
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 | .frame(width: 26, height: 16)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:30:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
28 | .offset(x:0.5)
29 | }
30 | .frame(width: 26, height: 16)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | .background(advert.tint.quinary, in: .capsule)
32 | .accessibilityLabel(Text("Advertisement"))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:31:10: error: 'background(_:in:fillStyle:)' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
29 | }
30 | .frame(width: 26, height: 16)
31 | .background(advert.tint.quinary, in: .capsule)
| |- error: 'background(_:in:fillStyle:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
32 | .accessibilityLabel(Text("Advertisement"))
33 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:31:33: error: 'quinary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
29 | }
30 | .frame(width: 26, height: 16)
31 | .background(advert.tint.quinary, in: .capsule)
| |- error: 'quinary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
32 | .accessibilityLabel(Text("Advertisement"))
33 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:31:47: error: 'capsule' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
29 | }
30 | .frame(width: 26, height: 16)
31 | .background(advert.tint.quinary, in: .capsule)
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | .accessibilityLabel(Text("Advertisement"))
33 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:32:10: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
30 | .frame(width: 26, height: 16)
31 | .background(advert.tint.quinary, in: .capsule)
32 | .accessibilityLabel(Text("Advertisement"))
| |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
33 | #endif
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:32:29: error: 'Text' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
30 | .frame(width: 26, height: 16)
31 | .background(advert.tint.quinary, in: .capsule)
32 | .accessibilityLabel(Text("Advertisement"))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | #endif
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:13:25: 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 BillboardAdInfoLabel: View {
| `- note: add '@available' attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| | |- 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
| `- note: add '@available' attribute to enclosing property
14 | #if os(tvOS)
15 | Text("AD")
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:11:20: error: 'accessibilityReduceMotion' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
| `- error: 'accessibilityReduceMotion' is only available in macOS 10.15 or newer
12 | @Environment(\.openURL) private var openURL
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:12:20: error: 'openURL' is only available in macOS 11.0 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
| `- error: 'openURL' is only available in macOS 11.0 or newer
13 |
14 | let advert : BillboardAd
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:20:34: error: cannot find type 'UIImage' in scope
18 |
19 | @State private var canDismiss = false
20 | @State private var appIcon : UIImage? = nil
| `- error: cannot find type 'UIImage' in scope
21 | @State private var showAdvertisement = true
22 | @State private var loadingNewIcon = true
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:11:6: error: 'Environment' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
| `- error: 'Environment' is only available in macOS 10.15 or newer
12 | @Environment(\.openURL) private var openURL
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:12:6: error: 'Environment' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
| `- error: 'Environment' is only available in macOS 10.15 or newer
13 |
14 | let advert : BillboardAd
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
17 | let hideDismissButtonAndTimer : Bool
18 |
19 | @State private var canDismiss = false
| `- error: 'State' is only available in macOS 10.15 or newer
20 | @State private var appIcon : UIImage? = nil
21 | @State private var showAdvertisement = true
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
18 |
19 | @State private var canDismiss = false
20 | @State private var appIcon : UIImage? = nil
| `- error: 'State' is only available in macOS 10.15 or newer
21 | @State private var showAdvertisement = true
22 | @State private var loadingNewIcon = true
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:21:6: error: 'State' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
19 | @State private var canDismiss = false
20 | @State private var appIcon : UIImage? = nil
21 | @State private var showAdvertisement = true
| `- error: 'State' is only available in macOS 10.15 or newer
22 | @State private var loadingNewIcon = true
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
20 | @State private var appIcon : UIImage? = nil
21 | @State private var showAdvertisement = true
22 | @State private var loadingNewIcon = true
| `- error: 'State' is only available in macOS 10.15 or newer
23 |
24 | public init(advert: BillboardAd, config: BillboardConfiguration = BillboardConfiguration(), includeShadow: Bool = true, hideDismissButtonAndTimer: Bool = false) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:31:27: error: 'View' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
29 | }
30 |
31 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
32 | #if os(tvOS)
33 | ZStack(alignment: .trailing) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:346:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
344 | }
345 |
346 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
347 | VStack {
348 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:347:5: error: 'VStack' is only available in macOS 10.15 or newer
345 |
346 | #Preview {
347 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
348 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
349 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd, hideDismissButtonAndTimer: true)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:351:6: error: 'padding' is only available in macOS 10.15 or newer
349 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd, hideDismissButtonAndTimer: true)
350 | }
351 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
352 | }
353 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:65:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
63 | }
64 |
65 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
66 | BillboardTextView(advert: BillboardSamples.sampleDefaultAd)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:210:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
208 |
209 |
210 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
211 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
212 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:212:9: error: 'VStack' is only available in macOS 10.15 or newer
210 | #Preview {
211 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
212 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
213 | Spacer()
214 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:213:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
211 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
212 | VStack {
213 | 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
214 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
215 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:213:13: error: 'Spacer' is only available in macOS 10.15 or newer
211 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
212 | VStack {
213 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
214 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
215 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:215:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
213 | Spacer()
214 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
215 | 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
216 | }
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:215:13: error: 'Spacer' is only available in macOS 10.15 or newer
213 | Spacer()
214 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
215 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
216 | }
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:212:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
210 | #Preview {
211 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
212 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
213 | Spacer()
214 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:212:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
210 | #Preview {
211 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
212 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
213 | Spacer()
214 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/DefaultAdView.swift:86:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
84 | }
85 |
86 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
87 | DefaultAdView(advert: BillboardSamples.sampleDefaultAd)
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:283:33: error: cannot find 'haptics' in scope
281 | Button("Dismiss advertisement", systemImage: "xmark.circle.fill") {
282 | if config.allowHaptics {
283 | haptics(.light)
| `- error: cannot find 'haptics' in scope
284 | }
285 | showAdvertisement = false
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:331:17: error: setter for 'loadingNewIcon' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
328 |
329 |
330 | private func fetchAppIcon() async {
| `- note: add '@available' attribute to enclosing instance method
331 | defer { loadingNewIcon = false }
| |- error: setter for 'loadingNewIcon' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
332 | do {
333 | loadingNewIcon = true
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:333:13: error: setter for 'loadingNewIcon' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
328 |
329 |
330 | private func fetchAppIcon() async {
| `- note: add '@available' attribute to enclosing instance method
331 | defer { loadingNewIcon = false }
332 | do {
333 | loadingNewIcon = true
| |- error: setter for 'loadingNewIcon' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
334 | let imageData = try await advert.getAppIcon()
335 | if let imageData {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:337:31: error: cannot find 'UIImage' in scope
335 | if let imageData {
336 | await MainActor.run {
337 | appIcon = UIImage(data: imageData)
| `- error: cannot find 'UIImage' in scope
338 | }
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Logger+Ext.swift:12:28: error: 'Logger' is only available in macOS 11.0 or newer
8 | import OSLog
9 |
10 | extension Logger {
| `- note: add '@available' attribute to enclosing extension
11 | /// Logs coming from the Billboard SPM
12 | static let billboard = Logger(subsystem: Bundle.main.bundleIdentifier ?? "Billboard Package", category: "Billboard")
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:341:13: error: 'Logger' is only available in macOS 11.0 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
328 |
329 |
330 | private func fetchAppIcon() async {
| `- note: add '@available' attribute to enclosing instance method
331 | defer { loadingNewIcon = false }
332 | do {
:
339 | }
340 | } catch {
341 | Logger.billboard.error("\(error.localizedDescription)")
| |- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
342 | }
343 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:341:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
328 |
329 |
330 | private func fetchAppIcon() async {
| `- note: add '@available' attribute to enclosing instance method
331 | defer { loadingNewIcon = false }
332 | do {
:
339 | }
340 | } catch {
341 | Logger.billboard.error("\(error.localizedDescription)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
342 | }
343 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:341:38: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
328 |
329 |
330 | private func fetchAppIcon() async {
| `- note: add '@available' attribute to enclosing instance method
331 | defer { loadingNewIcon = false }
332 | do {
:
339 | }
340 | } catch {
341 | Logger.billboard.error("\(error.localizedDescription)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
342 | }
343 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:14:6: error: 'Binding' 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
13 | let totalDuration : TimeInterval
14 | @Binding var canDismiss : Bool
| `- error: 'Binding' is only available in macOS 10.15 or newer
15 |
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:17:6: error: 'State' 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
:
15 |
16 |
17 | @State private var seconds : Double = 15
| `- error: 'State' is only available in macOS 10.15 or newer
18 | @State private var timerProgress : CGFloat = 0.0
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:18:6: error: 'State' 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
:
16 |
17 | @State private var seconds : Double = 15
18 | @State private var timerProgress : CGFloat = 0.0
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
/Users/admin/builder/spi-builder-workspace/Sources/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/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/Views/BillboardCountdownView.swift:22:20: error: 'View' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:112:31: error: 'View' is only available in macOS 10.15 or newer
109 |
110 |
111 | struct BillboardCountdownView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
112 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
113 | ZStack {
114 | BillboardSamples.sampleDefaultAd.background.ignoresSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:60:9: error: 'ZStack' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
58 | })
59 | #else
60 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | Circle()
62 | .stroke(.quinary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:61:13: error: 'Circle' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
59 | #else
60 | ZStack {
61 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | .stroke(.quinary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
63 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:62:18: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
60 | ZStack {
61 | Circle()
62 | .stroke(.quinary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
63 |
64 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:62:26: error: 'quinary' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
60 | ZStack {
61 | Circle()
62 | .stroke(.quinary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'quinary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
63 |
64 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:62:42: error: 'StrokeStyle' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
60 | ZStack {
61 | Circle()
62 | .stroke(.quinary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 |
64 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:65:13: error: 'Circle' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
63 |
64 |
65 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | .trim(from: 0, to: timerProgress)
67 | .stroke(.primary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:66:18: error: 'trim(from:to:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
64 |
65 | Circle()
66 | .trim(from: 0, to: timerProgress)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | .stroke(.primary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
68 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:67:18: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
65 | Circle()
66 | .trim(from: 0, to: timerProgress)
67 | .stroke(.primary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
68 |
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:67:26: error: 'primary' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
65 | Circle()
66 | .trim(from: 0, to: timerProgress)
67 | .stroke(.primary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
68 |
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:67:42: error: 'StrokeStyle' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
65 | Circle()
66 | .trim(from: 0, to: timerProgress)
67 | .stroke(.primary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 |
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:70:13: error: 'Text' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
68 |
69 |
70 | Text("\(seconds, specifier: "%.0f")")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:70:13: error: 'init(_:tableName:bundle:comment:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
68 |
69 |
70 | Text("\(seconds, specifier: "%.0f")")
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:70:18: error: 'LocalizedStringKey' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
68 |
69 |
70 | Text("\(seconds, specifier: "%.0f")")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:70:20: warning: conformance of 'Double' to '_FormatSpecifiable' 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 BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
68 |
69 |
70 | Text("\(seconds, specifier: "%.0f")")
| |- warning: conformance of 'Double' to '_FormatSpecifiable' 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
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:71:18: error: 'font' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
69 |
70 | Text("\(seconds, specifier: "%.0f")")
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:71:24: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
69 |
70 | Text("\(seconds, specifier: "%.0f")")
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:71:75: error: 'monospacedDigit()' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
69 |
70 | Text("\(seconds, specifier: "%.0f")")
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
| |- error: 'monospacedDigit()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:72:18: error: 'rotationEffect(_:anchor:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
70 | Text("\(seconds, specifier: "%.0f")")
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | .minimumScaleFactor(0.5)
74 | .animation(.default, value: seconds)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:73:18: error: 'minimumScaleFactor' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
| |- error: 'minimumScaleFactor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | .animation(.default, value: seconds)
75 | .transition(.identity)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:74:18: error: 'animation(_:value:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
74 | .animation(.default, value: seconds)
| |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | .transition(.identity)
76 | .contentTransition(.numericText(value: seconds))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:74:29: error: 'default' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
74 | .animation(.default, value: seconds)
| |- error: 'default' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | .transition(.identity)
76 | .contentTransition(.numericText(value: seconds))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:75:18: error: 'transition' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
73 | .minimumScaleFactor(0.5)
74 | .animation(.default, value: seconds)
75 | .transition(.identity)
| |- error: 'transition' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
76 | .contentTransition(.numericText(value: seconds))
77 | .onReceive(timer) { _ in
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:75:30: error: 'identity' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
73 | .minimumScaleFactor(0.5)
74 | .animation(.default, value: seconds)
75 | .transition(.identity)
| |- error: 'identity' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
76 | .contentTransition(.numericText(value: seconds))
77 | .onReceive(timer) { _ in
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:76:18: error: 'contentTransition' is only available in macOS 13.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
74 | .animation(.default, value: seconds)
75 | .transition(.identity)
76 | .contentTransition(.numericText(value: seconds))
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
77 | .onReceive(timer) { _ in
78 | if seconds > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:76:37: error: 'numericText(value:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
74 | .animation(.default, value: seconds)
75 | .transition(.identity)
76 | .contentTransition(.numericText(value: seconds))
| |- error: 'numericText(value:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
77 | .onReceive(timer) { _ in
78 | if seconds > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:77:18: error: 'onReceive(_:perform:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
75 | .transition(.identity)
76 | .contentTransition(.numericText(value: seconds))
77 | .onReceive(timer) { _ in
| |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | if seconds > 0 {
79 | seconds -= 1
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:79:25: error: cannot pass as inout because setter for 'seconds' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
77 | .onReceive(timer) { _ in
78 | if seconds > 0 {
79 | seconds -= 1
| |- error: cannot pass as inout because setter for 'seconds' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | }
81 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:86:10: error: 'foregroundStyle' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
84 | .foregroundStyle(.primary)
85 | #else
86 | .foregroundStyle(advert.tint)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
87 | #endif
88 | .rotationEffect(.degrees(-90))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:88:10: error: 'rotationEffect(_:anchor:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
86 | .foregroundStyle(advert.tint)
87 | #endif
88 | .rotationEffect(.degrees(-90))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
89 | .frame(width: 32, height: 32)
90 | .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:89:10: error: 'frame(width:height:alignment:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
87 | #endif
88 | .rotationEffect(.degrees(-90))
89 | .frame(width: 32, height: 32)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | .onAppear {
91 | seconds = totalDuration
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:90:10: error: 'onAppear(perform:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
88 | .rotationEffect(.degrees(-90))
89 | .frame(width: 32, height: 32)
90 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | seconds = totalDuration
92 | withAnimation(.linear(duration: totalDuration)) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:91:13: error: setter for 'seconds' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
89 | .frame(width: 32, height: 32)
90 | .onAppear {
91 | seconds = totalDuration
| |- error: setter for 'seconds' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | withAnimation(.linear(duration: totalDuration)) {
93 | timerProgress = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:92:13: error: 'withAnimation' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
90 | .onAppear {
91 | seconds = totalDuration
92 | withAnimation(.linear(duration: totalDuration)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | timerProgress = 1.0
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:92:28: error: 'linear(duration:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
90 | .onAppear {
91 | seconds = totalDuration
92 | withAnimation(.linear(duration: totalDuration)) {
| |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | timerProgress = 1.0
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:93:17: error: setter for 'timerProgress' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
91 | seconds = totalDuration
92 | withAnimation(.linear(duration: totalDuration)) {
93 | timerProgress = 1.0
| |- error: setter for 'timerProgress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:96:10: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
94 | }
95 | }
96 | .onChange(of: seconds, {
| |- error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
97 | if seconds < 1 {
98 | canDismiss = true
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:98:17: error: setter for 'canDismiss' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
96 | .onChange(of: seconds, {
97 | if seconds < 1 {
98 | canDismiss = true
| |- error: setter for 'canDismiss' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
99 | }
100 | })
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:101:10: error: 'onTapGesture(count:perform:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
99 | }
100 | })
101 | .onTapGesture {
| |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | #if DEBUG
103 | canDismiss = true
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:103:13: error: setter for 'canDismiss' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
101 | .onTapGesture {
102 | #if DEBUG
103 | canDismiss = true
| |- error: setter for 'canDismiss' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | #endif
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:113:9: error: 'ZStack' is only available in macOS 10.15 or newer
109 |
110 |
111 | struct BillboardCountdownView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
112 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
113 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | BillboardSamples.sampleDefaultAd.background.ignoresSafeArea()
115 | BillboardCountdownView(advert: BillboardSamples.sampleDefaultAd, totalDuration: 15.0, canDismiss: .constant(false))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:114:57: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
109 |
110 |
111 | struct BillboardCountdownView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
112 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
113 | ZStack {
114 | BillboardSamples.sampleDefaultAd.background.ignoresSafeArea()
| |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
115 | BillboardCountdownView(advert: BillboardSamples.sampleDefaultAd, totalDuration: 15.0, canDismiss: .constant(false))
116 | }
[30/30] Compiling Billboard BillboardCountdownView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:38:31: error: 'View' is only available in macOS 10.15 or newer
35 | }
36 |
37 | struct BillboardAdInfoLabel_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
38 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
39 | BillboardAdInfoLabel(advert: BillboardSamples.sampleDefaultAd)
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:24:9: 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 BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
22 | .background(advert.tint.quinary, in: .capsule)
23 | #else
24 | 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
25 | Text("AD")
26 | .font(.system(size: 10, weight: .heavy, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:24:9: error: 'ZStack' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
22 | .background(advert.tint.quinary, in: .capsule)
23 | #else
24 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | Text("AD")
26 | .font(.system(size: 10, weight: .heavy, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:25:13: error: 'Text' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
23 | #else
24 | ZStack {
25 | Text("AD")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .font(.system(size: 10, weight: .heavy, design: .rounded))
27 | .foregroundColor(advert.tint)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:26:18: error: 'font' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
24 | ZStack {
25 | Text("AD")
26 | .font(.system(size: 10, weight: .heavy, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .foregroundColor(advert.tint)
28 | .offset(x:0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:26:24: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
24 | ZStack {
25 | Text("AD")
26 | .font(.system(size: 10, weight: .heavy, design: .rounded))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
27 | .foregroundColor(advert.tint)
28 | .offset(x:0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:27:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
25 | Text("AD")
26 | .font(.system(size: 10, weight: .heavy, design: .rounded))
27 | .foregroundColor(advert.tint)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .offset(x:0.5)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:28:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
26 | .font(.system(size: 10, weight: .heavy, design: .rounded))
27 | .foregroundColor(advert.tint)
28 | .offset(x:0.5)
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 | .frame(width: 26, height: 16)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:30:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
28 | .offset(x:0.5)
29 | }
30 | .frame(width: 26, height: 16)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | .background(advert.tint.quinary, in: .capsule)
32 | .accessibilityLabel(Text("Advertisement"))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:31:10: error: 'background(_:in:fillStyle:)' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
29 | }
30 | .frame(width: 26, height: 16)
31 | .background(advert.tint.quinary, in: .capsule)
| |- error: 'background(_:in:fillStyle:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
32 | .accessibilityLabel(Text("Advertisement"))
33 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:31:33: error: 'quinary' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
29 | }
30 | .frame(width: 26, height: 16)
31 | .background(advert.tint.quinary, in: .capsule)
| |- error: 'quinary' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
32 | .accessibilityLabel(Text("Advertisement"))
33 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:31:47: error: 'capsule' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
29 | }
30 | .frame(width: 26, height: 16)
31 | .background(advert.tint.quinary, in: .capsule)
| |- error: 'capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | .accessibilityLabel(Text("Advertisement"))
33 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:32:10: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
30 | .frame(width: 26, height: 16)
31 | .background(advert.tint.quinary, in: .capsule)
32 | .accessibilityLabel(Text("Advertisement"))
| |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
33 | #endif
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:32:29: error: 'Text' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardAdInfoLabel: 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 | #if os(tvOS)
15 | Text("AD")
:
30 | .frame(width: 26, height: 16)
31 | .background(advert.tint.quinary, in: .capsule)
32 | .accessibilityLabel(Text("Advertisement"))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | #endif
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardAdInfoLabel.swift:13:25: 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 BillboardAdInfoLabel: View {
| `- note: add '@available' attribute to enclosing struct
11 | let advert : BillboardAd
12 |
13 | var body: some View {
| | |- 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
| `- note: add '@available' attribute to enclosing property
14 | #if os(tvOS)
15 | Text("AD")
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:11:20: error: 'accessibilityReduceMotion' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
| `- error: 'accessibilityReduceMotion' is only available in macOS 10.15 or newer
12 | @Environment(\.openURL) private var openURL
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:12:20: error: 'openURL' is only available in macOS 11.0 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
| `- error: 'openURL' is only available in macOS 11.0 or newer
13 |
14 | let advert : BillboardAd
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:20:34: error: cannot find type 'UIImage' in scope
18 |
19 | @State private var canDismiss = false
20 | @State private var appIcon : UIImage? = nil
| `- error: cannot find type 'UIImage' in scope
21 | @State private var showAdvertisement = true
22 | @State private var loadingNewIcon = true
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:11:6: error: 'Environment' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
| `- error: 'Environment' is only available in macOS 10.15 or newer
12 | @Environment(\.openURL) private var openURL
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:12:6: error: 'Environment' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
| `- error: 'Environment' is only available in macOS 10.15 or newer
13 |
14 | let advert : BillboardAd
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
17 | let hideDismissButtonAndTimer : Bool
18 |
19 | @State private var canDismiss = false
| `- error: 'State' is only available in macOS 10.15 or newer
20 | @State private var appIcon : UIImage? = nil
21 | @State private var showAdvertisement = true
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
18 |
19 | @State private var canDismiss = false
20 | @State private var appIcon : UIImage? = nil
| `- error: 'State' is only available in macOS 10.15 or newer
21 | @State private var showAdvertisement = true
22 | @State private var loadingNewIcon = true
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:21:6: error: 'State' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
19 | @State private var canDismiss = false
20 | @State private var appIcon : UIImage? = nil
21 | @State private var showAdvertisement = true
| `- error: 'State' is only available in macOS 10.15 or newer
22 | @State private var loadingNewIcon = true
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
20 | @State private var appIcon : UIImage? = nil
21 | @State private var showAdvertisement = true
22 | @State private var loadingNewIcon = true
| `- error: 'State' is only available in macOS 10.15 or newer
23 |
24 | public init(advert: BillboardAd, config: BillboardConfiguration = BillboardConfiguration(), includeShadow: Bool = true, hideDismissButtonAndTimer: Bool = false) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:31:27: error: 'View' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
29 | }
30 |
31 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
32 | #if os(tvOS)
33 | ZStack(alignment: .trailing) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:346:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
344 | }
345 |
346 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
347 | VStack {
348 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:347:5: error: 'VStack' is only available in macOS 10.15 or newer
345 |
346 | #Preview {
347 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
348 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
349 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd, hideDismissButtonAndTimer: true)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:351:6: error: 'padding' is only available in macOS 10.15 or newer
349 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd, hideDismissButtonAndTimer: true)
350 | }
351 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
352 | }
353 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardTextView.swift:65:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
63 | }
64 |
65 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
66 | BillboardTextView(advert: BillboardSamples.sampleDefaultAd)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:210:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
208 |
209 |
210 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
211 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
212 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:212:9: error: 'VStack' is only available in macOS 10.15 or newer
210 | #Preview {
211 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
212 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
213 | Spacer()
214 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:213:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
211 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
212 | VStack {
213 | 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
214 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
215 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:213:13: error: 'Spacer' is only available in macOS 10.15 or newer
211 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
212 | VStack {
213 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
214 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
215 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:215:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
213 | Spacer()
214 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
215 | 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
216 | }
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:215:13: error: 'Spacer' is only available in macOS 10.15 or newer
213 | Spacer()
214 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
215 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
216 | }
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:212:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
210 | #Preview {
211 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
212 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
213 | Spacer()
214 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardView.swift:212:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
210 | #Preview {
211 | BillboardView(advert: BillboardSamples.sampleDefaultAd) {
212 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
213 | Spacer()
214 | BillboardBannerView(advert: BillboardSamples.sampleDefaultAd)
/Users/admin/builder/spi-builder-workspace/Sources/Views/DefaultAdView.swift:86:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
84 | }
85 |
86 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
87 | DefaultAdView(advert: BillboardSamples.sampleDefaultAd)
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:283:33: error: cannot find 'haptics' in scope
281 | Button("Dismiss advertisement", systemImage: "xmark.circle.fill") {
282 | if config.allowHaptics {
283 | haptics(.light)
| `- error: cannot find 'haptics' in scope
284 | }
285 | showAdvertisement = false
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:331:17: error: setter for 'loadingNewIcon' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
328 |
329 |
330 | private func fetchAppIcon() async {
| `- note: add '@available' attribute to enclosing instance method
331 | defer { loadingNewIcon = false }
| |- error: setter for 'loadingNewIcon' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
332 | do {
333 | loadingNewIcon = true
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:333:13: error: setter for 'loadingNewIcon' is only available in macOS 10.15 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
328 |
329 |
330 | private func fetchAppIcon() async {
| `- note: add '@available' attribute to enclosing instance method
331 | defer { loadingNewIcon = false }
332 | do {
333 | loadingNewIcon = true
| |- error: setter for 'loadingNewIcon' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
334 | let imageData = try await advert.getAppIcon()
335 | if let imageData {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:337:31: error: cannot find 'UIImage' in scope
335 | if let imageData {
336 | await MainActor.run {
337 | appIcon = UIImage(data: imageData)
| `- error: cannot find 'UIImage' in scope
338 | }
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/Utilities/Logger+Ext.swift:12:28: error: 'Logger' is only available in macOS 11.0 or newer
8 | import OSLog
9 |
10 | extension Logger {
| `- note: add '@available' attribute to enclosing extension
11 | /// Logs coming from the Billboard SPM
12 | static let billboard = Logger(subsystem: Bundle.main.bundleIdentifier ?? "Billboard Package", category: "Billboard")
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add '@available' attribute to enclosing static property
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:341:13: error: 'Logger' is only available in macOS 11.0 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
328 |
329 |
330 | private func fetchAppIcon() async {
| `- note: add '@available' attribute to enclosing instance method
331 | defer { loadingNewIcon = false }
332 | do {
:
339 | }
340 | } catch {
341 | Logger.billboard.error("\(error.localizedDescription)")
| |- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
342 | }
343 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:341:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
328 |
329 |
330 | private func fetchAppIcon() async {
| `- note: add '@available' attribute to enclosing instance method
331 | defer { loadingNewIcon = false }
332 | do {
:
339 | }
340 | } catch {
341 | Logger.billboard.error("\(error.localizedDescription)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
342 | }
343 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardBannerView.swift:341:38: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
8 | import OSLog
9 |
10 | public struct BillboardBannerView : View {
| `- note: add '@available' attribute to enclosing struct
11 | @Environment(\.accessibilityReduceMotion) private var reducedMotion
12 | @Environment(\.openURL) private var openURL
:
328 |
329 |
330 | private func fetchAppIcon() async {
| `- note: add '@available' attribute to enclosing instance method
331 | defer { loadingNewIcon = false }
332 | do {
:
339 | }
340 | } catch {
341 | Logger.billboard.error("\(error.localizedDescription)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
342 | }
343 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:14:6: error: 'Binding' 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
13 | let totalDuration : TimeInterval
14 | @Binding var canDismiss : Bool
| `- error: 'Binding' is only available in macOS 10.15 or newer
15 |
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:17:6: error: 'State' 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
:
15 |
16 |
17 | @State private var seconds : Double = 15
| `- error: 'State' is only available in macOS 10.15 or newer
18 | @State private var timerProgress : CGFloat = 0.0
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:18:6: error: 'State' 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
:
16 |
17 | @State private var seconds : Double = 15
18 | @State private var timerProgress : CGFloat = 0.0
| `- error: 'State' is only available in macOS 10.15 or newer
19 |
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
/Users/admin/builder/spi-builder-workspace/Sources/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/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/Views/BillboardCountdownView.swift:22:20: error: 'View' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:112:31: error: 'View' is only available in macOS 10.15 or newer
109 |
110 |
111 | struct BillboardCountdownView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
112 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
113 | ZStack {
114 | BillboardSamples.sampleDefaultAd.background.ignoresSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:60:9: error: 'ZStack' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
58 | })
59 | #else
60 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | Circle()
62 | .stroke(.quinary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:61:13: error: 'Circle' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
59 | #else
60 | ZStack {
61 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | .stroke(.quinary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
63 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:62:18: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
60 | ZStack {
61 | Circle()
62 | .stroke(.quinary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
63 |
64 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:62:26: error: 'quinary' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
60 | ZStack {
61 | Circle()
62 | .stroke(.quinary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'quinary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
63 |
64 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:62:42: error: 'StrokeStyle' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
60 | ZStack {
61 | Circle()
62 | .stroke(.quinary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 |
64 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:65:13: error: 'Circle' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
63 |
64 |
65 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | .trim(from: 0, to: timerProgress)
67 | .stroke(.primary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:66:18: error: 'trim(from:to:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
64 |
65 | Circle()
66 | .trim(from: 0, to: timerProgress)
| |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | .stroke(.primary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
68 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:67:18: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
65 | Circle()
66 | .trim(from: 0, to: timerProgress)
67 | .stroke(.primary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
68 |
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:67:26: error: 'primary' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
65 | Circle()
66 | .trim(from: 0, to: timerProgress)
67 | .stroke(.primary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'primary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
68 |
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:67:42: error: 'StrokeStyle' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
65 | Circle()
66 | .trim(from: 0, to: timerProgress)
67 | .stroke(.primary, style: StrokeStyle(lineWidth: 4, lineCap: .round, lineJoin: .round))
| |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 |
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:70:13: error: 'Text' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
68 |
69 |
70 | Text("\(seconds, specifier: "%.0f")")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:70:13: error: 'init(_:tableName:bundle:comment:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
68 |
69 |
70 | Text("\(seconds, specifier: "%.0f")")
| |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:70:18: error: 'LocalizedStringKey' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
68 |
69 |
70 | Text("\(seconds, specifier: "%.0f")")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:70:20: warning: conformance of 'Double' to '_FormatSpecifiable' 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 BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
68 |
69 |
70 | Text("\(seconds, specifier: "%.0f")")
| |- warning: conformance of 'Double' to '_FormatSpecifiable' 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
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:71:18: error: 'font' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
69 |
70 | Text("\(seconds, specifier: "%.0f")")
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:71:24: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
69 |
70 | Text("\(seconds, specifier: "%.0f")")
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:71:75: error: 'monospacedDigit()' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
69 |
70 | Text("\(seconds, specifier: "%.0f")")
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
| |- error: 'monospacedDigit()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:72:18: error: 'rotationEffect(_:anchor:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
70 | Text("\(seconds, specifier: "%.0f")")
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | .minimumScaleFactor(0.5)
74 | .animation(.default, value: seconds)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:73:18: error: 'minimumScaleFactor' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
71 | .font(.system(.caption, design: .rounded, weight: .heavy).monospacedDigit())
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
| |- error: 'minimumScaleFactor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | .animation(.default, value: seconds)
75 | .transition(.identity)
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:74:18: error: 'animation(_:value:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
74 | .animation(.default, value: seconds)
| |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | .transition(.identity)
76 | .contentTransition(.numericText(value: seconds))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:74:29: error: 'default' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
72 | .rotationEffect(.degrees(90))
73 | .minimumScaleFactor(0.5)
74 | .animation(.default, value: seconds)
| |- error: 'default' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | .transition(.identity)
76 | .contentTransition(.numericText(value: seconds))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:75:18: error: 'transition' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
73 | .minimumScaleFactor(0.5)
74 | .animation(.default, value: seconds)
75 | .transition(.identity)
| |- error: 'transition' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
76 | .contentTransition(.numericText(value: seconds))
77 | .onReceive(timer) { _ in
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:75:30: error: 'identity' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
73 | .minimumScaleFactor(0.5)
74 | .animation(.default, value: seconds)
75 | .transition(.identity)
| |- error: 'identity' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
76 | .contentTransition(.numericText(value: seconds))
77 | .onReceive(timer) { _ in
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:76:18: error: 'contentTransition' is only available in macOS 13.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
74 | .animation(.default, value: seconds)
75 | .transition(.identity)
76 | .contentTransition(.numericText(value: seconds))
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
77 | .onReceive(timer) { _ in
78 | if seconds > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:76:37: error: 'numericText(value:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
74 | .animation(.default, value: seconds)
75 | .transition(.identity)
76 | .contentTransition(.numericText(value: seconds))
| |- error: 'numericText(value:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
77 | .onReceive(timer) { _ in
78 | if seconds > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:77:18: error: 'onReceive(_:perform:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
75 | .transition(.identity)
76 | .contentTransition(.numericText(value: seconds))
77 | .onReceive(timer) { _ in
| |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | if seconds > 0 {
79 | seconds -= 1
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:79:25: error: cannot pass as inout because setter for 'seconds' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
77 | .onReceive(timer) { _ in
78 | if seconds > 0 {
79 | seconds -= 1
| |- error: cannot pass as inout because setter for 'seconds' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | }
81 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:86:10: error: 'foregroundStyle' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
84 | .foregroundStyle(.primary)
85 | #else
86 | .foregroundStyle(advert.tint)
| |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
87 | #endif
88 | .rotationEffect(.degrees(-90))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:88:10: error: 'rotationEffect(_:anchor:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
86 | .foregroundStyle(advert.tint)
87 | #endif
88 | .rotationEffect(.degrees(-90))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
89 | .frame(width: 32, height: 32)
90 | .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:89:10: error: 'frame(width:height:alignment:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
87 | #endif
88 | .rotationEffect(.degrees(-90))
89 | .frame(width: 32, height: 32)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | .onAppear {
91 | seconds = totalDuration
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:90:10: error: 'onAppear(perform:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
88 | .rotationEffect(.degrees(-90))
89 | .frame(width: 32, height: 32)
90 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
91 | seconds = totalDuration
92 | withAnimation(.linear(duration: totalDuration)) {
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:91:13: error: setter for 'seconds' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
89 | .frame(width: 32, height: 32)
90 | .onAppear {
91 | seconds = totalDuration
| |- error: setter for 'seconds' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | withAnimation(.linear(duration: totalDuration)) {
93 | timerProgress = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:92:13: error: 'withAnimation' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
90 | .onAppear {
91 | seconds = totalDuration
92 | withAnimation(.linear(duration: totalDuration)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | timerProgress = 1.0
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:92:28: error: 'linear(duration:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
90 | .onAppear {
91 | seconds = totalDuration
92 | withAnimation(.linear(duration: totalDuration)) {
| |- error: 'linear(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | timerProgress = 1.0
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:93:17: error: setter for 'timerProgress' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
91 | seconds = totalDuration
92 | withAnimation(.linear(duration: totalDuration)) {
93 | timerProgress = 1.0
| |- error: setter for 'timerProgress' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:96:10: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardCountdownView : View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | let advert : BillboardAd
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
94 | }
95 | }
96 | .onChange(of: seconds, {
| |- error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
97 | if seconds < 1 {
98 | canDismiss = true
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:98:17: error: setter for 'canDismiss' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
96 | .onChange(of: seconds, {
97 | if seconds < 1 {
98 | canDismiss = true
| |- error: setter for 'canDismiss' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
99 | }
100 | })
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:101:10: error: 'onTapGesture(count:perform:)' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
99 | }
100 | })
101 | .onTapGesture {
| |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
102 | #if DEBUG
103 | canDismiss = true
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:103:13: error: setter for 'canDismiss' 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
:
20 | private let timer = Timer.publish(every: 1, on: .main, in: .common).autoconnect()
21 |
22 | var body: some View {
| `- note: add '@available' attribute to enclosing property
23 | #if os(tvOS)
24 | ZStack {
:
101 | .onTapGesture {
102 | #if DEBUG
103 | canDismiss = true
| |- error: setter for 'canDismiss' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | #endif
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:113:9: error: 'ZStack' is only available in macOS 10.15 or newer
109 |
110 |
111 | struct BillboardCountdownView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
112 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
113 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | BillboardSamples.sampleDefaultAd.background.ignoresSafeArea()
115 | BillboardCountdownView(advert: BillboardSamples.sampleDefaultAd, totalDuration: 15.0, canDismiss: .constant(false))
/Users/admin/builder/spi-builder-workspace/Sources/Views/BillboardCountdownView.swift:114:57: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
109 |
110 |
111 | struct BillboardCountdownView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
112 | static var previews: some View {
| `- note: add '@available' attribute to enclosing static property
113 | ZStack {
114 | BillboardSamples.sampleDefaultAd.background.ignoresSafeArea()
| |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
115 | BillboardCountdownView(advert: BillboardSamples.sampleDefaultAd, totalDuration: 15.0, canDismiss: .constant(false))
116 | }
BUILD FAILURE 6.2 macosSpm