Build Information
Failed to build Billboard, reference 1.0.2 (c6c74e
), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 16:35:26 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
| `- note: add 'if #available' version check
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14:16: warning: conformance of 'Color' to 'ShapeStyle' 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 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:15:13: warning: conformance of 'Color' to 'ShapeStyle' 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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
| |- warning: conformance of 'Color' to 'ShapeStyle' 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
16 | .fill(advert.tint.opacity(0.15))
17 | Text("AD")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:15:13: error: 'RoundedRectangle' 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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | .fill(advert.tint.opacity(0.15))
17 | Text("AD")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:16:18: error: 'fill(_:style:)' 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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
17 | Text("AD")
18 | .font(.system(size: 8, weight: .heavy, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:16:35: error: 'opacity' 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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | Text("AD")
18 | .font(.system(size: 8, weight: .heavy, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:17: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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
17 | Text("AD")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .font(.system(size: 8, weight: .heavy, design: .rounded))
19 | .foregroundColor(advert.tint)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:18: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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
17 | Text("AD")
18 | .font(.system(size: 8, weight: .heavy, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .foregroundColor(advert.tint)
20 | .offset(x:0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:18: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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
17 | Text("AD")
18 | .font(.system(size: 8, weight: .heavy, design: .rounded))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
19 | .foregroundColor(advert.tint)
20 | .offset(x:0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:19: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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
:
17 | Text("AD")
18 | .font(.system(size: 8, weight: .heavy, design: .rounded))
19 | .foregroundColor(advert.tint)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | .offset(x:0.5)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:20: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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
:
18 | .font(.system(size: 8, weight: .heavy, design: .rounded))
19 | .foregroundColor(advert.tint)
20 | .offset(x:0.5)
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | }
22 | .frame(width: 22, height: 14)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14:16: warning: conformance of 'Color' to 'ShapeStyle' 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 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:22: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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
:
20 | .offset(x:0.5)
21 | }
22 | .frame(width: 22, height: 14)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
[19/26] Compiling Billboard BillboardAdInfoLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:15: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 | /// Using your bundle identifier is a great way to ensure a unique identifier.
12 | private static var subsystem = Bundle.main.bundleIdentifier!
13 |
14 | /// Logs coming from the Billboard SPM
15 | static let billboard = Logger(subsystem: subsystem, category: "Billboard")
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing static property
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:10:11: error: 'Logger' is only available in macOS 11.0 or newer
8 | import OSLog
9 |
10 | extension Logger {
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
11 | /// Using your bundle identifier is a great way to ensure a unique identifier.
12 | private static var subsystem = Bundle.main.bundleIdentifier!
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct BillboardAdInfoLabel_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
28 | BillboardAdInfoLabel(advert: BillboardSamples.sampleDefaultAd)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14: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 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14:16: warning: conformance of 'Color' to 'ShapeStyle' 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 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14:16: warning: conformance of 'Color' to 'ShapeStyle' 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 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:15:13: warning: conformance of 'Color' to 'ShapeStyle' 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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
| |- warning: conformance of 'Color' to 'ShapeStyle' 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
16 | .fill(advert.tint.opacity(0.15))
17 | Text("AD")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:15:13: error: 'RoundedRectangle' 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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | .fill(advert.tint.opacity(0.15))
17 | Text("AD")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:16:18: error: 'fill(_:style:)' 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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
17 | Text("AD")
18 | .font(.system(size: 8, weight: .heavy, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:16:35: error: 'opacity' 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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | Text("AD")
18 | .font(.system(size: 8, weight: .heavy, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:17: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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
17 | Text("AD")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | .font(.system(size: 8, weight: .heavy, design: .rounded))
19 | .foregroundColor(advert.tint)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:18: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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
17 | Text("AD")
18 | .font(.system(size: 8, weight: .heavy, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .foregroundColor(advert.tint)
20 | .offset(x:0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:18: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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
17 | Text("AD")
18 | .font(.system(size: 8, weight: .heavy, design: .rounded))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
19 | .foregroundColor(advert.tint)
20 | .offset(x:0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:19: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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
:
17 | Text("AD")
18 | .font(.system(size: 8, weight: .heavy, design: .rounded))
19 | .foregroundColor(advert.tint)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | .offset(x:0.5)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:20: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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
:
18 | .font(.system(size: 8, weight: .heavy, design: .rounded))
19 | .foregroundColor(advert.tint)
20 | .offset(x:0.5)
| |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | }
22 | .frame(width: 22, height: 14)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:14:16: warning: conformance of 'Color' to 'ShapeStyle' 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 | ZStack {
| |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
16 | .fill(advert.tint.opacity(0.15))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardAdInfoLabel.swift:22: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 | ZStack {
15 | RoundedRectangle(cornerRadius: 4, style: .continuous)
:
20 | .offset(x:0.5)
21 | }
22 | .frame(width: 22, height: 14)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
[20/26] Compiling Billboard BillboardTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:33:31: error: 'View' is only available in macOS 10.15 or newer
30 | }
31 |
32 | struct BillboardTextView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
33 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
34 | DefaultAdView(advert: BillboardSamples.sampleDefaultAd)
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:14:9: error: 'VStack' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | BillboardAdInfoLabel(advert: advert)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:17:13: error: 'VStack' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:18:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
18 | Text(advert.title)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:18:17: error: 'Text' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
18 | Text(advert.title)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:19:22: error: 'font' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
17 | VStack(spacing: 6) {
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:19:46: error: 'title2' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
17 | VStack(spacing: 6) {
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
| |- error: 'title2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:20:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
21 | .font(.system(.body, design: .rounded))
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:20:17: error: 'Text' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | .font(.system(.body, design: .rounded))
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:21:22: error: 'font' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:21:28: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:17:32: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:17:32: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:24:10: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
22 | }
23 | }
24 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .foregroundColor(advert.text)
26 | .frame(maxWidth: 640)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:25:10: error: 'foregroundColor' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
23 | }
24 | .multilineTextAlignment(.center)
25 | .foregroundColor(advert.text)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .frame(maxWidth: 640)
27 | .padding(.horizontal, 24)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:26:10: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
24 | .multilineTextAlignment(.center)
25 | .foregroundColor(advert.text)
26 | .frame(maxWidth: 640)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .padding(.horizontal, 24)
28 | .padding(.bottom, 64)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:27:10: error: 'padding' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
25 | .foregroundColor(advert.text)
26 | .frame(maxWidth: 640)
27 | .padding(.horizontal, 24)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .padding(.bottom, 64)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:28:10: error: 'padding' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
26 | .frame(maxWidth: 640)
27 | .padding(.horizontal, 24)
28 | .padding(.bottom, 64)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:14:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
13 |
14 | @ViewBuilder var paywall: () -> Content
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
15 |
16 | @State private var showPaywall : Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
14 | @ViewBuilder var paywall: () -> Content
15 |
16 | @State private var showPaywall : Bool = false
| `- error: 'State' is only available in macOS 10.15 or newer
17 | @State private var canDismiss = false
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
15 |
16 | @State private var showPaywall : Bool = false
17 | @State private var canDismiss = false
| `- error: 'State' is only available in macOS 10.15 or newer
18 |
19 | public init(advert: BillboardAd, config: BillboardConfiguration = BillboardConfiguration(), paywall: @escaping () -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:27: error: 'View' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:83:32: error: 'SKOverlay' is unavailable in macOS
81 | //MARK: - App Store Overlay
82 |
83 | private var storeOverlay : SKOverlay {
| `- error: 'SKOverlay' is unavailable in macOS
84 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
85 | let overlay = SKOverlay(configuration: config)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h:36:12: note: 'SKOverlay' has been explicitly marked unavailable here
34 | SK_CLASS_FINAL
35 | API_AVAILABLE(ios(14.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
36 | @interface SKOverlay : NSObject
| `- note: 'SKOverlay' has been explicitly marked unavailable here
37 |
38 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:89:25: error: cannot find 'UIApplication' in scope
87 | }
88 |
89 | private let scene = UIApplication.shared.connectedScenes
| `- error: cannot find 'UIApplication' in scope
90 | .compactMap({ scene -> UIWindow? in
91 | (scene as? UIWindowScene)?.keyWindow
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:90:32: error: cannot find type 'UIWindow' in scope
88 |
89 | private let scene = UIApplication.shared.connectedScenes
90 | .compactMap({ scene -> UIWindow? in
| `- error: cannot find type 'UIWindow' in scope
91 | (scene as? UIWindowScene)?.keyWindow
92 | })
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:91:24: error: cannot find type 'UIWindowScene' in scope
89 | private let scene = UIApplication.shared.connectedScenes
90 | .compactMap({ scene -> UIWindow? in
91 | (scene as? UIWindowScene)?.keyWindow
| `- error: cannot find type 'UIWindowScene' in scope
92 | })
93 | .first?
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:37: error: 'View' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:11:20: error: 'dismiss' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
| `- error: 'dismiss' is only available in macOS 12.0 or newer
12 |
13 | var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:26:9: error: 'ZStack' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | advert.background.ignoresSafeArea()
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:26:28: error: 'top' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | advert.background.ignoresSafeArea()
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:26:33: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
27 | advert.background.ignoresSafeArea()
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:27:31: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
| |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
28 |
29 | if advert.fullscreen {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:29:34: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
28 |
29 | if advert.fullscreen {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | FullScreenAdView(advert: advert)
31 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:31:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
29 | if advert.fullscreen {
30 | FullScreenAdView(advert: advert)
31 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | DefaultAdView(advert: advert)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:35:13: error: 'HStack' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
33 | }
34 |
35 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | Button {
37 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:35:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
33 | }
34 |
35 | HStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
36 | Button {
37 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:36:17: error: 'Button' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
34 |
35 | HStack {
36 | Button {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | showPaywall.toggle()
38 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:36:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
34 |
35 | HStack {
36 | Button {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
37 | showPaywall.toggle()
38 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:37:21: error: cannot pass as inout because setter for 'showPaywall' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
35 | HStack {
36 | Button {
37 | showPaywall.toggle()
| |- error: cannot pass as inout because setter for 'showPaywall' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | } label: {
39 | Text("Remove Ads")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:39:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
37 | showPaywall.toggle()
38 | } label: {
39 | Text("Remove Ads")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
40 | .font(.system(.footnote, design: .rounded))
41 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:39:21: error: 'Text' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
37 | showPaywall.toggle()
38 | } label: {
39 | Text("Remove Ads")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | .font(.system(.footnote, design: .rounded))
41 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:40:26: error: 'font' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
38 | } label: {
39 | Text("Remove Ads")
40 | .font(.system(.footnote, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | .bold()
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:40:32: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
38 | } label: {
39 | Text("Remove Ads")
40 | .font(.system(.footnote, design: .rounded))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
41 | .bold()
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:41:26: error: 'bold()' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
39 | Text("Remove Ads")
40 | .font(.system(.footnote, design: .rounded))
41 | .bold()
| |- error: 'bold()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 | .buttonStyle(.bordered)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:38:26: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
36 | Button {
37 | showPaywall.toggle()
38 | } label: {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
39 | Text("Remove Ads")
40 | .font(.system(.footnote, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:43:18: error: 'buttonStyle' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
41 | .bold()
42 | }
43 | .buttonStyle(.bordered)
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | .controlSize(.small)
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:43:31: error: 'bordered' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
41 | .bold()
42 | }
43 | .buttonStyle(.bordered)
| |- error: 'bordered' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | .controlSize(.small)
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:44:18: error: 'controlSize' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
42 | }
43 | .buttonStyle(.bordered)
44 | .controlSize(.small)
| |- error: 'controlSize' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 |
46 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:46:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
44 | .controlSize(.small)
45 |
46 | 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
47 |
48 | // TimerView
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:46:17: error: 'Spacer' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
44 | .controlSize(.small)
45 |
46 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 |
48 | // TimerView
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:51:26: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
49 | if canDismiss {
50 | BillboardDismissButton()
51 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | #if os(iOS)
53 | if config.allowHaptics {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:49:31: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
47 |
48 | // TimerView
49 | if canDismiss {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | BillboardDismissButton()
51 | .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:58:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
56 | #endif
57 | }
58 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | BillboardCountdownView(advert:advert,
60 | totalDuration: config.duration,
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:35:20: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
33 | }
34 |
35 | HStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
36 | Button {
37 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:35:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
33 | }
34 |
35 | HStack {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
36 | Button {
37 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:64:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
62 | }
63 | }
64 | .frame(height: 40)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .tint(advert.tint)
66 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:65:14: error: 'tint' is only available in macOS 12.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
63 | }
64 | .frame(height: 40)
65 | .tint(advert.tint)
| |- error: 'tint' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
66 | .padding()
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:66:14: error: 'padding' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
64 | .frame(height: 40)
65 | .tint(advert.tint)
66 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | }
68 | .sheet(isPresented: $showPaywall) { paywall() }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:26:33: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
27 | advert.background.ignoresSafeArea()
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:68:10: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
66 | .padding()
67 | }
68 | .sheet(isPresented: $showPaywall) { paywall() }
| |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | .onAppear(perform: displayOverlay)
70 | .onDisappear(perform: dismissOverlay)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:69:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
67 | }
68 | .sheet(isPresented: $showPaywall) { paywall() }
69 | .onAppear(perform: displayOverlay)
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .onDisappear(perform: dismissOverlay)
71 | .onChange(of: showPaywall) { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:70:10: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
68 | .sheet(isPresented: $showPaywall) { paywall() }
69 | .onAppear(perform: displayOverlay)
70 | .onDisappear(perform: dismissOverlay)
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .onChange(of: showPaywall) { newValue in
72 | if newValue {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:71:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
69 | .onAppear(perform: displayOverlay)
70 | .onDisappear(perform: dismissOverlay)
71 | .onChange(of: showPaywall) { newValue in
| |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
72 | if newValue {
73 | dismissOverlay()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:78:10: error: 'statusBarHidden' is unavailable in macOS
76 | }
77 | }
78 | .statusBarHidden(true)
| `- error: 'statusBarHidden' is unavailable in macOS
79 | }
80 |
SwiftUI.View.statusBarHidden:6:27: note: 'statusBarHidden' has been explicitly marked unavailable here
4 | @available(tvOS, unavailable)
5 | @available(watchOS, unavailable)
6 | nonisolated public func statusBarHidden(_ hidden: Bool = true) -> some View
| `- note: 'statusBarHidden' has been explicitly marked unavailable here
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:84:22: error: 'SKOverlay' is unavailable in macOS
82 |
83 | private var storeOverlay : SKOverlay {
84 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
| `- error: 'SKOverlay' is unavailable in macOS
85 | let overlay = SKOverlay(configuration: config)
86 | return overlay
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h:36:12: note: 'SKOverlay' has been explicitly marked unavailable here
34 | SK_CLASS_FINAL
35 | API_AVAILABLE(ios(14.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
36 | @interface SKOverlay : NSObject
| `- note: 'SKOverlay' has been explicitly marked unavailable here
37 |
38 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:85:23: error: 'SKOverlay' is unavailable in macOS
83 | private var storeOverlay : SKOverlay {
84 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
85 | let overlay = SKOverlay(configuration: config)
| `- error: 'SKOverlay' is unavailable in macOS
86 | return overlay
87 | }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h:36:12: note: 'SKOverlay' has been explicitly marked unavailable here
34 | SK_CLASS_FINAL
35 | API_AVAILABLE(ios(14.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
36 | @interface SKOverlay : NSObject
| `- note: 'SKOverlay' has been explicitly marked unavailable here
37 |
38 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:98:19: error: type 'SKOverlay' has no member 'dismiss'
96 | private func dismissOverlay() {
97 | guard let scene else { return }
98 | SKOverlay.dismiss(in: scene)
| `- error: type 'SKOverlay' has no member 'dismiss'
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:103:22: error: value of type 'SKOverlay' has no member 'present'
101 | private func displayOverlay() {
102 | guard let scene else { return }
103 | storeOverlay.present(in: scene)
| `- error: value of type 'SKOverlay' has no member 'present'
104 |
105 | #if os(iOS)
[21/26] Compiling Billboard BillboardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:33:31: error: 'View' is only available in macOS 10.15 or newer
30 | }
31 |
32 | struct BillboardTextView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
33 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
34 | DefaultAdView(advert: BillboardSamples.sampleDefaultAd)
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:14:9: error: 'VStack' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | BillboardAdInfoLabel(advert: advert)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:17:13: error: 'VStack' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:18:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
18 | Text(advert.title)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:18:17: error: 'Text' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
18 | Text(advert.title)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:19:22: error: 'font' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
17 | VStack(spacing: 6) {
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:19:46: error: 'title2' is only available in macOS 11.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
17 | VStack(spacing: 6) {
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
| |- error: 'title2' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:20:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
21 | .font(.system(.body, design: .rounded))
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:20:17: error: 'Text' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | .font(.system(.body, design: .rounded))
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:21:22: error: 'font' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:21:28: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
20 | Text(advert.description)
21 | .font(.system(.body, design: .rounded))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:17:32: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:17:32: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
16 |
17 | VStack(spacing: 6) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
18 | Text(advert.title)
19 | .font(.compatibleSystem(.title2, design: .rounded, weight: .heavy))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:24:10: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
22 | }
23 | }
24 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | .foregroundColor(advert.text)
26 | .frame(maxWidth: 640)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:25:10: error: 'foregroundColor' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
23 | }
24 | .multilineTextAlignment(.center)
25 | .foregroundColor(advert.text)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .frame(maxWidth: 640)
27 | .padding(.horizontal, 24)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:26:10: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
24 | .multilineTextAlignment(.center)
25 | .foregroundColor(advert.text)
26 | .frame(maxWidth: 640)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | .padding(.horizontal, 24)
28 | .padding(.bottom, 64)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:27:10: error: 'padding' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
25 | .foregroundColor(advert.text)
26 | .frame(maxWidth: 640)
27 | .padding(.horizontal, 24)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .padding(.bottom, 64)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardTextView.swift:28:10: error: 'padding' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct BillboardTextView : View {
| `- note: add @available attribute to enclosing struct
11 | let advert: BillboardAd
12 |
13 | var body: some View {
| `- note: add @available attribute to enclosing property
14 | VStack(spacing: 10) {
15 | BillboardAdInfoLabel(advert: advert)
:
26 | .frame(maxWidth: 640)
27 | .padding(.horizontal, 24)
28 | .padding(.bottom, 64)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:14:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
13 |
14 | @ViewBuilder var paywall: () -> Content
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
15 |
16 | @State private var showPaywall : Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
14 | @ViewBuilder var paywall: () -> Content
15 |
16 | @State private var showPaywall : Bool = false
| `- error: 'State' is only available in macOS 10.15 or newer
17 | @State private var canDismiss = false
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:17:6: error: 'State' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
15 |
16 | @State private var showPaywall : Bool = false
17 | @State private var canDismiss = false
| `- error: 'State' is only available in macOS 10.15 or newer
18 |
19 | public init(advert: BillboardAd, config: BillboardConfiguration = BillboardConfiguration(), paywall: @escaping () -> Content) {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:25:27: error: 'View' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:83:32: error: 'SKOverlay' is unavailable in macOS
81 | //MARK: - App Store Overlay
82 |
83 | private var storeOverlay : SKOverlay {
| `- error: 'SKOverlay' is unavailable in macOS
84 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
85 | let overlay = SKOverlay(configuration: config)
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h:36:12: note: 'SKOverlay' has been explicitly marked unavailable here
34 | SK_CLASS_FINAL
35 | API_AVAILABLE(ios(14.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
36 | @interface SKOverlay : NSObject
| `- note: 'SKOverlay' has been explicitly marked unavailable here
37 |
38 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:89:25: error: cannot find 'UIApplication' in scope
87 | }
88 |
89 | private let scene = UIApplication.shared.connectedScenes
| `- error: cannot find 'UIApplication' in scope
90 | .compactMap({ scene -> UIWindow? in
91 | (scene as? UIWindowScene)?.keyWindow
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:90:32: error: cannot find type 'UIWindow' in scope
88 |
89 | private let scene = UIApplication.shared.connectedScenes
90 | .compactMap({ scene -> UIWindow? in
| `- error: cannot find type 'UIWindow' in scope
91 | (scene as? UIWindowScene)?.keyWindow
92 | })
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:91:24: error: cannot find type 'UIWindowScene' in scope
89 | private let scene = UIApplication.shared.connectedScenes
90 | .compactMap({ scene -> UIWindow? in
91 | (scene as? UIWindowScene)?.keyWindow
| `- error: cannot find type 'UIWindowScene' in scope
92 | })
93 | .first?
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:10:37: error: 'View' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardDismissButton.swift:11:20: error: 'dismiss' is only available in macOS 12.0 or newer
8 | import SwiftUI
9 |
10 | struct BillboardDismissButton : View {
| `- note: add @available attribute to enclosing struct
11 | @Environment(\.dismiss) var dismiss
| `- error: 'dismiss' is only available in macOS 12.0 or newer
12 |
13 | var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:26:9: error: 'ZStack' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | advert.background.ignoresSafeArea()
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:26:28: error: 'top' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | advert.background.ignoresSafeArea()
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:26:33: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
27 | advert.background.ignoresSafeArea()
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:27:31: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
| |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
28 |
29 | if advert.fullscreen {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:29:34: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
28 |
29 | if advert.fullscreen {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | FullScreenAdView(advert: advert)
31 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:31:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
29 | if advert.fullscreen {
30 | FullScreenAdView(advert: advert)
31 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | DefaultAdView(advert: advert)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:35:13: error: 'HStack' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
33 | }
34 |
35 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | Button {
37 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:35:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
33 | }
34 |
35 | HStack {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
36 | Button {
37 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:36:17: error: 'Button' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
34 |
35 | HStack {
36 | Button {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | showPaywall.toggle()
38 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:36:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
34 |
35 | HStack {
36 | Button {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
37 | showPaywall.toggle()
38 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:37:21: error: cannot pass as inout because setter for 'showPaywall' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
35 | HStack {
36 | Button {
37 | showPaywall.toggle()
| |- error: cannot pass as inout because setter for 'showPaywall' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | } label: {
39 | Text("Remove Ads")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:39:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
37 | showPaywall.toggle()
38 | } label: {
39 | Text("Remove Ads")
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
40 | .font(.system(.footnote, design: .rounded))
41 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:39:21: error: 'Text' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
37 | showPaywall.toggle()
38 | } label: {
39 | Text("Remove Ads")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | .font(.system(.footnote, design: .rounded))
41 | .bold()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:40:26: error: 'font' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
38 | } label: {
39 | Text("Remove Ads")
40 | .font(.system(.footnote, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | .bold()
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:40:32: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
38 | } label: {
39 | Text("Remove Ads")
40 | .font(.system(.footnote, design: .rounded))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
41 | .bold()
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:41:26: error: 'bold()' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
39 | Text("Remove Ads")
40 | .font(.system(.footnote, design: .rounded))
41 | .bold()
| |- error: 'bold()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 | .buttonStyle(.bordered)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:38:26: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
36 | Button {
37 | showPaywall.toggle()
38 | } label: {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
39 | Text("Remove Ads")
40 | .font(.system(.footnote, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:43:18: error: 'buttonStyle' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
41 | .bold()
42 | }
43 | .buttonStyle(.bordered)
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | .controlSize(.small)
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:43:31: error: 'bordered' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
41 | .bold()
42 | }
43 | .buttonStyle(.bordered)
| |- error: 'bordered' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | .controlSize(.small)
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:44:18: error: 'controlSize' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
42 | }
43 | .buttonStyle(.bordered)
44 | .controlSize(.small)
| |- error: 'controlSize' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 |
46 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:46:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
44 | .controlSize(.small)
45 |
46 | 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
47 |
48 | // TimerView
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:46:17: error: 'Spacer' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
44 | .controlSize(.small)
45 |
46 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 |
48 | // TimerView
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:51:26: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
49 | if canDismiss {
50 | BillboardDismissButton()
51 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | #if os(iOS)
53 | if config.allowHaptics {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:49:31: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
47 |
48 | // TimerView
49 | if canDismiss {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | BillboardDismissButton()
51 | .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:58:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
56 | #endif
57 | }
58 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | BillboardCountdownView(advert:advert,
60 | totalDuration: config.duration,
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:35:20: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
33 | }
34 |
35 | HStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
36 | Button {
37 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:35:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
33 | }
34 |
35 | HStack {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
36 | Button {
37 | showPaywall.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:64:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
62 | }
63 | }
64 | .frame(height: 40)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .tint(advert.tint)
66 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:65:14: error: 'tint' is only available in macOS 12.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
63 | }
64 | .frame(height: 40)
65 | .tint(advert.tint)
| |- error: 'tint' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
66 | .padding()
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:66:14: error: 'padding' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
64 | .frame(height: 40)
65 | .tint(advert.tint)
66 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | }
68 | .sheet(isPresented: $showPaywall) { paywall() }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:26:33: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
27 | advert.background.ignoresSafeArea()
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:68:10: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
66 | .padding()
67 | }
68 | .sheet(isPresented: $showPaywall) { paywall() }
| |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | .onAppear(perform: displayOverlay)
70 | .onDisappear(perform: dismissOverlay)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:69:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
67 | }
68 | .sheet(isPresented: $showPaywall) { paywall() }
69 | .onAppear(perform: displayOverlay)
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .onDisappear(perform: dismissOverlay)
71 | .onChange(of: showPaywall) { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:70:10: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
68 | .sheet(isPresented: $showPaywall) { paywall() }
69 | .onAppear(perform: displayOverlay)
70 | .onDisappear(perform: dismissOverlay)
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .onChange(of: showPaywall) { newValue in
72 | if newValue {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:71:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
8 | import StoreKit
9 |
10 | public struct BillboardView<Content:View>: View {
| `- note: add @available attribute to enclosing generic struct
11 | let advert : BillboardAd
12 | let config : BillboardConfiguration
:
23 | }
24 |
25 | public var body: some View {
| `- note: add @available attribute to enclosing property
26 | ZStack(alignment: .top) {
27 | advert.background.ignoresSafeArea()
:
69 | .onAppear(perform: displayOverlay)
70 | .onDisappear(perform: dismissOverlay)
71 | .onChange(of: showPaywall) { newValue in
| |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
72 | if newValue {
73 | dismissOverlay()
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:78:10: error: 'statusBarHidden' is unavailable in macOS
76 | }
77 | }
78 | .statusBarHidden(true)
| `- error: 'statusBarHidden' is unavailable in macOS
79 | }
80 |
SwiftUI.View.statusBarHidden:6:27: note: 'statusBarHidden' has been explicitly marked unavailable here
4 | @available(tvOS, unavailable)
5 | @available(watchOS, unavailable)
6 | nonisolated public func statusBarHidden(_ hidden: Bool = true) -> some View
| `- note: 'statusBarHidden' has been explicitly marked unavailable here
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:84:22: error: 'SKOverlay' is unavailable in macOS
82 |
83 | private var storeOverlay : SKOverlay {
84 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
| `- error: 'SKOverlay' is unavailable in macOS
85 | let overlay = SKOverlay(configuration: config)
86 | return overlay
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h:36:12: note: 'SKOverlay' has been explicitly marked unavailable here
34 | SK_CLASS_FINAL
35 | API_AVAILABLE(ios(14.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
36 | @interface SKOverlay : NSObject
| `- note: 'SKOverlay' has been explicitly marked unavailable here
37 |
38 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:85:23: error: 'SKOverlay' is unavailable in macOS
83 | private var storeOverlay : SKOverlay {
84 | let config = SKOverlay.AppConfiguration(appIdentifier: advert.appStoreID, position: .bottom)
85 | let overlay = SKOverlay(configuration: config)
| `- error: 'SKOverlay' is unavailable in macOS
86 | return overlay
87 | }
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/StoreKit.framework/Headers/SKOverlay.h:36:12: note: 'SKOverlay' has been explicitly marked unavailable here
34 | SK_CLASS_FINAL
35 | API_AVAILABLE(ios(14.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos) __TVOS_PROHIBITED NS_SWIFT_NONSENDABLE
36 | @interface SKOverlay : NSObject
| `- note: 'SKOverlay' has been explicitly marked unavailable here
37 |
38 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:98:19: error: type 'SKOverlay' has no member 'dismiss'
96 | private func dismissOverlay() {
97 | guard let scene else { return }
98 | SKOverlay.dismiss(in: scene)
| `- error: type 'SKOverlay' has no member 'dismiss'
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Views/BillboardView.swift:103:22: error: value of type 'SKOverlay' has no member 'present'
101 | private func displayOverlay() {
102 | guard let scene else { return }
103 | storeOverlay.present(in: scene)
| `- error: value of type 'SKOverlay' has no member 'present'
104 |
105 | #if os(iOS)
[22/26] Compiling Billboard BillboardSamples.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:10:11: error: 'Color' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
11 | init(hex: String) {
12 | let hex = hex.trimmingCharacters(in: CharacterSet.alphanumerics.inverted)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:27:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension Color {
| `- note: add @available attribute to enclosing extension
11 | init(hex: String) {
| `- note: add @available attribute to enclosing initializer
12 | let hex = hex.trimmingCharacters(in: CharacterSet.alphanumerics.inverted)
13 | var int: UInt64 = 0
:
25 | }
26 |
27 | self.init(
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .sRGB,
29 | red: Double(r) / 255,
[23/26] Compiling Billboard Color+Hex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:10:11: error: 'Color' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
11 | init(hex: String) {
12 | let hex = hex.trimmingCharacters(in: CharacterSet.alphanumerics.inverted)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Color+Hex.swift:27:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension Color {
| `- note: add @available attribute to enclosing extension
11 | init(hex: String) {
| `- note: add @available attribute to enclosing initializer
12 | let hex = hex.trimmingCharacters(in: CharacterSet.alphanumerics.inverted)
13 | var int: UInt64 = 0
:
25 | }
26 |
27 | self.init(
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | .sRGB,
29 | red: Double(r) / 255,
[24/26] Compiling Billboard BillboardAd.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:58:29: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
56 | public let transparent : Bool
57 |
58 | public var background : Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
59 | return Color(hex: self.backgroundColor)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:62:23: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
60 | }
61 |
62 | public var text : Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
63 | return Color(hex: self.textColor)
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:66:23: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
64 | }
65 |
66 | public var tint : Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
67 | return Color(hex: self.tintColor)
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:59:16: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
56 | public let transparent : Bool
57 |
58 | public var background : Color {
| `- note: add @available attribute to enclosing property
59 | return Color(hex: self.backgroundColor)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:63:16: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
60 | }
61 |
62 | public var text : Color {
| `- note: add @available attribute to enclosing property
63 | return Color(hex: self.textColor)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:67:16: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
64 | }
65 |
66 | public var tint : Color {
| `- note: add @available attribute to enclosing property
67 | return Color(hex: self.tintColor)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:81:47: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
73 | }
74 |
75 | public func getAppIcon() async throws -> Data? {
| `- note: add @available attribute to enclosing instance method
76 | guard let appIconURL else { return nil }
77 | let session = URLSession(configuration: BillboardViewModel.networkConfiguration)
:
79 |
80 | do {
81 | let (data, _) = try await session.data(from: appIconURL)
| |- error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
82 | let decoder = JSONDecoder()
83 | let response = try decoder.decode(AppIconResponse.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:34: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
13 | paywall: @escaping () -> V) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:56: error: 'Binding' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
13 | paywall: @escaping () -> V) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:13:80: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
| `- note: add @available attribute to enclosing instance method
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
13 | paywall: @escaping () -> V) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
14 | self.modifier(AdvertisementModifier(showAd: condition, config: configuration, paywall: paywall))
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:20:18: error: 'Binding' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
| `- error: 'Binding' is only available in macOS 10.15 or newer
21 | let config : BillboardConfiguration
22 | let paywall: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:24:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
22 | let paywall: () -> V
23 |
24 | @ObservedObject private var monitor : BillboardViewModel
| `- error: 'ObservedObject' is only available in macOS 10.15 or newer
25 |
26 | init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:26:18: error: 'Binding' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
24 | @ObservedObject private var monitor : BillboardViewModel
25 |
26 | init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
27 | self.showAd = showAd
28 | self.config = config
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:33:6: error: 'State' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
31 | }
32 |
33 | @State private var advertisement: BillboardAd? = nil
| `- error: 'State' is only available in macOS 10.15 or newer
34 | @State private var showPaywall = false
35 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
32 |
33 | @State private var advertisement: BillboardAd? = nil
34 | @State private var showPaywall = false
| `- error: 'State' is only available in macOS 10.15 or newer
35 |
36 | public func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:36:48: error: 'View' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
34 | @State private var showPaywall = false
35 |
36 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
37 | content
38 | .onChange(of: showAd.wrappedValue) { show in
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:18:40: error: 'View' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:14:14: 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 | extension View {
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
| `- note: add @available attribute to enclosing instance method
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
13 | paywall: @escaping () -> V) -> some View {
14 | self.modifier(AdvertisementModifier(showAd: condition, config: configuration, paywall: paywall))
| |- 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
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:14:14: error: 'modifier' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
| `- note: add @available attribute to enclosing instance method
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
13 | paywall: @escaping () -> V) -> some View {
14 | self.modifier(AdvertisementModifier(showAd: condition, config: configuration, paywall: paywall))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:30:9: error: setter for 'monitor' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
24 | @ObservedObject private var monitor : BillboardViewModel
25 |
26 | init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
| `- note: add @available attribute to enclosing initializer
27 | self.showAd = showAd
28 | self.config = config
29 | self.paywall = paywall
30 | self.monitor = BillboardViewModel(configuration: config)
| |- error: setter for 'monitor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:45:45: error: cannot assign to property: '$monitor' is immutable
43 | }
44 | }
45 | .fullScreenCover(item: $monitor.advertisement, onDismiss: { showAd.wrappedValue = false }) { advert in
| `- error: cannot assign to property: '$monitor' is immutable
46 | BillboardView(advert: advert, config: config, paywall: { paywall() })
47 | }
[25/26] Compiling Billboard BillboardAdResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:58:29: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
56 | public let transparent : Bool
57 |
58 | public var background : Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
59 | return Color(hex: self.backgroundColor)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:62:23: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
60 | }
61 |
62 | public var text : Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
63 | return Color(hex: self.textColor)
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:66:23: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
64 | }
65 |
66 | public var tint : Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
67 | return Color(hex: self.tintColor)
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:59:16: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
56 | public let transparent : Bool
57 |
58 | public var background : Color {
| `- note: add @available attribute to enclosing property
59 | return Color(hex: self.backgroundColor)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:63:16: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
60 | }
61 |
62 | public var text : Color {
| `- note: add @available attribute to enclosing property
63 | return Color(hex: self.textColor)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:67:16: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
64 | }
65 |
66 | public var tint : Color {
| `- note: add @available attribute to enclosing property
67 | return Color(hex: self.tintColor)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:81:47: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
73 | }
74 |
75 | public func getAppIcon() async throws -> Data? {
| `- note: add @available attribute to enclosing instance method
76 | guard let appIconURL else { return nil }
77 | let session = URLSession(configuration: BillboardViewModel.networkConfiguration)
:
79 |
80 | do {
81 | let (data, _) = try await session.data(from: appIconURL)
| |- error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
82 | let decoder = JSONDecoder()
83 | let response = try decoder.decode(AppIconResponse.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:34: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
13 | paywall: @escaping () -> V) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:56: error: 'Binding' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
13 | paywall: @escaping () -> V) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:13:80: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
| `- note: add @available attribute to enclosing instance method
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
13 | paywall: @escaping () -> V) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
14 | self.modifier(AdvertisementModifier(showAd: condition, config: configuration, paywall: paywall))
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:20:18: error: 'Binding' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
| `- error: 'Binding' is only available in macOS 10.15 or newer
21 | let config : BillboardConfiguration
22 | let paywall: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:24:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
22 | let paywall: () -> V
23 |
24 | @ObservedObject private var monitor : BillboardViewModel
| `- error: 'ObservedObject' is only available in macOS 10.15 or newer
25 |
26 | init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:26:18: error: 'Binding' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
24 | @ObservedObject private var monitor : BillboardViewModel
25 |
26 | init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
27 | self.showAd = showAd
28 | self.config = config
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:33:6: error: 'State' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
31 | }
32 |
33 | @State private var advertisement: BillboardAd? = nil
| `- error: 'State' is only available in macOS 10.15 or newer
34 | @State private var showPaywall = false
35 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
32 |
33 | @State private var advertisement: BillboardAd? = nil
34 | @State private var showPaywall = false
| `- error: 'State' is only available in macOS 10.15 or newer
35 |
36 | public func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:36:48: error: 'View' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
34 | @State private var showPaywall = false
35 |
36 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
37 | content
38 | .onChange(of: showAd.wrappedValue) { show in
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:18:40: error: 'View' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:14:14: 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 | extension View {
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
| `- note: add @available attribute to enclosing instance method
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
13 | paywall: @escaping () -> V) -> some View {
14 | self.modifier(AdvertisementModifier(showAd: condition, config: configuration, paywall: paywall))
| |- 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
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:14:14: error: 'modifier' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
| `- note: add @available attribute to enclosing instance method
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
13 | paywall: @escaping () -> V) -> some View {
14 | self.modifier(AdvertisementModifier(showAd: condition, config: configuration, paywall: paywall))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:30:9: error: setter for 'monitor' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
24 | @ObservedObject private var monitor : BillboardViewModel
25 |
26 | init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
| `- note: add @available attribute to enclosing initializer
27 | self.showAd = showAd
28 | self.config = config
29 | self.paywall = paywall
30 | self.monitor = BillboardViewModel(configuration: config)
| |- error: setter for 'monitor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:45:45: error: cannot assign to property: '$monitor' is immutable
43 | }
44 | }
45 | .fullScreenCover(item: $monitor.advertisement, onDismiss: { showAd.wrappedValue = false }) { advert in
| `- error: cannot assign to property: '$monitor' is immutable
46 | BillboardView(advert: advert, config: config, paywall: { paywall() })
47 | }
[26/26] Compiling Billboard AdvertisementViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:58:29: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
56 | public let transparent : Bool
57 |
58 | public var background : Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
59 | return Color(hex: self.backgroundColor)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:62:23: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
60 | }
61 |
62 | public var text : Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
63 | return Color(hex: self.textColor)
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:66:23: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
64 | }
65 |
66 | public var tint : Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
67 | return Color(hex: self.tintColor)
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:59:16: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
56 | public let transparent : Bool
57 |
58 | public var background : Color {
| `- note: add @available attribute to enclosing property
59 | return Color(hex: self.backgroundColor)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:63:16: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
60 | }
61 |
62 | public var text : Color {
| `- note: add @available attribute to enclosing property
63 | return Color(hex: self.textColor)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:67:16: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
64 | }
65 |
66 | public var tint : Color {
| `- note: add @available attribute to enclosing property
67 | return Color(hex: self.tintColor)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Models/BillboardAd.swift:81:47: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
10 |
11 |
12 | public struct BillboardAd : Codable, Identifiable, Equatable {
| `- note: add @available attribute to enclosing struct
13 |
14 | public static func == (lhs: BillboardAd, rhs: BillboardAd) -> Bool {
:
73 | }
74 |
75 | public func getAppIcon() async throws -> Data? {
| `- note: add @available attribute to enclosing instance method
76 | guard let appIconURL else { return nil }
77 | let session = URLSession(configuration: BillboardViewModel.networkConfiguration)
:
79 |
80 | do {
81 | let (data, _) = try await session.data(from: appIconURL)
| |- error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
82 | let decoder = JSONDecoder()
83 | let response = try decoder.decode(AppIconResponse.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:34: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
13 | paywall: @escaping () -> V) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:11:56: error: 'Binding' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
13 | paywall: @escaping () -> V) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:13:80: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
| `- note: add @available attribute to enclosing instance method
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
13 | paywall: @escaping () -> V) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
14 | self.modifier(AdvertisementModifier(showAd: condition, config: configuration, paywall: paywall))
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:20:18: error: 'Binding' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
| `- error: 'Binding' is only available in macOS 10.15 or newer
21 | let config : BillboardConfiguration
22 | let paywall: () -> V
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:24:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
22 | let paywall: () -> V
23 |
24 | @ObservedObject private var monitor : BillboardViewModel
| `- error: 'ObservedObject' is only available in macOS 10.15 or newer
25 |
26 | init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:26:18: error: 'Binding' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
24 | @ObservedObject private var monitor : BillboardViewModel
25 |
26 | init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
27 | self.showAd = showAd
28 | self.config = config
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:33:6: error: 'State' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
31 | }
32 |
33 | @State private var advertisement: BillboardAd? = nil
| `- error: 'State' is only available in macOS 10.15 or newer
34 | @State private var showPaywall = false
35 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
32 |
33 | @State private var advertisement: BillboardAd? = nil
34 | @State private var showPaywall = false
| `- error: 'State' is only available in macOS 10.15 or newer
35 |
36 | public func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:36:48: error: 'View' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
34 | @State private var showPaywall = false
35 |
36 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
37 | content
38 | .onChange(of: showAd.wrappedValue) { show in
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:18:40: error: 'View' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:14:14: 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 | extension View {
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
| `- note: add @available attribute to enclosing instance method
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
13 | paywall: @escaping () -> V) -> some View {
14 | self.modifier(AdvertisementModifier(showAd: condition, config: configuration, paywall: paywall))
| |- 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
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:14:14: error: 'modifier' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | extension View {
| `- note: add @available attribute to enclosing extension
11 | public func showBillboard<V: View>(when condition: Binding<Bool>,
| `- note: add @available attribute to enclosing instance method
12 | configuration: BillboardConfiguration = BillboardConfiguration(),
13 | paywall: @escaping () -> V) -> some View {
14 | self.modifier(AdvertisementModifier(showAd: condition, config: configuration, paywall: paywall))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:30:9: error: setter for 'monitor' is only available in macOS 10.15 or newer
16 | }
17 |
18 | public struct AdvertisementModifier<V: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
19 |
20 | let showAd : Binding<Bool>
:
24 | @ObservedObject private var monitor : BillboardViewModel
25 |
26 | init(showAd: Binding<Bool>, config: BillboardConfiguration, paywall: @escaping () -> V) {
| `- note: add @available attribute to enclosing initializer
27 | self.showAd = showAd
28 | self.config = config
29 | self.paywall = paywall
30 | self.monitor = BillboardViewModel(configuration: config)
| |- error: setter for 'monitor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/AdvertisementViewModifier.swift:45:45: error: cannot assign to property: '$monitor' is immutable
43 | }
44 | }
45 | .fullScreenCover(item: $monitor.advertisement, onDismiss: { showAd.wrappedValue = false }) { advert in
| `- error: cannot assign to property: '$monitor' is immutable
46 | BillboardView(advert: advert, config: config, paywall: { paywall() })
47 | }
BUILD FAILURE 6.2 macosSpm