Build Information
Failed to build EffectsLibrary, reference 1.0.0 (09ebd8), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 02:16:55 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
32 | .emoji("🎁", 0.6)
33 | ]
34 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
35 | var intensity: Intensity = .medium
36 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/Model/ConfettiConfig.swift:34:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `ConfettiView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
32 | .emoji("🎁", 0.6)
33 | ]
34 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
35 | var intensity: Intensity = .medium
36 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/Model/ConfettiConfig.swift:57:26: error: 'Color' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `ConfettiView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
48 |
49 | /// We need to define custom public initializers as they're internal by default.
50 | public init(
| `- note: add '@available' attribute to enclosing initializer
51 | content: [Content] = [
52 | .emoji("🎉", 0.7),
:
55 | .emoji("🎁", 0.6)
56 | ],
57 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
58 | intensity: Intensity = .medium,
59 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/Model/ConfettiConfig.swift:57:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `ConfettiView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
48 |
49 | /// We need to define custom public initializers as they're internal by default.
50 | public init(
| `- note: add '@available' attribute to enclosing initializer
51 | content: [Content] = [
52 | .emoji("🎉", 0.7),
:
55 | .emoji("🎁", 0.6)
56 | ],
57 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
58 | intensity: Intensity = .medium,
59 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/View/ConfettiViewRepresentable.swift:12:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct ConfettiViewRepresentable: 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: ConfettiConfig
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/Extensions/Color+CustomColors.swift:11:11: error: cannot find type 'UIColor' in scope
9 | import SwiftUI
10 |
11 | extension UIColor {
| `- error: cannot find type 'UIColor' in scope
12 |
13 | static public var fireRed: UIColor = UIColor(red: 78.0 / 255.0, green: 33.0 / 255.0, blue: 6.0 / 255.0, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Extensions/Color+CustomColors.swift:13:32: error: cannot find type 'UIColor' in scope
11 | extension UIColor {
12 |
13 | static public var fireRed: UIColor = UIColor(red: 78.0 / 255.0, green: 33.0 / 255.0, blue: 6.0 / 255.0, alpha: 1)
| `- error: cannot find type 'UIColor' in scope
14 |
15 | }
[32/50] Compiling EffectsLibrary ConfettiConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/ConfettiView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct ConfettiView: View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | private var config: ConfettiConfig
:
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 | ConfettiViewRepresentable(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/ConfettiView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct ConfettiView_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 | ConfettiView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/ConfettiView.swift:20:13: error: static method 'buildExpression' requires that 'ConfettiViewRepresentable' conform to 'View'
18 | public var body: some View {
19 | GeometryReader { proxy in
20 | ConfettiViewRepresentable(proxy: proxy, config: config)
| `- error: static method 'buildExpression' requires that 'ConfettiViewRepresentable' conform to 'View'
21 | }
22 | .edgesIgnoringSafeArea(.all)
SwiftUI.ViewBuilder.buildExpression:2:20: note: where 'Content' = 'ConfettiViewRepresentable'
1 | struct ViewBuilder {
2 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View}
| `- note: where 'Content' = 'ConfettiViewRepresentable'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/Model/ConfettiConfig.swift:34:26: error: 'Color' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `ConfettiView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
32 | .emoji("🎁", 0.6)
33 | ]
34 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
35 | var intensity: Intensity = .medium
36 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/Model/ConfettiConfig.swift:34:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `ConfettiView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
32 | .emoji("🎁", 0.6)
33 | ]
34 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
35 | var intensity: Intensity = .medium
36 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/Model/ConfettiConfig.swift:57:26: error: 'Color' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `ConfettiView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
48 |
49 | /// We need to define custom public initializers as they're internal by default.
50 | public init(
| `- note: add '@available' attribute to enclosing initializer
51 | content: [Content] = [
52 | .emoji("🎉", 0.7),
:
55 | .emoji("🎁", 0.6)
56 | ],
57 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
58 | intensity: Intensity = .medium,
59 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/Model/ConfettiConfig.swift:57:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `ConfettiView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
48 |
49 | /// We need to define custom public initializers as they're internal by default.
50 | public init(
| `- note: add '@available' attribute to enclosing initializer
51 | content: [Content] = [
52 | .emoji("🎉", 0.7),
:
55 | .emoji("🎁", 0.6)
56 | ],
57 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
58 | intensity: Intensity = .medium,
59 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/View/ConfettiViewRepresentable.swift:12:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct ConfettiViewRepresentable: 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: ConfettiConfig
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/Extensions/Color+CustomColors.swift:11:11: error: cannot find type 'UIColor' in scope
9 | import SwiftUI
10 |
11 | extension UIColor {
| `- error: cannot find type 'UIColor' in scope
12 |
13 | static public var fireRed: UIColor = UIColor(red: 78.0 / 255.0, green: 33.0 / 255.0, blue: 6.0 / 255.0, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Extensions/Color+CustomColors.swift:13:32: error: cannot find type 'UIColor' in scope
11 | extension UIColor {
12 |
13 | static public var fireRed: UIColor = UIColor(red: 78.0 / 255.0, green: 33.0 / 255.0, blue: 6.0 / 255.0, alpha: 1)
| `- error: cannot find type 'UIColor' in scope
14 |
15 | }
[33/50] Compiling EffectsLibrary ConfettiViewRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/ConfettiView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct ConfettiView: View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | private var config: ConfettiConfig
:
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 | ConfettiViewRepresentable(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/ConfettiView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct ConfettiView_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 | ConfettiView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/ConfettiView.swift:20:13: error: static method 'buildExpression' requires that 'ConfettiViewRepresentable' conform to 'View'
18 | public var body: some View {
19 | GeometryReader { proxy in
20 | ConfettiViewRepresentable(proxy: proxy, config: config)
| `- error: static method 'buildExpression' requires that 'ConfettiViewRepresentable' conform to 'View'
21 | }
22 | .edgesIgnoringSafeArea(.all)
SwiftUI.ViewBuilder.buildExpression:2:20: note: where 'Content' = 'ConfettiViewRepresentable'
1 | struct ViewBuilder {
2 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View}
| `- note: where 'Content' = 'ConfettiViewRepresentable'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/Model/ConfettiConfig.swift:34:26: error: 'Color' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `ConfettiView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
32 | .emoji("🎁", 0.6)
33 | ]
34 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
35 | var intensity: Intensity = .medium
36 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/Model/ConfettiConfig.swift:34:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `ConfettiView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
32 | .emoji("🎁", 0.6)
33 | ]
34 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
35 | var intensity: Intensity = .medium
36 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/Model/ConfettiConfig.swift:57:26: error: 'Color' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `ConfettiView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
48 |
49 | /// We need to define custom public initializers as they're internal by default.
50 | public init(
| `- note: add '@available' attribute to enclosing initializer
51 | content: [Content] = [
52 | .emoji("🎉", 0.7),
:
55 | .emoji("🎁", 0.6)
56 | ],
57 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
58 | intensity: Intensity = .medium,
59 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/Model/ConfettiConfig.swift:57:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `ConfettiView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
48 |
49 | /// We need to define custom public initializers as they're internal by default.
50 | public init(
| `- note: add '@available' attribute to enclosing initializer
51 | content: [Content] = [
52 | .emoji("🎉", 0.7),
:
55 | .emoji("🎁", 0.6)
56 | ],
57 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
58 | intensity: Intensity = .medium,
59 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/View/ConfettiViewRepresentable.swift:12:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct ConfettiViewRepresentable: 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: ConfettiConfig
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/Extensions/Color+CustomColors.swift:11:11: error: cannot find type 'UIColor' in scope
9 | import SwiftUI
10 |
11 | extension UIColor {
| `- error: cannot find type 'UIColor' in scope
12 |
13 | static public var fireRed: UIColor = UIColor(red: 78.0 / 255.0, green: 33.0 / 255.0, blue: 6.0 / 255.0, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Extensions/Color+CustomColors.swift:13:32: error: cannot find type 'UIColor' in scope
11 | extension UIColor {
12 |
13 | static public var fireRed: UIColor = UIColor(red: 78.0 / 255.0, green: 33.0 / 255.0, blue: 6.0 / 255.0, alpha: 1)
| `- error: cannot find type 'UIColor' in scope
14 |
15 | }
[34/50] Compiling EffectsLibrary Color+CustomColors.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/ConfettiView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct ConfettiView: View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | private var config: ConfettiConfig
:
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 | ConfettiViewRepresentable(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/ConfettiView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct ConfettiView_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 | ConfettiView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/ConfettiView.swift:20:13: error: static method 'buildExpression' requires that 'ConfettiViewRepresentable' conform to 'View'
18 | public var body: some View {
19 | GeometryReader { proxy in
20 | ConfettiViewRepresentable(proxy: proxy, config: config)
| `- error: static method 'buildExpression' requires that 'ConfettiViewRepresentable' conform to 'View'
21 | }
22 | .edgesIgnoringSafeArea(.all)
SwiftUI.ViewBuilder.buildExpression:2:20: note: where 'Content' = 'ConfettiViewRepresentable'
1 | struct ViewBuilder {
2 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View}
| `- note: where 'Content' = 'ConfettiViewRepresentable'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/Model/ConfettiConfig.swift:34:26: error: 'Color' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `ConfettiView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
32 | .emoji("🎁", 0.6)
33 | ]
34 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
35 | var intensity: Intensity = .medium
36 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/Model/ConfettiConfig.swift:34:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `ConfettiView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
32 | .emoji("🎁", 0.6)
33 | ]
34 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
35 | var intensity: Intensity = .medium
36 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/Model/ConfettiConfig.swift:57:26: error: 'Color' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `ConfettiView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
48 |
49 | /// We need to define custom public initializers as they're internal by default.
50 | public init(
| `- note: add '@available' attribute to enclosing initializer
51 | content: [Content] = [
52 | .emoji("🎉", 0.7),
:
55 | .emoji("🎁", 0.6)
56 | ],
57 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
58 | intensity: Intensity = .medium,
59 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/Model/ConfettiConfig.swift:57:35: error: 'clear' is only available in macOS 10.15 or newer
24 | /// - clipsToBounds: specifies whether the effect is constrained to the `ConfettiView` itself or can leak around. Default is `false` (effect leaks outside).
25 | /// - fallDirection: an enum value of type `FallDirection`. There are two options for now, being `.upwards` (particles are moving up the screen from the source they are emitted) and `.downwards` (particles are falling downwards from the origin of the source). Default is `.downwards`.
26 | public struct ConfettiConfig: EmitterLayerConfig {
| `- note: add '@available' attribute to enclosing struct
27 | // base config parameters
28 | var content: [Content] = [
:
48 |
49 | /// We need to define custom public initializers as they're internal by default.
50 | public init(
| `- note: add '@available' attribute to enclosing initializer
51 | content: [Content] = [
52 | .emoji("🎉", 0.7),
:
55 | .emoji("🎁", 0.6)
56 | ],
57 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
58 | intensity: Intensity = .medium,
59 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/ConfettiEffect/View/ConfettiViewRepresentable.swift:12:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | struct ConfettiViewRepresentable: 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: ConfettiConfig
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/Extensions/Color+CustomColors.swift:11:11: error: cannot find type 'UIColor' in scope
9 | import SwiftUI
10 |
11 | extension UIColor {
| `- error: cannot find type 'UIColor' in scope
12 |
13 | static public var fireRed: UIColor = UIColor(red: 78.0 / 255.0, green: 33.0 / 255.0, blue: 6.0 / 255.0, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Extensions/Color+CustomColors.swift:13:32: error: cannot find type 'UIColor' in scope
11 | extension UIColor {
12 |
13 | static public var fireRed: UIColor = UIColor(red: 78.0 / 255.0, green: 33.0 / 255.0, blue: 6.0 / 255.0, alpha: 1)
| `- error: cannot find type 'UIColor' in scope
14 |
15 | }
[35/50] Compiling EffectsLibrary FireworksConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:16: error: cannot find 'UIImage' in scope
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:47: error: cannot infer contextual base in reference to member 'spark'
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:55: error: 'nil' requires a contextual type
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add '@available' attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:20: error: cannot find 'UIImage' in scope
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:51: error: cannot infer contextual base in reference to member 'spark'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:59: error: 'nil' requires a contextual type
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add '@available' attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireworksConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
17 | return SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:17:16: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| `- note: add '@available' attribute to enclosing property
17 | return SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:86:30: error: cannot find 'UIColor' in scope
84 |
85 | // Particle Color
86 | node.particleColor = UIColor(red: 171 / 255.0, green: 80 / 255.0, blue: 21 / 255.0, alpha: 1.0)
| `- error: cannot find 'UIColor' in scope
87 | node.particleBlendMode = .add
88 | node.particleColorBlendFactor = 0.8
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/BaseConfig.swift:12:26: error: 'Color' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | protocol BaseConfig {
| `- note: add '@available' attribute to enclosing protocol
11 | var content: [Content] { get }
12 | var backgroundColor: Color { get }
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
13 | var intensity: Intensity { get }
14 | var lifetime: Lifetime { get }
[36/50] Compiling EffectsLibrary FireworksContainerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:16: error: cannot find 'UIImage' in scope
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:47: error: cannot infer contextual base in reference to member 'spark'
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:55: error: 'nil' requires a contextual type
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add '@available' attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:20: error: cannot find 'UIImage' in scope
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:51: error: cannot infer contextual base in reference to member 'spark'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:59: error: 'nil' requires a contextual type
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add '@available' attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireworksConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
17 | return SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:17:16: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| `- note: add '@available' attribute to enclosing property
17 | return SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:86:30: error: cannot find 'UIColor' in scope
84 |
85 | // Particle Color
86 | node.particleColor = UIColor(red: 171 / 255.0, green: 80 / 255.0, blue: 21 / 255.0, alpha: 1.0)
| `- error: cannot find 'UIColor' in scope
87 | node.particleBlendMode = .add
88 | node.particleColorBlendFactor = 0.8
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/BaseConfig.swift:12:26: error: 'Color' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | protocol BaseConfig {
| `- note: add '@available' attribute to enclosing protocol
11 | var content: [Content] { get }
12 | var backgroundColor: Color { get }
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
13 | var intensity: Intensity { get }
14 | var lifetime: Lifetime { get }
[37/50] Compiling EffectsLibrary FireworksScene.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:16: error: cannot find 'UIImage' in scope
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:47: error: cannot infer contextual base in reference to member 'spark'
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:55: error: 'nil' requires a contextual type
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add '@available' attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:20: error: cannot find 'UIImage' in scope
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:51: error: cannot infer contextual base in reference to member 'spark'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:59: error: 'nil' requires a contextual type
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add '@available' attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireworksConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
17 | return SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:17:16: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| `- note: add '@available' attribute to enclosing property
17 | return SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:86:30: error: cannot find 'UIColor' in scope
84 |
85 | // Particle Color
86 | node.particleColor = UIColor(red: 171 / 255.0, green: 80 / 255.0, blue: 21 / 255.0, alpha: 1.0)
| `- error: cannot find 'UIColor' in scope
87 | node.particleBlendMode = .add
88 | node.particleColorBlendFactor = 0.8
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/BaseConfig.swift:12:26: error: 'Color' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | protocol BaseConfig {
| `- note: add '@available' attribute to enclosing protocol
11 | var content: [Content] { get }
12 | var backgroundColor: Color { get }
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
13 | var intensity: Intensity { get }
14 | var lifetime: Lifetime { get }
[38/50] Compiling EffectsLibrary BaseConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:16: error: cannot find 'UIImage' in scope
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:47: error: cannot infer contextual base in reference to member 'spark'
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:24:55: error: 'nil' requires a contextual type
22 | public struct FireworksConfig: BaseConfig {
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
25 | ]
26 | var backgroundColor: Color = .clear
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'Color' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:26:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
25 | ]
26 | var backgroundColor: Color = .clear
| `- error: 'clear' is only available in macOS 10.15 or newer
27 | var intensity: Intensity = .medium
28 | var lifetime: Lifetime = .medium
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:26: error: 'Color' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add '@available' attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'Color' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:20: error: cannot find 'UIImage' in scope
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot find 'UIImage' in scope
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:51: error: cannot infer contextual base in reference to member 'spark'
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: cannot infer contextual base in reference to member 'spark'
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:39:59: error: 'nil' requires a contextual type
37 | public init(
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
| `- error: 'nil' requires a contextual type
40 | ],
41 | backgroundColor: Color = .clear,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/Model/FireworksConfig.swift:41:35: error: 'clear' is only available in macOS 10.15 or newer
20 | /// - `fadeOut`: Specifies how fast elements of the effect will fade out (meaning: become transparent). Difference to `lifetime` is that there elements will be removed instantly whereas here there is a fading effect that is more subtle over time. The type is ``FadeOut`` (click to see more details) with the values `.none`, `.slow`, `.medium`, and `.fast`. Default is `.medium`.
21 | /// - `spreadRadius`: Defines the angle in which the single elements of the effect are emitted. The type ``SpreadRadius`` (click to see more details) defines 3 values: `.low`, `.medium`, and `.high`. The default is `.high` (leading to a complete circle of particles emitted from the source).
22 | public struct FireworksConfig: BaseConfig {
| `- note: add '@available' attribute to enclosing struct
23 | var content: [Content] = [
24 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
:
35 |
36 | /// We need to define custom public initializers as they're internal by default.
37 | public init(
| `- note: add '@available' attribute to enclosing initializer
38 | content: [Content] = [
39 | .image(UIImage.loadFromBundle(named: .spark), nil, 1)
40 | ],
41 | backgroundColor: Color = .clear,
| `- error: 'clear' is only available in macOS 10.15 or newer
42 | intensity: Intensity = .medium,
43 | lifetime: Lifetime = .medium,
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireworksConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
17 | return SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksContainerView.swift:17:16: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireworksContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireworksConfig
15 |
16 | var body: some View {
| `- note: add '@available' attribute to enclosing property
17 | return SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/View/FireworksScene.swift:86:30: error: cannot find 'UIColor' in scope
84 |
85 | // Particle Color
86 | node.particleColor = UIColor(red: 171 / 255.0, green: 80 / 255.0, blue: 21 / 255.0, alpha: 1.0)
| `- error: cannot find 'UIColor' in scope
87 | node.particleBlendMode = .add
88 | node.particleColorBlendFactor = 0.8
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/BaseConfig.swift:12:26: error: 'Color' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | protocol BaseConfig {
| `- note: add '@available' attribute to enclosing protocol
11 | var content: [Content] { get }
12 | var backgroundColor: Color { get }
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
13 | var intensity: Intensity { get }
14 | var lifetime: Lifetime { get }
[39/50] Compiling EffectsLibrary RainView.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,
[40/50] Compiling EffectsLibrary RainViewRepresentable.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,
[41/50] 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,
[42/50] 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,
[43/50] Compiling EffectsLibrary SmokeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct SmokeView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
28 | SmokeView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:19:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
19 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:22:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
22 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: SmokeConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
[44/50] Compiling EffectsLibrary SmokeContainerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct SmokeView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
28 | SmokeView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:19:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
19 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:22:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
22 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: SmokeConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
[45/50] Compiling EffectsLibrary SmokeScene.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct SmokeView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
28 | SmokeView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:19:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
19 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:22:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
22 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: SmokeConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
[46/50] Compiling EffectsLibrary SnowConfig+DefaultValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:27:31: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct SmokeView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
27 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
28 | SmokeView()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:19:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
19 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/SmokeView.swift:22:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
8 | import SwiftUI
9 |
10 | public struct SmokeView: View {
| `- note: add '@available' attribute to enclosing struct
11 |
12 | private var config: SmokeConfig
:
16 | }
17 |
18 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
19 | GeometryReader { proxy in
20 | SmokeContainerView(proxy: proxy, config: config)
21 | }
22 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | }
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: SmokeConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct SmokeContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: SmokeConfig
15 |
16 | var body: some View {
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/SmokeEffect/View/SmokeScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
[47/50] Compiling EffectsLibrary FireContainerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:26:16: error: cannot find type 'UIColor' in scope
24 |
25 | extension Content {
26 | var color: UIColor? {
| `- error: cannot find type 'UIColor' in scope
27 | switch self {
28 | case let .image(_, color?, _),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct SwiftUIView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
28 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
29 | FireworksView()
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:20:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
20 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:23:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
23 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | }
25 | }
[48/50] Compiling EffectsLibrary FireScene.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:26:16: error: cannot find type 'UIColor' in scope
24 |
25 | extension Content {
26 | var color: UIColor? {
| `- error: cannot find type 'UIColor' in scope
27 | switch self {
28 | case let .image(_, color?, _),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct SwiftUIView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
28 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
29 | FireworksView()
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:20:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
20 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:23:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
23 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | }
25 | }
[49/50] Compiling EffectsLibrary FireworksView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:26:16: error: cannot find type 'UIColor' in scope
24 |
25 | extension Content {
26 | var color: UIColor? {
| `- error: cannot find type 'UIColor' in scope
27 | switch self {
28 | case let .image(_, color?, _),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct SwiftUIView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
28 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
29 | FireworksView()
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:20:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
20 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:23:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
23 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | }
25 | }
[50/50] Compiling EffectsLibrary FireworksConfig+DefaultValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:13:16: error: 'GeometryProxy' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
14 | var config: FireConfig
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:16:20: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
18 | scene: createScene(of: proxy.size),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireContainerView.swift:17:9: error: 'SpriteView' is only available in macOS 11.0 or newer
9 | import SpriteKit
10 |
11 | struct FireContainerView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | var proxy: GeometryProxy
14 | var config: FireConfig
15 |
16 | var body: some View {
| `- note: add '@available' attribute to enclosing property
17 | SpriteView(
| |- error: 'SpriteView' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
18 | scene: createScene(of: proxy.size),
19 | options: [.allowsTransparency]
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireEffect/View/FireScene.swift:18:27: error: cannot find 'UIColor' in scope
16 | super.init(size: size)
17 |
18 | backgroundColor = UIColor(config.backgroundColor)
| `- error: cannot find 'UIColor' in scope
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:16: error: cannot find type 'UIImage' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIImage' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:21:25: error: cannot find type 'UIColor' in scope
19 |
20 | case shape(Shape, UIColor?, CGFloat = 1)
21 | case image(UIImage, UIColor?, CGFloat = 1)
| `- error: cannot find type 'UIColor' in scope
22 | case emoji(Character, CGFloat = 1)
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:36:16: error: cannot find type 'UIImage' in scope
34 | }
35 |
36 | var image: UIImage {
| `- error: cannot find type 'UIImage' in scope
37 | switch self {
38 | case let .image(image, _, _):
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/Model/Content.swift:26:16: error: cannot find type 'UIColor' in scope
24 |
25 | extension Content {
26 | var color: UIColor? {
| `- error: cannot find type 'UIColor' in scope
27 | switch self {
28 | case let .image(_, color?, _),
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
25 | }
26 |
27 | struct SwiftUIView_Previews: PreviewProvider {
| `- note: add '@available' attribute to enclosing struct
28 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
29 | FireworksView()
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:20:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
20 | GeometryReader { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/EffectsLibrary/FireworksEffect/FireworksView.swift:23:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
9 | import SpriteKit
10 |
11 | public struct FireworksView: View {
| `- note: add '@available' attribute to enclosing struct
12 |
13 | private var config: FireworksConfig
:
17 | }
18 |
19 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
20 | GeometryReader { proxy in
21 | FireworksContainerView(proxy: proxy, config: config)
22 | }
23 | .edgesIgnoringSafeArea(.all)
| |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
24 | }
25 | }
BUILD FAILURE 6.3 macosSpm