Build Information
Failed to build AdomaticBanner, reference main (a2a308), with Swift 6.1 for macOS (SPM) on 30 Nov 2026 22:12:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
:
539 | endPoint: .bottom
540 | )
541 | let strokeCol = Color(red: 0.57, green: 0.25, blue: 0.05)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
542 |
543 | GenesisCrownBodyShape()
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:541:33: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
523 | }
524 |
525 | private struct GenesisCrownView: View {
| `- note: add @available attribute to enclosing struct
526 | var width: CGFloat = 9.0
527 | var height: CGFloat = 7.5
528 |
529 | var body: some View {
| `- note: add @available attribute to enclosing property
530 | ZStack(alignment: .bottom) {
531 | GeometryReader { geo in
:
539 | endPoint: .bottom
540 | )
541 | 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
542 |
543 | GenesisCrownBodyShape()
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:544:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
523 | }
524 |
525 | private struct GenesisCrownView: View {
| `- note: add @available attribute to enclosing struct
526 | var width: CGFloat = 9.0
527 | var height: CGFloat = 7.5
528 |
529 | var body: some View {
| `- note: add @available attribute to enclosing property
530 | ZStack(alignment: .bottom) {
531 | GeometryReader { geo in
:
542 |
543 | GenesisCrownBodyShape()
544 | .fill(goldGradient)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
545 | .overlay(GenesisCrownBodyShape().stroke(strokeCol, lineWidth: 0.5))
546 |
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:545:22: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
523 | }
524 |
525 | private struct GenesisCrownView: View {
| `- note: add @available attribute to enclosing struct
526 | var width: CGFloat = 9.0
527 | var height: CGFloat = 7.5
528 |
529 | var body: some View {
| `- note: add @available attribute to enclosing property
530 | ZStack(alignment: .bottom) {
531 | GeometryReader { geo in
:
543 | GenesisCrownBodyShape()
544 | .fill(goldGradient)
545 | .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
546 |
547 | RoundedRectangle(cornerRadius: 0.5)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:545:54: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
523 | }
524 |
525 | private struct GenesisCrownView: View {
| `- note: add @available attribute to enclosing struct
526 | var width: CGFloat = 9.0
527 | var height: CGFloat = 7.5
528 |
529 | var body: some View {
| `- note: add @available attribute to enclosing property
530 | ZStack(alignment: .bottom) {
531 | GeometryReader { geo in
:
543 | GenesisCrownBodyShape()
544 | .fill(goldGradient)
545 | .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
546 |
547 | RoundedRectangle(cornerRadius: 0.5)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:547:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
523 | }
524 |
525 | private struct GenesisCrownView: View {
| `- note: add @available attribute to enclosing struct
526 | var width: CGFloat = 9.0
527 | var height: CGFloat = 7.5
528 |
529 | var body: some View {
| `- note: add @available attribute to enclosing property
530 | ZStack(alignment: .bottom) {
531 | GeometryReader { geo in
:
545 | .overlay(GenesisCrownBodyShape().stroke(strokeCol, lineWidth: 0.5))
546 |
547 | RoundedRectangle(cornerRadius: 0.5)
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
548 | .fill(goldGradient)
549 | .overlay(RoundedRectangle(cornerRadius: 0.5).stroke(strokeCol, lineWidth: 0.45))
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:548:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
523 | }
524 |
525 | private struct GenesisCrownView: View {
| `- note: add @available attribute to enclosing struct
526 | var width: CGFloat = 9.0
527 | var height: CGFloat = 7.5
528 |
529 | var body: some View {
| `- note: add @available attribute to enclosing property
530 | ZStack(alignment: .bottom) {
531 | GeometryReader { geo in
:
546 |
547 | RoundedRectangle(cornerRadius: 0.5)
548 | .fill(goldGradient)
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
549 | .overlay(RoundedRectangle(cornerRadius: 0.5).stroke(strokeCol, lineWidth: 0.45))
550 | .frame(width: geo.size.width * 0.64, height: geo.size.height * 0.14)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:549:22: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
523 | }
524 |
525 | private struct GenesisCrownView: View {
| `- note: add @available attribute to enclosing struct
526 | var width: CGFloat = 9.0
527 | var height: CGFloat = 7.5
528 |
529 | var body: some View {
| `- note: add @available attribute to enclosing property
530 | ZStack(alignment: .bottom) {
531 | GeometryReader { geo in
:
547 | RoundedRectangle(cornerRadius: 0.5)
548 | .fill(goldGradient)
549 | .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
550 | .frame(width: geo.size.width * 0.64, height: geo.size.height * 0.14)
551 | .position(x: geo.size.width * 0.50, y: geo.size.height * 0.85)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:549:30: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
523 | }
524 |
525 | private struct GenesisCrownView: View {
| `- note: add @available attribute to enclosing struct
526 | var width: CGFloat = 9.0
527 | var height: CGFloat = 7.5
528 |
529 | var body: some View {
| `- note: add @available attribute to enclosing property
530 | ZStack(alignment: .bottom) {
531 | GeometryReader { geo in
:
547 | RoundedRectangle(cornerRadius: 0.5)
548 | .fill(goldGradient)
549 | .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
550 | .frame(width: geo.size.width * 0.64, height: geo.size.height * 0.14)
551 | .position(x: geo.size.width * 0.50, y: geo.size.height * 0.85)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:549:66: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
523 | }
524 |
525 | private struct GenesisCrownView: View {
| `- note: add @available attribute to enclosing struct
526 | var width: CGFloat = 9.0
527 | var height: CGFloat = 7.5
528 |
529 | var body: some View {
| `- note: add @available attribute to enclosing property
530 | ZStack(alignment: .bottom) {
531 | GeometryReader { geo in
:
547 | RoundedRectangle(cornerRadius: 0.5)
548 | .fill(goldGradient)
549 | .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
550 | .frame(width: geo.size.width * 0.64, height: geo.size.height * 0.14)
551 | .position(x: geo.size.width * 0.50, y: geo.size.height * 0.85)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:550:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
523 | }
524 |
525 | private struct GenesisCrownView: View {
| `- note: add @available attribute to enclosing struct
526 | var width: CGFloat = 9.0
527 | var height: CGFloat = 7.5
528 |
529 | var body: some View {
| `- note: add @available attribute to enclosing property
530 | ZStack(alignment: .bottom) {
531 | GeometryReader { geo in
:
548 | .fill(goldGradient)
549 | .overlay(RoundedRectangle(cornerRadius: 0.5).stroke(strokeCol, lineWidth: 0.45))
550 | .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
551 | .position(x: geo.size.width * 0.50, y: geo.size.height * 0.85)
552 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:551:22: error: 'position(x:y:)' is only available in macOS 10.15 or newer
523 | }
524 |
525 | private struct GenesisCrownView: View {
| `- note: add @available attribute to enclosing struct
526 | var width: CGFloat = 9.0
527 | var height: CGFloat = 7.5
528 |
529 | var body: some View {
| `- note: add @available attribute to enclosing property
530 | ZStack(alignment: .bottom) {
531 | GeometryReader { geo in
:
549 | .overlay(RoundedRectangle(cornerRadius: 0.5).stroke(strokeCol, lineWidth: 0.45))
550 | .frame(width: geo.size.width * 0.64, height: geo.size.height * 0.14)
551 | .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
552 | }
553 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:554:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
523 | }
524 |
525 | private struct GenesisCrownView: View {
| `- note: add @available attribute to enclosing struct
526 | var width: CGFloat = 9.0
527 | var height: CGFloat = 7.5
528 |
529 | var body: some View {
| `- note: add @available attribute to enclosing property
530 | ZStack(alignment: .bottom) {
531 | GeometryReader { geo in
:
552 | }
553 | }
554 | .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
555 | }
556 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:575:24: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
573 | if theme == "modern_dark" {
574 | base = AdomaticThemePalette(
575 | 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
576 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
577 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:575:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
573 | if theme == "modern_dark" {
574 | base = AdomaticThemePalette(
575 | 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
576 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
577 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:576:24: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
574 | base = AdomaticThemePalette(
575 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
576 | 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
577 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
578 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:576:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
574 | base = AdomaticThemePalette(
575 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
576 | 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
577 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
578 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:577:25: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
575 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
576 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
577 | 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
578 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
579 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:577:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
575 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
576 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
577 | 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
578 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
579 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:578:27: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
576 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
577 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
578 | 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
579 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
580 | hairlineColor: Color.white.opacity(0.28),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:578:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
576 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
577 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
578 | 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
579 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
580 | hairlineColor: Color.white.opacity(0.28),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:579:20: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
577 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
578 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
579 | 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
580 | hairlineColor: Color.white.opacity(0.28),
581 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:579:20: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
577 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
578 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
579 | 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
580 | hairlineColor: Color.white.opacity(0.28),
581 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:580:28: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
578 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
579 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
580 | hairlineColor: Color.white.opacity(0.28),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
581 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
582 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:580:34: error: 'white' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
578 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
579 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
580 | hairlineColor: Color.white.opacity(0.28),
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
581 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
582 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:580:40: error: 'opacity' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
578 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
579 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
580 | hairlineColor: Color.white.opacity(0.28),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
581 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
582 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:581:26: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
579 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
580 | hairlineColor: Color.white.opacity(0.28),
581 | 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
582 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
583 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:581:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
579 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
580 | hairlineColor: Color.white.opacity(0.28),
581 | 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
582 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
583 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:582:25: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
580 | hairlineColor: Color.white.opacity(0.28),
581 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
582 | 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
583 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
584 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:582:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
580 | hairlineColor: Color.white.opacity(0.28),
581 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
582 | 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
583 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
584 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:583:27: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
581 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
582 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
583 | 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
584 | )
585 | } else if theme == "modern_blue" && systemDark {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:583:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
581 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
582 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
583 | 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
584 | )
585 | } else if theme == "modern_blue" && systemDark {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:587:24: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
585 | } else if theme == "modern_blue" && systemDark {
586 | base = AdomaticThemePalette(
587 | 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
588 | borderCol: Color(red: 0.118, green: 0.227, blue: 0.373),
589 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:587:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
585 | } else if theme == "modern_blue" && systemDark {
586 | base = AdomaticThemePalette(
587 | 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
588 | borderCol: Color(red: 0.118, green: 0.227, blue: 0.373),
589 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:588:24: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
586 | base = AdomaticThemePalette(
587 | surfaceBg: Color(red: 0.059, green: 0.090, blue: 0.165),
588 | 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
589 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
590 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:588:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
586 | base = AdomaticThemePalette(
587 | surfaceBg: Color(red: 0.059, green: 0.090, blue: 0.165),
588 | 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
589 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
590 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:589:25: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
587 | surfaceBg: Color(red: 0.059, green: 0.090, blue: 0.165),
588 | borderCol: Color(red: 0.118, green: 0.227, blue: 0.373),
589 | 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
590 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
591 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:589:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
587 | surfaceBg: Color(red: 0.059, green: 0.090, blue: 0.165),
588 | borderCol: Color(red: 0.118, green: 0.227, blue: 0.373),
589 | 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
590 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
591 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:590:27: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
588 | borderCol: Color(red: 0.118, green: 0.227, blue: 0.373),
589 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
590 | 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
591 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
592 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:590:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
588 | borderCol: Color(red: 0.118, green: 0.227, blue: 0.373),
589 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
590 | 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
591 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
592 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:591:20: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
589 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
590 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
591 | 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
592 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
593 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:591:20: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
589 | inkPrimary: Color(red: 0.945, green: 0.961, blue: 0.976),
590 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
591 | 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
592 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
593 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:592:28: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
590 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
591 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
592 | 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
593 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
594 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:592:28: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
590 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
591 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
592 | 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
593 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
594 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:592:73: error: 'opacity' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
590 | inkSecondary: Color(red: 0.580, green: 0.639, blue: 0.722),
591 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
592 | 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
593 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
594 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:593:26: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
591 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
592 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
593 | 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
594 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
595 | genesisColor: Color(red: 0.714, green: 0.769, blue: 0.831)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:593:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
591 | ctaBg: Color(red: 0.220, green: 0.741, blue: 0.973),
592 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
593 | 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
594 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
595 | genesisColor: Color(red: 0.714, green: 0.769, blue: 0.831)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:594:25: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
592 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
593 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
594 | 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
595 | genesisColor: Color(red: 0.714, green: 0.769, blue: 0.831)
596 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:594:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
592 | hairlineColor: Color(red: 0.580, green: 0.639, blue: 0.722).opacity(0.28),
593 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
594 | 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
595 | genesisColor: Color(red: 0.714, green: 0.769, blue: 0.831)
596 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:595:27: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
593 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
594 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
595 | 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
596 | )
597 | } else if theme == "modern_blue" {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:595:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
593 | prefixColor: Color(red: 0.557, green: 0.627, blue: 0.710),
594 | brandColor: Color(red: 0.682, green: 0.749, blue: 0.824),
595 | 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
596 | )
597 | } else if theme == "modern_blue" {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:599:24: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
597 | } else if theme == "modern_blue" {
598 | base = AdomaticThemePalette(
599 | 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
600 | borderCol: Color(red: 0.749, green: 0.859, blue: 0.996),
601 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:599:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
597 | } else if theme == "modern_blue" {
598 | base = AdomaticThemePalette(
599 | 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
600 | borderCol: Color(red: 0.749, green: 0.859, blue: 0.996),
601 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:600:24: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
598 | base = AdomaticThemePalette(
599 | surfaceBg: Color(red: 0.973, green: 0.980, blue: 1.000),
600 | 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
601 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
602 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:600:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
598 | base = AdomaticThemePalette(
599 | surfaceBg: Color(red: 0.973, green: 0.980, blue: 1.000),
600 | 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
601 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
602 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:601:25: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
599 | surfaceBg: Color(red: 0.973, green: 0.980, blue: 1.000),
600 | borderCol: Color(red: 0.749, green: 0.859, blue: 0.996),
601 | 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
602 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
603 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:601:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
599 | surfaceBg: Color(red: 0.973, green: 0.980, blue: 1.000),
600 | borderCol: Color(red: 0.749, green: 0.859, blue: 0.996),
601 | 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
602 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
603 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:602:27: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
600 | borderCol: Color(red: 0.749, green: 0.859, blue: 0.996),
601 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
602 | 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
603 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
604 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:602:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
600 | borderCol: Color(red: 0.749, green: 0.859, blue: 0.996),
601 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
602 | 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
603 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
604 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:603:20: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
601 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
602 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
603 | 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
604 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
605 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:603:20: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
601 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
602 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
603 | 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
604 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
605 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:604:28: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
602 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
603 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
604 | 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
605 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
606 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:604:28: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
602 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
603 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
604 | 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
605 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
606 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:604:73: error: 'opacity' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
602 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
603 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
604 | 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
605 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
606 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:605:26: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
603 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
604 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
605 | 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
606 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
607 | genesisColor: Color(red: 0.200, green: 0.255, blue: 0.333)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:605:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
603 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
604 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
605 | 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
606 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
607 | genesisColor: Color(red: 0.200, green: 0.255, blue: 0.333)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:606:25: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
604 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
605 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
606 | 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
607 | genesisColor: Color(red: 0.200, green: 0.255, blue: 0.333)
608 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:606:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
604 | hairlineColor: Color(red: 0.118, green: 0.251, blue: 0.686).opacity(0.18),
605 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
606 | 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
607 | genesisColor: Color(red: 0.200, green: 0.255, blue: 0.333)
608 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:607:27: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
605 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
606 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
607 | 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
608 | )
609 | } else if theme == "modern_emerald" && systemDark {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:607:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
605 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
606 | brandColor: Color(red: 0.200, green: 0.255, blue: 0.333),
607 | 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
608 | )
609 | } else if theme == "modern_emerald" && systemDark {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:611:24: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
609 | } else if theme == "modern_emerald" && systemDark {
610 | base = AdomaticThemePalette(
611 | 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
612 | borderCol: Color(red: 0.078, green: 0.325, blue: 0.235),
613 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:611:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
609 | } else if theme == "modern_emerald" && systemDark {
610 | base = AdomaticThemePalette(
611 | 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
612 | borderCol: Color(red: 0.078, green: 0.325, blue: 0.235),
613 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:612:24: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
610 | base = AdomaticThemePalette(
611 | surfaceBg: Color(red: 0.043, green: 0.122, blue: 0.098),
612 | 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
613 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
614 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:612:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
610 | base = AdomaticThemePalette(
611 | surfaceBg: Color(red: 0.043, green: 0.122, blue: 0.098),
612 | 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
613 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
614 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:613:25: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
611 | surfaceBg: Color(red: 0.043, green: 0.122, blue: 0.098),
612 | borderCol: Color(red: 0.078, green: 0.325, blue: 0.235),
613 | 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
614 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
615 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:613:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
611 | surfaceBg: Color(red: 0.043, green: 0.122, blue: 0.098),
612 | borderCol: Color(red: 0.078, green: 0.325, blue: 0.235),
613 | 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
614 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
615 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:614:27: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
612 | borderCol: Color(red: 0.078, green: 0.325, blue: 0.235),
613 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
614 | 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
615 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
616 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:614:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
612 | borderCol: Color(red: 0.078, green: 0.325, blue: 0.235),
613 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
614 | 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
615 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
616 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:615:20: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
613 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
614 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
615 | 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
616 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
617 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:615:20: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
613 | inkPrimary: Color(red: 0.925, green: 0.992, blue: 0.961),
614 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
615 | 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
616 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
617 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:616:28: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
614 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
615 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
616 | 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
617 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
618 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:616:28: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
614 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
615 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
616 | 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
617 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
618 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:616:73: error: 'opacity' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
614 | inkSecondary: Color(red: 0.525, green: 0.773, blue: 0.690),
615 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
616 | 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
617 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
618 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:617:26: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
615 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
616 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
617 | 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
618 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
619 | genesisColor: Color(red: 0.655, green: 0.820, blue: 0.776)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:617:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
615 | ctaBg: Color(red: 0.063, green: 0.725, blue: 0.506),
616 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
617 | 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
618 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
619 | genesisColor: Color(red: 0.655, green: 0.820, blue: 0.776)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:618:25: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
616 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
617 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
618 | 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
619 | genesisColor: Color(red: 0.655, green: 0.820, blue: 0.776)
620 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:618:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
616 | hairlineColor: Color(red: 0.525, green: 0.937, blue: 0.675).opacity(0.24),
617 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
618 | 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
619 | genesisColor: Color(red: 0.655, green: 0.820, blue: 0.776)
620 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:619:27: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
617 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
618 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
619 | 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
620 | )
621 | } else if theme == "modern_emerald" {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:619:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
617 | prefixColor: Color(red: 0.494, green: 0.702, blue: 0.627),
618 | brandColor: Color(red: 0.620, green: 0.792, blue: 0.753),
619 | 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
620 | )
621 | } else if theme == "modern_emerald" {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:623:24: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
621 | } else if theme == "modern_emerald" {
622 | base = AdomaticThemePalette(
623 | 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
624 | borderCol: Color(red: 0.525, green: 0.937, blue: 0.675),
625 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:623:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
621 | } else if theme == "modern_emerald" {
622 | base = AdomaticThemePalette(
623 | 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
624 | borderCol: Color(red: 0.525, green: 0.937, blue: 0.675),
625 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:624:24: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
622 | base = AdomaticThemePalette(
623 | surfaceBg: Color(red: 0.941, green: 0.992, blue: 0.957),
624 | 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
625 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
626 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:624:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
622 | base = AdomaticThemePalette(
623 | surfaceBg: Color(red: 0.941, green: 0.992, blue: 0.957),
624 | 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
625 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
626 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:625:25: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
623 | surfaceBg: Color(red: 0.941, green: 0.992, blue: 0.957),
624 | borderCol: Color(red: 0.525, green: 0.937, blue: 0.675),
625 | 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
626 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
627 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:625:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
623 | surfaceBg: Color(red: 0.941, green: 0.992, blue: 0.957),
624 | borderCol: Color(red: 0.525, green: 0.937, blue: 0.675),
625 | 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
626 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
627 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:626:27: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
624 | borderCol: Color(red: 0.525, green: 0.937, blue: 0.675),
625 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
626 | 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
627 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
628 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:626:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
624 | borderCol: Color(red: 0.525, green: 0.937, blue: 0.675),
625 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
626 | 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
627 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
628 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:627:20: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
625 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
626 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
627 | 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
628 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
629 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:627:20: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
625 | inkPrimary: Color(red: 0.024, green: 0.306, blue: 0.231),
626 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
627 | 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
628 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
629 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:628:28: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
626 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
627 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
628 | 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
629 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
630 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:628:28: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
626 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
627 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
628 | 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
629 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
630 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:628:73: error: 'opacity' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
626 | inkSecondary: Color(red: 0.024, green: 0.373, blue: 0.275),
627 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
628 | 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
629 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
630 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:629:26: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
627 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
628 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
629 | 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
630 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
631 | genesisColor: Color(red: 0.024, green: 0.373, blue: 0.275)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:629:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
627 | ctaBg: Color(red: 0.020, green: 0.588, blue: 0.412),
628 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
629 | 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
630 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
631 | genesisColor: Color(red: 0.024, green: 0.373, blue: 0.275)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:630:25: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
628 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
629 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
630 | 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
631 | genesisColor: Color(red: 0.024, green: 0.373, blue: 0.275)
632 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:630:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
628 | hairlineColor: Color(red: 0.024, green: 0.306, blue: 0.231).opacity(0.18),
629 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
630 | 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
631 | genesisColor: Color(red: 0.024, green: 0.373, blue: 0.275)
632 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:631:27: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
629 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
630 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
631 | 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
632 | )
633 | } else if isDarkTheme {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:631:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
629 | prefixColor: Color(red: 0.231, green: 0.478, blue: 0.404),
630 | brandColor: Color(red: 0.024, green: 0.373, blue: 0.275),
631 | 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
632 | )
633 | } else if isDarkTheme {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:635:24: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
633 | } else if isDarkTheme {
634 | base = AdomaticThemePalette(
635 | 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
636 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
637 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:635:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
633 | } else if isDarkTheme {
634 | base = AdomaticThemePalette(
635 | 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
636 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
637 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:636:24: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
634 | base = AdomaticThemePalette(
635 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
636 | 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
637 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
638 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:636:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
634 | base = AdomaticThemePalette(
635 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
636 | 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
637 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
638 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:637:25: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
635 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
636 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
637 | 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
638 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
639 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:637:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
635 | surfaceBg: Color(red: 0.086, green: 0.094, blue: 0.106),
636 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
637 | 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
638 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
639 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:638:27: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
636 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
637 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
638 | 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
639 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
640 | hairlineColor: Color.white.opacity(0.28),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:638:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
636 | borderCol: Color(red: 0.165, green: 0.176, blue: 0.200),
637 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
638 | 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
639 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
640 | hairlineColor: Color.white.opacity(0.28),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:639:20: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
637 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
638 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
639 | 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
640 | hairlineColor: Color.white.opacity(0.28),
641 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:639:20: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
637 | inkPrimary: Color(red: 0.929, green: 0.929, blue: 0.922),
638 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
639 | 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
640 | hairlineColor: Color.white.opacity(0.28),
641 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:640:28: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
638 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
639 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
640 | hairlineColor: Color.white.opacity(0.28),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
641 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
642 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:640:34: error: 'white' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
638 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
639 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
640 | hairlineColor: Color.white.opacity(0.28),
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
641 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
642 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:640:40: error: 'opacity' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
638 | inkSecondary: Color(red: 0.596, green: 0.612, blue: 0.643),
639 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
640 | hairlineColor: Color.white.opacity(0.28),
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
641 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
642 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:641:26: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
639 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
640 | hairlineColor: Color.white.opacity(0.28),
641 | 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
642 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
643 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:641:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
639 | ctaBg: Color(red: 0.145, green: 0.388, blue: 0.922),
640 | hairlineColor: Color.white.opacity(0.28),
641 | 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
642 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
643 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:642:25: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
640 | hairlineColor: Color.white.opacity(0.28),
641 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
642 | 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
643 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
644 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:642:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
640 | hairlineColor: Color.white.opacity(0.28),
641 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
642 | 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
643 | genesisColor: Color(red: 0.682, green: 0.710, blue: 0.749)
644 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:643:27: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
641 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
642 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
643 | 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
644 | )
645 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:643:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
641 | prefixColor: Color(red: 0.545, green: 0.573, blue: 0.612),
642 | brandColor: Color(red: 0.655, green: 0.682, blue: 0.722),
643 | 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
644 | )
645 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:647:24: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
645 | } else {
646 | base = AdomaticThemePalette(
647 | surfaceBg: Color.white,
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
648 | borderCol: Color(red: 0.886, green: 0.910, blue: 0.941),
649 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:647:30: error: 'white' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
645 | } else {
646 | base = AdomaticThemePalette(
647 | surfaceBg: Color.white,
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
648 | borderCol: Color(red: 0.886, green: 0.910, blue: 0.941),
649 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:648:24: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
646 | base = AdomaticThemePalette(
647 | surfaceBg: Color.white,
648 | 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
649 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
650 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:648:24: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
646 | base = AdomaticThemePalette(
647 | surfaceBg: Color.white,
648 | 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
649 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
650 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:649:25: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
647 | surfaceBg: Color.white,
648 | borderCol: Color(red: 0.886, green: 0.910, blue: 0.941),
649 | 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
650 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
651 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:649:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
647 | surfaceBg: Color.white,
648 | borderCol: Color(red: 0.886, green: 0.910, blue: 0.941),
649 | 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
650 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
651 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:650:27: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
648 | borderCol: Color(red: 0.886, green: 0.910, blue: 0.941),
649 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
650 | 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
651 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
652 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:650:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
648 | borderCol: Color(red: 0.886, green: 0.910, blue: 0.941),
649 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
650 | 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
651 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
652 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:651:20: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
649 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
650 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
651 | 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
652 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
653 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:651:20: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
649 | inkPrimary: Color(red: 0.059, green: 0.090, blue: 0.165),
650 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
651 | 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
652 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
653 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:652:28: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
650 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
651 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
652 | 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
653 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
654 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:652:28: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
650 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
651 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
652 | 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
653 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
654 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:652:73: error: 'opacity' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
650 | inkSecondary: Color(red: 0.278, green: 0.333, blue: 0.412),
651 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
652 | 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
653 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
654 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:653:26: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
651 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
652 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
653 | 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
654 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
655 | genesisColor: Color(red: 0.278, green: 0.333, blue: 0.412)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:653:26: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
651 | ctaBg: Color(red: 0.004, green: 0.529, blue: 0.373),
652 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
653 | 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
654 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
655 | genesisColor: Color(red: 0.278, green: 0.333, blue: 0.412)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:654:25: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
652 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
653 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
654 | 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
655 | genesisColor: Color(red: 0.278, green: 0.333, blue: 0.412)
656 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:654:25: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
652 | hairlineColor: Color(red: 0.059, green: 0.090, blue: 0.165).opacity(0.16),
653 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
654 | 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
655 | genesisColor: Color(red: 0.278, green: 0.333, blue: 0.412)
656 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:655:27: error: 'Color' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
653 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
654 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
655 | 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
656 | )
657 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:655:27: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
653 | prefixColor: Color(red: 0.392, green: 0.455, blue: 0.545),
654 | brandColor: Color(red: 0.278, green: 0.333, blue: 0.412),
655 | 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
656 | )
657 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:675:80: error: 'opacity' is only available in macOS 10.15 or newer
568 | }
569 |
570 | private func resolveThemePalette(theme: String, systemDark: Bool, uiConfig: AdomaticUiConfig) -> AdomaticThemePalette {
| `- note: add @available attribute to enclosing global function
571 | let isDarkTheme = systemDark || theme == "modern_dark"
572 | var base: AdomaticThemePalette
:
673 | inkSecondary: parseHexColor(ov.inkSecondary, fallback: base.inkSecondary),
674 | ctaBg: parseHexColor(ov.ctaBg, fallback: base.ctaBg),
675 | 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
676 | prefixColor: parseHexColor(ov.prefix, fallback: base.prefixColor),
677 | brandColor: parseHexColor(ov.brand, fallback: base.brandColor),
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:711:15: error: 'StateObject' is only available in macOS 11.0 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
691 | private let fallbackContent: ((String?) -> FallbackContent)?
692 |
693 | private init(
| `- note: add @available attribute to enclosing initializer
694 | bannerText: String,
695 | bannerImageUrl: String?,
:
709 | self.fallbackContent = resolvedFallbackContent
710 | let cleanId = fallbackAdmobUnitId?.trimmingCharacters(in: .whitespacesAndNewlines) ?? ""
711 | _vm = StateObject(wrappedValue: AdomaticBannerViewModel(
| |- error: 'StateObject' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
712 | bannerText: bannerText,
713 | bannerImageUrl: bannerImageUrl,
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:752:32: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
750 | }
751 |
752 | public var body: some View {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
753 | ZStack {
754 | Color.clear.frame(width: 0, height: 0)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:917:9: error: 'HStack' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
915 | let silverGenesisInk = palette.genesisColor
916 |
917 | HStack(alignment: .center) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
918 | Button {
919 | if let url = URL(string: "https://ad-o-matic.com/") {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:917:28: error: 'center' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
915 | let silverGenesisInk = palette.genesisColor
916 |
917 | HStack(alignment: .center) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
918 | Button {
919 | if let url = URL(string: "https://ad-o-matic.com/") {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:918:13: error: 'Button' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
916 |
917 | HStack(alignment: .center) {
918 | Button {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
919 | if let url = URL(string: "https://ad-o-matic.com/") {
920 | openURL(url)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:927:21: error: '+' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
925 | .font(.system(size: uiCfg.poweredPrefixSize, weight: .regular))
926 | .foregroundColor(prefixColor)
927 | +
| |- error: '+' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
928 | Text(uiCfg.poweredBrand)
929 | .font(.system(size: uiCfg.poweredBrandSize, weight: .medium))
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:924:21: error: 'Text' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
922 | } label: {
923 | (
924 | Text(uiCfg.poweredPrefix)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
925 | .font(.system(size: uiCfg.poweredPrefixSize, weight: .regular))
926 | .foregroundColor(prefixColor)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:925:26: error: 'font' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
923 | (
924 | Text(uiCfg.poweredPrefix)
925 | .font(.system(size: uiCfg.poweredPrefixSize, weight: .regular))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
926 | .foregroundColor(prefixColor)
927 | +
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:925:32: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
923 | (
924 | Text(uiCfg.poweredPrefix)
925 | .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
926 | .foregroundColor(prefixColor)
927 | +
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:926:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
924 | Text(uiCfg.poweredPrefix)
925 | .font(.system(size: uiCfg.poweredPrefixSize, weight: .regular))
926 | .foregroundColor(prefixColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
927 | +
928 | Text(uiCfg.poweredBrand)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:928:21: error: 'Text' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
926 | .foregroundColor(prefixColor)
927 | +
928 | Text(uiCfg.poweredBrand)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
929 | .font(.system(size: uiCfg.poweredBrandSize, weight: .medium))
930 | .foregroundColor(brandColor)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:929:26: error: 'font' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
927 | +
928 | Text(uiCfg.poweredBrand)
929 | .font(.system(size: uiCfg.poweredBrandSize, weight: .medium))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
930 | .foregroundColor(brandColor)
931 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:929:32: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
927 | +
928 | Text(uiCfg.poweredBrand)
929 | .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
930 | .foregroundColor(brandColor)
931 | )
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:930:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
928 | Text(uiCfg.poweredBrand)
929 | .font(.system(size: uiCfg.poweredBrandSize, weight: .medium))
930 | .foregroundColor(brandColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
931 | )
932 | .tracking(0.1)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:932:18: error: 'tracking' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
930 | .foregroundColor(brandColor)
931 | )
932 | .tracking(0.1)
| |- error: 'tracking' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
933 | .lineLimit(1)
934 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:933:18: error: 'lineLimit' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
931 | )
932 | .tracking(0.1)
933 | .lineLimit(1)
| |- error: 'lineLimit' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
934 | }
935 | .buttonStyle(.plain)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:935:14: error: 'buttonStyle' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
933 | .lineLimit(1)
934 | }
935 | .buttonStyle(.plain)
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
936 |
937 | Spacer(minLength: 8)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:935:27: error: 'plain' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
933 | .lineLimit(1)
934 | }
935 | .buttonStyle(.plain)
| |- error: 'plain' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
936 |
937 | Spacer(minLength: 8)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:937: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
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
935 | .buttonStyle(.plain)
936 |
937 | 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
938 |
939 | if vm.ad.isGenesisMember {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:937:13: error: 'Spacer' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
935 | .buttonStyle(.plain)
936 |
937 | Spacer(minLength: 8)
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
938 |
939 | if vm.ad.isGenesisMember {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:940:17: error: 'Button' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
938 |
939 | if vm.ad.isGenesisMember {
940 | Button {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
941 | if let url = URL(string: "https://ad-o-matic.com/#genesis-members") {
942 | openURL(url)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:945:21: error: 'HStack' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
943 | }
944 | } label: {
945 | HStack(spacing: uiCfg.crownGap) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
946 | Text(uiCfg.genesisLabel)
947 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:946: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
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
944 | } label: {
945 | HStack(spacing: uiCfg.crownGap) {
946 | 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
947 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
948 | .tracking(uiCfg.genesisLetterSpacing)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:946:25: error: 'Text' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
944 | } label: {
945 | HStack(spacing: uiCfg.crownGap) {
946 | Text(uiCfg.genesisLabel)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
947 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
948 | .tracking(uiCfg.genesisLetterSpacing)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:947:30: error: 'font' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
945 | HStack(spacing: uiCfg.crownGap) {
946 | Text(uiCfg.genesisLabel)
947 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
948 | .tracking(uiCfg.genesisLetterSpacing)
949 | .foregroundColor(silverGenesisInk)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:947:36: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
945 | HStack(spacing: uiCfg.crownGap) {
946 | Text(uiCfg.genesisLabel)
947 | .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
948 | .tracking(uiCfg.genesisLetterSpacing)
949 | .foregroundColor(silverGenesisInk)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:948:30: error: 'tracking' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
946 | Text(uiCfg.genesisLabel)
947 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
948 | .tracking(uiCfg.genesisLetterSpacing)
| |- error: 'tracking' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
949 | .foregroundColor(silverGenesisInk)
950 | if uiCfg.showCrown {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:949:30: error: 'foregroundColor' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
947 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
948 | .tracking(uiCfg.genesisLetterSpacing)
949 | .foregroundColor(silverGenesisInk)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
950 | if uiCfg.showCrown {
951 | GenesisCrownView(width: uiCfg.crownWidth, height: uiCfg.crownHeight)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:950:44: error: 'buildIf' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
948 | .tracking(uiCfg.genesisLetterSpacing)
949 | .foregroundColor(silverGenesisInk)
950 | if uiCfg.showCrown {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
951 | GenesisCrownView(width: uiCfg.crownWidth, height: uiCfg.crownHeight)
952 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:952:25: error: 'buildIf' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
950 | if uiCfg.showCrown {
951 | GenesisCrownView(width: uiCfg.crownWidth, height: uiCfg.crownHeight)
952 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
953 | }
954 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:945: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
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
943 | }
944 | } label: {
945 | 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
946 | Text(uiCfg.genesisLabel)
947 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:945: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
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
943 | }
944 | } label: {
945 | 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
946 | Text(uiCfg.genesisLabel)
947 | .font(.system(size: uiCfg.genesisFontSize, weight: .semibold))
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:955:18: error: 'buttonStyle' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
953 | }
954 | }
955 | .buttonStyle(.plain)
| |- error: 'buttonStyle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
956 | }
957 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:955:31: error: 'plain' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
953 | }
954 | }
955 | .buttonStyle(.plain)
| |- error: 'plain' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
956 | }
957 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:939:38: error: 'buildIf' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
937 | Spacer(minLength: 8)
938 |
939 | if vm.ad.isGenesisMember {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
940 | Button {
941 | if let url = URL(string: "https://ad-o-matic.com/#genesis-members") {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:956:13: error: 'buildIf' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
954 | }
955 | .buttonStyle(.plain)
956 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
957 | }
958 | .padding(.horizontal, uiCfg.footerPaddingH)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:917: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
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
915 | let silverGenesisInk = palette.genesisColor
916 |
917 | 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
918 | Button {
919 | if let url = URL(string: "https://ad-o-matic.com/") {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:917: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
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
915 | let silverGenesisInk = palette.genesisColor
916 |
917 | 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
918 | Button {
919 | if let url = URL(string: "https://ad-o-matic.com/") {
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:958:10: error: 'padding' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
956 | }
957 | }
958 | .padding(.horizontal, uiCfg.footerPaddingH)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
959 | .padding(.top, uiCfg.footerPaddingTop)
960 | .padding(.bottom, uiCfg.footerPaddingBottom)
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:959:10: error: 'padding' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
957 | }
958 | .padding(.horizontal, uiCfg.footerPaddingH)
959 | .padding(.top, uiCfg.footerPaddingTop)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
960 | .padding(.bottom, uiCfg.footerPaddingBottom)
961 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdomaticBanner/HouseAdBanner.swift:960:10: error: 'padding' is only available in macOS 10.15 or newer
680 | }
681 |
682 | public struct HouseAdBanner<FallbackContent: View>: View {
| `- note: add @available attribute to enclosing generic struct
683 | @StateObject private var vm: AdomaticBannerViewModel
684 | @Environment(\.openURL) private var openURL
:
910 |
911 | @ViewBuilder
912 | private func attributionFooterRow(palette: AdomaticThemePalette, uiCfg: AdomaticUiConfig) -> some View {
| `- note: add @available attribute to enclosing instance method
913 | let prefixColor = palette.prefixColor
914 | let brandColor = palette.brandColor
:
958 | .padding(.horizontal, uiCfg.footerPaddingH)
959 | .padding(.top, uiCfg.footerPaddingTop)
960 | .padding(.bottom, uiCfg.footerPaddingBottom)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
961 | }
962 | }
BUILD FAILURE 6.1 macosSpm