Build Information
Failed to build FoggyColors with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/alexdremov/FoggyColors.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.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:59:9: error: 'GeometryReader' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | Group {
61 | ForEach(obtainRangeAndUpdate(size: proxy.size), id: \.self) { i in
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:59:9: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
| |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
60 | Group {
61 | ForEach(obtainRangeAndUpdate(size: proxy.size), id: \.self) { i in
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:60:13: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
| |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
61 | ForEach(obtainRangeAndUpdate(size: proxy.size), id: \.self) { i in
62 | Group {
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:60:13: error: 'Group' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | ForEach(obtainRangeAndUpdate(size: proxy.size), id: \.self) { i in
62 | Group {
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:60:13: error: 'init(content:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | ForEach(obtainRangeAndUpdate(size: proxy.size), id: \.self) { i in
62 | Group {
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:61:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
61 | ForEach(obtainRangeAndUpdate(size: proxy.size), id: \.self) { i in
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
62 | Group {
63 | switch(randomShapes[i]){
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:61:17: error: 'ForEach' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
61 | ForEach(obtainRangeAndUpdate(size: proxy.size), id: \.self) { i in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | Group {
63 | switch(randomShapes[i]){
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:61:17: error: 'init(_:id:content:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
61 | ForEach(obtainRangeAndUpdate(size: proxy.size), id: \.self) { i in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | Group {
63 | switch(randomShapes[i]){
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:62:21: error: 'Group' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
61 | ForEach(obtainRangeAndUpdate(size: proxy.size), id: \.self) { i in
62 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | switch(randomShapes[i]){
64 | case 0:
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:62:21: error: 'init(content:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
61 | ForEach(obtainRangeAndUpdate(size: proxy.size), id: \.self) { i in
62 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | switch(randomShapes[i]){
64 | case 0:
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:65:29: error: 'Circle' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
63 | switch(randomShapes[i]){
64 | case 0:
65 | Circle()
| |- error: 'Circle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | .fill(colors[randomColors[i]])
67 | case 1:
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:66:34: error: 'fill(_:style:)' is only available in macOS 14.0 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
64 | case 0:
65 | Circle()
66 | .fill(colors[randomColors[i]])
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
67 | case 1:
68 | Capsule()
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:65:29: error: 'buildEither(first:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
63 | switch(randomShapes[i]){
64 | case 0:
65 | Circle()
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | .fill(colors[randomColors[i]])
67 | case 1:
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:65:29: error: 'buildEither(first:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
63 | switch(randomShapes[i]){
64 | case 0:
65 | Circle()
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | .fill(colors[randomColors[i]])
67 | case 1:
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:68:29: error: 'Capsule' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
66 | .fill(colors[randomColors[i]])
67 | case 1:
68 | Capsule()
| |- error: 'Capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | .fill(colors[randomColors[i]])
70 | case 2:
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:69:34: error: 'fill(_:style:)' is only available in macOS 14.0 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
67 | case 1:
68 | Capsule()
69 | .fill(colors[randomColors[i]])
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
70 | case 2:
71 | Capsule()
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:68:29: error: 'buildEither(first:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
66 | .fill(colors[randomColors[i]])
67 | case 1:
68 | Capsule()
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | .fill(colors[randomColors[i]])
70 | case 2:
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:68:29: error: 'buildEither(second:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
66 | .fill(colors[randomColors[i]])
67 | case 1:
68 | Capsule()
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | .fill(colors[randomColors[i]])
70 | case 2:
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:71:29: error: 'Capsule' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
69 | .fill(colors[randomColors[i]])
70 | case 2:
71 | Capsule()
| |- error: 'Capsule' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .stroke(lineWidth: 30)
73 | .fill(colors[randomColors[i]])
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:72:34: error: 'stroke(lineWidth:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
70 | case 2:
71 | Capsule()
72 | .stroke(lineWidth: 30)
| |- error: 'stroke(lineWidth:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | .fill(colors[randomColors[i]])
74 | default:
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:73:34: error: 'fill(_:style:)' is only available in macOS 14.0 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
71 | Capsule()
72 | .stroke(lineWidth: 30)
73 | .fill(colors[randomColors[i]])
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
74 | default:
75 | Ellipse()
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:71:29: error: 'buildEither(second:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
69 | .fill(colors[randomColors[i]])
70 | case 2:
71 | Capsule()
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .stroke(lineWidth: 30)
73 | .fill(colors[randomColors[i]])
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:71:29: error: 'buildEither(first:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
69 | .fill(colors[randomColors[i]])
70 | case 2:
71 | Capsule()
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .stroke(lineWidth: 30)
73 | .fill(colors[randomColors[i]])
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:75:29: error: 'Ellipse' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
73 | .fill(colors[randomColors[i]])
74 | default:
75 | Ellipse()
| |- error: 'Ellipse' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | .fill(colors[randomColors[i]])
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:76:34: error: 'fill(_:style:)' is only available in macOS 14.0 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
74 | default:
75 | Ellipse()
76 | .fill(colors[randomColors[i]])
| |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:75:29: error: 'buildEither(second:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
73 | .fill(colors[randomColors[i]])
74 | default:
75 | Ellipse()
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | .fill(colors[randomColors[i]])
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:75:29: error: 'buildEither(second:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
73 | .fill(colors[randomColors[i]])
74 | default:
75 | Ellipse()
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | .fill(colors[randomColors[i]])
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:62:27: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
61 | ForEach(obtainRangeAndUpdate(size: proxy.size), id: \.self) { i in
62 | Group {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
63 | switch(randomShapes[i]){
64 | case 0:
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:80:22: error: 'frame(width:height:alignment:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
78 | }
79 |
80 | .frame(
| |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | width: randomization[i].width,
82 | height: randomization[i].height)
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:83:22: error: 'position(x:y:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
81 | width: randomization[i].width,
82 | height: randomization[i].height)
83 | .position(
| |- error: 'position(x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | x: randomization[i].offsetX,
85 | y: randomization[i].offsetY)
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:86:22: error: '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
:
56 | }
57 |
58 | public var body: some View {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
84 | x: randomization[i].offsetX,
85 | y: randomization[i].offsetY)
86 | .opacity(elemOpacity)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | .zIndex(Double(i))
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:87:22: error: 'zIndex' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
85 | y: randomization[i].offsetY)
86 | .opacity(elemOpacity)
87 | .zIndex(Double(i))
| |- error: 'zIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:60:19: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
61 | ForEach(obtainRangeAndUpdate(size: proxy.size), id: \.self) { i in
62 | Group {
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:59:24: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
| |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
60 | Group {
61 | ForEach(obtainRangeAndUpdate(size: proxy.size), id: \.self) { i in
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:91:10: error: 'blur(radius:opaque:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
89 | }
90 | }
91 | .blur(radius: blurRadius)
| |- error: 'blur(radius:opaque:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .onReceive(timer) { _ in
93 | dispatchUpdate()
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:92:10: error: 'onReceive(_:perform:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
90 | }
91 | .blur(radius: blurRadius)
92 | .onReceive(timer) { _ in
| |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | dispatchUpdate()
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:95:10: error: 'drawingGroup(opaque:colorMode:)' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
93 | dispatchUpdate()
94 | }
95 | .drawingGroup(opaque: false,
| |- error: 'drawingGroup(opaque:colorMode:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
96 | colorMode: ColorRenderingMode.extendedLinear)
97 | .opacity(opacity)
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:96:34: error: 'ColorRenderingMode' 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 {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
94 | }
95 | .drawingGroup(opaque: false,
96 | colorMode: ColorRenderingMode.extendedLinear)
| |- error: 'ColorRenderingMode' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
97 | .opacity(opacity)
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/FoggyColors/FoggyColorsView.swift:97:10: error: '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
:
56 | }
57 |
58 | public var body: some View {
| `- note: add @available attribute to enclosing property
59 | GeometryReader { proxy in
60 | Group {
:
95 | .drawingGroup(opaque: false,
96 | colorMode: ColorRenderingMode.extendedLinear)
97 | .opacity(opacity)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | }
99 |
/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:138:13: warning: capture of 'self' with non-sendable type 'FoggyColorsView' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct FoggyColorsView: View {
| `- note: consider making struct 'FoggyColorsView' conform to the 'Sendable' protocol
4 | @State var blurRadius: CGFloat
5 | @State var opacity: CGFloat
:
136 | if self.size == size { return }
137 | DispatchQueue.main.async {
138 | self.size = size
| `- warning: capture of 'self' with non-sendable type 'FoggyColorsView' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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