Build Information
Failed to build BlackLabsSwiftUIColor, reference 1.1.2 (cf7295
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 17:17:22 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nbasham/BlackLabsSwiftUIColor.git
Reference: 1.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nbasham/BlackLabsSwiftUIColor
* tag 1.1.2 -> FETCH_HEAD
HEAD is now at cf7295f Merge remote-tracking branch 'refs/remotes/origin/main'
Cloned https://github.com/nbasham/BlackLabsSwiftUIColor.git
Revision (git rev-parse @):
cf7295f02d1946034d3ba425d7fc6e5b488b46a1
SUCCESS checkout https://github.com/nbasham/BlackLabsSwiftUIColor.git at 1.1.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "blacklabsswiftuicolor",
"name": "BlackLabsSwiftUIColor",
"url": "https://github.com/nbasham/BlackLabsSwiftUIColor.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlackLabsSwiftUIColor",
"dependencies": [
]
}
]
}
Fetching https://github.com/nbasham/BlackLabsSwiftUIColor.git
[1/110] Fetching blacklabsswiftuicolor
Fetched https://github.com/nbasham/BlackLabsSwiftUIColor.git from cache (1.09s)
Creating working copy for https://github.com/nbasham/BlackLabsSwiftUIColor.git
Working copy of https://github.com/nbasham/BlackLabsSwiftUIColor.git resolved at 1.1.2 (cf7295f)
warning: '.resolve-product-dependencies': dependency 'blacklabsswiftuicolor' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/nbasham/BlackLabsSwiftUIColor.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module BlackLabsSwiftUIColor
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:27:18: error: 'Color' is only available in macOS 10.15 or newer
25 |
26 | @available(iOS 14.0, *)
27 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
28 | var hex: String { UIColor(self).hex }
29 | var hexWithAlpha: String {UIColor(self).hexWithAlpha }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:37:18: error: 'Color' is only available in macOS 10.15 or newer
35 |
36 | @available(iOS 13.0, *)
37 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
38 |
39 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:63:24: error: 'Color' is only available in macOS 10.15 or newer
60 |
61 | @available(iOS 13.0, *)
62 | public extension Color {
| `- note: add @available attribute to enclosing extension
63 | static var random: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
64 | Color(red: .random(in: 0...1), green: .random(in: 0...1), blue: .random(in: 0...1))
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:62:18: error: 'Color' is only available in macOS 10.15 or newer
60 |
61 | @available(iOS 13.0, *)
62 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
63 | static var random: Color {
64 | Color(red: .random(in: 0...1), green: .random(in: 0...1), blue: .random(in: 0...1))
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:70:28: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:70:42: error: cannot find 'UIColor' in scope
68 | @available(iOS 13.0, *)
69 | public extension Color {
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
| `- error: cannot find 'UIColor' in scope
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:71:29: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:71:43: error: cannot find 'UIColor' in scope
69 | public extension Color {
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
| `- error: cannot find 'UIColor' in scope
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:72:30: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
74 | static let systemPink: Color = Color(UIColor.systemPink)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:72:44: error: cannot find 'UIColor' in scope
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
| `- error: cannot find 'UIColor' in scope
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
74 | static let systemPink: Color = Color(UIColor.systemPink)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:73:30: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
74 | static let systemPink: Color = Color(UIColor.systemPink)
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:73:44: error: cannot find 'UIColor' in scope
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
| `- error: cannot find 'UIColor' in scope
74 | static let systemPink: Color = Color(UIColor.systemPink)
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:74:28: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
74 | static let systemPink: Color = Color(UIColor.systemPink)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
76 | static let systemRed: Color = Color(UIColor.systemRed)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:74:42: error: cannot find 'UIColor' in scope
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
74 | static let systemPink: Color = Color(UIColor.systemPink)
| `- error: cannot find 'UIColor' in scope
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
76 | static let systemRed: Color = Color(UIColor.systemRed)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:75:30: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
74 | static let systemPink: Color = Color(UIColor.systemPink)
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
76 | static let systemRed: Color = Color(UIColor.systemRed)
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:75:44: error: cannot find 'UIColor' in scope
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
74 | static let systemPink: Color = Color(UIColor.systemPink)
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
| `- error: cannot find 'UIColor' in scope
76 | static let systemRed: Color = Color(UIColor.systemRed)
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:76:27: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
74 | static let systemPink: Color = Color(UIColor.systemPink)
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
76 | static let systemRed: Color = Color(UIColor.systemRed)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:76:41: error: cannot find 'UIColor' in scope
74 | static let systemPink: Color = Color(UIColor.systemPink)
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
76 | static let systemRed: Color = Color(UIColor.systemRed)
| `- error: cannot find 'UIColor' in scope
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:77:28: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
76 | static let systemRed: Color = Color(UIColor.systemRed)
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
79 | static let systemGray: Color = Color(UIColor.systemGray)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:77:42: error: cannot find 'UIColor' in scope
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
76 | static let systemRed: Color = Color(UIColor.systemRed)
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
| `- error: cannot find 'UIColor' in scope
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
79 | static let systemGray: Color = Color(UIColor.systemGray)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:78:30: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
76 | static let systemRed: Color = Color(UIColor.systemRed)
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
79 | static let systemGray: Color = Color(UIColor.systemGray)
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:78:44: error: cannot find 'UIColor' in scope
76 | static let systemRed: Color = Color(UIColor.systemRed)
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
| `- error: cannot find 'UIColor' in scope
79 | static let systemGray: Color = Color(UIColor.systemGray)
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:79:28: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
79 | static let systemGray: Color = Color(UIColor.systemGray)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:79:42: error: cannot find 'UIColor' in scope
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
79 | static let systemGray: Color = Color(UIColor.systemGray)
| `- error: cannot find 'UIColor' in scope
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:80:29: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
79 | static let systemGray: Color = Color(UIColor.systemGray)
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:80:43: error: cannot find 'UIColor' in scope
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
79 | static let systemGray: Color = Color(UIColor.systemGray)
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
| `- error: cannot find 'UIColor' in scope
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:81:29: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
79 | static let systemGray: Color = Color(UIColor.systemGray)
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:81:43: error: cannot find 'UIColor' in scope
79 | static let systemGray: Color = Color(UIColor.systemGray)
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
| `- error: cannot find 'UIColor' in scope
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:82:29: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:82:43: error: cannot find 'UIColor' in scope
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
| `- error: cannot find 'UIColor' in scope
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:83:29: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
85 | static let systemFill: Color = Color(UIColor.systemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:83:43: error: cannot find 'UIColor' in scope
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
| `- error: cannot find 'UIColor' in scope
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
85 | static let systemFill: Color = Color(UIColor.systemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:84:29: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
85 | static let systemFill: Color = Color(UIColor.systemFill)
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:84:43: error: cannot find 'UIColor' in scope
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
| `- error: cannot find 'UIColor' in scope
85 | static let systemFill: Color = Color(UIColor.systemFill)
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:85:28: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
85 | static let systemFill: Color = Color(UIColor.systemFill)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:85:42: error: cannot find 'UIColor' in scope
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
85 | static let systemFill: Color = Color(UIColor.systemFill)
| `- error: cannot find 'UIColor' in scope
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:86:37: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
85 | static let systemFill: Color = Color(UIColor.systemFill)
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:86:51: error: cannot find 'UIColor' in scope
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
85 | static let systemFill: Color = Color(UIColor.systemFill)
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
| `- error: cannot find 'UIColor' in scope
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:87:36: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
85 | static let systemFill: Color = Color(UIColor.systemFill)
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:87:50: error: cannot find 'UIColor' in scope
85 | static let systemFill: Color = Color(UIColor.systemFill)
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
| `- error: cannot find 'UIColor' in scope
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:88:38: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:88:52: error: cannot find 'UIColor' in scope
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
| `- error: cannot find 'UIColor' in scope
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:89:34: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:89:48: error: cannot find 'UIColor' in scope
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
| `- error: cannot find 'UIColor' in scope
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:90:43: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:90:57: error: cannot find 'UIColor' in scope
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
| `- error: cannot find 'UIColor' in scope
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:91:42: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:91:56: error: cannot find 'UIColor' in scope
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
| `- error: cannot find 'UIColor' in scope
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:92:41: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
94 | static let tertiarySystemGroupedBackground: Color = Color(UIColor.tertiarySystemGroupedBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:92:55: error: cannot find 'UIColor' in scope
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
| `- error: cannot find 'UIColor' in scope
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
94 | static let tertiarySystemGroupedBackground: Color = Color(UIColor.tertiarySystemGroupedBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:93:50: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
94 | static let tertiarySystemGroupedBackground: Color = Color(UIColor.tertiarySystemGroupedBackground)
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:93:64: error: cannot find 'UIColor' in scope
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
| `- error: cannot find 'UIColor' in scope
94 | static let tertiarySystemGroupedBackground: Color = Color(UIColor.tertiarySystemGroupedBackground)
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:94:49: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
94 | static let tertiarySystemGroupedBackground: Color = Color(UIColor.tertiarySystemGroupedBackground)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
95 | }
96 |
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:94:63: error: cannot find 'UIColor' in scope
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
94 | static let tertiarySystemGroupedBackground: Color = Color(UIColor.tertiarySystemGroupedBackground)
| `- error: cannot find 'UIColor' in scope
95 | }
96 |
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:69:18: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:97:18: error: cannot find type 'UIColor' in scope
95 | }
96 |
97 | public extension UIColor {
| `- error: cannot find type 'UIColor' in scope
98 |
99 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:5:23: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension UserDefaults {
| `- note: add @available attribute to enclosing extension
5 | func set(_ color: Color, forKey key: String) {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
6 | set(color.hex, forKey: key)
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:8:39: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension UserDefaults {
| `- note: add @available attribute to enclosing extension
5 | func set(_ color: Color, forKey key: String) {
6 | set(color.hex, forKey: key)
7 | }
8 | func color(forKey key: String) -> Color? {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
9 | guard let hex = object(forKey: key) as? String else { return nil }
10 | return Color(hex: hex)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:12:25: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension UserDefaults {
| `- note: add @available attribute to enclosing extension
5 | func set(_ color: Color, forKey key: String) {
6 | set(color.hex, forKey: key)
:
10 | return Color(hex: hex)
11 | }
12 | func set(_ colors: [Color], forKey key: String) {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
13 | set(colors.map { $0.hex }, forKey: key)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:15:41: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension UserDefaults {
| `- note: add @available attribute to enclosing extension
5 | func set(_ color: Color, forKey key: String) {
6 | set(color.hex, forKey: key)
:
13 | set(colors.map { $0.hex }, forKey: key)
14 | }
15 | func colors(forKey key: String) -> [Color]? {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
16 | guard let hexArray = object(forKey: key) as? [String] else { return nil }
17 | return hexArray.compactMap { Color(hex: $0) }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:20:23: error: cannot find type 'UIColor' in scope
18 | }
19 |
20 | func set(_ color: UIColor, forKey key: String) {
| `- error: cannot find type 'UIColor' in scope
21 | set(color.hex, forKey: key)
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:23:41: error: cannot find type 'UIColor' in scope
21 | set(color.hex, forKey: key)
22 | }
23 | func uicolor(forKey key: String) -> UIColor? {
| `- error: cannot find type 'UIColor' in scope
24 | guard let hex = object(forKey: key) as? String else { return nil }
25 | return UIColor(hex: hex)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:27:25: error: cannot find type 'UIColor' in scope
25 | return UIColor(hex: hex)
26 | }
27 | func set(_ colors: [UIColor], forKey key: String) {
| `- error: cannot find type 'UIColor' in scope
28 | set(colors.map { $0.hex }, forKey: key)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:30:43: error: cannot find type 'UIColor' in scope
28 | set(colors.map { $0.hex }, forKey: key)
29 | }
30 | func uicolors(forKey key: String) -> [UIColor]? {
| `- error: cannot find type 'UIColor' in scope
31 | guard let hexArray = object(forKey: key) as? [String] else { return nil }
32 | return hexArray.compactMap { UIColor(hex: $0) }
[4/5] Compiling BlackLabsSwiftUIColor UserDefaults+Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:5:23: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension UserDefaults {
| `- note: add @available attribute to enclosing extension
5 | func set(_ color: Color, forKey key: String) {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
6 | set(color.hex, forKey: key)
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:8:39: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension UserDefaults {
| `- note: add @available attribute to enclosing extension
5 | func set(_ color: Color, forKey key: String) {
6 | set(color.hex, forKey: key)
7 | }
8 | func color(forKey key: String) -> Color? {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
9 | guard let hex = object(forKey: key) as? String else { return nil }
10 | return Color(hex: hex)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:12:25: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension UserDefaults {
| `- note: add @available attribute to enclosing extension
5 | func set(_ color: Color, forKey key: String) {
6 | set(color.hex, forKey: key)
:
10 | return Color(hex: hex)
11 | }
12 | func set(_ colors: [Color], forKey key: String) {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
13 | set(colors.map { $0.hex }, forKey: key)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:15:41: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension UserDefaults {
| `- note: add @available attribute to enclosing extension
5 | func set(_ color: Color, forKey key: String) {
6 | set(color.hex, forKey: key)
:
13 | set(colors.map { $0.hex }, forKey: key)
14 | }
15 | func colors(forKey key: String) -> [Color]? {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
16 | guard let hexArray = object(forKey: key) as? [String] else { return nil }
17 | return hexArray.compactMap { Color(hex: $0) }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:20:23: error: cannot find type 'UIColor' in scope
18 | }
19 |
20 | func set(_ color: UIColor, forKey key: String) {
| `- error: cannot find type 'UIColor' in scope
21 | set(color.hex, forKey: key)
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:23:41: error: cannot find type 'UIColor' in scope
21 | set(color.hex, forKey: key)
22 | }
23 | func uicolor(forKey key: String) -> UIColor? {
| `- error: cannot find type 'UIColor' in scope
24 | guard let hex = object(forKey: key) as? String else { return nil }
25 | return UIColor(hex: hex)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:27:25: error: cannot find type 'UIColor' in scope
25 | return UIColor(hex: hex)
26 | }
27 | func set(_ colors: [UIColor], forKey key: String) {
| `- error: cannot find type 'UIColor' in scope
28 | set(colors.map { $0.hex }, forKey: key)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:30:43: error: cannot find type 'UIColor' in scope
28 | set(colors.map { $0.hex }, forKey: key)
29 | }
30 | func uicolors(forKey key: String) -> [UIColor]? {
| `- error: cannot find type 'UIColor' in scope
31 | guard let hexArray = object(forKey: key) as? [String] else { return nil }
32 | return hexArray.compactMap { UIColor(hex: $0) }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:10:17: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension UserDefaults {
| `- note: add @available attribute to enclosing extension
5 | func set(_ color: Color, forKey key: String) {
6 | set(color.hex, forKey: key)
7 | }
8 | func color(forKey key: String) -> Color? {
| `- note: add @available attribute to enclosing instance method
9 | guard let hex = object(forKey: key) as? String else { return nil }
10 | return Color(hex: hex)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
11 | }
12 | func set(_ colors: [Color], forKey key: String) {
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/UserDefaults+Color.swift:17:38: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 14.0, *)
4 | public extension UserDefaults {
| `- note: add @available attribute to enclosing extension
5 | func set(_ color: Color, forKey key: String) {
6 | set(color.hex, forKey: key)
:
13 | set(colors.map { $0.hex }, forKey: key)
14 | }
15 | func colors(forKey key: String) -> [Color]? {
| `- note: add @available attribute to enclosing instance method
16 | guard let hexArray = object(forKey: key) as? [String] else { return nil }
17 | return hexArray.compactMap { Color(hex: $0) }
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 |
[5/5] Compiling BlackLabsSwiftUIColor BlackLabsSwiftUIColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:27:18: error: 'Color' is only available in macOS 10.15 or newer
25 |
26 | @available(iOS 14.0, *)
27 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
28 | var hex: String { UIColor(self).hex }
29 | var hexWithAlpha: String {UIColor(self).hexWithAlpha }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:37:18: error: 'Color' is only available in macOS 10.15 or newer
35 |
36 | @available(iOS 13.0, *)
37 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
38 |
39 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:63:24: error: 'Color' is only available in macOS 10.15 or newer
60 |
61 | @available(iOS 13.0, *)
62 | public extension Color {
| `- note: add @available attribute to enclosing extension
63 | static var random: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
64 | Color(red: .random(in: 0...1), green: .random(in: 0...1), blue: .random(in: 0...1))
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:62:18: error: 'Color' is only available in macOS 10.15 or newer
60 |
61 | @available(iOS 13.0, *)
62 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
63 | static var random: Color {
64 | Color(red: .random(in: 0...1), green: .random(in: 0...1), blue: .random(in: 0...1))
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:70:28: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:70:42: error: cannot find 'UIColor' in scope
68 | @available(iOS 13.0, *)
69 | public extension Color {
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
| `- error: cannot find 'UIColor' in scope
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:71:29: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:71:43: error: cannot find 'UIColor' in scope
69 | public extension Color {
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
| `- error: cannot find 'UIColor' in scope
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:72:30: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
74 | static let systemPink: Color = Color(UIColor.systemPink)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:72:44: error: cannot find 'UIColor' in scope
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
| `- error: cannot find 'UIColor' in scope
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
74 | static let systemPink: Color = Color(UIColor.systemPink)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:73:30: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
74 | static let systemPink: Color = Color(UIColor.systemPink)
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:73:44: error: cannot find 'UIColor' in scope
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
| `- error: cannot find 'UIColor' in scope
74 | static let systemPink: Color = Color(UIColor.systemPink)
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:74:28: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
74 | static let systemPink: Color = Color(UIColor.systemPink)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
76 | static let systemRed: Color = Color(UIColor.systemRed)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:74:42: error: cannot find 'UIColor' in scope
72 | static let systemIndigo: Color = Color(UIColor.systemIndigo)
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
74 | static let systemPink: Color = Color(UIColor.systemPink)
| `- error: cannot find 'UIColor' in scope
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
76 | static let systemRed: Color = Color(UIColor.systemRed)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:75:30: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
74 | static let systemPink: Color = Color(UIColor.systemPink)
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
76 | static let systemRed: Color = Color(UIColor.systemRed)
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:75:44: error: cannot find 'UIColor' in scope
73 | static let systemOrange: Color = Color(UIColor.systemOrange)
74 | static let systemPink: Color = Color(UIColor.systemPink)
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
| `- error: cannot find 'UIColor' in scope
76 | static let systemRed: Color = Color(UIColor.systemRed)
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:76:27: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
74 | static let systemPink: Color = Color(UIColor.systemPink)
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
76 | static let systemRed: Color = Color(UIColor.systemRed)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:76:41: error: cannot find 'UIColor' in scope
74 | static let systemPink: Color = Color(UIColor.systemPink)
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
76 | static let systemRed: Color = Color(UIColor.systemRed)
| `- error: cannot find 'UIColor' in scope
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:77:28: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
76 | static let systemRed: Color = Color(UIColor.systemRed)
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
79 | static let systemGray: Color = Color(UIColor.systemGray)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:77:42: error: cannot find 'UIColor' in scope
75 | static let systemPurple: Color = Color(UIColor.systemPurple)
76 | static let systemRed: Color = Color(UIColor.systemRed)
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
| `- error: cannot find 'UIColor' in scope
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
79 | static let systemGray: Color = Color(UIColor.systemGray)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:78:30: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
76 | static let systemRed: Color = Color(UIColor.systemRed)
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
79 | static let systemGray: Color = Color(UIColor.systemGray)
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:78:44: error: cannot find 'UIColor' in scope
76 | static let systemRed: Color = Color(UIColor.systemRed)
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
| `- error: cannot find 'UIColor' in scope
79 | static let systemGray: Color = Color(UIColor.systemGray)
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:79:28: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
79 | static let systemGray: Color = Color(UIColor.systemGray)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:79:42: error: cannot find 'UIColor' in scope
77 | static let systemTeal: Color = Color(UIColor.systemTeal)
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
79 | static let systemGray: Color = Color(UIColor.systemGray)
| `- error: cannot find 'UIColor' in scope
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:80:29: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
79 | static let systemGray: Color = Color(UIColor.systemGray)
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:80:43: error: cannot find 'UIColor' in scope
78 | static let systemYellow: Color = Color(UIColor.systemYellow)
79 | static let systemGray: Color = Color(UIColor.systemGray)
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
| `- error: cannot find 'UIColor' in scope
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:81:29: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
79 | static let systemGray: Color = Color(UIColor.systemGray)
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:81:43: error: cannot find 'UIColor' in scope
79 | static let systemGray: Color = Color(UIColor.systemGray)
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
| `- error: cannot find 'UIColor' in scope
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:82:29: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:82:43: error: cannot find 'UIColor' in scope
80 | static let systemGray2: Color = Color(UIColor.systemGray2)
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
| `- error: cannot find 'UIColor' in scope
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:83:29: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
85 | static let systemFill: Color = Color(UIColor.systemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:83:43: error: cannot find 'UIColor' in scope
81 | static let systemGray3: Color = Color(UIColor.systemGray3)
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
| `- error: cannot find 'UIColor' in scope
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
85 | static let systemFill: Color = Color(UIColor.systemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:84:29: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
85 | static let systemFill: Color = Color(UIColor.systemFill)
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:84:43: error: cannot find 'UIColor' in scope
82 | static let systemGray4: Color = Color(UIColor.systemGray4)
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
| `- error: cannot find 'UIColor' in scope
85 | static let systemFill: Color = Color(UIColor.systemFill)
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:85:28: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
85 | static let systemFill: Color = Color(UIColor.systemFill)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:85:42: error: cannot find 'UIColor' in scope
83 | static let systemGray5: Color = Color(UIColor.systemGray5)
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
85 | static let systemFill: Color = Color(UIColor.systemFill)
| `- error: cannot find 'UIColor' in scope
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:86:37: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
85 | static let systemFill: Color = Color(UIColor.systemFill)
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:86:51: error: cannot find 'UIColor' in scope
84 | static let systemGray6: Color = Color(UIColor.systemGray6)
85 | static let systemFill: Color = Color(UIColor.systemFill)
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
| `- error: cannot find 'UIColor' in scope
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:87:36: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
85 | static let systemFill: Color = Color(UIColor.systemFill)
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:87:50: error: cannot find 'UIColor' in scope
85 | static let systemFill: Color = Color(UIColor.systemFill)
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
| `- error: cannot find 'UIColor' in scope
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:88:38: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:88:52: error: cannot find 'UIColor' in scope
86 | static let secondarySystemFill: Color = Color(UIColor.secondarySystemFill)
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
| `- error: cannot find 'UIColor' in scope
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:89:34: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:89:48: error: cannot find 'UIColor' in scope
87 | static let tertiarySystemFill: Color = Color(UIColor.tertiarySystemFill)
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
| `- error: cannot find 'UIColor' in scope
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:90:43: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:90:57: error: cannot find 'UIColor' in scope
88 | static let quaternarySystemFill: Color = Color(UIColor.quaternarySystemFill)
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
| `- error: cannot find 'UIColor' in scope
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:91:42: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:91:56: error: cannot find 'UIColor' in scope
89 | static let systemBackground: Color = Color(UIColor.systemBackground)
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
| `- error: cannot find 'UIColor' in scope
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:92:41: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
94 | static let tertiarySystemGroupedBackground: Color = Color(UIColor.tertiarySystemGroupedBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:92:55: error: cannot find 'UIColor' in scope
90 | static let secondarySystemBackground: Color = Color(UIColor.secondarySystemBackground)
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
| `- error: cannot find 'UIColor' in scope
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
94 | static let tertiarySystemGroupedBackground: Color = Color(UIColor.tertiarySystemGroupedBackground)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:93:50: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
94 | static let tertiarySystemGroupedBackground: Color = Color(UIColor.tertiarySystemGroupedBackground)
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:93:64: error: cannot find 'UIColor' in scope
91 | static let tertiarySystemBackground: Color = Color(UIColor.tertiarySystemBackground)
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
| `- error: cannot find 'UIColor' in scope
94 | static let tertiarySystemGroupedBackground: Color = Color(UIColor.tertiarySystemGroupedBackground)
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:94:49: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
:
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
94 | static let tertiarySystemGroupedBackground: Color = Color(UIColor.tertiarySystemGroupedBackground)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
95 | }
96 |
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:94:63: error: cannot find 'UIColor' in scope
92 | static let systemGroupedBackground: Color = Color(UIColor.systemGroupedBackground)
93 | static let secondarySystemGroupedBackground: Color = Color(UIColor.secondarySystemGroupedBackground)
94 | static let tertiarySystemGroupedBackground: Color = Color(UIColor.tertiarySystemGroupedBackground)
| `- error: cannot find 'UIColor' in scope
95 | }
96 |
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:69:18: error: 'Color' is only available in macOS 10.15 or newer
67 |
68 | @available(iOS 13.0, *)
69 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
70 | static let systemBlue: Color = Color(UIColor.systemBlue)
71 | static let systemGreen: Color = Color(UIColor.systemGreen)
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:97:18: error: cannot find type 'UIColor' in scope
95 | }
96 |
97 | public extension UIColor {
| `- error: cannot find type 'UIColor' in scope
98 |
99 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:28:23: error: cannot find 'UIColor' in scope
26 | @available(iOS 14.0, *)
27 | public extension Color {
28 | var hex: String { UIColor(self).hex }
| `- error: cannot find 'UIColor' in scope
29 | var hexWithAlpha: String {UIColor(self).hexWithAlpha }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:29:31: error: cannot find 'UIColor' in scope
27 | public extension Color {
28 | var hex: String { UIColor(self).hex }
29 | var hexWithAlpha: String {UIColor(self).hexWithAlpha }
| `- error: cannot find 'UIColor' in scope
30 |
31 | func hexDescription(_ includeAlpha: Bool = false) -> String {
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:32:9: error: cannot find 'UIColor' in scope
30 |
31 | func hexDescription(_ includeAlpha: Bool = false) -> String {
32 | UIColor(self).hexDescription(includeAlpha)
| `- error: cannot find 'UIColor' in scope
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:57:19: error: cannot find 'UIColor' in scope
55 | */
56 | init(hex: String?) {
57 | self.init(UIColor(hex: hex))
| `- error: cannot find 'UIColor' in scope
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:64:9: error: 'Color' is only available in macOS 10.15 or newer
60 |
61 | @available(iOS 13.0, *)
62 | public extension Color {
| `- note: add @available attribute to enclosing extension
63 | static var random: Color {
| `- note: add @available attribute to enclosing static property
64 | Color(red: .random(in: 0...1), green: .random(in: 0...1), blue: .random(in: 0...1))
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | }
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlackLabsSwiftUIColor/BlackLabsSwiftUIColor.swift:64:9: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
60 |
61 | @available(iOS 13.0, *)
62 | public extension Color {
| `- note: add @available attribute to enclosing extension
63 | static var random: Color {
| `- note: add @available attribute to enclosing static property
64 | Color(red: .random(in: 0...1), green: .random(in: 0...1), blue: .random(in: 0...1))
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | }
66 | }
BUILD FAILURE 6.0 macosSpm