Build Information
Failed to build ProgressHUD, reference master (44e04c), with Swift 6.0 for macOS (SPM) on 10 Dec 2025 21:11:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
| | `- error: 'red' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
64 |
65 | public var colorBanner = Color.clear
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:63:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
61 | public var imageError = Image(systemName: "xmark.circle.fill")
62 | public var colorSuccess = Color.green
63 | public var colorError = Color.red
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
64 |
65 | public var colorBanner = Color.clear
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:65:27: error: 'Color' is only available in macOS 10.15 or newer
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
63 | public var colorError = Color.red
64 |
65 | public var colorBanner = Color.clear
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:65:33: error: 'clear' is only available in macOS 10.15 or newer
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
63 | public var colorError = Color.red
64 |
65 | public var colorBanner = Color.clear
| | `- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:65:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
63 | public var colorError = Color.red
64 |
65 | public var colorBanner = Color.clear
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:66:38: error: cannot find 'UIColor' in scope
64 |
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
| `- error: cannot find 'UIColor' in scope
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:97:9: error: static member 'colorBannerTitle' cannot be used on instance of type 'ProgressHUD'
95 |
96 | static var colorBannerTitle: Color {
97 | get { shared.colorBannerTitle }
| `- error: static member 'colorBannerTitle' cannot be used on instance of type 'ProgressHUD'
98 | set { shared.colorBannerTitle = newValue }
99 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:98:9: error: static member 'colorBannerTitle' cannot be used on instance of type 'ProgressHUD'
96 | static var colorBannerTitle: Color {
97 | get { shared.colorBannerTitle }
98 | set { shared.colorBannerTitle = newValue }
| `- error: static member 'colorBannerTitle' cannot be used on instance of type 'ProgressHUD'
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:67:40: error: cannot find 'UIColor' in scope
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
| `- error: cannot find 'UIColor' in scope
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:102:9: error: static member 'colorBannerMessage' cannot be used on instance of type 'ProgressHUD'
100 |
101 | static var colorBannerMessage: Color {
102 | get { shared.colorBannerMessage }
| `- error: static member 'colorBannerMessage' cannot be used on instance of type 'ProgressHUD'
103 | set { shared.colorBannerMessage = newValue }
104 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:103:9: error: static member 'colorBannerMessage' cannot be used on instance of type 'ProgressHUD'
101 | static var colorBannerMessage: Color {
102 | get { shared.colorBannerMessage }
103 | set { shared.colorBannerMessage = newValue }
| `- error: static member 'colorBannerMessage' cannot be used on instance of type 'ProgressHUD'
104 | }
105 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:68:31: error: 'Font' is only available in macOS 10.15 or newer
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
| | `- error: 'Font' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
69 | public var fontBannerMessage = Font.system(size: 14)
70 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:68:36: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
| | `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing property
69 | public var fontBannerMessage = Font.system(size: 14)
70 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:68:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
69 | public var fontBannerMessage = Font.system(size: 14)
70 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:69:33: error: 'Font' is only available in macOS 10.15 or newer
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
| | `- error: 'Font' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
70 |
71 | var interaction = true
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:69:38: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
| | `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing property
70 |
71 | var interaction = true
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:69:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
70 |
71 | var interaction = true
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:73:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
71 | var interaction = true
72 | var dismissTask: Task<Void, Never>?
73 | var dismissAnimTask: Task<Void, Never>?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
74 | var keyboardHeight: CGFloat = 0
75 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:122:27: error: 'cancel()' is only available in macOS 10.15 or newer
116 |
117 | // MARK: - Dismiss Methods
118 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
119 |
120 | @MainActor
121 | static func dismiss() {
| `- note: add @available attribute to enclosing static method
122 | shared.dismissAnimTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | shared.dismissAnimTask = Task {
124 | withAnimation(.easeIn(duration: 0.15)) {
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:30:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
28 | public static let shared = ProgressHUD()
29 |
30 | var isVisible = false
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
31 | var text: String?
32 | var displayMode = DisplayMode.animation
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:31:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
29 |
30 | var isVisible = false
31 | var text: String?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
32 | var displayMode = DisplayMode.animation
33 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:39:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
37 | var progressValue: CGFloat = 0
38 |
39 | var staticImage: Image?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
40 | var staticImageColor: Color?
41 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:123:28: error: 'Task' is only available in macOS 10.15 or newer
116 |
117 | // MARK: - Dismiss Methods
118 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
119 |
120 | @MainActor
121 | static func dismiss() {
| `- note: add @available attribute to enclosing static method
122 | shared.dismissAnimTask?.cancel()
123 | shared.dismissAnimTask = Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
124 | withAnimation(.easeIn(duration: 0.15)) {
125 | shared.isVisible = false
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:123:28: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
116 |
117 | // MARK: - Dismiss Methods
118 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
119 |
120 | @MainActor
121 | static func dismiss() {
| `- note: add @available attribute to enclosing static method
122 | shared.dismissAnimTask?.cancel()
123 | shared.dismissAnimTask = Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
124 | withAnimation(.easeIn(duration: 0.15)) {
125 | shared.isVisible = false
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:124:4: error: 'withAnimation' is only available in macOS 10.15 or newer
116 |
117 | // MARK: - Dismiss Methods
118 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
119 |
120 | @MainActor
121 | static func dismiss() {
| `- note: add @available attribute to enclosing static method
122 | shared.dismissAnimTask?.cancel()
123 | shared.dismissAnimTask = Task {
124 | withAnimation(.easeIn(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
125 | shared.isVisible = false
126 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:124:19: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
116 |
117 | // MARK: - Dismiss Methods
118 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
119 |
120 | @MainActor
121 | static func dismiss() {
| `- note: add @available attribute to enclosing static method
122 | shared.dismissAnimTask?.cancel()
123 | shared.dismissAnimTask = Task {
124 | withAnimation(.easeIn(duration: 0.15)) {
| |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
125 | shared.isVisible = false
126 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:127:15: error: 'Task' is only available in macOS 10.15 or newer
116 |
117 | // MARK: - Dismiss Methods
118 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
119 |
120 | @MainActor
121 | static func dismiss() {
| `- note: add @available attribute to enclosing static method
122 | shared.dismissAnimTask?.cancel()
123 | shared.dismissAnimTask = Task {
:
125 | shared.isVisible = false
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
128 | if !Task.isCancelled {
129 | shared.text = nil
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:127:20: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
116 |
117 | // MARK: - Dismiss Methods
118 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
119 |
120 | @MainActor
121 | static func dismiss() {
| `- note: add @available attribute to enclosing static method
122 | shared.dismissAnimTask?.cancel()
123 | shared.dismissAnimTask = Task {
:
125 | shared.isVisible = false
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
128 | if !Task.isCancelled {
129 | shared.text = nil
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:127:32: error: 'milliseconds' is only available in macOS 13.0 or newer
116 |
117 | // MARK: - Dismiss Methods
118 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
119 |
120 | @MainActor
121 | static func dismiss() {
| `- note: add @available attribute to enclosing static method
122 | shared.dismissAnimTask?.cancel()
123 | shared.dismissAnimTask = Task {
:
125 | shared.isVisible = false
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
| |- error: 'milliseconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
128 | if !Task.isCancelled {
129 | shared.text = nil
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:128:8: error: 'Task' is only available in macOS 10.15 or newer
116 |
117 | // MARK: - Dismiss Methods
118 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
119 |
120 | @MainActor
121 | static func dismiss() {
| `- note: add @available attribute to enclosing static method
122 | shared.dismissAnimTask?.cancel()
123 | shared.dismissAnimTask = Task {
:
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
128 | if !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | shared.text = nil
130 | shared.staticImage = nil
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:128:13: error: 'isCancelled' is only available in macOS 10.15 or newer
116 |
117 | // MARK: - Dismiss Methods
118 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
119 |
120 | @MainActor
121 | static func dismiss() {
| `- note: add @available attribute to enclosing static method
122 | shared.dismissAnimTask?.cancel()
123 | shared.dismissAnimTask = Task {
:
126 | }
127 | try? await Task.sleep(for: .milliseconds(150))
128 | if !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
129 | shared.text = nil
130 | shared.staticImage = nil
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:72:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
70 |
71 | var interaction = true
72 | var dismissTask: Task<Void, Never>?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
73 | var dismissAnimTask: Task<Void, Never>?
74 | var keyboardHeight: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:148:23: error: 'cancel()' is only available in macOS 10.15 or newer
142 |
143 | // MARK: - Animate Methods
144 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
145 |
146 | @MainActor
147 | static func animate(_ text: String? = nil, interaction: Bool = true) {
| `- note: add @available attribute to enclosing static method
148 | shared.dismissTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
149 | shared.dismissAnimTask?.cancel()
150 | shared.displayMode = .animation
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:149:27: error: 'cancel()' is only available in macOS 10.15 or newer
142 |
143 | // MARK: - Animate Methods
144 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
145 |
146 | @MainActor
147 | static func animate(_ text: String? = nil, interaction: Bool = true) {
| `- note: add @available attribute to enclosing static method
148 | shared.dismissTask?.cancel()
149 | shared.dismissAnimTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
150 | shared.displayMode = .animation
151 | shared.text = text
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:32:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
30 | var isVisible = false
31 | var text: String?
32 | var displayMode = DisplayMode.animation
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
33 |
34 | var animationType = AnimationType.activityIndicator
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:71:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
69 | public var fontBannerMessage = Font.system(size: 14)
70 |
71 | var interaction = true
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
72 | var dismissTask: Task<Void, Never>?
73 | var dismissAnimTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:153:3: error: 'withAnimation' is only available in macOS 10.15 or newer
142 |
143 | // MARK: - Animate Methods
144 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
145 |
146 | @MainActor
147 | static func animate(_ text: String? = nil, interaction: Bool = true) {
| `- note: add @available attribute to enclosing static method
148 | shared.dismissTask?.cancel()
149 | shared.dismissAnimTask?.cancel()
:
151 | shared.text = text
152 | shared.interaction = interaction
153 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
154 | shared.isVisible = true
155 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:153:18: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
142 |
143 | // MARK: - Animate Methods
144 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
145 |
146 | @MainActor
147 | static func animate(_ text: String? = nil, interaction: Bool = true) {
| `- note: add @available attribute to enclosing static method
148 | shared.dismissTask?.cancel()
149 | shared.dismissAnimTask?.cancel()
:
151 | shared.text = text
152 | shared.interaction = interaction
153 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
154 | shared.isVisible = true
155 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:160:23: error: 'cancel()' is only available in macOS 10.15 or newer
142 |
143 | // MARK: - Animate Methods
144 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
145 |
146 | @MainActor
:
157 |
158 | @MainActor
159 | static func animate(_ text: String? = nil, _ type: AnimationType, interaction: Bool = true) {
| `- note: add @available attribute to enclosing static method
160 | shared.dismissTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
161 | shared.dismissAnimTask?.cancel()
162 | shared.animationType = type
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:161:27: error: 'cancel()' is only available in macOS 10.15 or newer
142 |
143 | // MARK: - Animate Methods
144 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
145 |
146 | @MainActor
:
157 |
158 | @MainActor
159 | static func animate(_ text: String? = nil, _ type: AnimationType, interaction: Bool = true) {
| `- note: add @available attribute to enclosing static method
160 | shared.dismissTask?.cancel()
161 | shared.dismissAnimTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
162 | shared.animationType = type
163 | shared.displayMode = .animation
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:166:3: error: 'withAnimation' is only available in macOS 10.15 or newer
142 |
143 | // MARK: - Animate Methods
144 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
145 |
146 | @MainActor
:
157 |
158 | @MainActor
159 | static func animate(_ text: String? = nil, _ type: AnimationType, interaction: Bool = true) {
| `- note: add @available attribute to enclosing static method
160 | shared.dismissTask?.cancel()
161 | shared.dismissAnimTask?.cancel()
:
164 | shared.text = text
165 | shared.interaction = interaction
166 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
167 | shared.isVisible = true
168 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:166:18: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
142 |
143 | // MARK: - Animate Methods
144 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
145 |
146 | @MainActor
:
157 |
158 | @MainActor
159 | static func animate(_ text: String? = nil, _ type: AnimationType, interaction: Bool = true) {
| `- note: add @available attribute to enclosing static method
160 | shared.dismissTask?.cancel()
161 | shared.dismissAnimTask?.cancel()
:
164 | shared.text = text
165 | shared.interaction = interaction
166 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
167 | shared.isVisible = true
168 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:173:23: error: 'cancel()' is only available in macOS 10.15 or newer
142 |
143 | // MARK: - Animate Methods
144 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
145 |
146 | @MainActor
:
170 |
171 | @MainActor
172 | static func animate(_ text: String? = nil, symbol: String, interaction: Bool = true) {
| `- note: add @available attribute to enclosing static method
173 | shared.dismissTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
174 | shared.dismissAnimTask?.cancel()
175 | shared.animationType = .sfSymbolBounce
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:174:27: error: 'cancel()' is only available in macOS 10.15 or newer
142 |
143 | // MARK: - Animate Methods
144 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
145 |
146 | @MainActor
:
170 |
171 | @MainActor
172 | static func animate(_ text: String? = nil, symbol: String, interaction: Bool = true) {
| `- note: add @available attribute to enclosing static method
173 | shared.dismissTask?.cancel()
174 | shared.dismissAnimTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
175 | shared.animationType = .sfSymbolBounce
176 | shared.animationSymbol = symbol
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:180:3: error: 'withAnimation' is only available in macOS 10.15 or newer
142 |
143 | // MARK: - Animate Methods
144 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
145 |
146 | @MainActor
:
170 |
171 | @MainActor
172 | static func animate(_ text: String? = nil, symbol: String, interaction: Bool = true) {
| `- note: add @available attribute to enclosing static method
173 | shared.dismissTask?.cancel()
174 | shared.dismissAnimTask?.cancel()
:
178 | shared.text = text
179 | shared.interaction = interaction
180 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
181 | shared.isVisible = true
182 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:180:18: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
142 |
143 | // MARK: - Animate Methods
144 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
145 |
146 | @MainActor
:
170 |
171 | @MainActor
172 | static func animate(_ text: String? = nil, symbol: String, interaction: Bool = true) {
| `- note: add @available attribute to enclosing static method
173 | shared.dismissTask?.cancel()
174 | shared.dismissAnimTask?.cancel()
:
178 | shared.text = text
179 | shared.interaction = interaction
180 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
181 | shared.isVisible = true
182 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:191:23: error: 'cancel()' is only available in macOS 10.15 or newer
185 |
186 | // MARK: - Progress Methods
187 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
188 |
189 | @MainActor
190 | static func progress(_ value: CGFloat, interaction: Bool = false) {
| `- note: add @available attribute to enclosing static method
191 | shared.dismissTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
192 | shared.dismissAnimTask?.cancel()
193 | shared.displayMode = .progress
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:192:27: error: 'cancel()' is only available in macOS 10.15 or newer
185 |
186 | // MARK: - Progress Methods
187 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
188 |
189 | @MainActor
190 | static func progress(_ value: CGFloat, interaction: Bool = false) {
| `- note: add @available attribute to enclosing static method
191 | shared.dismissTask?.cancel()
192 | shared.dismissAnimTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
193 | shared.displayMode = .progress
194 | shared.progressValue = max(0, min(1, value))
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:37:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
35 | var animationSymbol = "sun.max"
36 |
37 | var progressValue: CGFloat = 0
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
38 |
39 | var staticImage: Image?
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:197:3: error: 'withAnimation' is only available in macOS 10.15 or newer
185 |
186 | // MARK: - Progress Methods
187 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
188 |
189 | @MainActor
190 | static func progress(_ value: CGFloat, interaction: Bool = false) {
| `- note: add @available attribute to enclosing static method
191 | shared.dismissTask?.cancel()
192 | shared.dismissAnimTask?.cancel()
:
195 | shared.text = nil
196 | shared.interaction = interaction
197 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
198 | shared.isVisible = true
199 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:197:18: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
185 |
186 | // MARK: - Progress Methods
187 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
188 |
189 | @MainActor
190 | static func progress(_ value: CGFloat, interaction: Bool = false) {
| `- note: add @available attribute to enclosing static method
191 | shared.dismissTask?.cancel()
192 | shared.dismissAnimTask?.cancel()
:
195 | shared.text = nil
196 | shared.interaction = interaction
197 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
198 | shared.isVisible = true
199 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:204:23: error: 'cancel()' is only available in macOS 10.15 or newer
185 |
186 | // MARK: - Progress Methods
187 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
188 |
189 | @MainActor
:
201 |
202 | @MainActor
203 | static func progress(_ text: String?, _ value: CGFloat, interaction: Bool = false) {
| `- note: add @available attribute to enclosing static method
204 | shared.dismissTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
205 | shared.dismissAnimTask?.cancel()
206 | shared.displayMode = .progress
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:205:27: error: 'cancel()' is only available in macOS 10.15 or newer
185 |
186 | // MARK: - Progress Methods
187 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
188 |
189 | @MainActor
:
201 |
202 | @MainActor
203 | static func progress(_ text: String?, _ value: CGFloat, interaction: Bool = false) {
| `- note: add @available attribute to enclosing static method
204 | shared.dismissTask?.cancel()
205 | shared.dismissAnimTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
206 | shared.displayMode = .progress
207 | shared.progressValue = max(0, min(1, value))
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:210:3: error: 'withAnimation' is only available in macOS 10.15 or newer
185 |
186 | // MARK: - Progress Methods
187 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
188 |
189 | @MainActor
:
201 |
202 | @MainActor
203 | static func progress(_ text: String?, _ value: CGFloat, interaction: Bool = false) {
| `- note: add @available attribute to enclosing static method
204 | shared.dismissTask?.cancel()
205 | shared.dismissAnimTask?.cancel()
:
208 | shared.text = text
209 | shared.interaction = interaction
210 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
211 | shared.isVisible = true
212 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:210:18: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
185 |
186 | // MARK: - Progress Methods
187 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
188 |
189 | @MainActor
:
201 |
202 | @MainActor
203 | static func progress(_ text: String?, _ value: CGFloat, interaction: Bool = false) {
| `- note: add @available attribute to enclosing static method
204 | shared.dismissTask?.cancel()
205 | shared.dismissAnimTask?.cancel()
:
208 | shared.text = text
209 | shared.interaction = interaction
210 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
211 | shared.isVisible = true
212 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:221:23: error: 'cancel()' is only available in macOS 10.15 or newer
215 |
216 | // MARK: - Live Icon Methods
217 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
218 |
219 | @MainActor
220 | static func liveIcon(_ text: String? = nil, icon: LiveIcon, interaction: Bool = true, delay: TimeInterval? = nil) {
| `- note: add @available attribute to enclosing static method
221 | shared.dismissTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
222 | shared.dismissAnimTask?.cancel()
223 | let newID = UUID()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:222:27: error: 'cancel()' is only available in macOS 10.15 or newer
215 |
216 | // MARK: - Live Icon Methods
217 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
218 |
219 | @MainActor
220 | static func liveIcon(_ text: String? = nil, icon: LiveIcon, interaction: Bool = true, delay: TimeInterval? = nil) {
| `- note: add @available attribute to enclosing static method
221 | shared.dismissTask?.cancel()
222 | shared.dismissAnimTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
223 | let newID = UUID()
224 | shared.liveIconID = newID
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:47:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
45 | var bannerTask: Task<Void, Never>?
46 |
47 | var liveIconID = UUID()
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
48 |
49 | public var mediaSize: CGFloat = 50
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:228:3: error: 'withAnimation' is only available in macOS 10.15 or newer
215 |
216 | // MARK: - Live Icon Methods
217 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
218 |
219 | @MainActor
220 | static func liveIcon(_ text: String? = nil, icon: LiveIcon, interaction: Bool = true, delay: TimeInterval? = nil) {
| `- note: add @available attribute to enclosing static method
221 | shared.dismissTask?.cancel()
222 | shared.dismissAnimTask?.cancel()
:
226 | shared.text = text
227 | shared.interaction = interaction
228 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
229 | shared.isVisible = true
230 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:228:18: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
215 |
216 | // MARK: - Live Icon Methods
217 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
218 |
219 | @MainActor
220 | static func liveIcon(_ text: String? = nil, icon: LiveIcon, interaction: Bool = true, delay: TimeInterval? = nil) {
| `- note: add @available attribute to enclosing static method
221 | shared.dismissTask?.cancel()
222 | shared.dismissAnimTask?.cancel()
:
226 | shared.text = text
227 | shared.interaction = interaction
228 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
229 | shared.isVisible = true
230 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:260:23: error: 'cancel()' is only available in macOS 10.15 or newer
254 |
255 | // MARK: - Static Image Methods
256 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
257 |
258 | @MainActor
259 | static func image(_ text: String? = nil, image: Image?, interaction: Bool = true, delay: TimeInterval? = nil) {
| `- note: add @available attribute to enclosing static method
260 | shared.dismissTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
261 | shared.dismissAnimTask?.cancel()
262 | shared.displayMode = .staticImage
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:261:27: error: 'cancel()' is only available in macOS 10.15 or newer
254 |
255 | // MARK: - Static Image Methods
256 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
257 |
258 | @MainActor
259 | static func image(_ text: String? = nil, image: Image?, interaction: Bool = true, delay: TimeInterval? = nil) {
| `- note: add @available attribute to enclosing static method
260 | shared.dismissTask?.cancel()
261 | shared.dismissAnimTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
262 | shared.displayMode = .staticImage
263 | shared.staticImage = image
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:266:3: error: 'withAnimation' is only available in macOS 10.15 or newer
254 |
255 | // MARK: - Static Image Methods
256 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
257 |
258 | @MainActor
259 | static func image(_ text: String? = nil, image: Image?, interaction: Bool = true, delay: TimeInterval? = nil) {
| `- note: add @available attribute to enclosing static method
260 | shared.dismissTask?.cancel()
261 | shared.dismissAnimTask?.cancel()
:
264 | shared.text = text
265 | shared.interaction = interaction
266 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | shared.isVisible = true
268 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:266:18: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
254 |
255 | // MARK: - Static Image Methods
256 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
257 |
258 | @MainActor
259 | static func image(_ text: String? = nil, image: Image?, interaction: Bool = true, delay: TimeInterval? = nil) {
| `- note: add @available attribute to enclosing static method
260 | shared.dismissTask?.cancel()
261 | shared.dismissAnimTask?.cancel()
:
264 | shared.text = text
265 | shared.interaction = interaction
266 | withAnimation(.easeOut(duration: 0.15)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | shared.isVisible = true
268 | }
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:40:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
38 |
39 | var staticImage: Image?
40 | var staticImageColor: Color?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
41 |
42 | var bannerVisible = false
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:275:15: error: 'Image' is only available in macOS 10.15 or newer
254 |
255 | // MARK: - Static Image Methods
256 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
257 |
258 | @MainActor
:
271 |
272 | @MainActor
273 | static func symbol(_ text: String? = nil, name: String, interaction: Bool = true, delay: TimeInterval? = nil) {
| `- note: add @available attribute to enclosing static method
274 | shared.staticImageColor = nil
275 | let image = Image(systemName: name)
| |- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
276 | self.image(text, image: image, interaction: interaction, delay: delay)
277 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:275:15: error: 'init(systemName:)' is only available in macOS 11.0 or newer
254 |
255 | // MARK: - Static Image Methods
256 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
257 |
258 | @MainActor
:
271 |
272 | @MainActor
273 | static func symbol(_ text: String? = nil, name: String, interaction: Bool = true, delay: TimeInterval? = nil) {
| `- note: add @available attribute to enclosing static method
274 | shared.staticImageColor = nil
275 | let image = Image(systemName: name)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
276 | self.image(text, image: image, interaction: interaction, delay: delay)
277 | }
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:45:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
43 | var bannerTitle: String?
44 | var bannerMessage: String?
45 | var bannerTask: Task<Void, Never>?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
46 |
47 | var liveIconID = UUID()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:303:22: error: 'cancel()' is only available in macOS 10.15 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
302 | static func banner(_ title: String?, _ message: String?, delay: TimeInterval = 3.0) {
| `- note: add @available attribute to enclosing static method
303 | shared.bannerTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
304 | shared.bannerTitle = title
305 | shared.bannerMessage = message
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:43:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
41 |
42 | var bannerVisible = false
43 | var bannerTitle: String?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
44 | var bannerMessage: String?
45 | var bannerTask: Task<Void, Never>?
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:44:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
42 | var bannerVisible = false
43 | var bannerTitle: String?
44 | var bannerMessage: String?
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
45 | var bannerTask: Task<Void, Never>?
46 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:42:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
40 | var staticImageColor: Color?
41 |
42 | var bannerVisible = false
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
43 | var bannerTitle: String?
44 | var bannerMessage: String?
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:306:3: error: 'withAnimation' is only available in macOS 10.15 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
302 | static func banner(_ title: String?, _ message: String?, delay: TimeInterval = 3.0) {
| `- note: add @available attribute to enclosing static method
303 | shared.bannerTask?.cancel()
304 | shared.bannerTitle = title
305 | shared.bannerMessage = message
306 | withAnimation(.easeOut(duration: 0.25)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
307 | shared.bannerVisible = true
308 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:306:18: error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
302 | static func banner(_ title: String?, _ message: String?, delay: TimeInterval = 3.0) {
| `- note: add @available attribute to enclosing static method
303 | shared.bannerTask?.cancel()
304 | shared.bannerTitle = title
305 | shared.bannerMessage = message
306 | withAnimation(.easeOut(duration: 0.25)) {
| |- error: 'easeOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
307 | shared.bannerVisible = true
308 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:309:23: error: 'Task' is only available in macOS 10.15 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
302 | static func banner(_ title: String?, _ message: String?, delay: TimeInterval = 3.0) {
| `- note: add @available attribute to enclosing static method
303 | shared.bannerTask?.cancel()
304 | shared.bannerTitle = title
:
307 | shared.bannerVisible = true
308 | }
309 | shared.bannerTask = Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
310 | try? await Task.sleep(for: .seconds(delay))
311 | if !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:309:23: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
302 | static func banner(_ title: String?, _ message: String?, delay: TimeInterval = 3.0) {
| `- note: add @available attribute to enclosing static method
303 | shared.bannerTask?.cancel()
304 | shared.bannerTitle = title
:
307 | shared.bannerVisible = true
308 | }
309 | shared.bannerTask = Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
310 | try? await Task.sleep(for: .seconds(delay))
311 | if !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:310:15: error: 'Task' is only available in macOS 10.15 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
302 | static func banner(_ title: String?, _ message: String?, delay: TimeInterval = 3.0) {
| `- note: add @available attribute to enclosing static method
303 | shared.bannerTask?.cancel()
304 | shared.bannerTitle = title
:
308 | }
309 | shared.bannerTask = Task {
310 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
311 | if !Task.isCancelled {
312 | bannerHide()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:310:20: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
302 | static func banner(_ title: String?, _ message: String?, delay: TimeInterval = 3.0) {
| `- note: add @available attribute to enclosing static method
303 | shared.bannerTask?.cancel()
304 | shared.bannerTitle = title
:
308 | }
309 | shared.bannerTask = Task {
310 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
311 | if !Task.isCancelled {
312 | bannerHide()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:310:32: error: 'seconds' is only available in macOS 13.0 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
302 | static func banner(_ title: String?, _ message: String?, delay: TimeInterval = 3.0) {
| `- note: add @available attribute to enclosing static method
303 | shared.bannerTask?.cancel()
304 | shared.bannerTitle = title
:
308 | }
309 | shared.bannerTask = Task {
310 | try? await Task.sleep(for: .seconds(delay))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
311 | if !Task.isCancelled {
312 | bannerHide()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:311:8: error: 'Task' is only available in macOS 10.15 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
302 | static func banner(_ title: String?, _ message: String?, delay: TimeInterval = 3.0) {
| `- note: add @available attribute to enclosing static method
303 | shared.bannerTask?.cancel()
304 | shared.bannerTitle = title
:
309 | shared.bannerTask = Task {
310 | try? await Task.sleep(for: .seconds(delay))
311 | if !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
312 | bannerHide()
313 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:311:13: error: 'isCancelled' is only available in macOS 10.15 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
302 | static func banner(_ title: String?, _ message: String?, delay: TimeInterval = 3.0) {
| `- note: add @available attribute to enclosing static method
303 | shared.bannerTask?.cancel()
304 | shared.bannerTitle = title
:
309 | shared.bannerTask = Task {
310 | try? await Task.sleep(for: .seconds(delay))
311 | if !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
312 | bannerHide()
313 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:319:22: error: 'cancel()' is only available in macOS 10.15 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
:
316 |
317 | @MainActor
318 | static func bannerHide() {
| `- note: add @available attribute to enclosing static method
319 | shared.bannerTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
320 | withAnimation(.easeIn(duration: 0.25)) {
321 | shared.bannerVisible = false
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:320:3: error: 'withAnimation' is only available in macOS 10.15 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
:
316 |
317 | @MainActor
318 | static func bannerHide() {
| `- note: add @available attribute to enclosing static method
319 | shared.bannerTask?.cancel()
320 | withAnimation(.easeIn(duration: 0.25)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
321 | shared.bannerVisible = false
322 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:320:18: error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
:
316 |
317 | @MainActor
318 | static func bannerHide() {
| `- note: add @available attribute to enclosing static method
319 | shared.bannerTask?.cancel()
320 | withAnimation(.easeIn(duration: 0.25)) {
| |- error: 'easeIn(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
321 | shared.bannerVisible = false
322 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:323:3: error: 'Task' is only available in macOS 10.15 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
:
316 |
317 | @MainActor
318 | static func bannerHide() {
| `- note: add @available attribute to enclosing static method
319 | shared.bannerTask?.cancel()
320 | withAnimation(.easeIn(duration: 0.25)) {
321 | shared.bannerVisible = false
322 | }
323 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
324 | try? await Task.sleep(for: .milliseconds(250))
325 | shared.bannerTitle = nil
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:323:3: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
:
316 |
317 | @MainActor
318 | static func bannerHide() {
| `- note: add @available attribute to enclosing static method
319 | shared.bannerTask?.cancel()
320 | withAnimation(.easeIn(duration: 0.25)) {
321 | shared.bannerVisible = false
322 | }
323 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
324 | try? await Task.sleep(for: .milliseconds(250))
325 | shared.bannerTitle = nil
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:324:15: error: 'Task' is only available in macOS 10.15 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
:
316 |
317 | @MainActor
318 | static func bannerHide() {
| `- note: add @available attribute to enclosing static method
319 | shared.bannerTask?.cancel()
320 | withAnimation(.easeIn(duration: 0.25)) {
:
322 | }
323 | Task {
324 | try? await Task.sleep(for: .milliseconds(250))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
325 | shared.bannerTitle = nil
326 | shared.bannerMessage = nil
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:324:20: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
:
316 |
317 | @MainActor
318 | static func bannerHide() {
| `- note: add @available attribute to enclosing static method
319 | shared.bannerTask?.cancel()
320 | withAnimation(.easeIn(duration: 0.25)) {
:
322 | }
323 | Task {
324 | try? await Task.sleep(for: .milliseconds(250))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
325 | shared.bannerTitle = nil
326 | shared.bannerMessage = nil
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:324:32: error: 'milliseconds' is only available in macOS 13.0 or newer
297 |
298 | // MARK: - Banner Methods
299 | public extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
300 |
301 | @MainActor
:
316 |
317 | @MainActor
318 | static func bannerHide() {
| `- note: add @available attribute to enclosing static method
319 | shared.bannerTask?.cancel()
320 | withAnimation(.easeIn(duration: 0.25)) {
:
322 | }
323 | Task {
324 | try? await Task.sleep(for: .milliseconds(250))
| |- error: 'milliseconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
325 | shared.bannerTitle = nil
326 | shared.bannerMessage = nil
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:338:24: error: 'Task' is only available in macOS 10.15 or newer
330 |
331 | // MARK: - Private Methods
332 | private extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
333 |
334 | static func scheduleAutoDismiss(text: String?, delay: TimeInterval?) {
| `- note: add @available attribute to enclosing static method
335 | let count = text?.count ?? 0
336 | let actualDelay = delay ?? Double(count) * 0.03 + 1.25
337 |
338 | shared.dismissTask = Task { @MainActor in
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
339 | try? await Task.sleep(for: .seconds(actualDelay))
340 | if !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:338:24: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
330 |
331 | // MARK: - Private Methods
332 | private extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
333 |
334 | static func scheduleAutoDismiss(text: String?, delay: TimeInterval?) {
| `- note: add @available attribute to enclosing static method
335 | let count = text?.count ?? 0
336 | let actualDelay = delay ?? Double(count) * 0.03 + 1.25
337 |
338 | shared.dismissTask = Task { @MainActor in
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
339 | try? await Task.sleep(for: .seconds(actualDelay))
340 | if !Task.isCancelled {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:339:15: error: 'Task' is only available in macOS 10.15 or newer
330 |
331 | // MARK: - Private Methods
332 | private extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
333 |
334 | static func scheduleAutoDismiss(text: String?, delay: TimeInterval?) {
| `- note: add @available attribute to enclosing static method
335 | let count = text?.count ?? 0
336 | let actualDelay = delay ?? Double(count) * 0.03 + 1.25
337 |
338 | shared.dismissTask = Task { @MainActor in
339 | try? await Task.sleep(for: .seconds(actualDelay))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
340 | if !Task.isCancelled {
341 | dismiss()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:339:20: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
330 |
331 | // MARK: - Private Methods
332 | private extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
333 |
334 | static func scheduleAutoDismiss(text: String?, delay: TimeInterval?) {
| `- note: add @available attribute to enclosing static method
335 | let count = text?.count ?? 0
336 | let actualDelay = delay ?? Double(count) * 0.03 + 1.25
337 |
338 | shared.dismissTask = Task { @MainActor in
339 | try? await Task.sleep(for: .seconds(actualDelay))
| |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
340 | if !Task.isCancelled {
341 | dismiss()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:339:32: error: 'seconds' is only available in macOS 13.0 or newer
330 |
331 | // MARK: - Private Methods
332 | private extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
333 |
334 | static func scheduleAutoDismiss(text: String?, delay: TimeInterval?) {
| `- note: add @available attribute to enclosing static method
335 | let count = text?.count ?? 0
336 | let actualDelay = delay ?? Double(count) * 0.03 + 1.25
337 |
338 | shared.dismissTask = Task { @MainActor in
339 | try? await Task.sleep(for: .seconds(actualDelay))
| |- error: 'seconds' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
340 | if !Task.isCancelled {
341 | dismiss()
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:340:8: error: 'Task' is only available in macOS 10.15 or newer
330 |
331 | // MARK: - Private Methods
332 | private extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
333 |
334 | static func scheduleAutoDismiss(text: String?, delay: TimeInterval?) {
| `- note: add @available attribute to enclosing static method
335 | let count = text?.count ?? 0
336 | let actualDelay = delay ?? Double(count) * 0.03 + 1.25
:
338 | shared.dismissTask = Task { @MainActor in
339 | try? await Task.sleep(for: .seconds(actualDelay))
340 | if !Task.isCancelled {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
341 | dismiss()
342 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD+Public.swift:340:13: error: 'isCancelled' is only available in macOS 10.15 or newer
330 |
331 | // MARK: - Private Methods
332 | private extension ProgressHUD {
| `- note: add @available attribute to enclosing extension
333 |
334 | static func scheduleAutoDismiss(text: String?, delay: TimeInterval?) {
| `- note: add @available attribute to enclosing static method
335 | let count = text?.count ?? 0
336 | let actualDelay = delay ?? Double(count) * 0.03 + 1.25
:
338 | shared.dismissTask = Task { @MainActor in
339 | try? await Task.sleep(for: .seconds(actualDelay))
340 | if !Task.isCancelled {
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
341 | dismiss()
342 | }
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:53:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
51 |
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:54:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:55:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
56 | public var colorAnimation = Color(UIColor.lightGray)
57 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:56:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
57 |
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:66:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
64 |
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:67:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:74:2: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
72 | var dismissTask: Task<Void, Never>?
73 | var dismissAnimTask: Task<Void, Never>?
74 | var keyboardHeight: CGFloat = 0
+--- macro expansion @Observable -----------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
75 |
76 | private init() {}
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:77:1: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
75 |
76 | private init() {}
77 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+-------------------------------------------------------------------
78 |
79 | // MARK: - ProgressHUDView
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:30:23: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
28 | public static let shared = ProgressHUD()
29 |
30 | var isVisible = false
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _isVisible = false
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
31 | var text: String?
32 | var displayMode = DisplayMode.animation
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:31:19: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
29 |
30 | var isVisible = false
31 | var text: String?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _text: String?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
32 | var displayMode = DisplayMode.animation
33 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:32:41: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
30 | var isVisible = false
31 | var text: String?
32 | var displayMode = DisplayMode.animation
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _displayMode = DisplayMode.animation
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
33 |
34 | var animationType = AnimationType.activityIndicator
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:34:53: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
32 | var displayMode = DisplayMode.animation
33 |
34 | var animationType = AnimationType.activityIndicator
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _animationType = AnimationType.activityIndicator
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
35 | var animationSymbol = "sun.max"
36 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:35:33: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
33 |
34 | var animationType = AnimationType.activityIndicator
35 | var animationSymbol = "sun.max"
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _animationSymbol = "sun.max"
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
36 |
37 | var progressValue: CGFloat = 0
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:37:32: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
35 | var animationSymbol = "sun.max"
36 |
37 | var progressValue: CGFloat = 0
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _progressValue: CGFloat = 0
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
38 |
39 | var staticImage: Image?
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:39:25: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
37 | var progressValue: CGFloat = 0
38 |
39 | var staticImage: Image?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _staticImage: Image?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
40 | var staticImageColor: Color?
41 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:40:30: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
38 |
39 | var staticImage: Image?
40 | var staticImageColor: Color?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _staticImageColor: Color?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
41 |
42 | var bannerVisible = false
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:42:27: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
40 | var staticImageColor: Color?
41 |
42 | var bannerVisible = false
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _bannerVisible = false
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
43 | var bannerTitle: String?
44 | var bannerMessage: String?
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:43:26: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
41 |
42 | var bannerVisible = false
43 | var bannerTitle: String?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _bannerTitle: String?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
44 | var bannerMessage: String?
45 | var bannerTask: Task<Void, Never>?
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:44:28: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
42 | var bannerVisible = false
43 | var bannerTitle: String?
44 | var bannerMessage: String?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _bannerMessage: String?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
45 | var bannerTask: Task<Void, Never>?
46 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:45:36: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
43 | var bannerTitle: String?
44 | var bannerMessage: String?
45 | var bannerTask: Task<Void, Never>?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _bannerTask: Task<Void, Never>?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
46 |
47 | var liveIconID = UUID()
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:47:25: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
45 | var bannerTask: Task<Void, Never>?
46 |
47 | var liveIconID = UUID()
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _liveIconID = UUID()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
48 |
49 | public var mediaSize: CGFloat = 50
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:49:36: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
47 | var liveIconID = UUID()
48 |
49 | public var mediaSize: CGFloat = 50
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _mediaSize: CGFloat = 50
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
50 | public var marginSize: CGFloat = 25
51 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:50:37: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
48 |
49 | public var mediaSize: CGFloat = 50
50 | public var marginSize: CGFloat = 25
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _marginSize: CGFloat = 25
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
51 |
52 | public var colorBackground = Color.clear
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:52:42: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
50 | public var marginSize: CGFloat = 25
51 |
52 | public var colorBackground = Color.clear
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorBackground = Color.clear
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:53:62: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
51 |
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorHUD = Color(UIColor.systemGray).opacity(0.1)
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:54:47: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorStatus = Color(UIColor.label)
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:55:53: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorProgress = Color(UIColor.lightGray)
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
56 | public var colorAnimation = Color(UIColor.lightGray)
57 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:56:54: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorAnimation = Color(UIColor.lightGray)
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
57 |
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:58:62: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
56 | public var colorAnimation = Color(UIColor.lightGray)
57 |
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _fontStatus = Font.system(size: 16, weight: .bold)
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
59 |
60 | public var imageSuccess = Image(systemName: "checkmark.circle.fill")
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:60:70: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
59 |
60 | public var imageSuccess = Image(systemName: "checkmark.circle.fill")
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _imageSuccess = Image(systemName: "checkmark.circle.fill")
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
61 | public var imageError = Image(systemName: "xmark.circle.fill")
62 | public var colorSuccess = Color.green
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:61:64: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
59 |
60 | public var imageSuccess = Image(systemName: "checkmark.circle.fill")
61 | public var imageError = Image(systemName: "xmark.circle.fill")
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _imageError = Image(systemName: "xmark.circle.fill")
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
62 | public var colorSuccess = Color.green
63 | public var colorError = Color.red
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:62:39: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
60 | public var imageSuccess = Image(systemName: "checkmark.circle.fill")
61 | public var imageError = Image(systemName: "xmark.circle.fill")
62 | public var colorSuccess = Color.green
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorSuccess = Color.green
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
63 | public var colorError = Color.red
64 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:63:35: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
61 | public var imageError = Image(systemName: "xmark.circle.fill")
62 | public var colorSuccess = Color.green
63 | public var colorError = Color.red
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorError = Color.red
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
64 |
65 | public var colorBanner = Color.clear
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:65:38: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
63 | public var colorError = Color.red
64 |
65 | public var colorBanner = Color.clear
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorBanner = Color.clear
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:66:52: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
64 |
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorBannerTitle = Color(UIColor.label)
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:67:63: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorBannerMessage = Color(UIColor.secondaryLabel)
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:68:71: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _fontBannerTitle = Font.system(size: 16, weight: .semibold)
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
69 | public var fontBannerMessage = Font.system(size: 14)
70 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:69:54: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _fontBannerMessage = Font.system(size: 14)
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
70 |
71 | var interaction = true
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:71:24: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
69 | public var fontBannerMessage = Font.system(size: 14)
70 |
71 | var interaction = true
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _interaction = true
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
72 | var dismissTask: Task<Void, Never>?
73 | var dismissAnimTask: Task<Void, Never>?
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:72:37: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
70 |
71 | var interaction = true
72 | var dismissTask: Task<Void, Never>?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _dismissTask: Task<Void, Never>?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
73 | var dismissAnimTask: Task<Void, Never>?
74 | var keyboardHeight: CGFloat = 0
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:73:41: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
71 | var interaction = true
72 | var dismissTask: Task<Void, Never>?
73 | var dismissAnimTask: Task<Void, Never>?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _dismissAnimTask: Task<Void, Never>?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
74 | var keyboardHeight: CGFloat = 0
75 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:74:33: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
72 | var dismissTask: Task<Void, Never>?
73 | var dismissAnimTask: Task<Void, Never>?
74 | var keyboardHeight: CGFloat = 0
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _keyboardHeight: CGFloat = 0
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+-------------------------------------------------------------------
75 |
76 | private init() {}
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:39:19: error: 'Image' is only available in macOS 10.15 or newer
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
37 | var progressValue: CGFloat = 0
38 |
39 | var staticImage: Image?
| | `- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
40 | var staticImageColor: Color?
41 |
macro expansion @ObservationTracked:1:48: error: 'Image' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:39:25: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
37 | var progressValue: CGFloat = 0
38 |
39 | var staticImage: Image?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _staticImage: Image?
| | `- error: 'Image' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
40 | var staticImageColor: Color?
41 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:40:24: error: 'Color' is only available in macOS 10.15 or newer
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
38 |
39 | var staticImage: Image?
40 | var staticImageColor: Color?
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
41 |
42 | var bannerVisible = false
macro expansion @ObservationTracked:1:53: error: 'Color' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:40:30: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
38 |
39 | var staticImage: Image?
40 | var staticImageColor: Color?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _staticImageColor: Color?
| | `- error: 'Color' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
41 |
42 | var bannerVisible = false
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:45:18: error: 'Task' is only available in macOS 10.15 or newer
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
43 | var bannerTitle: String?
44 | var bannerMessage: String?
45 | var bannerTask: Task<Void, Never>?
| | `- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
46 |
47 | var liveIconID = UUID()
macro expansion @ObservationTracked:1:47: error: 'Task' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:45:36: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
43 | var bannerTitle: String?
44 | var bannerMessage: String?
45 | var bannerTask: Task<Void, Never>?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _bannerTask: Task<Void, Never>?
| | `- error: 'Task' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
46 |
47 | var liveIconID = UUID()
macro expansion @ObservationTracked:1:54: error: 'Color' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:52:42: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
50 | public var marginSize: CGFloat = 25
51 |
52 | public var colorBackground = Color.clear
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorBackground = Color.clear
| | `- error: 'Color' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
macro expansion @ObservationTracked:1:60: error: 'clear' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:52:42: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
50 | public var marginSize: CGFloat = 25
51 |
52 | public var colorBackground = Color.clear
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorBackground = Color.clear
| | `- error: 'clear' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
macro expansion @ObservationTracked:1:53: error: cannot find 'UIColor' in scope
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:53:62: note: expanded code originates here
51 |
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorHUD = Color(UIColor.systemGray).opacity(0.1)
| | `- error: cannot find 'UIColor' in scope
+-------------------------------------------------------------------
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
macro expansion @ObservationTracked:1:56: error: cannot find 'UIColor' in scope
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:54:47: note: expanded code originates here
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorStatus = Color(UIColor.label)
| | `- error: cannot find 'UIColor' in scope
+-------------------------------------------------------------------
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
macro expansion @ObservationTracked:1:58: error: cannot find 'UIColor' in scope
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:55:53: note: expanded code originates here
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorProgress = Color(UIColor.lightGray)
| | `- error: cannot find 'UIColor' in scope
+-------------------------------------------------------------------
56 | public var colorAnimation = Color(UIColor.lightGray)
57 |
macro expansion @ObservationTracked:1:59: error: cannot find 'UIColor' in scope
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:56:54: note: expanded code originates here
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorAnimation = Color(UIColor.lightGray)
| | `- error: cannot find 'UIColor' in scope
+-------------------------------------------------------------------
57 |
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
macro expansion @ObservationTracked:1:49: error: 'Font' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:58:62: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
56 | public var colorAnimation = Color(UIColor.lightGray)
57 |
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _fontStatus = Font.system(size: 16, weight: .bold)
| | `- error: 'Font' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
59 |
60 | public var imageSuccess = Image(systemName: "checkmark.circle.fill")
macro expansion @ObservationTracked:1:54: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:58:62: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
56 | public var colorAnimation = Color(UIColor.lightGray)
57 |
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _fontStatus = Font.system(size: 16, weight: .bold)
| | `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
+-------------------------------------------------------------------
59 |
60 | public var imageSuccess = Image(systemName: "checkmark.circle.fill")
macro expansion @ObservationTracked:1:51: error: 'Image' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:60:70: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
59 |
60 | public var imageSuccess = Image(systemName: "checkmark.circle.fill")
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _imageSuccess = Image(systemName: "checkmark.circle.fill")
| | `- error: 'Image' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
61 | public var imageError = Image(systemName: "xmark.circle.fill")
62 | public var colorSuccess = Color.green
macro expansion @ObservationTracked:1:51: error: 'init(systemName:)' is only available in macOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:60:70: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
59 |
60 | public var imageSuccess = Image(systemName: "checkmark.circle.fill")
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _imageSuccess = Image(systemName: "checkmark.circle.fill")
| | `- error: 'init(systemName:)' is only available in macOS 11.0 or newer
+-------------------------------------------------------------------
61 | public var imageError = Image(systemName: "xmark.circle.fill")
62 | public var colorSuccess = Color.green
macro expansion @ObservationTracked:1:49: error: 'Image' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:61:64: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
59 |
60 | public var imageSuccess = Image(systemName: "checkmark.circle.fill")
61 | public var imageError = Image(systemName: "xmark.circle.fill")
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _imageError = Image(systemName: "xmark.circle.fill")
| | `- error: 'Image' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
62 | public var colorSuccess = Color.green
63 | public var colorError = Color.red
macro expansion @ObservationTracked:1:49: error: 'init(systemName:)' is only available in macOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:61:64: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
59 |
60 | public var imageSuccess = Image(systemName: "checkmark.circle.fill")
61 | public var imageError = Image(systemName: "xmark.circle.fill")
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _imageError = Image(systemName: "xmark.circle.fill")
| | `- error: 'init(systemName:)' is only available in macOS 11.0 or newer
+-------------------------------------------------------------------
62 | public var colorSuccess = Color.green
63 | public var colorError = Color.red
macro expansion @ObservationTracked:1:51: error: 'Color' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:62:39: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
60 | public var imageSuccess = Image(systemName: "checkmark.circle.fill")
61 | public var imageError = Image(systemName: "xmark.circle.fill")
62 | public var colorSuccess = Color.green
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorSuccess = Color.green
| | `- error: 'Color' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
63 | public var colorError = Color.red
64 |
macro expansion @ObservationTracked:1:57: error: 'green' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:62:39: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
60 | public var imageSuccess = Image(systemName: "checkmark.circle.fill")
61 | public var imageError = Image(systemName: "xmark.circle.fill")
62 | public var colorSuccess = Color.green
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorSuccess = Color.green
| | `- error: 'green' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
63 | public var colorError = Color.red
64 |
macro expansion @ObservationTracked:1:49: error: 'Color' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:63:35: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
61 | public var imageError = Image(systemName: "xmark.circle.fill")
62 | public var colorSuccess = Color.green
63 | public var colorError = Color.red
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorError = Color.red
| | `- error: 'Color' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
64 |
65 | public var colorBanner = Color.clear
macro expansion @ObservationTracked:1:55: error: 'red' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:63:35: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
61 | public var imageError = Image(systemName: "xmark.circle.fill")
62 | public var colorSuccess = Color.green
63 | public var colorError = Color.red
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorError = Color.red
| | `- error: 'red' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
64 |
65 | public var colorBanner = Color.clear
macro expansion @ObservationTracked:1:50: error: 'Color' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:65:38: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
63 | public var colorError = Color.red
64 |
65 | public var colorBanner = Color.clear
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorBanner = Color.clear
| | `- error: 'Color' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
macro expansion @ObservationTracked:1:56: error: 'clear' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:65:38: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
63 | public var colorError = Color.red
64 |
65 | public var colorBanner = Color.clear
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorBanner = Color.clear
| | `- error: 'clear' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
macro expansion @ObservationTracked:1:61: error: cannot find 'UIColor' in scope
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:66:52: note: expanded code originates here
64 |
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorBannerTitle = Color(UIColor.label)
| | `- error: cannot find 'UIColor' in scope
+-------------------------------------------------------------------
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
macro expansion @ObservationTracked:1:63: error: cannot find 'UIColor' in scope
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:67:63: note: expanded code originates here
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _colorBannerMessage = Color(UIColor.secondaryLabel)
| | `- error: cannot find 'UIColor' in scope
+-------------------------------------------------------------------
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
macro expansion @ObservationTracked:1:54: error: 'Font' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:68:71: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _fontBannerTitle = Font.system(size: 16, weight: .semibold)
| | `- error: 'Font' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
69 | public var fontBannerMessage = Font.system(size: 14)
70 |
macro expansion @ObservationTracked:1:59: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:68:71: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _fontBannerTitle = Font.system(size: 16, weight: .semibold)
| | `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
+-------------------------------------------------------------------
69 | public var fontBannerMessage = Font.system(size: 14)
70 |
macro expansion @ObservationTracked:1:56: error: 'Font' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:69:54: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _fontBannerMessage = Font.system(size: 14)
| | `- error: 'Font' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
70 |
71 | var interaction = true
macro expansion @ObservationTracked:1:61: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:69:54: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _fontBannerMessage = Font.system(size: 14)
| | `- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
+-------------------------------------------------------------------
70 |
71 | var interaction = true
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:72:19: error: 'Task' is only available in macOS 10.15 or newer
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
70 |
71 | var interaction = true
72 | var dismissTask: Task<Void, Never>?
| | `- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
73 | var dismissAnimTask: Task<Void, Never>?
74 | var keyboardHeight: CGFloat = 0
macro expansion @ObservationTracked:1:48: error: 'Task' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:72:37: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
70 |
71 | var interaction = true
72 | var dismissTask: Task<Void, Never>?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _dismissTask: Task<Void, Never>?
| | `- error: 'Task' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
73 | var dismissAnimTask: Task<Void, Never>?
74 | var keyboardHeight: CGFloat = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:73:23: error: 'Task' is only available in macOS 10.15 or newer
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
71 | var interaction = true
72 | var dismissTask: Task<Void, Never>?
73 | var dismissAnimTask: Task<Void, Never>?
| | `- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
74 | var keyboardHeight: CGFloat = 0
75 |
macro expansion @ObservationTracked:1:52: error: 'Task' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:73:41: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
71 | var interaction = true
72 | var dismissTask: Task<Void, Never>?
73 | var dismissAnimTask: Task<Void, Never>?
+--- macro expansion @ObservationTracked ---------------------------
|1 | @ObservationIgnored private var _dismissAnimTask: Task<Void, Never>?
| | `- error: 'Task' is only available in macOS 10.15 or newer
+-------------------------------------------------------------------
74 | var keyboardHeight: CGFloat = 0
75 |
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:77:1: note: expanded code originates here
23 | // MARK: - ProgressHUD
24 | @Observable
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
:
75 |
76 | private init() {}
77 | }
+--- macro expansion @Observable -----------------------------------
| 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
| | `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
| 2 |
| 3 | internal nonisolated func access<Member>(
+-------------------------------------------------------------------
78 |
79 | // MARK: - ProgressHUDView
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:24:2: error: 'Observable()' is only available in macOS 14.0 or newer
22 |
23 | // MARK: - ProgressHUD
24 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
25 | public class ProgressHUD {
| `- note: add @available attribute to enclosing class
26 |
27 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:83:3: error: 'State' is only available in macOS 10.15 or newer
78 |
79 | // MARK: - ProgressHUDView
80 | public struct ProgressHUDView: View {
| `- note: add @available attribute to enclosing struct
81 |
82 | // MARK: - Properties
83 | @State private var hud = ProgressHUD.shared
| `- error: 'State' is only available in macOS 10.15 or newer
84 |
85 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:89:24: error: 'View' is only available in macOS 10.15 or newer
78 |
79 | // MARK: - ProgressHUDView
80 | public struct ProgressHUDView: View {
| `- note: add @available attribute to enclosing struct
81 |
82 | // MARK: - Properties
:
87 |
88 | // MARK: - Body
89 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
90 | GeometryReader { geometry in
91 | let screenHeight = geometry.size.height + geometry.safeAreaInsets.top + geometry.safeAreaInsets.bottom
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:126:31: error: 'View' is only available in macOS 10.15 or newer
78 |
79 | // MARK: - ProgressHUDView
80 | public struct ProgressHUDView: View {
| `- note: add @available attribute to enclosing struct
81 |
82 | // MARK: - Properties
:
124 | // MARK: - Private Views
125 | @ViewBuilder
126 | private var hudContent: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
127 | let size = hud.mediaSize + 40
128 |
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:125:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
78 |
79 | // MARK: - ProgressHUDView
80 | public struct ProgressHUDView: View {
| `- note: add @available attribute to enclosing struct
81 |
82 | // MARK: - Properties
:
123 |
124 | // MARK: - Private Views
125 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
126 | private var hudContent: some View {
127 | let size = hud.mediaSize + 40
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:166:30: error: 'View' is only available in macOS 10.15 or newer
78 |
79 | // MARK: - ProgressHUDView
80 | public struct ProgressHUDView: View {
| `- note: add @available attribute to enclosing struct
81 |
82 | // MARK: - Properties
:
164 |
165 | @ViewBuilder
166 | private var mediaView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
167 | switch hud.displayMode {
168 | case .animation:
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:165:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
78 |
79 | // MARK: - ProgressHUDView
80 | public struct ProgressHUDView: View {
| `- note: add @available attribute to enclosing struct
81 |
82 | // MARK: - Properties
:
163 | }
164 |
165 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
166 | private var mediaView: some View {
167 | switch hud.displayMode {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:195:54: error: 'View' is only available in macOS 10.15 or newer
78 |
79 | // MARK: - ProgressHUDView
80 | public struct ProgressHUDView: View {
| `- note: add @available attribute to enclosing struct
81 |
82 | // MARK: - Properties
:
193 |
194 | @ViewBuilder
195 | private func liveIconView(_ icon: LiveIcon) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
196 | switch icon {
197 | case .succeed:
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:194:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
78 |
79 | // MARK: - ProgressHUDView
80 | public struct ProgressHUDView: View {
| `- note: add @available attribute to enclosing struct
81 |
82 | // MARK: - Properties
:
192 | }
193 |
194 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
195 | private func liveIconView(_ icon: LiveIcon) -> some View {
| `- note: add @available attribute to enclosing instance method
196 | switch icon {
197 | case .succeed:
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:207:34: error: 'View' is only available in macOS 10.15 or newer
78 |
79 | // MARK: - ProgressHUDView
80 | public struct ProgressHUDView: View {
| `- note: add @available attribute to enclosing struct
81 |
82 | // MARK: - Properties
:
205 |
206 | @ViewBuilder
207 | private var animationView: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
208 | switch hud.animationType {
209 | case .none:
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:206:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
78 |
79 | // MARK: - ProgressHUDView
80 | public struct ProgressHUDView: View {
| `- note: add @available attribute to enclosing struct
81 |
82 | // MARK: - Properties
:
204 | }
205 |
206 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
207 | private var animationView: some View {
208 | switch hud.animationType {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:261:45: error: 'View' is only available in macOS 10.15 or newer
256 |
257 | // MARK: - ProgressHUDModifier
258 | public struct ProgressHUDModifier: ViewModifier {
| `- note: add @available attribute to enclosing struct
259 |
260 | // MARK: - Body
261 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
262 | content
263 | .overlay {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:275:29: error: 'View' is only available in macOS 10.15 or newer
271 |
272 | // MARK: - View Extension
273 | public extension View {
| `- note: add @available attribute to enclosing extension
274 |
275 | func progressHUD() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
276 | modifier(ProgressHUDModifier())
277 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:273:18: error: 'View' is only available in macOS 10.15 or newer
271 |
272 | // MARK: - View Extension
273 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
274 |
275 | func progressHUD() -> some View {
macro expansion @ObservationTracked:7:27: error: key path cannot refer to static member 'colorHUD'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:53:62: note: expanded code originates here
51 |
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
+--- macro expansion @ObservationTracked ---------------------------
| 5 | }
| 6 | get {
| 7 | access(keyPath: \.colorHUD)
| | `- error: key path cannot refer to static member 'colorHUD'
| 8 | return _colorHUD
| 9 | }
+-------------------------------------------------------------------
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
macro expansion @ObservationTracked:11:33: error: key path cannot refer to static member 'colorHUD'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:53:62: note: expanded code originates here
51 |
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
+--- macro expansion @ObservationTracked ---------------------------
| 9 | }
|10 | set {
|11 | withMutation(keyPath: \.colorHUD) {
| | `- error: key path cannot refer to static member 'colorHUD'
|12 | _colorHUD = newValue
|13 | }
+-------------------------------------------------------------------
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
macro expansion @ObservationTracked:16:27: error: key path cannot refer to static member 'colorHUD'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:53:62: note: expanded code originates here
51 |
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
+--- macro expansion @ObservationTracked ---------------------------
|14 | }
|15 | _modify {
|16 | access(keyPath: \.colorHUD)
| | `- error: key path cannot refer to static member 'colorHUD'
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorHUD)
|18 | defer {
+-------------------------------------------------------------------
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
macro expansion @ObservationTracked:17:57: error: key path cannot refer to static member 'colorHUD'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:53:62: note: expanded code originates here
51 |
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
+--- macro expansion @ObservationTracked ---------------------------
|15 | _modify {
|16 | access(keyPath: \.colorHUD)
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorHUD)
| | `- error: key path cannot refer to static member 'colorHUD'
|18 | defer {
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorHUD)
+-------------------------------------------------------------------
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
macro expansion @ObservationTracked:19:60: error: key path cannot refer to static member 'colorHUD'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:53:62: note: expanded code originates here
51 |
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
+--- macro expansion @ObservationTracked ---------------------------
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorHUD)
|18 | defer {
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorHUD)
| | `- error: key path cannot refer to static member 'colorHUD'
|20 | }
|21 | yield &_colorHUD
+-------------------------------------------------------------------
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
macro expansion @ObservationTracked:21:16: error: type of expression is ambiguous without a type annotation
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:53:62: note: expanded code originates here
51 |
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
+--- macro expansion @ObservationTracked ---------------------------
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorHUD)
|20 | }
|21 | yield &_colorHUD
| | `- error: type of expression is ambiguous without a type annotation
|22 | }
|23 | }
+-------------------------------------------------------------------
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
macro expansion @ObservationTracked:7:27: error: key path cannot refer to static member 'colorStatus'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:54:47: note: expanded code originates here
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
| 5 | }
| 6 | get {
| 7 | access(keyPath: \.colorStatus)
| | `- error: key path cannot refer to static member 'colorStatus'
| 8 | return _colorStatus
| 9 | }
+-------------------------------------------------------------------
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
macro expansion @ObservationTracked:11:33: error: key path cannot refer to static member 'colorStatus'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:54:47: note: expanded code originates here
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
| 9 | }
|10 | set {
|11 | withMutation(keyPath: \.colorStatus) {
| | `- error: key path cannot refer to static member 'colorStatus'
|12 | _colorStatus = newValue
|13 | }
+-------------------------------------------------------------------
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
macro expansion @ObservationTracked:16:27: error: key path cannot refer to static member 'colorStatus'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:54:47: note: expanded code originates here
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
|14 | }
|15 | _modify {
|16 | access(keyPath: \.colorStatus)
| | `- error: key path cannot refer to static member 'colorStatus'
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorStatus)
|18 | defer {
+-------------------------------------------------------------------
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
macro expansion @ObservationTracked:17:57: error: key path cannot refer to static member 'colorStatus'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:54:47: note: expanded code originates here
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
|15 | _modify {
|16 | access(keyPath: \.colorStatus)
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorStatus)
| | `- error: key path cannot refer to static member 'colorStatus'
|18 | defer {
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorStatus)
+-------------------------------------------------------------------
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
macro expansion @ObservationTracked:19:60: error: key path cannot refer to static member 'colorStatus'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:54:47: note: expanded code originates here
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorStatus)
|18 | defer {
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorStatus)
| | `- error: key path cannot refer to static member 'colorStatus'
|20 | }
|21 | yield &_colorStatus
+-------------------------------------------------------------------
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
macro expansion @ObservationTracked:21:16: error: type of expression is ambiguous without a type annotation
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:54:47: note: expanded code originates here
52 | public var colorBackground = Color.clear
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorStatus)
|20 | }
|21 | yield &_colorStatus
| | `- error: type of expression is ambiguous without a type annotation
|22 | }
|23 | }
+-------------------------------------------------------------------
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
macro expansion @ObservationTracked:7:27: error: key path cannot refer to static member 'colorProgress'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:55:53: note: expanded code originates here
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
| 5 | }
| 6 | get {
| 7 | access(keyPath: \.colorProgress)
| | `- error: key path cannot refer to static member 'colorProgress'
| 8 | return _colorProgress
| 9 | }
+-------------------------------------------------------------------
56 | public var colorAnimation = Color(UIColor.lightGray)
57 |
macro expansion @ObservationTracked:11:33: error: key path cannot refer to static member 'colorProgress'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:55:53: note: expanded code originates here
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
| 9 | }
|10 | set {
|11 | withMutation(keyPath: \.colorProgress) {
| | `- error: key path cannot refer to static member 'colorProgress'
|12 | _colorProgress = newValue
|13 | }
+-------------------------------------------------------------------
56 | public var colorAnimation = Color(UIColor.lightGray)
57 |
macro expansion @ObservationTracked:16:27: error: key path cannot refer to static member 'colorProgress'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:55:53: note: expanded code originates here
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
|14 | }
|15 | _modify {
|16 | access(keyPath: \.colorProgress)
| | `- error: key path cannot refer to static member 'colorProgress'
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorProgress)
|18 | defer {
+-------------------------------------------------------------------
56 | public var colorAnimation = Color(UIColor.lightGray)
57 |
macro expansion @ObservationTracked:17:57: error: key path cannot refer to static member 'colorProgress'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:55:53: note: expanded code originates here
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
|15 | _modify {
|16 | access(keyPath: \.colorProgress)
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorProgress)
| | `- error: key path cannot refer to static member 'colorProgress'
|18 | defer {
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorProgress)
+-------------------------------------------------------------------
56 | public var colorAnimation = Color(UIColor.lightGray)
57 |
macro expansion @ObservationTracked:19:60: error: key path cannot refer to static member 'colorProgress'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:55:53: note: expanded code originates here
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorProgress)
|18 | defer {
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorProgress)
| | `- error: key path cannot refer to static member 'colorProgress'
|20 | }
|21 | yield &_colorProgress
+-------------------------------------------------------------------
56 | public var colorAnimation = Color(UIColor.lightGray)
57 |
macro expansion @ObservationTracked:21:16: error: type of expression is ambiguous without a type annotation
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:55:53: note: expanded code originates here
53 | public var colorHUD = Color(UIColor.systemGray).opacity(0.1)
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorProgress)
|20 | }
|21 | yield &_colorProgress
| | `- error: type of expression is ambiguous without a type annotation
|22 | }
|23 | }
+-------------------------------------------------------------------
56 | public var colorAnimation = Color(UIColor.lightGray)
57 |
macro expansion @ObservationTracked:7:27: error: key path cannot refer to static member 'colorAnimation'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:56:54: note: expanded code originates here
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
| 5 | }
| 6 | get {
| 7 | access(keyPath: \.colorAnimation)
| | `- error: key path cannot refer to static member 'colorAnimation'
| 8 | return _colorAnimation
| 9 | }
+-------------------------------------------------------------------
57 |
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
macro expansion @ObservationTracked:11:33: error: key path cannot refer to static member 'colorAnimation'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:56:54: note: expanded code originates here
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
| 9 | }
|10 | set {
|11 | withMutation(keyPath: \.colorAnimation) {
| | `- error: key path cannot refer to static member 'colorAnimation'
|12 | _colorAnimation = newValue
|13 | }
+-------------------------------------------------------------------
57 |
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
macro expansion @ObservationTracked:16:27: error: key path cannot refer to static member 'colorAnimation'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:56:54: note: expanded code originates here
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
|14 | }
|15 | _modify {
|16 | access(keyPath: \.colorAnimation)
| | `- error: key path cannot refer to static member 'colorAnimation'
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorAnimation)
|18 | defer {
+-------------------------------------------------------------------
57 |
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
macro expansion @ObservationTracked:17:57: error: key path cannot refer to static member 'colorAnimation'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:56:54: note: expanded code originates here
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
|15 | _modify {
|16 | access(keyPath: \.colorAnimation)
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorAnimation)
| | `- error: key path cannot refer to static member 'colorAnimation'
|18 | defer {
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorAnimation)
+-------------------------------------------------------------------
57 |
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
macro expansion @ObservationTracked:19:60: error: key path cannot refer to static member 'colorAnimation'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:56:54: note: expanded code originates here
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorAnimation)
|18 | defer {
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorAnimation)
| | `- error: key path cannot refer to static member 'colorAnimation'
|20 | }
|21 | yield &_colorAnimation
+-------------------------------------------------------------------
57 |
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
macro expansion @ObservationTracked:21:16: error: type of expression is ambiguous without a type annotation
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:56:54: note: expanded code originates here
54 | public var colorStatus = Color(UIColor.label)
55 | public var colorProgress = Color(UIColor.lightGray)
56 | public var colorAnimation = Color(UIColor.lightGray)
+--- macro expansion @ObservationTracked ---------------------------
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorAnimation)
|20 | }
|21 | yield &_colorAnimation
| | `- error: type of expression is ambiguous without a type annotation
|22 | }
|23 | }
+-------------------------------------------------------------------
57 |
58 | public var fontStatus = Font.system(size: 16, weight: .bold)
macro expansion @ObservationTracked:7:27: error: key path cannot refer to static member 'colorBannerTitle'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:66:52: note: expanded code originates here
64 |
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
| 5 | }
| 6 | get {
| 7 | access(keyPath: \.colorBannerTitle)
| | `- error: key path cannot refer to static member 'colorBannerTitle'
| 8 | return _colorBannerTitle
| 9 | }
+-------------------------------------------------------------------
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
macro expansion @ObservationTracked:11:33: error: key path cannot refer to static member 'colorBannerTitle'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:66:52: note: expanded code originates here
64 |
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
| 9 | }
|10 | set {
|11 | withMutation(keyPath: \.colorBannerTitle) {
| | `- error: key path cannot refer to static member 'colorBannerTitle'
|12 | _colorBannerTitle = newValue
|13 | }
+-------------------------------------------------------------------
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
macro expansion @ObservationTracked:16:27: error: key path cannot refer to static member 'colorBannerTitle'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:66:52: note: expanded code originates here
64 |
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
|14 | }
|15 | _modify {
|16 | access(keyPath: \.colorBannerTitle)
| | `- error: key path cannot refer to static member 'colorBannerTitle'
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorBannerTitle)
|18 | defer {
+-------------------------------------------------------------------
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
macro expansion @ObservationTracked:17:57: error: key path cannot refer to static member 'colorBannerTitle'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:66:52: note: expanded code originates here
64 |
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
|15 | _modify {
|16 | access(keyPath: \.colorBannerTitle)
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorBannerTitle)
| | `- error: key path cannot refer to static member 'colorBannerTitle'
|18 | defer {
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorBannerTitle)
+-------------------------------------------------------------------
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
macro expansion @ObservationTracked:19:60: error: key path cannot refer to static member 'colorBannerTitle'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:66:52: note: expanded code originates here
64 |
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorBannerTitle)
|18 | defer {
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorBannerTitle)
| | `- error: key path cannot refer to static member 'colorBannerTitle'
|20 | }
|21 | yield &_colorBannerTitle
+-------------------------------------------------------------------
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
macro expansion @ObservationTracked:21:16: error: type of expression is ambiguous without a type annotation
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:66:52: note: expanded code originates here
64 |
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
+--- macro expansion @ObservationTracked ---------------------------
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorBannerTitle)
|20 | }
|21 | yield &_colorBannerTitle
| | `- error: type of expression is ambiguous without a type annotation
|22 | }
|23 | }
+-------------------------------------------------------------------
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
macro expansion @ObservationTracked:7:27: error: key path cannot refer to static member 'colorBannerMessage'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:67:63: note: expanded code originates here
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
+--- macro expansion @ObservationTracked ---------------------------
| 5 | }
| 6 | get {
| 7 | access(keyPath: \.colorBannerMessage)
| | `- error: key path cannot refer to static member 'colorBannerMessage'
| 8 | return _colorBannerMessage
| 9 | }
+-------------------------------------------------------------------
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
macro expansion @ObservationTracked:11:33: error: key path cannot refer to static member 'colorBannerMessage'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:67:63: note: expanded code originates here
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
+--- macro expansion @ObservationTracked ---------------------------
| 9 | }
|10 | set {
|11 | withMutation(keyPath: \.colorBannerMessage) {
| | `- error: key path cannot refer to static member 'colorBannerMessage'
|12 | _colorBannerMessage = newValue
|13 | }
+-------------------------------------------------------------------
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
macro expansion @ObservationTracked:16:27: error: key path cannot refer to static member 'colorBannerMessage'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:67:63: note: expanded code originates here
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
+--- macro expansion @ObservationTracked ---------------------------
|14 | }
|15 | _modify {
|16 | access(keyPath: \.colorBannerMessage)
| | `- error: key path cannot refer to static member 'colorBannerMessage'
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorBannerMessage)
|18 | defer {
+-------------------------------------------------------------------
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
macro expansion @ObservationTracked:17:57: error: key path cannot refer to static member 'colorBannerMessage'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:67:63: note: expanded code originates here
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
+--- macro expansion @ObservationTracked ---------------------------
|15 | _modify {
|16 | access(keyPath: \.colorBannerMessage)
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorBannerMessage)
| | `- error: key path cannot refer to static member 'colorBannerMessage'
|18 | defer {
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorBannerMessage)
+-------------------------------------------------------------------
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
macro expansion @ObservationTracked:19:60: error: key path cannot refer to static member 'colorBannerMessage'
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:67:63: note: expanded code originates here
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
+--- macro expansion @ObservationTracked ---------------------------
|17 | _$observationRegistrar.willSet(self, keyPath: \.colorBannerMessage)
|18 | defer {
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorBannerMessage)
| | `- error: key path cannot refer to static member 'colorBannerMessage'
|20 | }
|21 | yield &_colorBannerMessage
+-------------------------------------------------------------------
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
macro expansion @ObservationTracked:21:16: error: type of expression is ambiguous without a type annotation
`- /Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:67:63: note: expanded code originates here
65 | public var colorBanner = Color.clear
66 | public var colorBannerTitle = Color(UIColor.label)
67 | public var colorBannerMessage = Color(UIColor.secondaryLabel)
+--- macro expansion @ObservationTracked ---------------------------
|19 | _$observationRegistrar.didSet(self, keyPath: \.colorBannerMessage)
|20 | }
|21 | yield &_colorBannerMessage
| | `- error: type of expression is ambiguous without a type annotation
|22 | }
|23 | }
+-------------------------------------------------------------------
68 | public var fontBannerTitle = Font.system(size: 16, weight: .semibold)
69 | public var fontBannerMessage = Font.system(size: 14)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:107:56: error: cannot find 'UIResponder' in scope
105 | .opacity(hud.isVisible ? 1 : 0)
106 | .allowsHitTesting(hud.isVisible)
107 | .onReceive(NotificationCenter.default.publisher(for: UIResponder.keyboardWillShowNotification)) { notification in
| `- error: cannot find 'UIResponder' in scope
108 | if let frame = notification.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? CGRect {
109 | withAnimation(.easeOut(duration: 0.25)) {
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:108:42: error: cannot find 'UIResponder' in scope
106 | .allowsHitTesting(hud.isVisible)
107 | .onReceive(NotificationCenter.default.publisher(for: UIResponder.keyboardWillShowNotification)) { notification in
108 | if let frame = notification.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? CGRect {
| `- error: cannot find 'UIResponder' in scope
109 | withAnimation(.easeOut(duration: 0.25)) {
110 | hud.keyboardHeight = frame.height
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:114:56: error: cannot find 'UIResponder' in scope
112 | }
113 | }
114 | .onReceive(NotificationCenter.default.publisher(for: UIResponder.keyboardWillHideNotification)) { _ in
| `- error: cannot find 'UIResponder' in scope
115 | withAnimation(.easeOut(duration: 0.25)) {
116 | hud.keyboardHeight = 0
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:138:23: error: static member 'colorStatus' cannot be used on instance of type 'ProgressHUD'
136 | Text(text)
137 | .font(hud.fontStatus)
138 | .foregroundStyle(hud.colorStatus)
| `- error: static member 'colorStatus' cannot be used on instance of type 'ProgressHUD'
139 | .multilineTextAlignment(.center)
140 | .frame(maxWidth: 180)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:149:11: error: static member 'colorHUD' cannot be used on instance of type 'ProgressHUD'
147 | .background {
148 | RoundedRectangle(cornerRadius: 10)
149 | .fill(hud.colorHUD)
| `- error: static member 'colorHUD' cannot be used on instance of type 'ProgressHUD'
150 | .background {
151 | RoundedRectangle(cornerRadius: 10)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:172:59: error: static member 'colorProgress' cannot be used on instance of type 'ProgressHUD'
170 | .id(hud.animationType)
171 | case .progress:
172 | ProgressCircleView(progress: hud.progressValue, color: hud.colorProgress)
| `- error: static member 'colorProgress' cannot be used on instance of type 'ProgressHUD'
173 | .id(hud.text != nil)
174 | case .liveIcon(let icon):
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:188:24: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
186 | .resizable()
187 | .scaledToFit()
188 | .foregroundStyle(hud.colorAnimation)
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
189 | }
190 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:198:31: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
196 | switch icon {
197 | case .succeed:
198 | LiveIconSucceedView(color: hud.colorAnimation, animationID: hud.liveIconID)
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
199 | case .failed:
200 | LiveIconFailedView(color: hud.colorAnimation, animationID: hud.liveIconID)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:200:30: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
198 | LiveIconSucceedView(color: hud.colorAnimation, animationID: hud.liveIconID)
199 | case .failed:
200 | LiveIconFailedView(color: hud.colorAnimation, animationID: hud.liveIconID)
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
201 | case .added:
202 | LiveIconAddedView(color: hud.colorAnimation, animationID: hud.liveIconID)
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:202:29: error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
200 | LiveIconFailedView(color: hud.colorAnimation, animationID: hud.liveIconID)
201 | case .added:
202 | LiveIconAddedView(color: hud.colorAnimation, animationID: hud.liveIconID)
| `- error: static member 'colorAnimation' cannot be used on instance of type 'ProgressHUD'
203 | }
204 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:207:39: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
205 |
206 | @ViewBuilder
207 | private var animationView: some View {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
208 | switch hud.animationType {
209 | case .none:
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:263:5: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
256 |
257 | // MARK: - ProgressHUDModifier
258 | public struct ProgressHUDModifier: ViewModifier {
| `- note: add @available attribute to enclosing struct
259 |
260 | // MARK: - Body
261 | public func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
262 | content
263 | .overlay {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
264 | ProgressHUDView()
265 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:266:5: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
256 |
257 | // MARK: - ProgressHUDModifier
258 | public struct ProgressHUDModifier: ViewModifier {
| `- note: add @available attribute to enclosing struct
259 |
260 | // MARK: - Body
261 | public func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
262 | content
263 | .overlay {
264 | ProgressHUDView()
265 | }
266 | .overlay(alignment: .top) {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
267 | ProgressBannerView()
268 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:266:25: error: 'top' is only available in macOS 10.15 or newer
256 |
257 | // MARK: - ProgressHUDModifier
258 | public struct ProgressHUDModifier: ViewModifier {
| `- note: add @available attribute to enclosing struct
259 |
260 | // MARK: - Body
261 | public func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
262 | content
263 | .overlay {
264 | ProgressHUDView()
265 | }
266 | .overlay(alignment: .top) {
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
267 | ProgressBannerView()
268 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:276:3: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
271 |
272 | // MARK: - View Extension
273 | public extension View {
| `- note: add @available attribute to enclosing extension
274 |
275 | func progressHUD() -> some View {
| `- note: add @available attribute to enclosing instance method
276 | modifier(ProgressHUDModifier())
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
277 | }
278 | }
/Users/admin/builder/spi-builder-workspace/SwiftUI/Sources/ProgressHUD.swift:276:3: error: 'modifier' is only available in macOS 10.15 or newer
271 |
272 | // MARK: - View Extension
273 | public extension View {
| `- note: add @available attribute to enclosing extension
274 |
275 | func progressHUD() -> some View {
| `- note: add @available attribute to enclosing instance method
276 | modifier(ProgressHUDModifier())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
277 | }
278 | }
BUILD FAILURE 6.0 macosSpm