Build Information
Failed to build FoggyColors, reference main (98ba7b
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 04:02:40 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/alexdremov/FoggyColors.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexdremov/FoggyColors
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 98ba7b4 Release 1.2.1
Cloned https://github.com/alexdremov/FoggyColors.git
Revision (git rev-parse @):
98ba7b491903432eba9aa38ae36cc6267016a9a4
SUCCESS checkout https://github.com/alexdremov/FoggyColors.git at main
========================================
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": "foggycolors",
"name": "FoggyColors",
"url": "https://github.com/alexdremov/FoggyColors.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FoggyColors",
"dependencies": [
]
}
]
}
Fetching https://github.com/alexdremov/FoggyColors.git
[1/144] Fetching foggycolors
Fetched https://github.com/alexdremov/FoggyColors.git from cache (1.33s)
Creating working copy for https://github.com/alexdremov/FoggyColors.git
Working copy of https://github.com/alexdremov/FoggyColors.git resolved at main (98ba7b4)
warning: '.resolve-product-dependencies': dependency 'foggycolors' 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/alexdremov/FoggyColors.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
[3/5] Compiling FoggyColors PointRandomization.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module FoggyColors
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:4:6: error: 'State' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
| `- error: 'State' is only available in macOS 10.15 or newer
5 | @State var opacity: CGFloat
6 | @State var randomization = [PointRandomization]()
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:5:6: error: 'State' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
| `- error: 'State' is only available in macOS 10.15 or newer
6 | @State var randomization = [PointRandomization]()
7 | @State var size: CGSize = CGSize()
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
6 | @State var randomization = [PointRandomization]()
| `- error: 'State' is only available in macOS 10.15 or newer
7 | @State var size: CGSize = CGSize()
8 | var randomColors = [Int]()
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
6 | @State var randomization = [PointRandomization]()
7 | @State var size: CGSize = CGSize()
| `- error: 'State' is only available in macOS 10.15 or newer
8 | var randomColors = [Int]()
9 | var randomShapes = [Int]()
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:14:28: error: 'Animation' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
12 |
13 | private let animated: Bool
14 | private let animation: Animation
| `- error: 'Animation' is only available in macOS 10.15 or newer
15 | private let numberShapes: Int
16 |
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:18:10: error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
16 |
17 | private let timer = Timer
18 | .publish(every: 5, on: .main, in: .commonModes)
| `- error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
19 | .autoconnect()
20 |
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:19:10: error: 'autoconnect()' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
17 | private let timer = Timer
18 | .publish(every: 5, on: .main, in: .commonModes)
19 | .autoconnect()
| `- error: 'autoconnect()' is only available in macOS 10.15 or newer
20 |
21 | var colors: [LinearGradient] = [
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:21:18: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
19 | .autoconnect()
20 |
21 | var colors: [LinearGradient] = [
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
22 | LinearGradient(gradient: Gradient(colors:[
23 | Color(red: 98.0 / 255.0, green: 219.0 / 255.0, blue: 198.0 / 255.0),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:22:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
20 |
21 | var colors: [LinearGradient] = [
22 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
23 | Color(red: 98.0 / 255.0, green: 219.0 / 255.0, blue: 198.0 / 255.0),
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:22:34: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
20 |
21 | var colors: [LinearGradient] = [
22 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'Gradient' is only available in macOS 10.15 or newer
23 | Color(red: 98.0 / 255.0, green: 219.0 / 255.0, blue: 198.0 / 255.0),
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:23:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
21 | var colors: [LinearGradient] = [
22 | LinearGradient(gradient: Gradient(colors:[
23 | Color(red: 98.0 / 255.0, green: 219.0 / 255.0, blue: 198.0 / 255.0),
| `- error: 'Color' is only available in macOS 10.15 or newer
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:23:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
21 | var colors: [LinearGradient] = [
22 | LinearGradient(gradient: Gradient(colors:[
23 | Color(red: 98.0 / 255.0, green: 219.0 / 255.0, blue: 198.0 / 255.0),
| `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:24:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
22 | LinearGradient(gradient: Gradient(colors:[
23 | Color(red: 98.0 / 255.0, green: 219.0 / 255.0, blue: 198.0 / 255.0),
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
| `- error: 'Color' is only available in macOS 10.15 or newer
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
26 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:24:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
22 | LinearGradient(gradient: Gradient(colors:[
23 | Color(red: 98.0 / 255.0, green: 219.0 / 255.0, blue: 198.0 / 255.0),
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
| `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
26 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:26:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
26 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
27 | Color(red: 255.0 / 255.0, green: 175.0 / 255.0, blue: 198.0 / 255.0),
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:26:34: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
26 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'Gradient' is only available in macOS 10.15 or newer
27 | Color(red: 255.0 / 255.0, green: 175.0 / 255.0, blue: 198.0 / 255.0),
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:27:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
26 | LinearGradient(gradient: Gradient(colors:[
27 | Color(red: 255.0 / 255.0, green: 175.0 / 255.0, blue: 198.0 / 255.0),
| `- error: 'Color' is only available in macOS 10.15 or newer
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:27:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
26 | LinearGradient(gradient: Gradient(colors:[
27 | Color(red: 255.0 / 255.0, green: 175.0 / 255.0, blue: 198.0 / 255.0),
| `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:28:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
26 | LinearGradient(gradient: Gradient(colors:[
27 | Color(red: 255.0 / 255.0, green: 175.0 / 255.0, blue: 198.0 / 255.0),
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
| `- error: 'Color' is only available in macOS 10.15 or newer
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
30 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:28:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
26 | LinearGradient(gradient: Gradient(colors:[
27 | Color(red: 255.0 / 255.0, green: 175.0 / 255.0, blue: 198.0 / 255.0),
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
| `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
30 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:30:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
30 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
31 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0),
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:30:34: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
30 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'Gradient' is only available in macOS 10.15 or newer
31 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0),
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:31:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
30 | LinearGradient(gradient: Gradient(colors:[
31 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0),
| `- error: 'Color' is only available in macOS 10.15 or newer
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:31:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
30 | LinearGradient(gradient: Gradient(colors:[
31 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0),
| `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:32:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
30 | LinearGradient(gradient: Gradient(colors:[
31 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0),
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
| `- error: 'Color' is only available in macOS 10.15 or newer
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
34 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:32:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
30 | LinearGradient(gradient: Gradient(colors:[
31 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0),
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
| `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
34 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:34:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
34 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
35 | Color.red,
36 | Color.red
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:34:34: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
34 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'Gradient' is only available in macOS 10.15 or newer
35 | Color.red,
36 | Color.red
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:35:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
34 | LinearGradient(gradient: Gradient(colors:[
35 | Color.red,
| `- error: 'Color' is only available in macOS 10.15 or newer
36 | Color.red
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:35:19: error: 'red' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
34 | LinearGradient(gradient: Gradient(colors:[
35 | Color.red,
| `- error: 'red' is only available in macOS 10.15 or newer
36 | Color.red
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:36:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
34 | LinearGradient(gradient: Gradient(colors:[
35 | Color.red,
36 | Color.red
| `- error: 'Color' is only available in macOS 10.15 or newer
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
38 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:36:19: error: 'red' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
34 | LinearGradient(gradient: Gradient(colors:[
35 | Color.red,
36 | Color.red
| `- error: 'red' is only available in macOS 10.15 or newer
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
38 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:38:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
36 | Color.red
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
38 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
39 | Color.blue,
40 | Color.blue
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:38:34: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
36 | Color.red
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
38 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'Gradient' is only available in macOS 10.15 or newer
39 | Color.blue,
40 | Color.blue
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:39:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
38 | LinearGradient(gradient: Gradient(colors:[
39 | Color.blue,
| `- error: 'Color' is only available in macOS 10.15 or newer
40 | Color.blue
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:39:19: error: 'blue' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
38 | LinearGradient(gradient: Gradient(colors:[
39 | Color.blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
40 | Color.blue
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:40:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
38 | LinearGradient(gradient: Gradient(colors:[
39 | Color.blue,
40 | Color.blue
| `- error: 'Color' is only available in macOS 10.15 or newer
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
42 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:40:19: error: 'blue' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
38 | LinearGradient(gradient: Gradient(colors:[
39 | Color.blue,
40 | Color.blue
| `- error: 'blue' is only available in macOS 10.15 or newer
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
42 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:42:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
40 | Color.blue
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
42 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
43 | Color.blue,
44 | Color.red
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:42:34: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
40 | Color.blue
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
42 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'Gradient' is only available in macOS 10.15 or newer
43 | Color.blue,
44 | Color.red
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:43:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
42 | LinearGradient(gradient: Gradient(colors:[
43 | Color.blue,
| `- error: 'Color' is only available in macOS 10.15 or newer
44 | Color.red
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:43:19: error: 'blue' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
42 | LinearGradient(gradient: Gradient(colors:[
43 | Color.blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
44 | Color.red
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:44:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
42 | LinearGradient(gradient: Gradient(colors:[
43 | Color.blue,
44 | Color.red
| `- error: 'Color' is only available in macOS 10.15 or newer
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
46 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:44:19: error: 'red' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
42 | LinearGradient(gradient: Gradient(colors:[
43 | Color.blue,
44 | Color.red
| `- error: 'red' is only available in macOS 10.15 or newer
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
46 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:46:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
44 | Color.red
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
46 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
47 | Color.orange,
48 | Color.red
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:46:34: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
44 | Color.red
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
46 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'Gradient' is only available in macOS 10.15 or newer
47 | Color.orange,
48 | Color.red
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:47:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
46 | LinearGradient(gradient: Gradient(colors:[
47 | Color.orange,
| `- error: 'Color' is only available in macOS 10.15 or newer
48 | Color.red
49 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:47:19: error: 'orange' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
46 | LinearGradient(gradient: Gradient(colors:[
47 | Color.orange,
| `- error: 'orange' is only available in macOS 10.15 or newer
48 | Color.red
49 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:48:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
46 | LinearGradient(gradient: Gradient(colors:[
47 | Color.orange,
48 | Color.red
| `- error: 'Color' is only available in macOS 10.15 or newer
49 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
50 | ]
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:48:19: error: 'red' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
46 | LinearGradient(gradient: Gradient(colors:[
47 | Color.orange,
48 | Color.red
| `- error: 'red' is only available in macOS 10.15 or newer
49 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
50 | ]
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:52:39: error: 'GeometryProxy' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
50 | ]
51 |
52 | private func randomFrame(_ proxy: GeometryProxy) -> CGSize{
| | `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
53 | let x = CGFloat.random(in: (proxy.size.width / 20.0)...(proxy.size.width))
54 | let y = CGFloat.random(in: (proxy.size.height / 20.0)...(proxy.size.height))
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:58:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
56 | }
57 |
58 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:148:20: error: 'Animation' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
141 | }
142 |
143 | public init(
| `- note: add @available attribute to enclosing initializer
144 | blurRadius newBlurRadius: CGFloat = 50,
145 | globalOpacity: CGFloat = 1.0,
146 | elementOpacity: CGFloat = 0.6,
147 | animated: Bool = true,
148 | animation: Animation = Animation
| `- error: 'Animation' is only available in macOS 10.15 or newer
149 | .interpolatingSpring(stiffness: 10, damping: 5)
150 | .speed(0.08),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:152:18: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
141 | }
142 |
143 | public init(
| `- note: add @available attribute to enclosing initializer
144 | blurRadius newBlurRadius: CGFloat = 50,
145 | globalOpacity: CGFloat = 1.0,
:
150 | .speed(0.08),
151 | numberShapes: Int = 8,
152 | colors: [LinearGradient]? = nil
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
153 | ) {
154 | self.blurRadius = newBlurRadius
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:148:32: error: 'Animation' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
141 | }
142 |
143 | public init(
| `- note: add @available attribute to enclosing initializer
144 | blurRadius newBlurRadius: CGFloat = 50,
145 | globalOpacity: CGFloat = 1.0,
146 | elementOpacity: CGFloat = 0.6,
147 | animated: Bool = true,
148 | animation: Animation = Animation
| `- error: 'Animation' is only available in macOS 10.15 or newer
149 | .interpolatingSpring(stiffness: 10, damping: 5)
150 | .speed(0.08),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:149:14: error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
141 | }
142 |
143 | public init(
| `- note: add @available attribute to enclosing initializer
144 | blurRadius newBlurRadius: CGFloat = 50,
145 | globalOpacity: CGFloat = 1.0,
:
147 | animated: Bool = true,
148 | animation: Animation = Animation
149 | .interpolatingSpring(stiffness: 10, damping: 5)
| `- error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
150 | .speed(0.08),
151 | numberShapes: Int = 8,
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:150:14: error: 'speed' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
141 | }
142 |
143 | public init(
| `- note: add @available attribute to enclosing initializer
144 | blurRadius newBlurRadius: CGFloat = 50,
145 | globalOpacity: CGFloat = 1.0,
:
148 | animation: Animation = Animation
149 | .interpolatingSpring(stiffness: 10, damping: 5)
150 | .speed(0.08),
| `- error: 'speed' is only available in macOS 10.15 or newer
151 | numberShapes: Int = 8,
152 | colors: [LinearGradient]? = nil
[5/5] Compiling FoggyColors FoggyColorsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:4:6: error: 'State' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
| `- error: 'State' is only available in macOS 10.15 or newer
5 | @State var opacity: CGFloat
6 | @State var randomization = [PointRandomization]()
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:5:6: error: 'State' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
| `- error: 'State' is only available in macOS 10.15 or newer
6 | @State var randomization = [PointRandomization]()
7 | @State var size: CGSize = CGSize()
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
6 | @State var randomization = [PointRandomization]()
| `- error: 'State' is only available in macOS 10.15 or newer
7 | @State var size: CGSize = CGSize()
8 | var randomColors = [Int]()
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
6 | @State var randomization = [PointRandomization]()
7 | @State var size: CGSize = CGSize()
| `- error: 'State' is only available in macOS 10.15 or newer
8 | var randomColors = [Int]()
9 | var randomShapes = [Int]()
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:14:28: error: 'Animation' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
12 |
13 | private let animated: Bool
14 | private let animation: Animation
| `- error: 'Animation' is only available in macOS 10.15 or newer
15 | private let numberShapes: Int
16 |
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:18:10: error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
16 |
17 | private let timer = Timer
18 | .publish(every: 5, on: .main, in: .commonModes)
| `- error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
19 | .autoconnect()
20 |
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:19:10: error: 'autoconnect()' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
17 | private let timer = Timer
18 | .publish(every: 5, on: .main, in: .commonModes)
19 | .autoconnect()
| `- error: 'autoconnect()' is only available in macOS 10.15 or newer
20 |
21 | var colors: [LinearGradient] = [
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:21:18: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
19 | .autoconnect()
20 |
21 | var colors: [LinearGradient] = [
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
22 | LinearGradient(gradient: Gradient(colors:[
23 | Color(red: 98.0 / 255.0, green: 219.0 / 255.0, blue: 198.0 / 255.0),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:22:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
20 |
21 | var colors: [LinearGradient] = [
22 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
23 | Color(red: 98.0 / 255.0, green: 219.0 / 255.0, blue: 198.0 / 255.0),
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:22:34: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
20 |
21 | var colors: [LinearGradient] = [
22 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'Gradient' is only available in macOS 10.15 or newer
23 | Color(red: 98.0 / 255.0, green: 219.0 / 255.0, blue: 198.0 / 255.0),
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:23:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
21 | var colors: [LinearGradient] = [
22 | LinearGradient(gradient: Gradient(colors:[
23 | Color(red: 98.0 / 255.0, green: 219.0 / 255.0, blue: 198.0 / 255.0),
| `- error: 'Color' is only available in macOS 10.15 or newer
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:23:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
21 | var colors: [LinearGradient] = [
22 | LinearGradient(gradient: Gradient(colors:[
23 | Color(red: 98.0 / 255.0, green: 219.0 / 255.0, blue: 198.0 / 255.0),
| `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:24:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
22 | LinearGradient(gradient: Gradient(colors:[
23 | Color(red: 98.0 / 255.0, green: 219.0 / 255.0, blue: 198.0 / 255.0),
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
| `- error: 'Color' is only available in macOS 10.15 or newer
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
26 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:24:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
22 | LinearGradient(gradient: Gradient(colors:[
23 | Color(red: 98.0 / 255.0, green: 219.0 / 255.0, blue: 198.0 / 255.0),
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
| `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
26 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:26:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
26 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
27 | Color(red: 255.0 / 255.0, green: 175.0 / 255.0, blue: 198.0 / 255.0),
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:26:34: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
24 | Color(red: 48.0 / 255.0, green: 159.0 / 255.0, blue: 140.0 / 255.0)
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
26 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'Gradient' is only available in macOS 10.15 or newer
27 | Color(red: 255.0 / 255.0, green: 175.0 / 255.0, blue: 198.0 / 255.0),
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:27:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
26 | LinearGradient(gradient: Gradient(colors:[
27 | Color(red: 255.0 / 255.0, green: 175.0 / 255.0, blue: 198.0 / 255.0),
| `- error: 'Color' is only available in macOS 10.15 or newer
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:27:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
25 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
26 | LinearGradient(gradient: Gradient(colors:[
27 | Color(red: 255.0 / 255.0, green: 175.0 / 255.0, blue: 198.0 / 255.0),
| `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:28:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
26 | LinearGradient(gradient: Gradient(colors:[
27 | Color(red: 255.0 / 255.0, green: 175.0 / 255.0, blue: 198.0 / 255.0),
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
| `- error: 'Color' is only available in macOS 10.15 or newer
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
30 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:28:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
26 | LinearGradient(gradient: Gradient(colors:[
27 | Color(red: 255.0 / 255.0, green: 175.0 / 255.0, blue: 198.0 / 255.0),
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
| `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
30 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:30:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
30 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
31 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0),
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:30:34: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
28 | Color(red: 255.0 / 255.0, green: 108.0 / 255.0, blue: 135.0 / 255.0)
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
30 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'Gradient' is only available in macOS 10.15 or newer
31 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0),
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:31:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
30 | LinearGradient(gradient: Gradient(colors:[
31 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0),
| `- error: 'Color' is only available in macOS 10.15 or newer
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:31:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
29 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
30 | LinearGradient(gradient: Gradient(colors:[
31 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0),
| `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:32:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
30 | LinearGradient(gradient: Gradient(colors:[
31 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0),
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
| `- error: 'Color' is only available in macOS 10.15 or newer
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
34 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:32:13: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
30 | LinearGradient(gradient: Gradient(colors:[
31 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0),
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
| `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
34 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:34:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
34 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
35 | Color.red,
36 | Color.red
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:34:34: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
32 | Color(red: 53.0 / 255.0, green: 127.0 / 255.0, blue: 255.0 / 255.0)
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
34 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'Gradient' is only available in macOS 10.15 or newer
35 | Color.red,
36 | Color.red
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:35:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
34 | LinearGradient(gradient: Gradient(colors:[
35 | Color.red,
| `- error: 'Color' is only available in macOS 10.15 or newer
36 | Color.red
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:35:19: error: 'red' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
33 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
34 | LinearGradient(gradient: Gradient(colors:[
35 | Color.red,
| `- error: 'red' is only available in macOS 10.15 or newer
36 | Color.red
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:36:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
34 | LinearGradient(gradient: Gradient(colors:[
35 | Color.red,
36 | Color.red
| `- error: 'Color' is only available in macOS 10.15 or newer
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
38 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:36:19: error: 'red' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
34 | LinearGradient(gradient: Gradient(colors:[
35 | Color.red,
36 | Color.red
| `- error: 'red' is only available in macOS 10.15 or newer
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
38 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:38:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
36 | Color.red
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
38 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
39 | Color.blue,
40 | Color.blue
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:38:34: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
36 | Color.red
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
38 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'Gradient' is only available in macOS 10.15 or newer
39 | Color.blue,
40 | Color.blue
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:39:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
38 | LinearGradient(gradient: Gradient(colors:[
39 | Color.blue,
| `- error: 'Color' is only available in macOS 10.15 or newer
40 | Color.blue
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:39:19: error: 'blue' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
37 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
38 | LinearGradient(gradient: Gradient(colors:[
39 | Color.blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
40 | Color.blue
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:40:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
38 | LinearGradient(gradient: Gradient(colors:[
39 | Color.blue,
40 | Color.blue
| `- error: 'Color' is only available in macOS 10.15 or newer
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
42 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:40:19: error: 'blue' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
38 | LinearGradient(gradient: Gradient(colors:[
39 | Color.blue,
40 | Color.blue
| `- error: 'blue' is only available in macOS 10.15 or newer
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
42 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:42:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
40 | Color.blue
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
42 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
43 | Color.blue,
44 | Color.red
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:42:34: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
40 | Color.blue
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
42 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'Gradient' is only available in macOS 10.15 or newer
43 | Color.blue,
44 | Color.red
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:43:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
42 | LinearGradient(gradient: Gradient(colors:[
43 | Color.blue,
| `- error: 'Color' is only available in macOS 10.15 or newer
44 | Color.red
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:43:19: error: 'blue' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
41 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
42 | LinearGradient(gradient: Gradient(colors:[
43 | Color.blue,
| `- error: 'blue' is only available in macOS 10.15 or newer
44 | Color.red
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:44:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
42 | LinearGradient(gradient: Gradient(colors:[
43 | Color.blue,
44 | Color.red
| `- error: 'Color' is only available in macOS 10.15 or newer
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
46 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:44:19: error: 'red' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
42 | LinearGradient(gradient: Gradient(colors:[
43 | Color.blue,
44 | Color.red
| `- error: 'red' is only available in macOS 10.15 or newer
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
46 | LinearGradient(gradient: Gradient(colors:[
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:46:9: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
44 | Color.red
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
46 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
47 | Color.orange,
48 | Color.red
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:46:34: error: 'Gradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
44 | Color.red
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
46 | LinearGradient(gradient: Gradient(colors:[
| `- error: 'Gradient' is only available in macOS 10.15 or newer
47 | Color.orange,
48 | Color.red
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:47:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
46 | LinearGradient(gradient: Gradient(colors:[
47 | Color.orange,
| `- error: 'Color' is only available in macOS 10.15 or newer
48 | Color.red
49 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:47:19: error: 'orange' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
45 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
46 | LinearGradient(gradient: Gradient(colors:[
47 | Color.orange,
| `- error: 'orange' is only available in macOS 10.15 or newer
48 | Color.red
49 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:48:13: error: 'Color' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
46 | LinearGradient(gradient: Gradient(colors:[
47 | Color.orange,
48 | Color.red
| `- error: 'Color' is only available in macOS 10.15 or newer
49 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
50 | ]
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:48:19: error: 'red' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
46 | LinearGradient(gradient: Gradient(colors:[
47 | Color.orange,
48 | Color.red
| `- error: 'red' is only available in macOS 10.15 or newer
49 | ]), startPoint: .topLeading, endPoint: .bottomTrailing),
50 | ]
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:52:39: error: 'GeometryProxy' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
50 | ]
51 |
52 | private func randomFrame(_ proxy: GeometryProxy) -> CGSize{
| | `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
53 | let x = CGFloat.random(in: (proxy.size.width / 20.0)...(proxy.size.width))
54 | let y = CGFloat.random(in: (proxy.size.height / 20.0)...(proxy.size.height))
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:58:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
56 | }
57 |
58 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:148:20: error: 'Animation' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
141 | }
142 |
143 | public init(
| `- note: add @available attribute to enclosing initializer
144 | blurRadius newBlurRadius: CGFloat = 50,
145 | globalOpacity: CGFloat = 1.0,
146 | elementOpacity: CGFloat = 0.6,
147 | animated: Bool = true,
148 | animation: Animation = Animation
| `- error: 'Animation' is only available in macOS 10.15 or newer
149 | .interpolatingSpring(stiffness: 10, damping: 5)
150 | .speed(0.08),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:152:18: error: 'LinearGradient' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
141 | }
142 |
143 | public init(
| `- note: add @available attribute to enclosing initializer
144 | blurRadius newBlurRadius: CGFloat = 50,
145 | globalOpacity: CGFloat = 1.0,
:
150 | .speed(0.08),
151 | numberShapes: Int = 8,
152 | colors: [LinearGradient]? = nil
| `- error: 'LinearGradient' is only available in macOS 10.15 or newer
153 | ) {
154 | self.blurRadius = newBlurRadius
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:148:32: error: 'Animation' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
141 | }
142 |
143 | public init(
| `- note: add @available attribute to enclosing initializer
144 | blurRadius newBlurRadius: CGFloat = 50,
145 | globalOpacity: CGFloat = 1.0,
146 | elementOpacity: CGFloat = 0.6,
147 | animated: Bool = true,
148 | animation: Animation = Animation
| `- error: 'Animation' is only available in macOS 10.15 or newer
149 | .interpolatingSpring(stiffness: 10, damping: 5)
150 | .speed(0.08),
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:149:14: error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
141 | }
142 |
143 | public init(
| `- note: add @available attribute to enclosing initializer
144 | blurRadius newBlurRadius: CGFloat = 50,
145 | globalOpacity: CGFloat = 1.0,
:
147 | animated: Bool = true,
148 | animation: Animation = Animation
149 | .interpolatingSpring(stiffness: 10, damping: 5)
| `- error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
150 | .speed(0.08),
151 | numberShapes: Int = 8,
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:150:14: error: 'speed' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
141 | }
142 |
143 | public init(
| `- note: add @available attribute to enclosing initializer
144 | blurRadius newBlurRadius: CGFloat = 50,
145 | globalOpacity: CGFloat = 1.0,
:
148 | animation: Animation = Animation
149 | .interpolatingSpring(stiffness: 10, damping: 5)
150 | .speed(0.08),
| `- error: 'speed' is only available in macOS 10.15 or newer
151 | numberShapes: Int = 8,
152 | colors: [LinearGradient]? = nil
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:58:32: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
56 | }
57 |
58 | 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
59 | GeometryReader { proxy in
60 | Group {
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:107:9: error: 'withAnimation' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
98 | }
99 |
100 | private func dispatchUpdate() {
| `- note: add @available attribute to enclosing instance method
101 | if !randomization.isEmpty {
102 | if randomization.first?.offsetY == 0 && randomization.first?.offsetX == 0 {
:
105 | }
106 | if !animated { return }
107 | withAnimation(animation) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
108 | randomizationUpdate()
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:119:9: error: setter for 'randomization' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
110 | }
111 |
112 | private func randomizationStart() {
| `- note: add @available attribute to enclosing instance method
113 | var randomizationBuilder = [PointRandomization]()
114 | while randomizationBuilder.count < numberShapes {
:
117 | randomizationBuilder.append(randomizationElement)
118 | }
119 | randomization = randomizationBuilder
| |- error: setter for 'randomization' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:127:9: error: setter for 'randomization' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
120 | }
121 |
122 | private func randomizationUpdate() {
| `- note: add @available attribute to enclosing instance method
123 | var randomizationBuilder = randomization
124 | for i in 0..<randomizationBuilder.count {
125 | randomizationBuilder[i].moveIn(size: size)
126 | }
127 | randomization = randomizationBuilder
| |- error: setter for 'randomization' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:138:13: error: setter for 'size' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
133 | }
134 |
135 | private func issueSizeUpdate(withValue size: CGSize) {
| `- note: add @available attribute to enclosing instance method
136 | if self.size == size { return }
137 | DispatchQueue.main.async {
138 | self.size = size
| |- error: setter for 'size' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | self.dispatchUpdate()
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:154:9: error: setter for 'blurRadius' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
141 | }
142 |
143 | public init(
| `- note: add @available attribute to enclosing initializer
144 | blurRadius newBlurRadius: CGFloat = 50,
145 | globalOpacity: CGFloat = 1.0,
:
152 | colors: [LinearGradient]? = nil
153 | ) {
154 | self.blurRadius = newBlurRadius
| |- error: setter for 'blurRadius' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
155 | self.opacity = globalOpacity
156 | self.elemOpacity = elementOpacity
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:155:9: error: setter for 'opacity' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
141 | }
142 |
143 | public init(
| `- note: add @available attribute to enclosing initializer
144 | blurRadius newBlurRadius: CGFloat = 50,
145 | globalOpacity: CGFloat = 1.0,
:
153 | ) {
154 | self.blurRadius = newBlurRadius
155 | self.opacity = globalOpacity
| |- error: setter for 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | self.elemOpacity = elementOpacity
157 | self.animation = animation
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:168:26: error: 'State' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: add @available attribute to enclosing struct
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
141 | }
142 |
143 | public init(
| `- note: add @available attribute to enclosing initializer
144 | blurRadius newBlurRadius: CGFloat = 50,
145 | globalOpacity: CGFloat = 1.0,
:
166 | randomColors = [Int](repeating: 0, count: numberShapes).map{_ in Int.random(in: 0..<self.colors.count)}
167 | randomShapes = [Int](repeating: 0, count: numberShapes).map{_ in Int.random(in: 0..<differentShapes)}
168 | _randomization = State(initialValue: [PointRandomization](repeating: .init(), count: numberShapes))
| |- error: 'State' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
169 |
170 | }
BUILD FAILURE 6.0 macosSpm