Build Information
Failed to build EffectsLibrary, reference main (eaf607
), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 12:41:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
22 | public struct SmokeConfig: 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,
[30/48] Compiling EffectsLibrary SmokeConfig+DefaultValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/RainEffect/RainView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct RainView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: RainConfig
:
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 | RainViewRepresentable(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/RainEffect/RainView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct RainView_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 | RainView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/RainEffect/RainView.swift:20:13: error: static method 'buildExpression' requires that 'RainViewRepresentable' conform to 'View'
18 | public var body: some View {
19 | GeometryReader { proxy in
20 | RainViewRepresentable(proxy: proxy, config: config)
| `- error: static method 'buildExpression' requires that 'RainViewRepresentable' conform to 'View'
21 | }
22 | .edgesIgnoringSafeArea(.all)
SwiftUI.ViewBuilder.buildExpression:2:20: note: where 'Content' = 'RainViewRepresentable'
1 | struct ViewBuilder {
2 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View}
| `- note: where 'Content' = 'RainViewRepresentable'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/RainEffect/View/RainViewRepresentable.swift:12:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct RainViewRepresentable: 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: RainConfig
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: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/SmokeEffect/Model/SmokeConfig.swift:24:16: error: cannot find 'UIImage' in scope
22 | public struct SmokeConfig: 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/SmokeEffect/Model/SmokeConfig.swift:24:47: error: cannot infer contextual base in reference to member 'spark'
22 | public struct SmokeConfig: 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/SmokeEffect/Model/SmokeConfig.swift:24:55: error: 'nil' requires a contextual type
22 | public struct SmokeConfig: 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/SmokeEffect/Model/SmokeConfig.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 SmokeConfig: 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/SmokeEffect/Model/SmokeConfig.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 SmokeConfig: 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/SmokeEffect/Model/SmokeConfig.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 SmokeConfig: 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/SmokeEffect/Model/SmokeConfig.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/SmokeEffect/Model/SmokeConfig.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/SmokeEffect/Model/SmokeConfig.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/SmokeEffect/Model/SmokeConfig.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 SmokeConfig: 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,
[31/48] Compiling EffectsLibrary SmokeConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/RainEffect/RainView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct RainView: View {
| `- note: add @available attribute to enclosing struct
11 |
12 | private var config: RainConfig
:
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 | RainViewRepresentable(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/RainEffect/RainView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct RainView_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 | RainView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/RainEffect/RainView.swift:20:13: error: static method 'buildExpression' requires that 'RainViewRepresentable' conform to 'View'
18 | public var body: some View {
19 | GeometryReader { proxy in
20 | RainViewRepresentable(proxy: proxy, config: config)
| `- error: static method 'buildExpression' requires that 'RainViewRepresentable' conform to 'View'
21 | }
22 | .edgesIgnoringSafeArea(.all)
SwiftUI.ViewBuilder.buildExpression:2:20: note: where 'Content' = 'RainViewRepresentable'
1 | struct ViewBuilder {
2 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View}
| `- note: where 'Content' = 'RainViewRepresentable'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/RainEffect/View/RainViewRepresentable.swift:12:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct RainViewRepresentable: 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: RainConfig
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: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/SmokeEffect/Model/SmokeConfig.swift:24:16: error: cannot find 'UIImage' in scope
22 | public struct SmokeConfig: 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/SmokeEffect/Model/SmokeConfig.swift:24:47: error: cannot infer contextual base in reference to member 'spark'
22 | public struct SmokeConfig: 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/SmokeEffect/Model/SmokeConfig.swift:24:55: error: 'nil' requires a contextual type
22 | public struct SmokeConfig: 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/SmokeEffect/Model/SmokeConfig.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 SmokeConfig: 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/SmokeEffect/Model/SmokeConfig.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 SmokeConfig: 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/SmokeEffect/Model/SmokeConfig.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 SmokeConfig: 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/SmokeEffect/Model/SmokeConfig.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/SmokeEffect/Model/SmokeConfig.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/SmokeEffect/Model/SmokeConfig.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/SmokeEffect/Model/SmokeConfig.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 SmokeConfig: 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,
[32/48] Compiling EffectsLibrary String+ImageNames.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 | }
[33/48] Compiling EffectsLibrary UIImage+fromBundle.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 | }
[34/48] 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 | }
[35/48] 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 | }
[36/48] 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 | }
[37/48] 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, _, _):
/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?, _),
[38/48] 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, _, _):
/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?, _),
[39/48] 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, _, _):
/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?, _),
[40/48] 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, _, _):
/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?, _),
[41/48] 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 }
[42/48] 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 }
[43/48] 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 }
[44/48] 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 }
[45/48] 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 | }
[46/48] 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 | }
[47/48] 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 | }
[48/48] 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 | }
BUILD FAILURE 6.2 macosSpm