Build Information
Failed to build EffectsLibrary, reference 1.0.0 (09ebd8
), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 12:42:54 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:39:20: error: cannot find 'UIImage' in scope
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
| `- error: cannot find 'UIImage' in scope
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:39:51: error: cannot infer contextual base in reference to member 'spark'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
| `- error: cannot infer contextual base in reference to member 'spark'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:39:60: error: cannot infer contextual base in reference to member 'fireRed'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
| `- error: cannot infer contextual base in reference to member 'fireRed'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:41:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add @available attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Extensions/UIImage+fromBundle.swift:12:62: error: cannot find type 'UIImage' in scope
10 | extension UIImage {
11 |
12 | public static func loadFromBundle(named name: String) -> UIImage {
| `- error: cannot find type 'UIImage' in scope
13 | return UIImage(named: name, in: Bundle.module, with: .none)!.withRenderingMode(.alwaysTemplate)
14 | }
[28/50] Compiling EffectsLibrary FireView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Extensions/UIImage+fromBundle.swift:10:11: error: cannot find type 'UIImage' in scope
8 | import SwiftUI
9 |
10 | extension UIImage {
| `- error: cannot find type 'UIImage' in scope
11 |
12 | public static func loadFromBundle(named name: String) -> UIImage {
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/FireView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct FireView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: FireConfig
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | FireContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/FireView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct FireView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
28 | FireView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/FireView.swift:19:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct FireView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: FireConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | FireContainerView(proxy: proxy, config: config)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/FireView.swift:22:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct FireView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: FireConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | FireContainerView(proxy: proxy, config: config)
21 | }
22 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:24:16: error: cannot find 'UIImage' in scope
22 | public struct FireConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
| `- error: cannot find 'UIImage' in scope
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:24:47: error: cannot infer contextual base in reference to member 'spark'
22 | public struct FireConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:24:56: error: cannot infer contextual base in reference to member 'fireRed'
22 | public struct FireConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
| `- error: cannot infer contextual base in reference to member 'fireRed'
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:26:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:26:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:41:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add @available attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:39:20: error: cannot find 'UIImage' in scope
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
| `- error: cannot find 'UIImage' in scope
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:39:51: error: cannot infer contextual base in reference to member 'spark'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
| `- error: cannot infer contextual base in reference to member 'spark'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:39:60: error: cannot infer contextual base in reference to member 'fireRed'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
| `- error: cannot infer contextual base in reference to member 'fireRed'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:41:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add @available attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Extensions/UIImage+fromBundle.swift:12:62: error: cannot find type 'UIImage' in scope
10 | extension UIImage {
11 |
12 | public static func loadFromBundle(named name: String) -> UIImage {
| `- error: cannot find type 'UIImage' in scope
13 | return UIImage(named: name, in: Bundle.module, with: .none)!.withRenderingMode(.alwaysTemplate)
14 | }
[29/50] Compiling EffectsLibrary FireConfig+DefaultValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Extensions/UIImage+fromBundle.swift:10:11: error: cannot find type 'UIImage' in scope
8 | import SwiftUI
9 |
10 | extension UIImage {
| `- error: cannot find type 'UIImage' in scope
11 |
12 | public static func loadFromBundle(named name: String) -> UIImage {
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/FireView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct FireView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: FireConfig
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | FireContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/FireView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct FireView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
28 | FireView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/FireView.swift:19:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct FireView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: FireConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | FireContainerView(proxy: proxy, config: config)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/FireView.swift:22:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct FireView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: FireConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | FireContainerView(proxy: proxy, config: config)
21 | }
22 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:24:16: error: cannot find 'UIImage' in scope
22 | public struct FireConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
| `- error: cannot find 'UIImage' in scope
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:24:47: error: cannot infer contextual base in reference to member 'spark'
22 | public struct FireConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:24:56: error: cannot infer contextual base in reference to member 'fireRed'
22 | public struct FireConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
| `- error: cannot infer contextual base in reference to member 'fireRed'
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:26:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:26:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:41:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add @available attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:39:20: error: cannot find 'UIImage' in scope
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
| `- error: cannot find 'UIImage' in scope
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:39:51: error: cannot infer contextual base in reference to member 'spark'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
| `- error: cannot infer contextual base in reference to member 'spark'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:39:60: error: cannot infer contextual base in reference to member 'fireRed'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
| `- error: cannot infer contextual base in reference to member 'fireRed'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:41:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add @available attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Extensions/UIImage+fromBundle.swift:12:62: error: cannot find type 'UIImage' in scope
10 | extension UIImage {
11 |
12 | public static func loadFromBundle(named name: String) -> UIImage {
| `- error: cannot find type 'UIImage' in scope
13 | return UIImage(named: name, in: Bundle.module, with: .none)!.withRenderingMode(.alwaysTemplate)
14 | }
[30/50] Compiling EffectsLibrary FireConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Extensions/UIImage+fromBundle.swift:10:11: error: cannot find type 'UIImage' in scope
8 | import SwiftUI
9 |
10 | extension UIImage {
| `- error: cannot find type 'UIImage' in scope
11 |
12 | public static func loadFromBundle(named name: String) -> UIImage {
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/FireView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct FireView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: FireConfig
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | FireContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/FireView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct FireView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
28 | FireView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/FireView.swift:19:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct FireView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: FireConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | FireContainerView(proxy: proxy, config: config)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/FireView.swift:22:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct FireView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: FireConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | FireContainerView(proxy: proxy, config: config)
21 | }
22 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:24:16: error: cannot find 'UIImage' in scope
22 | public struct FireConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
| `- error: cannot find 'UIImage' in scope
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:24:47: error: cannot infer contextual base in reference to member 'spark'
22 | public struct FireConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:24:56: error: cannot infer contextual base in reference to member 'fireRed'
22 | public struct FireConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
| `- error: cannot infer contextual base in reference to member 'fireRed'
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:26:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:26:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:41:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add @available attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:39:20: error: cannot find 'UIImage' in scope
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
| `- error: cannot find 'UIImage' in scope
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:39:51: error: cannot infer contextual base in reference to member 'spark'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
| `- error: cannot infer contextual base in reference to member 'spark'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:39:60: error: cannot infer contextual base in reference to member 'fireRed'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
| `- error: cannot infer contextual base in reference to member 'fireRed'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/Model/FireConfig.swift:41:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add @available attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), .fireRed, 0.5)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Extensions/UIImage+fromBundle.swift:12:62: error: cannot find type 'UIImage' in scope
10 | extension UIImage {
11 |
12 | public static func loadFromBundle(named name: String) -> UIImage {
| `- error: cannot find type 'UIImage' in scope
13 | return UIImage(named: name, in: Bundle.module, with: .none)!.withRenderingMode(.alwaysTemplate)
14 | }
[31/50] Compiling EffectsLibrary SmokeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct SmokeView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
28 | SmokeView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:19:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:22:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
22 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: SmokeConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
[32/50] Compiling EffectsLibrary SmokeContainerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct SmokeView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
28 | SmokeView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:19:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:22:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
22 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: SmokeConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
[33/50] Compiling EffectsLibrary SmokeScene.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct SmokeView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
28 | SmokeView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:19:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:22:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
22 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: SmokeConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
[34/50] Compiling EffectsLibrary SnowConfig+DefaultValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct SmokeView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
28 | SmokeView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:19:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:22:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
22 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: SmokeConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
[35/50] Compiling EffectsLibrary FadeOut.swift
[36/50] Compiling EffectsLibrary FallDirection.swift
[37/50] Compiling EffectsLibrary InitialVelocity.swift
[38/50] Compiling EffectsLibrary Intensity.swift
[39/50] Compiling EffectsLibrary FireworksConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:16: error: cannot find 'UIImage' in scope
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:47: error: cannot infer contextual base in reference to member 'spark'
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:55: error: 'nil' requires a contextual type
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add @available attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:20: error: cannot find 'UIImage' in scope
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:51: error: cannot infer contextual base in reference to member 'spark'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:59: error: 'nil' requires a contextual type
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add @available attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireworksConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | return SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:17:16: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | return SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:86:30: error: cannot find 'UIColor' in scope
84 |
85 | // Particle Color
86 | node.particleColor = UIColor(red: 171 / 255.0, green: 80 / 255.0, blue: 21 / 255.0, alpha: 1.0)
| `- error: cannot find 'UIColor' in scope
87 | node.particleBlendMode = .add
88 | node.particleColorBlendFactor = 0.8
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/BaseConfig.swift:12:26: error: 'Color' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | protocol BaseConfig {
| `- note: add @available attribute to enclosing protocol
11 | var content: [Content] { get }
12 | var backgroundColor: Color { get }
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
13 | var intensity: Intensity { get }
14 | var lifetime: Lifetime { get }
[40/50] Compiling EffectsLibrary FireworksContainerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:16: error: cannot find 'UIImage' in scope
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:47: error: cannot infer contextual base in reference to member 'spark'
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:55: error: 'nil' requires a contextual type
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add @available attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:20: error: cannot find 'UIImage' in scope
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:51: error: cannot infer contextual base in reference to member 'spark'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:59: error: 'nil' requires a contextual type
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add @available attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireworksConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | return SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:17:16: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | return SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:86:30: error: cannot find 'UIColor' in scope
84 |
85 | // Particle Color
86 | node.particleColor = UIColor(red: 171 / 255.0, green: 80 / 255.0, blue: 21 / 255.0, alpha: 1.0)
| `- error: cannot find 'UIColor' in scope
87 | node.particleBlendMode = .add
88 | node.particleColorBlendFactor = 0.8
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/BaseConfig.swift:12:26: error: 'Color' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | protocol BaseConfig {
| `- note: add @available attribute to enclosing protocol
11 | var content: [Content] { get }
12 | var backgroundColor: Color { get }
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
13 | var intensity: Intensity { get }
14 | var lifetime: Lifetime { get }
[41/50] Compiling EffectsLibrary FireworksScene.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:16: error: cannot find 'UIImage' in scope
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:47: error: cannot infer contextual base in reference to member 'spark'
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:55: error: 'nil' requires a contextual type
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add @available attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:20: error: cannot find 'UIImage' in scope
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:51: error: cannot infer contextual base in reference to member 'spark'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:59: error: 'nil' requires a contextual type
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add @available attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireworksConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | return SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:17:16: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | return SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:86:30: error: cannot find 'UIColor' in scope
84 |
85 | // Particle Color
86 | node.particleColor = UIColor(red: 171 / 255.0, green: 80 / 255.0, blue: 21 / 255.0, alpha: 1.0)
| `- error: cannot find 'UIColor' in scope
87 | node.particleBlendMode = .add
88 | node.particleColorBlendFactor = 0.8
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/BaseConfig.swift:12:26: error: 'Color' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | protocol BaseConfig {
| `- note: add @available attribute to enclosing protocol
11 | var content: [Content] { get }
12 | var backgroundColor: Color { get }
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
13 | var intensity: Intensity { get }
14 | var lifetime: Lifetime { get }
[42/50] Compiling EffectsLibrary BaseConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:16: error: cannot find 'UIImage' in scope
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:47: error: cannot infer contextual base in reference to member 'spark'
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:55: error: 'nil' requires a contextual type
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add @available attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:20: error: cannot find 'UIImage' in scope
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:51: error: cannot infer contextual base in reference to member 'spark'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:59: error: 'nil' requires a contextual type
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add @available attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add @available attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireworksConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | return SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:17:16: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | return SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:86:30: error: cannot find 'UIColor' in scope
84 |
85 | // Particle Color
86 | node.particleColor = UIColor(red: 171 / 255.0, green: 80 / 255.0, blue: 21 / 255.0, alpha: 1.0)
| `- error: cannot find 'UIColor' in scope
87 | node.particleBlendMode = .add
88 | node.particleColorBlendFactor = 0.8
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/BaseConfig.swift:12:26: error: 'Color' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | protocol BaseConfig {
| `- note: add @available attribute to enclosing protocol
11 | var content: [Content] { get }
12 | var backgroundColor: Color { get }
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
13 | var intensity: Intensity { get }
14 | var lifetime: Lifetime { get }
[43/50] Compiling EffectsLibrary FireContainerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:26:16: error: cannot find type 'UIColor' in scope
24 |
25 | extension Content {
26 | var color: UIColor? {
| `- error: cannot find type 'UIColor' in scope
27 | switch self {
28 | case let .image(_, color?, _),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct SwiftUIView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
28 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
29 | FireworksView()
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:20:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add @available attribute to enclosing property
20 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:23:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add @available attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
23 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | }
25 | }
[44/50] Compiling EffectsLibrary FireScene.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:26:16: error: cannot find type 'UIColor' in scope
24 |
25 | extension Content {
26 | var color: UIColor? {
| `- error: cannot find type 'UIColor' in scope
27 | switch self {
28 | case let .image(_, color?, _),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct SwiftUIView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
28 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
29 | FireworksView()
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:20:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add @available attribute to enclosing property
20 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:23:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add @available attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
23 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | }
25 | }
[45/50] Compiling EffectsLibrary FireworksView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:26:16: error: cannot find type 'UIColor' in scope
24 |
25 | extension Content {
26 | var color: UIColor? {
| `- error: cannot find type 'UIColor' in scope
27 | switch self {
28 | case let .image(_, color?, _),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct SwiftUIView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
28 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
29 | FireworksView()
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:20:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add @available attribute to enclosing property
20 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:23:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add @available attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
23 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | }
25 | }
[46/50] Compiling EffectsLibrary FireworksConfig+DefaultValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| `- note: add @available attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:26:16: error: cannot find type 'UIColor' in scope
24 |
25 | extension Content {
26 | var color: UIColor? {
| `- error: cannot find type 'UIColor' in scope
27 | switch self {
28 | case let .image(_, color?, _),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct SwiftUIView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
28 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
29 | FireworksView()
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:20:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add @available attribute to enclosing property
20 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:23:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add @available attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add @available attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
23 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | }
25 | }
[47/50] Compiling EffectsLibrary SnowConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:29:16: error: cannot find 'UIImage' in scope
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot find 'UIImage' in scope
30 | ]
31 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:29:47: error: cannot infer contextual base in reference to member 'snow'
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'snow'
30 | ]
31 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:29:55: error: cannot infer contextual base in reference to member 'white'
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'white'
30 | ]
31 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:31:26: error: 'Color' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
30 | ]
31 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
32 | var intensity: Intensity = .medium
33 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:31:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
30 | ]
31 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
32 | var intensity: Intensity = .medium
33 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:51:26: error: 'Color' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
45 |
46 | /// We need to define custom public initializers as they're internal by default.
47 | public init(
| `- note: add @available attribute to enclosing initializer
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
50 | ],
51 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
52 | intensity: Intensity = .medium,
53 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:49:20: error: cannot find 'UIImage' in scope
47 | public init(
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot find 'UIImage' in scope
50 | ],
51 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:49:51: error: cannot infer contextual base in reference to member 'snow'
47 | public init(
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'snow'
50 | ],
51 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:49:59: error: cannot infer contextual base in reference to member 'white'
47 | public init(
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'white'
50 | ],
51 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:51:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
45 |
46 | /// We need to define custom public initializers as they're internal by default.
47 | public init(
| `- note: add @available attribute to enclosing initializer
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
50 | ],
51 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
52 | intensity: Intensity = .medium,
53 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/SnowView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SnowView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SnowConfig
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | SnowViewRepresentable(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/SnowView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct SnowView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
28 | SnowView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/SnowView.swift:20:13: error: static method 'buildExpression' requires that 'SnowViewRepresentable' conform to 'View'
18 | public var body: some View {
19 | GeometryReader { proxy in
20 | SnowViewRepresentable(proxy: proxy, config: config)
| `- error: static method 'buildExpression' requires that 'SnowViewRepresentable' conform to 'View'
21 | }
22 | .edgesIgnoringSafeArea(.all)
SwiftUI.ViewBuilder.buildExpression:2:20: note: where 'Content' = 'SnowViewRepresentable'
1 | struct ViewBuilder {
2 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View}
| `- note: where 'Content' = 'SnowViewRepresentable'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/View/SnowViewRepresentable.swift:12:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct SnowViewRepresentable: EffectsViewRepresentable {
| `- note: add @available attribute to enclosing struct
11 |
12 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
13 | var config: SnowConfig
14 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/EffectsViewRepresentable.swift:10:36: error: cannot find type 'UIViewRepresentable' in scope
8 | import SwiftUI
9 |
10 | protocol EffectsViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 |
12 | associatedtype Config: EmitterLayerConfig
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/EffectsViewRepresentable.swift:20:26: error: cannot find type 'UIView' in scope
18 | var viewRenderMode: CAEmitterLayerRenderMode { get }
19 |
20 | func createView() -> UIView
| `- error: cannot find type 'UIView' in scope
21 | func createBaseView() -> UIView
22 | func createBaseLayer() -> CAEmitterLayer
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/EffectsViewRepresentable.swift:21:30: error: cannot find type 'UIView' in scope
19 |
20 | func createView() -> UIView
21 | func createBaseView() -> UIView
| `- error: cannot find type 'UIView' in scope
22 | func createBaseLayer() -> CAEmitterLayer
23 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:26:16: error: cannot find type 'UIColor' in scope
24 |
25 | extension Content {
26 | var color: UIColor? {
| `- error: cannot find type 'UIColor' in scope
27 | switch self {
28 | case let .image(_, color?, _),
[48/50] Compiling EffectsLibrary SnowView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:29:16: error: cannot find 'UIImage' in scope
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot find 'UIImage' in scope
30 | ]
31 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:29:47: error: cannot infer contextual base in reference to member 'snow'
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'snow'
30 | ]
31 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:29:55: error: cannot infer contextual base in reference to member 'white'
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'white'
30 | ]
31 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:31:26: error: 'Color' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
30 | ]
31 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
32 | var intensity: Intensity = .medium
33 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:31:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
30 | ]
31 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
32 | var intensity: Intensity = .medium
33 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:51:26: error: 'Color' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
45 |
46 | /// We need to define custom public initializers as they're internal by default.
47 | public init(
| `- note: add @available attribute to enclosing initializer
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
50 | ],
51 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
52 | intensity: Intensity = .medium,
53 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:49:20: error: cannot find 'UIImage' in scope
47 | public init(
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot find 'UIImage' in scope
50 | ],
51 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:49:51: error: cannot infer contextual base in reference to member 'snow'
47 | public init(
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'snow'
50 | ],
51 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:49:59: error: cannot infer contextual base in reference to member 'white'
47 | public init(
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'white'
50 | ],
51 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:51:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
45 |
46 | /// We need to define custom public initializers as they're internal by default.
47 | public init(
| `- note: add @available attribute to enclosing initializer
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
50 | ],
51 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
52 | intensity: Intensity = .medium,
53 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/SnowView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SnowView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SnowConfig
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | SnowViewRepresentable(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/SnowView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct SnowView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
28 | SnowView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/SnowView.swift:20:13: error: static method 'buildExpression' requires that 'SnowViewRepresentable' conform to 'View'
18 | public var body: some View {
19 | GeometryReader { proxy in
20 | SnowViewRepresentable(proxy: proxy, config: config)
| `- error: static method 'buildExpression' requires that 'SnowViewRepresentable' conform to 'View'
21 | }
22 | .edgesIgnoringSafeArea(.all)
SwiftUI.ViewBuilder.buildExpression:2:20: note: where 'Content' = 'SnowViewRepresentable'
1 | struct ViewBuilder {
2 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View}
| `- note: where 'Content' = 'SnowViewRepresentable'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/View/SnowViewRepresentable.swift:12:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct SnowViewRepresentable: EffectsViewRepresentable {
| `- note: add @available attribute to enclosing struct
11 |
12 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
13 | var config: SnowConfig
14 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/EffectsViewRepresentable.swift:10:36: error: cannot find type 'UIViewRepresentable' in scope
8 | import SwiftUI
9 |
10 | protocol EffectsViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 |
12 | associatedtype Config: EmitterLayerConfig
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/EffectsViewRepresentable.swift:20:26: error: cannot find type 'UIView' in scope
18 | var viewRenderMode: CAEmitterLayerRenderMode { get }
19 |
20 | func createView() -> UIView
| `- error: cannot find type 'UIView' in scope
21 | func createBaseView() -> UIView
22 | func createBaseLayer() -> CAEmitterLayer
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/EffectsViewRepresentable.swift:21:30: error: cannot find type 'UIView' in scope
19 |
20 | func createView() -> UIView
21 | func createBaseView() -> UIView
| `- error: cannot find type 'UIView' in scope
22 | func createBaseLayer() -> CAEmitterLayer
23 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:26:16: error: cannot find type 'UIColor' in scope
24 |
25 | extension Content {
26 | var color: UIColor? {
| `- error: cannot find type 'UIColor' in scope
27 | switch self {
28 | case let .image(_, color?, _),
[49/50] Compiling EffectsLibrary SnowViewRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:29:16: error: cannot find 'UIImage' in scope
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot find 'UIImage' in scope
30 | ]
31 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:29:47: error: cannot infer contextual base in reference to member 'snow'
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'snow'
30 | ]
31 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:29:55: error: cannot infer contextual base in reference to member 'white'
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'white'
30 | ]
31 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:31:26: error: 'Color' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
30 | ]
31 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
32 | var intensity: Intensity = .medium
33 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:31:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
30 | ]
31 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
32 | var intensity: Intensity = .medium
33 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:51:26: error: 'Color' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
45 |
46 | /// We need to define custom public initializers as they're internal by default.
47 | public init(
| `- note: add @available attribute to enclosing initializer
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
50 | ],
51 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
52 | intensity: Intensity = .medium,
53 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:49:20: error: cannot find 'UIImage' in scope
47 | public init(
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot find 'UIImage' in scope
50 | ],
51 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:49:51: error: cannot infer contextual base in reference to member 'snow'
47 | public init(
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'snow'
50 | ],
51 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:49:59: error: cannot infer contextual base in reference to member 'white'
47 | public init(
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'white'
50 | ],
51 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:51:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
45 |
46 | /// We need to define custom public initializers as they're internal by default.
47 | public init(
| `- note: add @available attribute to enclosing initializer
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
50 | ],
51 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
52 | intensity: Intensity = .medium,
53 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/SnowView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SnowView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SnowConfig
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | SnowViewRepresentable(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/SnowView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct SnowView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
28 | SnowView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/SnowView.swift:20:13: error: static method 'buildExpression' requires that 'SnowViewRepresentable' conform to 'View'
18 | public var body: some View {
19 | GeometryReader { proxy in
20 | SnowViewRepresentable(proxy: proxy, config: config)
| `- error: static method 'buildExpression' requires that 'SnowViewRepresentable' conform to 'View'
21 | }
22 | .edgesIgnoringSafeArea(.all)
SwiftUI.ViewBuilder.buildExpression:2:20: note: where 'Content' = 'SnowViewRepresentable'
1 | struct ViewBuilder {
2 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View}
| `- note: where 'Content' = 'SnowViewRepresentable'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/View/SnowViewRepresentable.swift:12:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct SnowViewRepresentable: EffectsViewRepresentable {
| `- note: add @available attribute to enclosing struct
11 |
12 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
13 | var config: SnowConfig
14 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/EffectsViewRepresentable.swift:10:36: error: cannot find type 'UIViewRepresentable' in scope
8 | import SwiftUI
9 |
10 | protocol EffectsViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 |
12 | associatedtype Config: EmitterLayerConfig
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/EffectsViewRepresentable.swift:20:26: error: cannot find type 'UIView' in scope
18 | var viewRenderMode: CAEmitterLayerRenderMode { get }
19 |
20 | func createView() -> UIView
| `- error: cannot find type 'UIView' in scope
21 | func createBaseView() -> UIView
22 | func createBaseLayer() -> CAEmitterLayer
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/EffectsViewRepresentable.swift:21:30: error: cannot find type 'UIView' in scope
19 |
20 | func createView() -> UIView
21 | func createBaseView() -> UIView
| `- error: cannot find type 'UIView' in scope
22 | func createBaseLayer() -> CAEmitterLayer
23 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:26:16: error: cannot find type 'UIColor' in scope
24 |
25 | extension Content {
26 | var color: UIColor? {
| `- error: cannot find type 'UIColor' in scope
27 | switch self {
28 | case let .image(_, color?, _),
[50/50] Compiling EffectsLibrary resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:29:16: error: cannot find 'UIImage' in scope
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot find 'UIImage' in scope
30 | ]
31 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:29:47: error: cannot infer contextual base in reference to member 'snow'
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'snow'
30 | ]
31 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:29:55: error: cannot infer contextual base in reference to member 'white'
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'white'
30 | ]
31 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:31:26: error: 'Color' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
30 | ]
31 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
32 | var intensity: Intensity = .medium
33 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:31:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
29 | .image(UIImage.loadFromBundle(named: .snow), .white)
30 | ]
31 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
32 | var intensity: Intensity = .medium
33 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:51:26: error: 'Color' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
45 |
46 | /// We need to define custom public initializers as they're internal by default.
47 | public init(
| `- note: add @available attribute to enclosing initializer
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
50 | ],
51 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
52 | intensity: Intensity = .medium,
53 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:49:20: error: cannot find 'UIImage' in scope
47 | public init(
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot find 'UIImage' in scope
50 | ],
51 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:49:51: error: cannot infer contextual base in reference to member 'snow'
47 | public init(
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'snow'
50 | ],
51 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:49:59: error: cannot infer contextual base in reference to member 'white'
47 | public init(
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
| `- error: cannot infer contextual base in reference to member 'white'
50 | ],
51 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/Model/SnowConfig.swift:51:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `SnowView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct SnowConfig: EmitterLayerConfig {
| `- note: add @available attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
45 |
46 | /// We need to define custom public initializers as they're internal by default.
47 | public init(
| `- note: add @available attribute to enclosing initializer
48 | content: [Content] = [
49 | .image(UIImage.loadFromBundle(named: .snow), .white)
50 | ],
51 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
52 | intensity: Intensity = .medium,
53 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/SnowView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SnowView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: SnowConfig
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
19 | GeometryReader { proxy in
20 | SnowViewRepresentable(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/SnowView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct SnowView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
28 | SnowView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/SnowView.swift:20:13: error: static method 'buildExpression' requires that 'SnowViewRepresentable' conform to 'View'
18 | public var body: some View {
19 | GeometryReader { proxy in
20 | SnowViewRepresentable(proxy: proxy, config: config)
| `- error: static method 'buildExpression' requires that 'SnowViewRepresentable' conform to 'View'
21 | }
22 | .edgesIgnoringSafeArea(.all)
SwiftUI.ViewBuilder.buildExpression:2:20: note: where 'Content' = 'SnowViewRepresentable'
1 | struct ViewBuilder {
2 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View}
| `- note: where 'Content' = 'SnowViewRepresentable'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SnowEffect/View/SnowViewRepresentable.swift:12:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct SnowViewRepresentable: EffectsViewRepresentable {
| `- note: add @available attribute to enclosing struct
11 |
12 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
13 | var config: SnowConfig
14 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/EffectsViewRepresentable.swift:10:36: error: cannot find type 'UIViewRepresentable' in scope
8 | import SwiftUI
9 |
10 | protocol EffectsViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 |
12 | associatedtype Config: EmitterLayerConfig
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/EffectsViewRepresentable.swift:20:26: error: cannot find type 'UIView' in scope
18 | var viewRenderMode: CAEmitterLayerRenderMode { get }
19 |
20 | func createView() -> UIView
| `- error: cannot find type 'UIView' in scope
21 | func createBaseView() -> UIView
22 | func createBaseLayer() -> CAEmitterLayer
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/EffectsViewRepresentable.swift:21:30: error: cannot find type 'UIView' in scope
19 |
20 | func createView() -> UIView
21 | func createBaseView() -> UIView
| `- error: cannot find type 'UIView' in scope
22 | func createBaseLayer() -> CAEmitterLayer
23 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:26:16: error: cannot find type 'UIColor' in scope
24 |
25 | extension Content {
26 | var color: UIColor? {
| `- error: cannot find type 'UIColor' in scope
27 | switch self {
28 | case let .image(_, color?, _),
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.29s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (1.82s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.21s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.81s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
BUILD FAILURE 6.2 macosSpm