Build Information
Failed to build AdomaticBanner, reference v5.9.0 (d7b733), with Swift 6.2 for macOS (SPM) on 30 Nov 2026 22:25:27 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
459 | }
460 |
461 | private struct GenesisCrownView: View {
| `- note: add '@available' attribute to enclosing struct
462 | var width: CGFloat = 9.0
463 | var height: CGFloat = 7.5
464 |
465 | var body: some View {
| `- note: add '@available' attribute to enclosing property
466 | ZStack(alignment: .bottom) {
467 | GeometryReader { geo in
:
475 | endPoint: .bottom
476 | )
477 | let strokeCol = Color(red: 0.57, green: 0.25, blue: 0.05)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
478 |
479 | GenesisCrownBodyShape()
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:480:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
459 | }
460 |
461 | private struct GenesisCrownView: View {
| `- note: add '@available' attribute to enclosing struct
462 | var width: CGFloat = 9.0
463 | var height: CGFloat = 7.5
464 |
465 | var body: some View {
| `- note: add '@available' attribute to enclosing property
466 | ZStack(alignment: .bottom) {
467 | GeometryReader { geo in
:
478 |
479 | GenesisCrownBodyShape()
480 | .fill(goldGradient)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
481 | .overlay(GenesisCrownBodyShape().stroke(strokeCol, lineWidth: 0.5))
482 |
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:481:22: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
459 | }
460 |
461 | private struct GenesisCrownView: View {
| `- note: add '@available' attribute to enclosing struct
462 | var width: CGFloat = 9.0
463 | var height: CGFloat = 7.5
464 |
465 | var body: some View {
| `- note: add '@available' attribute to enclosing property
466 | ZStack(alignment: .bottom) {
467 | GeometryReader { geo in
:
479 | GenesisCrownBodyShape()
480 | .fill(goldGradient)
481 | .overlay(GenesisCrownBodyShape().stroke(strokeCol, lineWidth: 0.5))
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
482 |
483 | RoundedRectangle(cornerRadius: 0.5)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:481:54: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
459 | }
460 |
461 | private struct GenesisCrownView: View {
| `- note: add '@available' attribute to enclosing struct
462 | var width: CGFloat = 9.0
463 | var height: CGFloat = 7.5
464 |
465 | var body: some View {
| `- note: add '@available' attribute to enclosing property
466 | ZStack(alignment: .bottom) {
467 | GeometryReader { geo in
:
479 | GenesisCrownBodyShape()
480 | .fill(goldGradient)
481 | .overlay(GenesisCrownBodyShape().stroke(strokeCol, lineWidth: 0.5))
| |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
482 |
483 | RoundedRectangle(cornerRadius: 0.5)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:483:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
459 | }
460 |
461 | private struct GenesisCrownView: View {
| `- note: add '@available' attribute to enclosing struct
462 | var width: CGFloat = 9.0
463 | var height: CGFloat = 7.5
464 |
465 | var body: some View {
| `- note: add '@available' attribute to enclosing property
466 | ZStack(alignment: .bottom) {
467 | GeometryReader { geo in
:
481 | .overlay(GenesisCrownBodyShape().stroke(strokeCol, lineWidth: 0.5))
482 |
483 | RoundedRectangle(cornerRadius: 0.5)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
484 | .fill(goldGradient)
485 | .overlay(RoundedRectangle(cornerRadius: 0.5).stroke(strokeCol, lineWidth: 0.45))
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:484:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
459 | }
460 |
461 | private struct GenesisCrownView: View {
| `- note: add '@available' attribute to enclosing struct
462 | var width: CGFloat = 9.0
463 | var height: CGFloat = 7.5
464 |
465 | var body: some View {
| `- note: add '@available' attribute to enclosing property
466 | ZStack(alignment: .bottom) {
467 | GeometryReader { geo in
:
482 |
483 | RoundedRectangle(cornerRadius: 0.5)
484 | .fill(goldGradient)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
485 | .overlay(RoundedRectangle(cornerRadius: 0.5).stroke(strokeCol, lineWidth: 0.45))
486 | .frame(width: geo.size.width * 0.64, height: geo.size.height * 0.14)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:485:22: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
459 | }
460 |
461 | private struct GenesisCrownView: View {
| `- note: add '@available' attribute to enclosing struct
462 | var width: CGFloat = 9.0
463 | var height: CGFloat = 7.5
464 |
465 | var body: some View {
| `- note: add '@available' attribute to enclosing property
466 | ZStack(alignment: .bottom) {
467 | GeometryReader { geo in
:
483 | RoundedRectangle(cornerRadius: 0.5)
484 | .fill(goldGradient)
485 | .overlay(RoundedRectangle(cornerRadius: 0.5).stroke(strokeCol, lineWidth: 0.45))
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
486 | .frame(width: geo.size.width * 0.64, height: geo.size.height * 0.14)
487 | .position(x: geo.size.width * 0.50, y: geo.size.height * 0.85)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:485:30: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
459 | }
460 |
461 | private struct GenesisCrownView: View {
| `- note: add '@available' attribute to enclosing struct
462 | var width: CGFloat = 9.0
463 | var height: CGFloat = 7.5
464 |
465 | var body: some View {
| `- note: add '@available' attribute to enclosing property
466 | ZStack(alignment: .bottom) {
467 | GeometryReader { geo in
:
483 | RoundedRectangle(cornerRadius: 0.5)
484 | .fill(goldGradient)
485 | .overlay(RoundedRectangle(cornerRadius: 0.5).stroke(strokeCol, lineWidth: 0.45))
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
486 | .frame(width: geo.size.width * 0.64, height: geo.size.height * 0.14)
487 | .position(x: geo.size.width * 0.50, y: geo.size.height * 0.85)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:485:66: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
459 | }
460 |
461 | private struct GenesisCrownView: View {
| `- note: add '@available' attribute to enclosing struct
462 | var width: CGFloat = 9.0
463 | var height: CGFloat = 7.5
464 |
465 | var body: some View {
| `- note: add '@available' attribute to enclosing property
466 | ZStack(alignment: .bottom) {
467 | GeometryReader { geo in
:
483 | RoundedRectangle(cornerRadius: 0.5)
484 | .fill(goldGradient)
485 | .overlay(RoundedRectangle(cornerRadius: 0.5).stroke(strokeCol, lineWidth: 0.45))
| |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
486 | .frame(width: geo.size.width * 0.64, height: geo.size.height * 0.14)
487 | .position(x: geo.size.width * 0.50, y: geo.size.height * 0.85)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:486:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
459 | }
460 |
461 | private struct GenesisCrownView: View {
| `- note: add '@available' attribute to enclosing struct
462 | var width: CGFloat = 9.0
463 | var height: CGFloat = 7.5
464 |
465 | var body: some View {
| `- note: add '@available' attribute to enclosing property
466 | ZStack(alignment: .bottom) {
467 | GeometryReader { geo in
:
484 | .fill(goldGradient)
485 | .overlay(RoundedRectangle(cornerRadius: 0.5).stroke(strokeCol, lineWidth: 0.45))
486 | .frame(width: geo.size.width * 0.64, height: geo.size.height * 0.14)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
487 | .position(x: geo.size.width * 0.50, y: geo.size.height * 0.85)
488 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:487:22: error: 'position(x:y:)' is only available in macOS 10.15 or newer
459 | }
460 |
461 | private struct GenesisCrownView: View {
| `- note: add '@available' attribute to enclosing struct
462 | var width: CGFloat = 9.0
463 | var height: CGFloat = 7.5
464 |
465 | var body: some View {
| `- note: add '@available' attribute to enclosing property
466 | ZStack(alignment: .bottom) {
467 | GeometryReader { geo in
:
485 | .overlay(RoundedRectangle(cornerRadius: 0.5).stroke(strokeCol, lineWidth: 0.45))
486 | .frame(width: geo.size.width * 0.64, height: geo.size.height * 0.14)
487 | .position(x: geo.size.width * 0.50, y: geo.size.height * 0.85)
| |- error: 'position(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
488 | }
489 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:490:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
459 | }
460 |
461 | private struct GenesisCrownView: View {
| `- note: add '@available' attribute to enclosing struct
462 | var width: CGFloat = 9.0
463 | var height: CGFloat = 7.5
464 |
465 | var body: some View {
| `- note: add '@available' attribute to enclosing property
466 | ZStack(alignment: .bottom) {
467 | GeometryReader { geo in
:
488 | }
489 | }
490 | .frame(width: width, height: height)
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
491 | }
492 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:511:24: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
509 | if theme == "modern_dark" {
510 | base = AdomaticThemePalette(
511 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
512 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
513 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:511:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
509 | if theme == "modern_dark" {
510 | base = AdomaticThemePalette(
511 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
512 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
513 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:512:24: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
510 | base = AdomaticThemePalette(
511 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
512 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
513 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
514 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:512:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
510 | base = AdomaticThemePalette(
511 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
512 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
513 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
514 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:513:25: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
511 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
512 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
513 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
514 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
515 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:513:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
511 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
512 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
513 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
514 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
515 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:514:27: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
512 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
513 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
514 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
515 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
516 | hairlineColor: Color.white.opacity(0.28),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:514:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
512 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
513 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
514 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
515 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
516 | hairlineColor: Color.white.opacity(0.28),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:515:20: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
513 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
514 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
515 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
516 | hairlineColor: Color.white.opacity(0.28),
517 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:515:20: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
513 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
514 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
515 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
516 | hairlineColor: Color.white.opacity(0.28),
517 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:516:28: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
514 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
515 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
516 | hairlineColor: Color.white.opacity(0.28),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
517 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
518 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:516:34: error: 'white' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
514 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
515 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
516 | hairlineColor: Color.white.opacity(0.28),
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
517 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
518 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:516:40: error: 'opacity' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
514 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
515 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
516 | hairlineColor: Color.white.opacity(0.28),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
517 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
518 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:517:26: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
515 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
516 | hairlineColor: Color.white.opacity(0.28),
517 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
518 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
519 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:517:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
515 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
516 | hairlineColor: Color.white.opacity(0.28),
517 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
518 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
519 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:518:25: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
516 | hairlineColor: Color.white.opacity(0.28),
517 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
518 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
519 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
520 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:518:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
516 | hairlineColor: Color.white.opacity(0.28),
517 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
518 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
519 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
520 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:519:27: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
517 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
518 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
519 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
520 | )
521 | } else if theme == "modern_blue" && systemDark {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:519:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
517 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
518 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
519 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
520 | )
521 | } else if theme == "modern_blue" && systemDark {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:523:24: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
521 | } else if theme == "modern_blue" && systemDark {
522 | base = AdomaticThemePalette(
523 | surfaceBg: Color(red: 0.059, green: 0.090, blue: 0.165),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
524 | borderCol: Color(red: 0.118, green: 0.227, blue: 0.373),
525 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:523:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
521 | } else if theme == "modern_blue" && systemDark {
522 | base = AdomaticThemePalette(
523 | surfaceBg: Color(red: 0.059, green: 0.090, blue: 0.165),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
524 | borderCol: Color(red: 0.118, green: 0.227, blue: 0.373),
525 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:524:24: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
522 | base = AdomaticThemePalette(
523 | surfaceBg: Color(red: 0.059, green: 0.090, blue: 0.165),
524 | borderCol: Color(red: 0.118, green: 0.227, blue: 0.373),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
525 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
526 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:524:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
522 | base = AdomaticThemePalette(
523 | surfaceBg: Color(red: 0.059, green: 0.090, blue: 0.165),
524 | borderCol: Color(red: 0.118, green: 0.227, blue: 0.373),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
525 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
526 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:525:25: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
523 | surfaceBg: Color(red: 0.059, green: 0.090, blue: 0.165),
524 | borderCol: Color(red: 0.118, green: 0.227, blue: 0.373),
525 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
526 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
527 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:525:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
523 | surfaceBg: Color(red: 0.059, green: 0.090, blue: 0.165),
524 | borderCol: Color(red: 0.118, green: 0.227, blue: 0.373),
525 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
526 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
527 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:526:27: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
524 | borderCol: Color(red: 0.118, green: 0.227, blue: 0.373),
525 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
526 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
527 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
528 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:526:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
524 | borderCol: Color(red: 0.118, green: 0.227, blue: 0.373),
525 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
526 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
527 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
528 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:527:20: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
525 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
526 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
527 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
528 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
529 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:527:20: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
525 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
526 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
527 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
528 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
529 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:528:28: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
526 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
527 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
528 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
529 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
530 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:528:28: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
526 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
527 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
528 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
529 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
530 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:528:73: error: 'opacity' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
526 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
527 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
528 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
529 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
530 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:529:26: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
527 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
528 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
529 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
530 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
531 | genesisColor: Color(red: 0.714, green: 0.769, blue: 0.831)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:529:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
527 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
528 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
529 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
530 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
531 | genesisColor: Color(red: 0.714, green: 0.769, blue: 0.831)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:530:25: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
528 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
529 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
530 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
531 | genesisColor: Color(red: 0.714, green: 0.769, blue: 0.831)
532 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:530:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
528 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
529 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
530 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
531 | genesisColor: Color(red: 0.714, green: 0.769, blue: 0.831)
532 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:531:27: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
529 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
530 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
531 | genesisColor: Color(red: 0.714, green: 0.769, blue: 0.831)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
532 | )
533 | } else if theme == "modern_blue" {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:531:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
529 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
530 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
531 | genesisColor: Color(red: 0.714, green: 0.769, blue: 0.831)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
532 | )
533 | } else if theme == "modern_blue" {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:535:24: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
533 | } else if theme == "modern_blue" {
534 | base = AdomaticThemePalette(
535 | surfaceBg: Color(red: 0.973, green: 0.980, blue: 1.000),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
536 | borderCol: Color(red: 0.749, green: 0.859, blue: 0.996),
537 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:535:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
533 | } else if theme == "modern_blue" {
534 | base = AdomaticThemePalette(
535 | surfaceBg: Color(red: 0.973, green: 0.980, blue: 1.000),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
536 | borderCol: Color(red: 0.749, green: 0.859, blue: 0.996),
537 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:536:24: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
534 | base = AdomaticThemePalette(
535 | surfaceBg: Color(red: 0.973, green: 0.980, blue: 1.000),
536 | borderCol: Color(red: 0.749, green: 0.859, blue: 0.996),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
537 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
538 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:536:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
534 | base = AdomaticThemePalette(
535 | surfaceBg: Color(red: 0.973, green: 0.980, blue: 1.000),
536 | borderCol: Color(red: 0.749, green: 0.859, blue: 0.996),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
537 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
538 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:537:25: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
535 | surfaceBg: Color(red: 0.973, green: 0.980, blue: 1.000),
536 | borderCol: Color(red: 0.749, green: 0.859, blue: 0.996),
537 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
538 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
539 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:537:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
535 | surfaceBg: Color(red: 0.973, green: 0.980, blue: 1.000),
536 | borderCol: Color(red: 0.749, green: 0.859, blue: 0.996),
537 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
538 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
539 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:538:27: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
536 | borderCol: Color(red: 0.749, green: 0.859, blue: 0.996),
537 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
538 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
539 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
540 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:538:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
536 | borderCol: Color(red: 0.749, green: 0.859, blue: 0.996),
537 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
538 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
539 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
540 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:539:20: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
537 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
538 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
539 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
540 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
541 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:539:20: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
537 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
538 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
539 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
540 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
541 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:540:28: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
538 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
539 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
540 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
541 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
542 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:540:28: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
538 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
539 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
540 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
541 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
542 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:540:73: error: 'opacity' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
538 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
539 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
540 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
541 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
542 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:541:26: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
539 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
540 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
541 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
542 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
543 | genesisColor: Color(red: 0.200, green: 0.255, blue: 0.333)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:541:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
539 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
540 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
541 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
542 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
543 | genesisColor: Color(red: 0.200, green: 0.255, blue: 0.333)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:542:25: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
540 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
541 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
542 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
543 | genesisColor: Color(red: 0.200, green: 0.255, blue: 0.333)
544 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:542:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
540 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
541 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
542 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
543 | genesisColor: Color(red: 0.200, green: 0.255, blue: 0.333)
544 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:543:27: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
541 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
542 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
543 | genesisColor: Color(red: 0.200, green: 0.255, blue: 0.333)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
544 | )
545 | } else if theme == "modern_emerald" && systemDark {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:543:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
541 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
542 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
543 | genesisColor: Color(red: 0.200, green: 0.255, blue: 0.333)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
544 | )
545 | } else if theme == "modern_emerald" && systemDark {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:547:24: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
545 | } else if theme == "modern_emerald" && systemDark {
546 | base = AdomaticThemePalette(
547 | surfaceBg: Color(red: 0.043, green: 0.122, blue: 0.098),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
548 | borderCol: Color(red: 0.078, green: 0.325, blue: 0.235),
549 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:547:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
545 | } else if theme == "modern_emerald" && systemDark {
546 | base = AdomaticThemePalette(
547 | surfaceBg: Color(red: 0.043, green: 0.122, blue: 0.098),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
548 | borderCol: Color(red: 0.078, green: 0.325, blue: 0.235),
549 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:548:24: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
546 | base = AdomaticThemePalette(
547 | surfaceBg: Color(red: 0.043, green: 0.122, blue: 0.098),
548 | borderCol: Color(red: 0.078, green: 0.325, blue: 0.235),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
549 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
550 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:548:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
546 | base = AdomaticThemePalette(
547 | surfaceBg: Color(red: 0.043, green: 0.122, blue: 0.098),
548 | borderCol: Color(red: 0.078, green: 0.325, blue: 0.235),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
549 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
550 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:549:25: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
547 | surfaceBg: Color(red: 0.043, green: 0.122, blue: 0.098),
548 | borderCol: Color(red: 0.078, green: 0.325, blue: 0.235),
549 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
550 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
551 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:549:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
547 | surfaceBg: Color(red: 0.043, green: 0.122, blue: 0.098),
548 | borderCol: Color(red: 0.078, green: 0.325, blue: 0.235),
549 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
550 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
551 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:550:27: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
548 | borderCol: Color(red: 0.078, green: 0.325, blue: 0.235),
549 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
550 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
551 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
552 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:550:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
548 | borderCol: Color(red: 0.078, green: 0.325, blue: 0.235),
549 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
550 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
551 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
552 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:551:20: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
549 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
550 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
551 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
552 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
553 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:551:20: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
549 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
550 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
551 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
552 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
553 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:552:28: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
550 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
551 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
552 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
553 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
554 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:552:28: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
550 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
551 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
552 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
553 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
554 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:552:73: error: 'opacity' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
550 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
551 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
552 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
553 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
554 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:553:26: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
551 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
552 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
553 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
554 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
555 | genesisColor: Color(red: 0.655, green: 0.820, blue: 0.776)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:553:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
551 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
552 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
553 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
554 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
555 | genesisColor: Color(red: 0.655, green: 0.820, blue: 0.776)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:554:25: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
552 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
553 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
554 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
555 | genesisColor: Color(red: 0.655, green: 0.820, blue: 0.776)
556 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:554:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
552 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
553 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
554 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
555 | genesisColor: Color(red: 0.655, green: 0.820, blue: 0.776)
556 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:555:27: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
553 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
554 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
555 | genesisColor: Color(red: 0.655, green: 0.820, blue: 0.776)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
556 | )
557 | } else if theme == "modern_emerald" {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:555:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
553 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
554 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
555 | genesisColor: Color(red: 0.655, green: 0.820, blue: 0.776)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
556 | )
557 | } else if theme == "modern_emerald" {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:559:24: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
557 | } else if theme == "modern_emerald" {
558 | base = AdomaticThemePalette(
559 | surfaceBg: Color(red: 0.941, green: 0.992, blue: 0.957),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
560 | borderCol: Color(red: 0.525, green: 0.937, blue: 0.675),
561 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:559:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
557 | } else if theme == "modern_emerald" {
558 | base = AdomaticThemePalette(
559 | surfaceBg: Color(red: 0.941, green: 0.992, blue: 0.957),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
560 | borderCol: Color(red: 0.525, green: 0.937, blue: 0.675),
561 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:560:24: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
558 | base = AdomaticThemePalette(
559 | surfaceBg: Color(red: 0.941, green: 0.992, blue: 0.957),
560 | borderCol: Color(red: 0.525, green: 0.937, blue: 0.675),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
561 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
562 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:560:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
558 | base = AdomaticThemePalette(
559 | surfaceBg: Color(red: 0.941, green: 0.992, blue: 0.957),
560 | borderCol: Color(red: 0.525, green: 0.937, blue: 0.675),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
561 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
562 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:561:25: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
559 | surfaceBg: Color(red: 0.941, green: 0.992, blue: 0.957),
560 | borderCol: Color(red: 0.525, green: 0.937, blue: 0.675),
561 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
562 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
563 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:561:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
559 | surfaceBg: Color(red: 0.941, green: 0.992, blue: 0.957),
560 | borderCol: Color(red: 0.525, green: 0.937, blue: 0.675),
561 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
562 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
563 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:562:27: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
560 | borderCol: Color(red: 0.525, green: 0.937, blue: 0.675),
561 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
562 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
563 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
564 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:562:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
560 | borderCol: Color(red: 0.525, green: 0.937, blue: 0.675),
561 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
562 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
563 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
564 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:563:20: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
561 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
562 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
563 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
564 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
565 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:563:20: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
561 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
562 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
563 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
564 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
565 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:564:28: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
562 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
563 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
564 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
565 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
566 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:564:28: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
562 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
563 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
564 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
565 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
566 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:564:73: error: 'opacity' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
562 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
563 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
564 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
565 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
566 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:565:26: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
563 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
564 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
565 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
566 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
567 | genesisColor: Color(red: 0.024, green: 0.373, blue: 0.275)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:565:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
563 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
564 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
565 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
566 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
567 | genesisColor: Color(red: 0.024, green: 0.373, blue: 0.275)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:566:25: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
564 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
565 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
566 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
567 | genesisColor: Color(red: 0.024, green: 0.373, blue: 0.275)
568 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:566:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
564 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
565 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
566 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
567 | genesisColor: Color(red: 0.024, green: 0.373, blue: 0.275)
568 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:567:27: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
565 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
566 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
567 | genesisColor: Color(red: 0.024, green: 0.373, blue: 0.275)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
568 | )
569 | } else if isDarkTheme {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:567:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
565 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
566 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
567 | genesisColor: Color(red: 0.024, green: 0.373, blue: 0.275)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
568 | )
569 | } else if isDarkTheme {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:571:24: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
569 | } else if isDarkTheme {
570 | base = AdomaticThemePalette(
571 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
572 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
573 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:571:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
569 | } else if isDarkTheme {
570 | base = AdomaticThemePalette(
571 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
572 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
573 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:572:24: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
570 | base = AdomaticThemePalette(
571 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
572 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
573 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
574 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:572:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
570 | base = AdomaticThemePalette(
571 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
572 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
573 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
574 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:573:25: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
571 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
572 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
573 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
574 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
575 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:573:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
571 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
572 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
573 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
574 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
575 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:574:27: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
572 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
573 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
574 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
575 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
576 | hairlineColor: Color.white.opacity(0.28),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:574:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
572 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
573 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
574 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
575 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
576 | hairlineColor: Color.white.opacity(0.28),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:575:20: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
573 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
574 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
575 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
576 | hairlineColor: Color.white.opacity(0.28),
577 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:575:20: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
573 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
574 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
575 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
576 | hairlineColor: Color.white.opacity(0.28),
577 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:576:28: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
574 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
575 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
576 | hairlineColor: Color.white.opacity(0.28),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
577 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
578 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:576:34: error: 'white' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
574 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
575 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
576 | hairlineColor: Color.white.opacity(0.28),
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
577 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
578 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:576:40: error: 'opacity' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
574 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
575 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
576 | hairlineColor: Color.white.opacity(0.28),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
577 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
578 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:577:26: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
575 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
576 | hairlineColor: Color.white.opacity(0.28),
577 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
578 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
579 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:577:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
575 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
576 | hairlineColor: Color.white.opacity(0.28),
577 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
578 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
579 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:578:25: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
576 | hairlineColor: Color.white.opacity(0.28),
577 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
578 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
579 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
580 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:578:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
576 | hairlineColor: Color.white.opacity(0.28),
577 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
578 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
579 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
580 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:579:27: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
577 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
578 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
579 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
580 | )
581 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:579:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
577 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
578 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
579 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
580 | )
581 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:583:24: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
581 | } else {
582 | base = AdomaticThemePalette(
583 | surfaceBg: Color.white,
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
584 | borderCol: Color(red: 0.886, green: 0.910, blue: 0.941),
585 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:583:30: error: 'white' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
581 | } else {
582 | base = AdomaticThemePalette(
583 | surfaceBg: Color.white,
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
584 | borderCol: Color(red: 0.886, green: 0.910, blue: 0.941),
585 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:584:24: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
582 | base = AdomaticThemePalette(
583 | surfaceBg: Color.white,
584 | borderCol: Color(red: 0.886, green: 0.910, blue: 0.941),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
585 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
586 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:584:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
582 | base = AdomaticThemePalette(
583 | surfaceBg: Color.white,
584 | borderCol: Color(red: 0.886, green: 0.910, blue: 0.941),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
585 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
586 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:585:25: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
583 | surfaceBg: Color.white,
584 | borderCol: Color(red: 0.886, green: 0.910, blue: 0.941),
585 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
586 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
587 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:585:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
583 | surfaceBg: Color.white,
584 | borderCol: Color(red: 0.886, green: 0.910, blue: 0.941),
585 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
586 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
587 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:586:27: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
584 | borderCol: Color(red: 0.886, green: 0.910, blue: 0.941),
585 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
586 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
587 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
588 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:586:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
584 | borderCol: Color(red: 0.886, green: 0.910, blue: 0.941),
585 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
586 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
587 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
588 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:587:20: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
585 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
586 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
587 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
588 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
589 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:587:20: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
585 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
586 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
587 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
588 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
589 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:588:28: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
586 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
587 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
588 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
589 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
590 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:588:28: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
586 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
587 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
588 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
589 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
590 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:588:73: error: 'opacity' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
586 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
587 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
588 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
589 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
590 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:589:26: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
587 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
588 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
589 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
590 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
591 | genesisColor: Color(red: 0.278, green: 0.333, blue: 0.412)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:589:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
587 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
588 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
589 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
590 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
591 | genesisColor: Color(red: 0.278, green: 0.333, blue: 0.412)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:590:25: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
588 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
589 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
590 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
591 | genesisColor: Color(red: 0.278, green: 0.333, blue: 0.412)
592 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:590:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
588 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
589 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
590 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
591 | genesisColor: Color(red: 0.278, green: 0.333, blue: 0.412)
592 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:591:27: error: 'Color' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
589 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
590 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
591 | genesisColor: Color(red: 0.278, green: 0.333, blue: 0.412)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
592 | )
593 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:591:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
589 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
590 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
591 | genesisColor: Color(red: 0.278, green: 0.333, blue: 0.412)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
592 | )
593 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:611:80: error: 'opacity' is only available in macOS 10.15 or newer
504 | }
505 |
506 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add '@available' attribute to enclosing global function
507 | let isDarkTheme = systemDark || theme == "modern_dark"
508 | var base: AdomaticThemePalette
:
609 | inkSecondary: parseHexColor(ov.inkSecondary, fallback: base.inkSecondary),
610 | ctaBg: parseHexColor(ov.ctaBg, fallback: base.ctaBg),
611 | hairlineColor: parseHexColor(ov.divider, fallback: base.hairlineColor).opacity(min(1.0, max(0.0, ov.dividerAlpha))),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
612 | prefixColor: parseHexColor(ov.prefix, fallback: base.prefixColor),
613 | brandColor: parseHexColor(ov.brand, fallback: base.brandColor),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:647:15: error: 'StateObject' is only available in macOS 11.0 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
627 | private let fallbackContent: ((String?) -> FallbackContent)?
628 |
629 | private init(
| `- note: add '@available' attribute to enclosing initializer
630 | bannerText: String,
631 | bannerImageUrl: String?,
:
645 | self.fallbackContent = resolvedFallbackContent
646 | let cleanId = fallbackAdmobUnitId?.trimmingCharacters(in: .whitespacesAndNewlines) ?? ""
647 | _vm = StateObject(wrappedValue: AdomaticBannerViewModel(
| |- error: 'StateObject' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
648 | bannerText: bannerText,
649 | bannerImageUrl: bannerImageUrl,
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:718:65: error: extra argument 'height' in call
716 | Color.gray.opacity(0.12).frame(height: bannerHeight)
717 | }
718 | .frame(maxWidth: .infinity, height: bannerHeight)
| `- error: extra argument 'height' in call
719 | .background(surfaceBg)
720 | .clipped()
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:843:9: error: 'HStack' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
841 | let silverGenesisInk = palette.genesisColor
842 |
843 | HStack(alignment: .center) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
844 | Button {
845 | if let url = URL(string: "https://ad-o-matic.com/") {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:843:28: error: 'center' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
841 | let silverGenesisInk = palette.genesisColor
842 |
843 | HStack(alignment: .center) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
844 | Button {
845 | if let url = URL(string: "https://ad-o-matic.com/") {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:844:13: error: 'Button' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
842 |
843 | HStack(alignment: .center) {
844 | Button {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
845 | if let url = URL(string: "https://ad-o-matic.com/") {
846 | openURL(url)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:853:21: error: '+' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
851 | .font(.system(size: uiCfg.poweredPrefixSize, weight: .regular))
852 | .foregroundColor(prefixColor)
853 | +
| |- error: '+' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
854 | Text(uiCfg.poweredBrand)
855 | .font(.system(size: uiCfg.poweredBrandSize, weight: .medium))
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:850:21: error: 'Text' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
848 | } label: {
849 | (
850 | Text(uiCfg.poweredPrefix)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
851 | .font(.system(size: uiCfg.poweredPrefixSize, weight: .regular))
852 | .foregroundColor(prefixColor)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:851:26: error: 'font' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
849 | (
850 | Text(uiCfg.poweredPrefix)
851 | .font(.system(size: uiCfg.poweredPrefixSize, weight: .regular))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
852 | .foregroundColor(prefixColor)
853 | +
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:851:32: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
849 | (
850 | Text(uiCfg.poweredPrefix)
851 | .font(.system(size: uiCfg.poweredPrefixSize, weight: .regular))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
852 | .foregroundColor(prefixColor)
853 | +
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:852:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
850 | Text(uiCfg.poweredPrefix)
851 | .font(.system(size: uiCfg.poweredPrefixSize, weight: .regular))
852 | .foregroundColor(prefixColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
853 | +
854 | Text(uiCfg.poweredBrand)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:854:21: error: 'Text' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
852 | .foregroundColor(prefixColor)
853 | +
854 | Text(uiCfg.poweredBrand)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
855 | .font(.system(size: uiCfg.poweredBrandSize, weight: .medium))
856 | .foregroundColor(brandColor)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:855:26: error: 'font' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
853 | +
854 | Text(uiCfg.poweredBrand)
855 | .font(.system(size: uiCfg.poweredBrandSize, weight: .medium))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
856 | .foregroundColor(brandColor)
857 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:855:32: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
853 | +
854 | Text(uiCfg.poweredBrand)
855 | .font(.system(size: uiCfg.poweredBrandSize, weight: .medium))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
856 | .foregroundColor(brandColor)
857 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:856:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
854 | Text(uiCfg.poweredBrand)
855 | .font(.system(size: uiCfg.poweredBrandSize, weight: .medium))
856 | .foregroundColor(brandColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
857 | )
858 | .tracking(0.1)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:858:18: error: 'tracking' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
856 | .foregroundColor(brandColor)
857 | )
858 | .tracking(0.1)
| |- error: 'tracking' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
859 | .lineLimit(1)
860 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:859:18: error: 'lineLimit' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
857 | )
858 | .tracking(0.1)
859 | .lineLimit(1)
| |- error: 'lineLimit' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
860 | }
861 | .buttonStyle(.plain)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:861:14: error: 'buttonStyle' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
859 | .lineLimit(1)
860 | }
861 | .buttonStyle(.plain)
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
862 |
863 | Spacer(minLength: 8)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:861:27: error: 'plain' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
859 | .lineLimit(1)
860 | }
861 | .buttonStyle(.plain)
| |- error: 'plain' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
862 |
863 | Spacer(minLength: 8)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:863:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
861 | .buttonStyle(.plain)
862 |
863 | Spacer(minLength: 8)
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
864 |
865 | if vm.ad.isGenesisMember {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:863:13: error: 'Spacer' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
861 | .buttonStyle(.plain)
862 |
863 | Spacer(minLength: 8)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
864 |
865 | if vm.ad.isGenesisMember {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:866:17: error: 'Button' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
864 |
865 | if vm.ad.isGenesisMember {
866 | Button {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
867 | if let url = URL(string: "https://ad-o-matic.com/#genesis-members") {
868 | openURL(url)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:871:21: error: 'HStack' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
869 | }
870 | } label: {
871 | HStack(spacing: uiCfg.crownGap) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
872 | Text(uiCfg.genesisLabel)
873 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:872:25: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
870 | } label: {
871 | HStack(spacing: uiCfg.crownGap) {
872 | Text(uiCfg.genesisLabel)
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
873 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
874 | .tracking(uiCfg.genesisLetterSpacing)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:872:25: error: 'Text' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
870 | } label: {
871 | HStack(spacing: uiCfg.crownGap) {
872 | Text(uiCfg.genesisLabel)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
873 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
874 | .tracking(uiCfg.genesisLetterSpacing)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:873:30: error: 'font' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
871 | HStack(spacing: uiCfg.crownGap) {
872 | Text(uiCfg.genesisLabel)
873 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
874 | .tracking(uiCfg.genesisLetterSpacing)
875 | .foregroundColor(silverGenesisInk)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:873:36: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
871 | HStack(spacing: uiCfg.crownGap) {
872 | Text(uiCfg.genesisLabel)
873 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
874 | .tracking(uiCfg.genesisLetterSpacing)
875 | .foregroundColor(silverGenesisInk)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:874:30: error: 'tracking' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
872 | Text(uiCfg.genesisLabel)
873 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
874 | .tracking(uiCfg.genesisLetterSpacing)
| |- error: 'tracking' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
875 | .foregroundColor(silverGenesisInk)
876 | if uiCfg.showCrown {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:875:30: error: 'foregroundColor' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
873 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
874 | .tracking(uiCfg.genesisLetterSpacing)
875 | .foregroundColor(silverGenesisInk)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
876 | if uiCfg.showCrown {
877 | GenesisCrownView(width: uiCfg.crownWidth, height: uiCfg.crownHeight)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:876:44: error: 'buildIf' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
874 | .tracking(uiCfg.genesisLetterSpacing)
875 | .foregroundColor(silverGenesisInk)
876 | if uiCfg.showCrown {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
877 | GenesisCrownView(width: uiCfg.crownWidth, height: uiCfg.crownHeight)
878 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:878:25: error: 'buildIf' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
876 | if uiCfg.showCrown {
877 | GenesisCrownView(width: uiCfg.crownWidth, height: uiCfg.crownHeight)
878 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
879 | }
880 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:871:53: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
869 | }
870 | } label: {
871 | HStack(spacing: uiCfg.crownGap) {
| |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
872 | Text(uiCfg.genesisLabel)
873 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:871:53: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
869 | }
870 | } label: {
871 | HStack(spacing: uiCfg.crownGap) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
872 | Text(uiCfg.genesisLabel)
873 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:881:18: error: 'buttonStyle' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
879 | }
880 | }
881 | .buttonStyle(.plain)
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
882 | }
883 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:881:31: error: 'plain' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
879 | }
880 | }
881 | .buttonStyle(.plain)
| |- error: 'plain' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
882 | }
883 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:865:38: error: 'buildIf' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
863 | Spacer(minLength: 8)
864 |
865 | if vm.ad.isGenesisMember {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
866 | Button {
867 | if let url = URL(string: "https://ad-o-matic.com/#genesis-members") {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:882:13: error: 'buildIf' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
880 | }
881 | .buttonStyle(.plain)
882 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
883 | }
884 | .padding(.horizontal, uiCfg.footerPaddingH)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:843:36: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
841 | let silverGenesisInk = palette.genesisColor
842 |
843 | HStack(alignment: .center) {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
844 | Button {
845 | if let url = URL(string: "https://ad-o-matic.com/") {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:843:36: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
841 | let silverGenesisInk = palette.genesisColor
842 |
843 | HStack(alignment: .center) {
| |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
844 | Button {
845 | if let url = URL(string: "https://ad-o-matic.com/") {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:884:10: error: 'padding' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
882 | }
883 | }
884 | .padding(.horizontal, uiCfg.footerPaddingH)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
885 | .padding(.top, uiCfg.footerPaddingTop)
886 | .padding(.bottom, uiCfg.footerPaddingBottom)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:885:10: error: 'padding' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
883 | }
884 | .padding(.horizontal, uiCfg.footerPaddingH)
885 | .padding(.top, uiCfg.footerPaddingTop)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
886 | .padding(.bottom, uiCfg.footerPaddingBottom)
887 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:886:10: error: 'padding' is only available in macOS 10.15 or newer
616 | }
617 |
618 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
619 | @StateObject private var vm: AdomaticBannerViewModel
620 | @Environment(\.openURL) private var openURL
:
836 |
837 | @ViewBuilder
838 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add '@available' attribute to enclosing instance method
839 | let prefixColor = palette.prefixColor
840 | let brandColor = palette.brandColor
:
884 | .padding(.horizontal, uiCfg.footerPaddingH)
885 | .padding(.top, uiCfg.footerPaddingTop)
886 | .padding(.bottom, uiCfg.footerPaddingBottom)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
887 | }
888 | }
BUILD FAILURE 6.2 macosSpm