Build Information
Failed to build Billboard, reference main (e40ac4
), with Swift 5.9 for macOS (SPM) on 11 Sep 2024 18:10:34 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:87: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:87: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:105: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:105: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:67:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:67:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:67:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:67:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:73: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:73: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:80:47: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:80:47: note: add 'if #available' version check
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:70: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:70: note: add 'if #available' version check
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:17: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:17: note: add 'if #available' version check
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:40: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:40: note: add 'if #available' version check
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:92: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:92: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:126: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:126: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:97: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:97: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:87: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:87: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:105: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:105: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:99:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:99:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:99:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:99:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:73: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:73: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:112:47: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:112:47: note: add 'if #available' version check
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:92: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:92: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:126: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:126: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:97: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:97: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:87: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:87: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:105: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:105: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:124:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:124:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:124:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:124:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:73: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:73: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:12:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject private var manager = CachedImageManager()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:14:20: error: 'Animation' is only available in macOS 10.15 or newer
let animation: Animation?
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:15:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
let transition: AnyTransition
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:16:19: error: 'AsyncImagePhase' is only available in macOS 12.0 or newer
let content: (AsyncImagePhase) -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:19:21: error: 'Animation' is only available in macOS 10.15 or newer
animation: Animation? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:18:5: note: add @available attribute to enclosing initializer
init(url: String,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:20:22: error: 'AnyTransition' is only available in macOS 10.15 or newer
transition: AnyTransition = .identity,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:18:5: note: add @available attribute to enclosing initializer
init(url: String,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:21:11: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (AsyncImagePhase) -> Content) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:18:5: note: add @available attribute to enclosing initializer
init(url: String,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:21:43: error: 'AsyncImagePhase' is only available in macOS 12.0 or newer
@ViewBuilder content: @escaping (AsyncImagePhase) -> Content) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:18:5: note: add @available attribute to enclosing initializer
init(url: String,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:20:39: error: 'identity' is only available in macOS 10.15 or newer
transition: AnyTransition = .identity,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:18:5: note: add @available attribute to enclosing initializer
init(url: String,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:29:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:29:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:29: error: 'View' is only available in macOS 10.15 or newer
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:59:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:59:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:58:8: note: add @available attribute to enclosing struct
struct CachedImage_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:36:32: error: cannot find 'UIImage' in scope
if let image = UIImage(data: data) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:60:136: error: 'EmptyView' is only available in macOS 10.15 or newer
CachedImage(url: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/RedDot_Burger.jpg/600px-RedDot_Burger.jpg") { _ in EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:60:136: note: add 'if #available' version check
CachedImage(url: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/RedDot_Burger.jpg/600px-RedDot_Burger.jpg") { _ in EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:59:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:58:8: note: add @available attribute to enclosing struct
struct CachedImage_Previews: PreviewProvider {
^
[23/24] Compiling Billboard BillboardViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var advertisement : BillboardAd? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:41: error: 'ObservableObject' is only available in macOS 10.15 or newer
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<BillboardViewModel, BillboardAd?>' cannot be converted to contextual type 'KeyPath<BillboardViewModel, BillboardAd?>'
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:23:16: error: 'multipathServiceType' is unavailable in macOS
config.multipathServiceType = .handover
^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:86:14: note: 'multipathServiceType' has been explicitly marked unavailable here
open var multipathServiceType: URLSessionConfiguration.MultipathServiceType { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:33:19: error: 'MainActor' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:33:19: note: add 'if #available' version check
await MainActor.run {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:29:17: note: add @available attribute to enclosing instance method
public func showAdvertisement() async {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:33:29: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:33:29: note: add 'if #available' version check
await MainActor.run {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:29:17: note: add @available attribute to enclosing instance method
public func showAdvertisement() async {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:34:17: error: setter for 'advertisement' is only available in macOS 10.15 or newer
advertisement = newAd
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:34:17: note: add 'if #available' version check
advertisement = newAd
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:29:17: note: add @available attribute to enclosing instance method
public func showAdvertisement() async {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:48:47: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:48:47: note: add 'if #available' version check
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/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
static let billboard = Logger(subsystem: subsystem, category: "Billboard")
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:15:16: note: add @available attribute to enclosing static property
static let billboard = Logger(subsystem: subsystem, category: "Billboard")
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:55:70: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:55:70: note: add 'if #available' version check
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:55:17: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:55:17: note: add 'if #available' version check
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:55:40: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:55:40: note: add 'if #available' version check
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:92: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:92: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:126: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:126: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:63:97: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:63:97: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:63:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:63:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:63:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:63:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:87: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:87: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:105: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:105: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:67:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:67:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:67:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:67:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:73: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:73: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:80:47: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:80:47: note: add 'if #available' version check
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:70: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:70: note: add 'if #available' version check
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:17: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:17: note: add 'if #available' version check
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:40: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:40: note: add 'if #available' version check
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:92: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:92: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:126: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:126: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:97: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:97: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:87: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:87: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:105: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:105: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:99:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:99:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:99:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:99:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:73: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:73: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:112:47: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:112:47: note: add 'if #available' version check
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:92: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:92: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:126: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:126: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:97: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:97: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:87: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:87: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:105: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:105: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:124:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:124:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:124:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:124:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:73: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:73: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:12:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject private var manager = CachedImageManager()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:14:20: error: 'Animation' is only available in macOS 10.15 or newer
let animation: Animation?
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:15:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
let transition: AnyTransition
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:16:19: error: 'AsyncImagePhase' is only available in macOS 12.0 or newer
let content: (AsyncImagePhase) -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:19:21: error: 'Animation' is only available in macOS 10.15 or newer
animation: Animation? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:18:5: note: add @available attribute to enclosing initializer
init(url: String,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:20:22: error: 'AnyTransition' is only available in macOS 10.15 or newer
transition: AnyTransition = .identity,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:18:5: note: add @available attribute to enclosing initializer
init(url: String,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:21:11: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (AsyncImagePhase) -> Content) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:18:5: note: add @available attribute to enclosing initializer
init(url: String,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:21:43: error: 'AsyncImagePhase' is only available in macOS 12.0 or newer
@ViewBuilder content: @escaping (AsyncImagePhase) -> Content) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:18:5: note: add @available attribute to enclosing initializer
init(url: String,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:20:39: error: 'identity' is only available in macOS 10.15 or newer
transition: AnyTransition = .identity,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:18:5: note: add @available attribute to enclosing initializer
init(url: String,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:29:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:29:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:29: error: 'View' is only available in macOS 10.15 or newer
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:59:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:59:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:58:8: note: add @available attribute to enclosing struct
struct CachedImage_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:36:32: error: cannot find 'UIImage' in scope
if let image = UIImage(data: data) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:60:136: error: 'EmptyView' is only available in macOS 10.15 or newer
CachedImage(url: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/RedDot_Burger.jpg/600px-RedDot_Burger.jpg") { _ in EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:60:136: note: add 'if #available' version check
CachedImage(url: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/RedDot_Burger.jpg/600px-RedDot_Burger.jpg") { _ in EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:59:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:58:8: note: add @available attribute to enclosing struct
struct CachedImage_Previews: PreviewProvider {
^
[24/24] Compiling Billboard CachedImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
@Published public var advertisement : BillboardAd? = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:41: error: 'ObservableObject' is only available in macOS 10.15 or newer
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<BillboardViewModel, BillboardAd?>' cannot be converted to contextual type 'KeyPath<BillboardViewModel, BillboardAd?>'
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:23:16: error: 'multipathServiceType' is unavailable in macOS
config.multipathServiceType = .handover
^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:86:14: note: 'multipathServiceType' has been explicitly marked unavailable here
open var multipathServiceType: URLSessionConfiguration.MultipathServiceType { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:33:19: error: 'MainActor' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:33:19: note: add 'if #available' version check
await MainActor.run {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:29:17: note: add @available attribute to enclosing instance method
public func showAdvertisement() async {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:33:29: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:33:29: note: add 'if #available' version check
await MainActor.run {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:29:17: note: add @available attribute to enclosing instance method
public func showAdvertisement() async {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:34:17: error: setter for 'advertisement' is only available in macOS 10.15 or newer
advertisement = newAd
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:34:17: note: add 'if #available' version check
advertisement = newAd
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:29:17: note: add @available attribute to enclosing instance method
public func showAdvertisement() async {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:48:47: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:48:47: note: add 'if #available' version check
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/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
static let billboard = Logger(subsystem: subsystem, category: "Billboard")
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:15:16: note: add @available attribute to enclosing static property
static let billboard = Logger(subsystem: subsystem, category: "Billboard")
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/Utilities/Logger+Ext.swift:10:1: note: add @available attribute to enclosing extension
extension Logger {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:55:70: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:55:70: note: add 'if #available' version check
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:55:17: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:55:17: note: add 'if #available' version check
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:55:40: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:55:40: note: add 'if #available' version check
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:92: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:92: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:126: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:126: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:61:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:63:97: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:63:97: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:63:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:63:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:63:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:63:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:87: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:87: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:105: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:105: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:65:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:67:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:67:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:67:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:67:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:73: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:73: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:69:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:39:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:80:47: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:80:47: note: add 'if #available' version check
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:70: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:70: note: add 'if #available' version check
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:17: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:17: note: add 'if #available' version check
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:40: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:87:40: note: add 'if #available' version check
Logger.billboard.debug("✨ Billboard Ad presented: \(adToShow.name)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:92: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:92: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:126: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:126: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:93:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:97: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:97: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:95:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:87: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:87: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:105: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:105: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:97:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:99:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:99:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:99:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:99:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:73: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:73: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:101:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:75:24: note: add @available attribute to enclosing static method
public static func fetchRandomAd(from url: URL, excludedIDs: [String] = []) async throws -> BillboardAd? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:112:47: error: 'data(from:delegate:)' is only available in macOS 12.0 or newer
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:112:47: note: add 'if #available' version check
let (data, _) = try await session.data(from: url)
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:92: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:92: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:126: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:126: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:118:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing key '\(key.stringValue)' not found – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:97: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:97: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:120:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to type mismatch – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:87: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:87: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:105: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:105: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:122:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad due to missing \(type) value – \(context.debugDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:124:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:124:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:124:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:124:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad because it appears to be invalid JSON")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:73: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:73: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:13: error: 'Logger' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:13: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:36: error: 'OSLogMessage' is only available in macOS 11.0 or newer
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:126:36: note: add 'if #available' version check
Logger.billboard.error("❌ Failed to decode Billboard Ad: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:107:24: note: add @available attribute to enclosing static method
public static func fetchAllAds(from url: URL) async throws -> [BillboardAd] {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/BillboardViewModel.swift:11:20: note: add @available attribute to enclosing class
public final class BillboardViewModel : ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:12:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject private var manager = CachedImageManager()
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:14:20: error: 'Animation' is only available in macOS 10.15 or newer
let animation: Animation?
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:15:21: error: 'AnyTransition' is only available in macOS 10.15 or newer
let transition: AnyTransition
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:16:19: error: 'AsyncImagePhase' is only available in macOS 12.0 or newer
let content: (AsyncImagePhase) -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:19:21: error: 'Animation' is only available in macOS 10.15 or newer
animation: Animation? = nil,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:18:5: note: add @available attribute to enclosing initializer
init(url: String,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:20:22: error: 'AnyTransition' is only available in macOS 10.15 or newer
transition: AnyTransition = .identity,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:18:5: note: add @available attribute to enclosing initializer
init(url: String,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:21:11: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (AsyncImagePhase) -> Content) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:18:5: note: add @available attribute to enclosing initializer
init(url: String,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:21:43: error: 'AsyncImagePhase' is only available in macOS 12.0 or newer
@ViewBuilder content: @escaping (AsyncImagePhase) -> Content) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:18:5: note: add @available attribute to enclosing initializer
init(url: String,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:20:39: error: 'identity' is only available in macOS 10.15 or newer
transition: AnyTransition = .identity,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:18:5: note: add @available attribute to enclosing initializer
init(url: String,
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:29:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:29:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:29: error: 'View' is only available in macOS 10.15 or newer
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:10:8: note: add @available attribute to enclosing generic struct
struct CachedImage<Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:59:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:59:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:58:8: note: add @available attribute to enclosing struct
struct CachedImage_Previews: PreviewProvider {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:36:32: error: cannot find 'UIImage' in scope
if let image = UIImage(data: data) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:60:136: error: 'EmptyView' is only available in macOS 10.15 or newer
CachedImage(url: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/RedDot_Burger.jpg/600px-RedDot_Burger.jpg") { _ in EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:60:136: note: add 'if #available' version check
CachedImage(url: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/RedDot_Burger.jpg/600px-RedDot_Burger.jpg") { _ in EmptyView() }
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:59:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/Billboard/CachedImage/CachedImage.swift:58:8: note: add @available attribute to enclosing struct
struct CachedImage_Previews: PreviewProvider {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm