Build Information
Failed to build DicyaninEntityDebugger, reference master (32f66a), with Swift 6.1 for macOS (SPM) on 21 May 2025 04:32:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
15 | Label("Debug Entities", systemImage: "ladybug")
| |- warning: conformance of 'Text' 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
16 | }
17 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:15:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
15 | Label("Debug Entities", systemImage: "ladybug")
| |- warning: conformance of 'Image' 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
16 | }
17 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:15:13: error: 'Label' is only available in macOS 11.0 or newer
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
15 | Label("Debug Entities", systemImage: "ladybug")
| |- error: 'Label' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
16 | }
17 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:15:13: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
15 | Label("Debug Entities", systemImage: "ladybug")
| |- error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
16 | }
17 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:15:19: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
15 | Label("Debug Entities", systemImage: "ladybug")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | }
17 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:14:18: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
| |- warning: conformance of 'Text' 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
15 | Label("Debug Entities", systemImage: "ladybug")
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:14:18: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
| |- warning: conformance of 'Image' 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
15 | Label("Debug Entities", systemImage: "ladybug")
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:17:10: error: 'fontWeight' is only available in macOS 13.0 or newer
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
:
15 | Label("Debug Entities", systemImage: "ladybug")
16 | }
17 | .fontWeight(.semibold)
| |- error: 'fontWeight' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
[8/8] Compiling DicyaninEntityDebugger DicyaninEntityDebugger.swift
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:8:24: error: 'Entity' is only available in macOS 10.15 or newer
5 | import Combine
6 |
7 | public struct EntityDebugInfo {
| `- note: add @available attribute to enclosing struct
8 | public let entity: Entity
| `- error: 'Entity' is only available in macOS 10.15 or newer
9 | public let name: String
10 | public let position: SIMD3<Float>
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:14:25: error: 'Entity' is only available in macOS 10.15 or newer
5 | import Combine
6 |
7 | public struct EntityDebugInfo {
| `- note: add @available attribute to enclosing struct
8 | public let entity: Entity
9 | public let name: String
:
12 | public let components: [String]
13 |
14 | public init(entity: Entity, name: String? = nil) {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
15 | self.entity = entity
16 | self.name = name ?? entity.name
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:27:6: error: 'Published' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
27 | @Published public private(set) var registeredEntities: [EntityDebugInfo] = []
| `- error: 'Published' is only available in macOS 10.15 or newer
28 |
29 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:34:36: error: 'Entity' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
:
32 | }
33 |
34 | public func register(_ entity: Entity, name: String? = nil) {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
35 | let debugInfo = EntityDebugInfo(entity: entity, name: name)
36 | if !registeredEntities.contains(where: { $0.entity === entity }) {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:41:38: error: 'Entity' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
:
39 | }
40 |
41 | public func unregister(_ entity: Entity) {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
42 | registeredEntities.removeAll { $0.entity === entity }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:17:32: error: 'transform' is only available in macOS 10.15 or newer
5 | import Combine
6 |
7 | public struct EntityDebugInfo {
| `- note: add @available attribute to enclosing struct
8 | public let entity: Entity
9 | public let name: String
:
12 | public let components: [String]
13 |
14 | public init(entity: Entity, name: String? = nil) {
| `- note: add @available attribute to enclosing initializer
15 | self.entity = entity
16 | self.name = name ?? entity.name
17 | self.position = entity.transform.translation
| |- error: 'transform' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | self.scale = entity.transform.scale
19 | self.components = entity.components.map { String(describing: type(of: $0)) }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:18:29: error: 'transform' is only available in macOS 10.15 or newer
5 | import Combine
6 |
7 | public struct EntityDebugInfo {
| `- note: add @available attribute to enclosing struct
8 | public let entity: Entity
9 | public let name: String
:
12 | public let components: [String]
13 |
14 | public init(entity: Entity, name: String? = nil) {
| `- note: add @available attribute to enclosing initializer
15 | self.entity = entity
16 | self.name = name ?? entity.name
17 | self.position = entity.transform.translation
18 | self.scale = entity.transform.scale
| |- error: 'transform' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | self.components = entity.components.map { String(describing: type(of: $0)) }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:19:45: warning: conformance of 'Entity.ComponentSet' to 'Collection' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
5 | import Combine
6 |
7 | public struct EntityDebugInfo {
| `- note: add @available attribute to enclosing struct
8 | public let entity: Entity
9 | public let name: String
:
12 | public let components: [String]
13 |
14 | public init(entity: Entity, name: String? = nil) {
| `- note: add @available attribute to enclosing initializer
15 | self.entity = entity
16 | self.name = name ?? entity.name
17 | self.position = entity.transform.translation
18 | self.scale = entity.transform.scale
19 | self.components = entity.components.map { String(describing: type(of: $0)) }
| |- warning: conformance of 'Entity.ComponentSet' to 'Collection' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:16:36: warning: main actor-isolated property 'name' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
14 | public init(entity: Entity, name: String? = nil) {
15 | self.entity = entity
16 | self.name = name ?? entity.name
| `- warning: main actor-isolated property 'name' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
17 | self.position = entity.transform.translation
18 | self.scale = entity.transform.scale
RealityFoundation.Entity.name:2:39: note: property declared here
1 | class Entity {
2 | @MainActor @preconcurrency public var name: String { get set }}
| `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:17:32: warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 | self.entity = entity
16 | self.name = name ?? entity.name
17 | self.position = entity.transform.translation
| `- warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
18 | self.scale = entity.transform.scale
19 | self.components = entity.components.map { String(describing: type(of: $0)) }
RealityFoundation.HasTransform.transform:2:39: note: property declared here
1 | protocol HasTransform {
2 | @MainActor @preconcurrency public var transform: Transform { get set }}
| `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:18:29: warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | self.name = name ?? entity.name
17 | self.position = entity.transform.translation
18 | self.scale = entity.transform.scale
| `- warning: main actor-isolated property 'transform' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
19 | self.components = entity.components.map { String(describing: type(of: $0)) }
20 | }
RealityFoundation.HasTransform.transform:2:39: note: property declared here
1 | protocol HasTransform {
2 | @MainActor @preconcurrency public var transform: Transform { get set }}
| `- note: property declared here
3 |
<unknown>:0: error: cannot convert value of type 'KeyPath<DicyaninEntityDebugger, [EntityDebugInfo]>' to expected argument type 'ReferenceWritableKeyPath<DicyaninEntityDebugger, [EntityDebugInfo]>'
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:19:34: warning: main actor-isolated property 'components' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 | self.position = entity.transform.translation
18 | self.scale = entity.transform.scale
19 | self.components = entity.components.map { String(describing: type(of: $0)) }
| `- warning: main actor-isolated property 'components' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 | }
21 | }
RealityFoundation.Entity.components:2:39: note: property declared here
1 | class Entity {
2 | @MainActor @preconcurrency public var components: Entity.ComponentSet { get set }}
| `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:30:36: error: 'registerSystem()' is only available in macOS 12.0 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
27 | @Published public private(set) var registeredEntities: [EntityDebugInfo] = []
28 |
29 | private init() {
| `- note: add @available attribute to enclosing initializer
30 | VisualArrowIndicatorSystem.registerSystem()
| |- error: 'registerSystem()' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
31 | VisualArrowIndicatorComponent.registerComponent()
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:31:39: error: 'registerComponent()' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
27 | @Published public private(set) var registeredEntities: [EntityDebugInfo] = []
28 |
29 | private init() {
| `- note: add @available attribute to enclosing initializer
30 | VisualArrowIndicatorSystem.registerSystem()
31 | VisualArrowIndicatorComponent.registerComponent()
| |- error: 'registerComponent()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:37:13: error: cannot pass as inout because setter for 'registeredEntities' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
:
32 | }
33 |
34 | public func register(_ entity: Entity, name: String? = nil) {
| `- note: add @available attribute to enclosing instance method
35 | let debugInfo = EntityDebugInfo(entity: entity, name: name)
36 | if !registeredEntities.contains(where: { $0.entity === entity }) {
37 | registeredEntities.append(debugInfo)
| |- error: cannot pass as inout because setter for 'registeredEntities' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:42:9: error: cannot pass as inout because setter for 'registeredEntities' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
:
39 | }
40 |
41 | public func unregister(_ entity: Entity) {
| `- note: add @available attribute to enclosing instance method
42 | registeredEntities.removeAll { $0.entity === entity }
| |- error: cannot pass as inout because setter for 'registeredEntities' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:46:9: error: cannot pass as inout because setter for 'registeredEntities' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
:
43 | }
44 |
45 | public func clear() {
| `- note: add @available attribute to enclosing instance method
46 | registeredEntities.removeAll()
| |- error: cannot pass as inout because setter for 'registeredEntities' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | }
48 | }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Emitting module DicyaninEntityDebugger
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:7:20: error: 'openWindow' is only available in macOS 13.0 or newer
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
| `- error: 'openWindow' is only available in macOS 13.0 or newer
8 |
9 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:7:6: error: 'Environment' is only available in macOS 10.15 or newer
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
| `- error: 'Environment' is only available in macOS 10.15 or newer
8 |
9 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:11:27: error: 'View' is only available in macOS 10.15 or newer
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:21:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
19 | }
20 |
21 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
22 | DebugViewButton()
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:8:24: error: 'Entity' is only available in macOS 10.15 or newer
5 | import Combine
6 |
7 | public struct EntityDebugInfo {
| `- note: add @available attribute to enclosing struct
8 | public let entity: Entity
| `- error: 'Entity' is only available in macOS 10.15 or newer
9 | public let name: String
10 | public let position: SIMD3<Float>
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:14:25: error: 'Entity' is only available in macOS 10.15 or newer
5 | import Combine
6 |
7 | public struct EntityDebugInfo {
| `- note: add @available attribute to enclosing struct
8 | public let entity: Entity
9 | public let name: String
:
12 | public let components: [String]
13 |
14 | public init(entity: Entity, name: String? = nil) {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
15 | self.entity = entity
16 | self.name = name ?? entity.name
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:27:6: error: 'Published' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
27 | @Published public private(set) var registeredEntities: [EntityDebugInfo] = []
| `- error: 'Published' is only available in macOS 10.15 or newer
28 |
29 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:34:36: error: 'Entity' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
:
32 | }
33 |
34 | public func register(_ entity: Entity, name: String? = nil) {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
35 | let debugInfo = EntityDebugInfo(entity: entity, name: name)
36 | if !registeredEntities.contains(where: { $0.entity === entity }) {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:41:38: error: 'Entity' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
:
39 | }
40 |
41 | public func unregister(_ entity: Entity) {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
42 | registeredEntities.removeAll { $0.entity === entity }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/Entity+Debugger.swift:10:55: error: 'Entity' is only available in macOS 10.15 or newer
3 | import RealityKit
4 |
5 | public extension Entity {
| `- note: add @available attribute to enclosing extension
6 | /// Registers the entity with the DicyaninEntityDebugger.
7 | /// - Parameter name: Optional custom name for the entity. If nil, the entity's name will be used.
8 | /// - Returns: The entity instance for method chaining.
9 | @discardableResult
10 | func registerForDebugging(name: String? = nil) -> Entity {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
11 | DicyaninEntityDebugger.shared.register(self, name: name)
12 | return self
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/Entity+Debugger.swift:18:39: error: 'Entity' is only available in macOS 10.15 or newer
3 | import RealityKit
4 |
5 | public extension Entity {
| `- note: add @available attribute to enclosing extension
6 | /// Registers the entity with the DicyaninEntityDebugger.
7 | /// - Parameter name: Optional custom name for the entity. If nil, the entity's name will be used.
:
16 | /// - Returns: The entity instance for method chaining.
17 | @discardableResult
18 | func unregisterFromDebugging() -> Entity {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
19 | DicyaninEntityDebugger.shared.unregister(self)
20 | return self
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/Entity+Debugger.swift:5:18: error: 'Entity' is only available in macOS 10.15 or newer
3 | import RealityKit
4 |
5 | public extension Entity {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
6 | /// Registers the entity with the DicyaninEntityDebugger.
7 | /// - Parameter name: Optional custom name for the entity. If nil, the entity's name will be used.
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
| `- error: 'State' is only available in macOS 10.15 or newer
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
9 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:8:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
| `- error: 'ObservedObject' is only available in macOS 10.15 or newer
9 |
10 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:12:27: error: 'View' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:50:20: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:114:26: error: 'ViewBuilder' is only available in macOS 10.15 or newer
108 | }
109 |
110 | private struct DetailSection<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
111 | let title: String
112 | let content: Content
113 |
114 | init(title: String, @ViewBuilder content: () -> Content) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
115 | self.title = title
116 | self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:119:20: error: 'View' is only available in macOS 10.15 or newer
108 | }
109 |
110 | private struct DetailSection<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
111 | let title: String
112 | let content: Content
:
117 | }
118 |
119 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
120 | VStack(alignment: .leading, spacing: 8) {
121 | Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:110:39: error: 'View' is only available in macOS 10.15 or newer
108 | }
109 |
110 | private struct DetailSection<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
111 | let title: String
112 | let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:138:20: error: 'View' is only available in macOS 10.15 or newer
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
139 | HStack {
140 | Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:24:37: error: 'Scene' is only available in macOS 10.15 or newer
19 | }
20 |
21 | final class VisualArrowIndicatorSystem: System {
| `- note: add @available attribute to enclosing class
22 | private let bounceSpeed: Float = 0.8 // Control how fast the arrow bounces
23 |
24 | required init(scene: RealityKit.Scene) { }
| | `- error: 'Scene' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
25 |
26 | func update(context: SceneUpdateContext) {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:26:26: error: 'SceneUpdateContext' is only available in macOS 12.0 or newer
19 | }
20 |
21 | final class VisualArrowIndicatorSystem: System {
| `- note: add @available attribute to enclosing class
22 | private let bounceSpeed: Float = 0.8 // Control how fast the arrow bounces
23 |
24 | required init(scene: RealityKit.Scene) { }
25 |
26 | func update(context: SceneUpdateContext) {
| | `- error: 'SceneUpdateContext' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
27 | // Query entities with the ArrowIndicatorComponent and process them with map
28 | let _ = context.scene.performQuery(
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:59:27: error: 'Entity' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:108:18: error: 'Entity' is only available in macOS 10.15 or newer
106 |
107 | // Extension to add arrow indicator functionality to Entity
108 | public extension Entity {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
109 | func addArrowIndicator(yOffset: Float = 0.4) {
110 | // Add the arrow indicator component
[3/7] Compiling DicyaninEntityDebugger Entity+Debugger.swift
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/Entity+Debugger.swift:10:55: error: 'Entity' is only available in macOS 10.15 or newer
3 | import RealityKit
4 |
5 | public extension Entity {
| `- note: add @available attribute to enclosing extension
6 | /// Registers the entity with the DicyaninEntityDebugger.
7 | /// - Parameter name: Optional custom name for the entity. If nil, the entity's name will be used.
8 | /// - Returns: The entity instance for method chaining.
9 | @discardableResult
10 | func registerForDebugging(name: String? = nil) -> Entity {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
11 | DicyaninEntityDebugger.shared.register(self, name: name)
12 | return self
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/Entity+Debugger.swift:18:39: error: 'Entity' is only available in macOS 10.15 or newer
3 | import RealityKit
4 |
5 | public extension Entity {
| `- note: add @available attribute to enclosing extension
6 | /// Registers the entity with the DicyaninEntityDebugger.
7 | /// - Parameter name: Optional custom name for the entity. If nil, the entity's name will be used.
:
16 | /// - Returns: The entity instance for method chaining.
17 | @discardableResult
18 | func unregisterFromDebugging() -> Entity {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
19 | DicyaninEntityDebugger.shared.unregister(self)
20 | return self
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/Entity+Debugger.swift:5:18: error: 'Entity' is only available in macOS 10.15 or newer
3 | import RealityKit
4 |
5 | public extension Entity {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
6 | /// Registers the entity with the DicyaninEntityDebugger.
7 | /// - Parameter name: Optional custom name for the entity. If nil, the entity's name will be used.
[4/7] Compiling DicyaninEntityDebugger DebugViewButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:7:20: error: 'openWindow' is only available in macOS 13.0 or newer
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
| `- error: 'openWindow' is only available in macOS 13.0 or newer
8 |
9 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:7:6: error: 'Environment' is only available in macOS 10.15 or newer
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
| `- error: 'Environment' is only available in macOS 10.15 or newer
8 |
9 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:11:27: error: 'View' is only available in macOS 10.15 or newer
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:21:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
19 | }
20 |
21 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
22 | DebugViewButton()
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:12:9: error: 'Button' is only available in macOS 10.15 or newer
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
| |- error: 'Button' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | openWindow(id: "entity-debug-view")
14 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:12:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
| |- warning: conformance of 'Text' 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
13 | openWindow(id: "entity-debug-view")
14 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:12:9: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
| |- warning: conformance of 'Image' 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
13 | openWindow(id: "entity-debug-view")
14 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:14:18: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
| |- warning: conformance of 'Text' 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
15 | Label("Debug Entities", systemImage: "ladybug")
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:14:18: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
| |- warning: conformance of 'Image' 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
15 | Label("Debug Entities", systemImage: "ladybug")
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:15:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
15 | Label("Debug Entities", systemImage: "ladybug")
| |- warning: conformance of 'Text' 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
16 | }
17 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:15:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
15 | Label("Debug Entities", systemImage: "ladybug")
| |- warning: conformance of 'Image' 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
16 | }
17 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:15:13: error: 'Label' is only available in macOS 11.0 or newer
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
15 | Label("Debug Entities", systemImage: "ladybug")
| |- error: 'Label' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
16 | }
17 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:15:13: error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
15 | Label("Debug Entities", systemImage: "ladybug")
| |- error: 'init(_:systemImage:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
16 | }
17 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:15:19: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
15 | Label("Debug Entities", systemImage: "ladybug")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | }
17 | .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:14:18: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
| |- warning: conformance of 'Text' 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
15 | Label("Debug Entities", systemImage: "ladybug")
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:14:18: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
14 | } label: {
| |- warning: conformance of 'Image' 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
15 | Label("Debug Entities", systemImage: "ladybug")
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DebugViewButton.swift:17:10: error: 'fontWeight' is only available in macOS 13.0 or newer
4 |
5 | /// A button that opens the EntityDebugView in a new window.
6 | public struct DebugViewButton: View {
| `- note: add @available attribute to enclosing struct
7 | @Environment(\.openWindow) private var openWindow
8 |
9 | public init() {}
10 |
11 | public var body: some View {
| `- note: add @available attribute to enclosing property
12 | Button {
13 | openWindow(id: "entity-debug-view")
:
15 | Label("Debug Entities", systemImage: "ladybug")
16 | }
17 | .fontWeight(.semibold)
| |- error: 'fontWeight' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
[5/7] Compiling DicyaninEntityDebugger VisualArrowIndicator.swift
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:24:37: error: 'Scene' is only available in macOS 10.15 or newer
19 | }
20 |
21 | final class VisualArrowIndicatorSystem: System {
| `- note: add @available attribute to enclosing class
22 | private let bounceSpeed: Float = 0.8 // Control how fast the arrow bounces
23 |
24 | required init(scene: RealityKit.Scene) { }
| | `- error: 'Scene' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
25 |
26 | func update(context: SceneUpdateContext) {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:26:26: error: 'SceneUpdateContext' is only available in macOS 12.0 or newer
19 | }
20 |
21 | final class VisualArrowIndicatorSystem: System {
| `- note: add @available attribute to enclosing class
22 | private let bounceSpeed: Float = 0.8 // Control how fast the arrow bounces
23 |
24 | required init(scene: RealityKit.Scene) { }
25 |
26 | func update(context: SceneUpdateContext) {
| | `- error: 'SceneUpdateContext' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
27 | // Query entities with the ArrowIndicatorComponent and process them with map
28 | let _ = context.scene.performQuery(
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:59:27: error: 'Entity' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:108:18: error: 'Entity' is only available in macOS 10.15 or newer
106 |
107 | // Extension to add arrow indicator functionality to Entity
108 | public extension Entity {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
109 | func addArrowIndicator(yOffset: Float = 0.4) {
110 | // Add the arrow indicator component
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:28:31: error: 'performQuery' is only available in macOS 12.0 or newer
19 | }
20 |
21 | final class VisualArrowIndicatorSystem: System {
| `- note: add @available attribute to enclosing class
22 | private let bounceSpeed: Float = 0.8 // Control how fast the arrow bounces
23 |
24 | required init(scene: RealityKit.Scene) { }
25 |
26 | func update(context: SceneUpdateContext) {
| `- note: add @available attribute to enclosing instance method
27 | // Query entities with the ArrowIndicatorComponent and process them with map
28 | let _ = context.scene.performQuery(
| |- error: 'performQuery' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
29 | EntityQuery(where: .has(VisualArrowIndicatorComponent.self))
30 | ).map { entity -> Void in
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:29:13: error: 'EntityQuery' is only available in macOS 12.0 or newer
19 | }
20 |
21 | final class VisualArrowIndicatorSystem: System {
| `- note: add @available attribute to enclosing class
22 | private let bounceSpeed: Float = 0.8 // Control how fast the arrow bounces
23 |
24 | required init(scene: RealityKit.Scene) { }
25 |
26 | func update(context: SceneUpdateContext) {
| `- note: add @available attribute to enclosing instance method
27 | // Query entities with the ArrowIndicatorComponent and process them with map
28 | let _ = context.scene.performQuery(
29 | EntityQuery(where: .has(VisualArrowIndicatorComponent.self))
| |- error: 'EntityQuery' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
30 | ).map { entity -> Void in
31 | guard var arrowComponent = entity.components[VisualArrowIndicatorComponent.self] else {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:29:13: error: 'init(where:)' is only available in macOS 12.0 or newer
19 | }
20 |
21 | final class VisualArrowIndicatorSystem: System {
| `- note: add @available attribute to enclosing class
22 | private let bounceSpeed: Float = 0.8 // Control how fast the arrow bounces
23 |
24 | required init(scene: RealityKit.Scene) { }
25 |
26 | func update(context: SceneUpdateContext) {
| `- note: add @available attribute to enclosing instance method
27 | // Query entities with the ArrowIndicatorComponent and process them with map
28 | let _ = context.scene.performQuery(
29 | EntityQuery(where: .has(VisualArrowIndicatorComponent.self))
| |- error: 'init(where:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
30 | ).map { entity -> Void in
31 | guard var arrowComponent = entity.components[VisualArrowIndicatorComponent.self] else {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:29:33: error: 'has' is only available in macOS 12.0 or newer
19 | }
20 |
21 | final class VisualArrowIndicatorSystem: System {
| `- note: add @available attribute to enclosing class
22 | private let bounceSpeed: Float = 0.8 // Control how fast the arrow bounces
23 |
24 | required init(scene: RealityKit.Scene) { }
25 |
26 | func update(context: SceneUpdateContext) {
| `- note: add @available attribute to enclosing instance method
27 | // Query entities with the ArrowIndicatorComponent and process them with map
28 | let _ = context.scene.performQuery(
29 | EntityQuery(where: .has(VisualArrowIndicatorComponent.self))
| |- error: 'has' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
30 | ).map { entity -> Void in
31 | guard var arrowComponent = entity.components[VisualArrowIndicatorComponent.self] else {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:30:11: warning: conformance of 'QueryResult<Element>' to 'Sequence' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
19 | }
20 |
21 | final class VisualArrowIndicatorSystem: System {
| `- note: add @available attribute to enclosing class
22 | private let bounceSpeed: Float = 0.8 // Control how fast the arrow bounces
23 |
24 | required init(scene: RealityKit.Scene) { }
25 |
26 | func update(context: SceneUpdateContext) {
| `- note: add @available attribute to enclosing instance method
27 | // Query entities with the ArrowIndicatorComponent and process them with map
28 | let _ = context.scene.performQuery(
29 | EntityQuery(where: .has(VisualArrowIndicatorComponent.self))
30 | ).map { entity -> Void in
| |- warning: conformance of 'QueryResult<Element>' to 'Sequence' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
31 | guard var arrowComponent = entity.components[VisualArrowIndicatorComponent.self] else {
32 | return
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:49:41: error: 'children' is only available in macOS 10.15 or newer
19 | }
20 |
21 | final class VisualArrowIndicatorSystem: System {
| `- note: add @available attribute to enclosing class
22 | private let bounceSpeed: Float = 0.8 // Control how fast the arrow bounces
23 |
24 | required init(scene: RealityKit.Scene) { }
25 |
26 | func update(context: SceneUpdateContext) {
| `- note: add @available attribute to enclosing instance method
27 | // Query entities with the ArrowIndicatorComponent and process them with map
28 | let _ = context.scene.performQuery(
:
47 | // Compute new position for the arrow entity (bouncing effect)
48 | let bounceOffset = sin(arrowComponent.animationProgress * .pi) * arrowComponent.arrowHeight
49 | if let arrowEntity = entity.children.first(where: { $0 is ArrowEntity }) {
| |- error: 'children' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | arrowEntity.position.y = arrowComponent.yOffset + bounceOffset
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:50:29: error: 'position' is only available in macOS 10.15 or newer
19 | }
20 |
21 | final class VisualArrowIndicatorSystem: System {
| `- note: add @available attribute to enclosing class
22 | private let bounceSpeed: Float = 0.8 // Control how fast the arrow bounces
23 |
24 | required init(scene: RealityKit.Scene) { }
25 |
26 | func update(context: SceneUpdateContext) {
| `- note: add @available attribute to enclosing instance method
27 | // Query entities with the ArrowIndicatorComponent and process them with map
28 | let _ = context.scene.performQuery(
:
48 | let bounceOffset = sin(arrowComponent.animationProgress * .pi) * arrowComponent.arrowHeight
49 | if let arrowEntity = entity.children.first(where: { $0 is ArrowEntity }) {
50 | arrowEntity.position.y = arrowComponent.yOffset + bounceOffset
| |- error: 'position' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:67:25: error: 'MeshResource' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
| |- error: 'MeshResource' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | height: 0.1,
69 | radius: 0.005
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:67:38: error: 'generateCylinder(height:radius:)' is only available in macOS 15.0 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
| |- error: 'generateCylinder(height:radius:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
68 | height: 0.1,
69 | radius: 0.005
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:73:23: error: 'MeshResource' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
71 |
72 | // Create arrow tip (cone)
73 | let tipMesh = MeshResource.generateCone(
| |- error: 'MeshResource' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
74 | height: 0.03,
75 | radius: 0.01
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:73:36: error: 'generateCone(height:radius:)' is only available in macOS 15.0 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
71 |
72 | // Create arrow tip (cone)
73 | let tipMesh = MeshResource.generateCone(
| |- error: 'generateCone(height:radius:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
74 | height: 0.03,
75 | radius: 0.01
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:79:29: error: 'SimpleMaterial' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
77 |
78 | // Create materials
79 | var shaftMaterial = SimpleMaterial()
| |- error: 'SimpleMaterial' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | shaftMaterial.color = .init(tint: .systemBlue)
81 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:80:23: error: 'color' is only available in macOS 12.0 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
78 | // Create materials
79 | var shaftMaterial = SimpleMaterial()
80 | shaftMaterial.color = .init(tint: .systemBlue)
| |- error: 'color' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
81 |
82 | var tipMaterial = SimpleMaterial()
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:80:32: error: 'init(tint:texture:)' is only available in macOS 12.0 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
78 | // Create materials
79 | var shaftMaterial = SimpleMaterial()
80 | shaftMaterial.color = .init(tint: .systemBlue)
| |- error: 'init(tint:texture:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
81 |
82 | var tipMaterial = SimpleMaterial()
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:82:27: error: 'SimpleMaterial' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
80 | shaftMaterial.color = .init(tint: .systemBlue)
81 |
82 | var tipMaterial = SimpleMaterial()
| |- error: 'SimpleMaterial' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | tipMaterial.color = .init(tint: .systemBlue)
84 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:83:21: error: 'color' is only available in macOS 12.0 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
81 |
82 | var tipMaterial = SimpleMaterial()
83 | tipMaterial.color = .init(tint: .systemBlue)
| |- error: 'color' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
84 |
85 | // Create shaft entity
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:83:30: error: 'init(tint:texture:)' is only available in macOS 12.0 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
81 |
82 | var tipMaterial = SimpleMaterial()
83 | tipMaterial.color = .init(tint: .systemBlue)
| |- error: 'init(tint:texture:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
84 |
85 | // Create shaft entity
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:86:27: error: 'Entity' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
84 |
85 | // Create shaft entity
86 | let shaftEntity = Entity()
| |- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 | shaftEntity.components[ModelComponent.self] = ModelComponent(mesh: shaftMesh, materials: [shaftMaterial])
88 | shaftEntity.position = SIMD3<Float>(0, 0.05, 0) // Position at half height
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:87:32: error: 'ModelComponent' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
85 | // Create shaft entity
86 | let shaftEntity = Entity()
87 | shaftEntity.components[ModelComponent.self] = ModelComponent(mesh: shaftMesh, materials: [shaftMaterial])
| |- error: 'ModelComponent' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
88 | shaftEntity.position = SIMD3<Float>(0, 0.05, 0) // Position at half height
89 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:87:55: error: 'ModelComponent' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
85 | // Create shaft entity
86 | let shaftEntity = Entity()
87 | shaftEntity.components[ModelComponent.self] = ModelComponent(mesh: shaftMesh, materials: [shaftMaterial])
| |- error: 'ModelComponent' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
88 | shaftEntity.position = SIMD3<Float>(0, 0.05, 0) // Position at half height
89 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:88:21: error: 'position' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
86 | let shaftEntity = Entity()
87 | shaftEntity.components[ModelComponent.self] = ModelComponent(mesh: shaftMesh, materials: [shaftMaterial])
88 | shaftEntity.position = SIMD3<Float>(0, 0.05, 0) // Position at half height
| |- error: 'position' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
89 |
90 | // Create tip entity
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:91:25: error: 'Entity' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
89 |
90 | // Create tip entity
91 | let tipEntity = Entity()
| |- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | tipEntity.components[ModelComponent.self] = ModelComponent(mesh: tipMesh, materials: [tipMaterial])
93 | tipEntity.position = SIMD3<Float>(0, 0.115, 0) // Position at top of shaft
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:92:30: error: 'ModelComponent' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
90 | // Create tip entity
91 | let tipEntity = Entity()
92 | tipEntity.components[ModelComponent.self] = ModelComponent(mesh: tipMesh, materials: [tipMaterial])
| |- error: 'ModelComponent' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | tipEntity.position = SIMD3<Float>(0, 0.115, 0) // Position at top of shaft
94 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:92:53: error: 'ModelComponent' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
90 | // Create tip entity
91 | let tipEntity = Entity()
92 | tipEntity.components[ModelComponent.self] = ModelComponent(mesh: tipMesh, materials: [tipMaterial])
| |- error: 'ModelComponent' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | tipEntity.position = SIMD3<Float>(0, 0.115, 0) // Position at top of shaft
94 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:93:19: error: 'position' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
91 | let tipEntity = Entity()
92 | tipEntity.components[ModelComponent.self] = ModelComponent(mesh: tipMesh, materials: [tipMaterial])
93 | tipEntity.position = SIMD3<Float>(0, 0.115, 0) // Position at top of shaft
| |- error: 'position' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 |
95 | // Add both parts to the arrow entity
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:96:14: error: 'addChild(_:preservingWorldTransform:)' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
94 |
95 | // Add both parts to the arrow entity
96 | self.addChild(shaftEntity)
| |- error: 'addChild(_:preservingWorldTransform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
97 | self.addChild(tipEntity)
98 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:97:14: error: 'addChild(_:preservingWorldTransform:)' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
95 | // Add both parts to the arrow entity
96 | self.addChild(shaftEntity)
97 | self.addChild(tipEntity)
| |- error: 'addChild(_:preservingWorldTransform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 |
99 | // Position the entire arrow above the entity
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:100:14: error: 'position' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
98 |
99 | // Position the entire arrow above the entity
100 | self.position = SIMD3<Float>(0, 0, 0) // Base position, yOffset will be handled by the system
| |- error: 'position' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
101 |
102 | // Rotate to point downward
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:103:14: error: 'orientation' is only available in macOS 10.15 or newer
57 | }
58 |
59 | public class ArrowEntity: Entity, HasModel {
| `- note: add @available attribute to enclosing class
60 | required init() {
61 | super.init()
:
63 | }
64 |
65 | private func createArrowModel() {
| `- note: add @available attribute to enclosing instance method
66 | // Create arrow shaft (cylinder)
67 | let shaftMesh = MeshResource.generateCylinder(
:
101 |
102 | // Rotate to point downward
103 | self.orientation = simd_quatf(angle: .pi, axis: SIMD3<Float>(1, 0, 0))
| |- error: 'orientation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:115:14: error: 'addChild(_:preservingWorldTransform:)' is only available in macOS 10.15 or newer
106 |
107 | // Extension to add arrow indicator functionality to Entity
108 | public extension Entity {
| `- note: add @available attribute to enclosing extension
109 | func addArrowIndicator(yOffset: Float = 0.4) {
| `- note: add @available attribute to enclosing instance method
110 | // Add the arrow indicator component
111 | self.components[VisualArrowIndicatorComponent.self] = VisualArrowIndicatorComponent(yOffset: yOffset)
:
113 | // Create and add the arrow entity
114 | let arrowEntity = ArrowEntity()
115 | self.addChild(arrowEntity)
| |- error: 'addChild(_:preservingWorldTransform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
116 | }
117 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:123:35: error: 'children' is only available in macOS 10.15 or newer
106 |
107 | // Extension to add arrow indicator functionality to Entity
108 | public extension Entity {
| `- note: add @available attribute to enclosing extension
109 | func addArrowIndicator(yOffset: Float = 0.4) {
110 | // Add the arrow indicator component
:
116 | }
117 |
118 | func removeArrowIndicator() {
| `- note: add @available attribute to enclosing instance method
119 | // Remove the arrow indicator component
120 | self.components.remove(VisualArrowIndicatorComponent.self)
121 |
122 | // Remove the arrow entity if it exists
123 | if let arrowEntity = self.children.first(where: { $0 is ArrowEntity }) {
| |- error: 'children' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
124 | arrowEntity.removeFromParent()
125 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/VisualArrowIndicator.swift:124:25: error: 'removeFromParent(preservingWorldTransform:)' is only available in macOS 10.15 or newer
106 |
107 | // Extension to add arrow indicator functionality to Entity
108 | public extension Entity {
| `- note: add @available attribute to enclosing extension
109 | func addArrowIndicator(yOffset: Float = 0.4) {
110 | // Add the arrow indicator component
:
116 | }
117 |
118 | func removeArrowIndicator() {
| `- note: add @available attribute to enclosing instance method
119 | // Remove the arrow indicator component
120 | self.components.remove(VisualArrowIndicatorComponent.self)
:
122 | // Remove the arrow entity if it exists
123 | if let arrowEntity = self.children.first(where: { $0 is ArrowEntity }) {
124 | arrowEntity.removeFromParent()
| |- error: 'removeFromParent(preservingWorldTransform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
125 | }
126 | }
[6/7] Compiling DicyaninEntityDebugger DicyaninEntityDebugger.swift
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:8:24: error: 'Entity' is only available in macOS 10.15 or newer
5 | import Combine
6 |
7 | public struct EntityDebugInfo {
| `- note: add @available attribute to enclosing struct
8 | public let entity: Entity
| `- error: 'Entity' is only available in macOS 10.15 or newer
9 | public let name: String
10 | public let position: SIMD3<Float>
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:14:25: error: 'Entity' is only available in macOS 10.15 or newer
5 | import Combine
6 |
7 | public struct EntityDebugInfo {
| `- note: add @available attribute to enclosing struct
8 | public let entity: Entity
9 | public let name: String
:
12 | public let components: [String]
13 |
14 | public init(entity: Entity, name: String? = nil) {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
15 | self.entity = entity
16 | self.name = name ?? entity.name
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:27:6: error: 'Published' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
27 | @Published public private(set) var registeredEntities: [EntityDebugInfo] = []
| `- error: 'Published' is only available in macOS 10.15 or newer
28 |
29 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:34:36: error: 'Entity' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
:
32 | }
33 |
34 | public func register(_ entity: Entity, name: String? = nil) {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
35 | let debugInfo = EntityDebugInfo(entity: entity, name: name)
36 | if !registeredEntities.contains(where: { $0.entity === entity }) {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:41:38: error: 'Entity' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
:
39 | }
40 |
41 | public func unregister(_ entity: Entity) {
| | `- error: 'Entity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
42 | registeredEntities.removeAll { $0.entity === entity }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:17:32: error: 'transform' is only available in macOS 10.15 or newer
5 | import Combine
6 |
7 | public struct EntityDebugInfo {
| `- note: add @available attribute to enclosing struct
8 | public let entity: Entity
9 | public let name: String
:
12 | public let components: [String]
13 |
14 | public init(entity: Entity, name: String? = nil) {
| `- note: add @available attribute to enclosing initializer
15 | self.entity = entity
16 | self.name = name ?? entity.name
17 | self.position = entity.transform.translation
| |- error: 'transform' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | self.scale = entity.transform.scale
19 | self.components = entity.components.map { String(describing: type(of: $0)) }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:18:29: error: 'transform' is only available in macOS 10.15 or newer
5 | import Combine
6 |
7 | public struct EntityDebugInfo {
| `- note: add @available attribute to enclosing struct
8 | public let entity: Entity
9 | public let name: String
:
12 | public let components: [String]
13 |
14 | public init(entity: Entity, name: String? = nil) {
| `- note: add @available attribute to enclosing initializer
15 | self.entity = entity
16 | self.name = name ?? entity.name
17 | self.position = entity.transform.translation
18 | self.scale = entity.transform.scale
| |- error: 'transform' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | self.components = entity.components.map { String(describing: type(of: $0)) }
20 | }
<unknown>:0: error: cannot convert value of type 'KeyPath<DicyaninEntityDebugger, [EntityDebugInfo]>' to expected argument type 'ReferenceWritableKeyPath<DicyaninEntityDebugger, [EntityDebugInfo]>'
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:19:45: warning: conformance of 'Entity.ComponentSet' to 'Collection' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
5 | import Combine
6 |
7 | public struct EntityDebugInfo {
| `- note: add @available attribute to enclosing struct
8 | public let entity: Entity
9 | public let name: String
:
12 | public let components: [String]
13 |
14 | public init(entity: Entity, name: String? = nil) {
| `- note: add @available attribute to enclosing initializer
15 | self.entity = entity
16 | self.name = name ?? entity.name
17 | self.position = entity.transform.translation
18 | self.scale = entity.transform.scale
19 | self.components = entity.components.map { String(describing: type(of: $0)) }
| |- warning: conformance of 'Entity.ComponentSet' to 'Collection' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:30:36: error: 'registerSystem()' is only available in macOS 12.0 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
27 | @Published public private(set) var registeredEntities: [EntityDebugInfo] = []
28 |
29 | private init() {
| `- note: add @available attribute to enclosing initializer
30 | VisualArrowIndicatorSystem.registerSystem()
| |- error: 'registerSystem()' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
31 | VisualArrowIndicatorComponent.registerComponent()
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:31:39: error: 'registerComponent()' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
27 | @Published public private(set) var registeredEntities: [EntityDebugInfo] = []
28 |
29 | private init() {
| `- note: add @available attribute to enclosing initializer
30 | VisualArrowIndicatorSystem.registerSystem()
31 | VisualArrowIndicatorComponent.registerComponent()
| |- error: 'registerComponent()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:37:13: error: cannot pass as inout because setter for 'registeredEntities' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
:
32 | }
33 |
34 | public func register(_ entity: Entity, name: String? = nil) {
| `- note: add @available attribute to enclosing instance method
35 | let debugInfo = EntityDebugInfo(entity: entity, name: name)
36 | if !registeredEntities.contains(where: { $0.entity === entity }) {
37 | registeredEntities.append(debugInfo)
| |- error: cannot pass as inout because setter for 'registeredEntities' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:42:9: error: cannot pass as inout because setter for 'registeredEntities' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
:
39 | }
40 |
41 | public func unregister(_ entity: Entity) {
| `- note: add @available attribute to enclosing instance method
42 | registeredEntities.removeAll { $0.entity === entity }
| |- error: cannot pass as inout because setter for 'registeredEntities' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/DicyaninEntityDebugger.swift:46:9: error: cannot pass as inout because setter for 'registeredEntities' is only available in macOS 10.15 or newer
22 |
23 | @MainActor
24 | public final class DicyaninEntityDebugger: ObservableObject {
| `- note: add @available attribute to enclosing class
25 | public static let shared = DicyaninEntityDebugger()
26 |
:
43 | }
44 |
45 | public func clear() {
| `- note: add @available attribute to enclosing instance method
46 | registeredEntities.removeAll()
| |- error: cannot pass as inout because setter for 'registeredEntities' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | }
48 | }
[7/7] Compiling DicyaninEntityDebugger EntityDebugView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
| `- error: 'State' is only available in macOS 10.15 or newer
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
9 |
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:8:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
| `- error: 'ObservedObject' is only available in macOS 10.15 or newer
9 |
10 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:12:27: error: 'View' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:50:20: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:114:26: error: 'ViewBuilder' is only available in macOS 10.15 or newer
108 | }
109 |
110 | private struct DetailSection<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
111 | let title: String
112 | let content: Content
113 |
114 | init(title: String, @ViewBuilder content: () -> Content) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
115 | self.title = title
116 | self.content = content()
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:119:20: error: 'View' is only available in macOS 10.15 or newer
108 | }
109 |
110 | private struct DetailSection<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
111 | let title: String
112 | let content: Content
:
117 | }
118 |
119 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
120 | VStack(alignment: .leading, spacing: 8) {
121 | Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:110:39: error: 'View' is only available in macOS 10.15 or newer
108 | }
109 |
110 | private struct DetailSection<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
111 | let title: String
112 | let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:138:20: error: 'View' is only available in macOS 10.15 or newer
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
139 | HStack {
140 | Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:13:9: error: 'NavigationSplitView' is only available in macOS 13.0 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
| |- error: 'NavigationSplitView' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
15 | EntityRowView(entity: entity, isSelected: selectedEntity?.entity.id == entity.entity.id)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:13:9: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
15 | EntityRowView(entity: entity, isSelected: selectedEntity?.entity.id == entity.entity.id)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:13:29: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
15 | EntityRowView(entity: entity, isSelected: selectedEntity?.entity.id == entity.entity.id)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:14:13: error: 'List' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
| |- error: 'List' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | EntityRowView(entity: entity, isSelected: selectedEntity?.entity.id == entity.entity.id)
16 | .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:14:13: error: 'init(_:id:rowContent:)' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
| |- error: 'init(_:id:rowContent:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | EntityRowView(entity: entity, isSelected: selectedEntity?.entity.id == entity.entity.id)
16 | .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:14:60: error: 'id' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
| |- error: 'id' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | EntityRowView(entity: entity, isSelected: selectedEntity?.entity.id == entity.entity.id)
16 | .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:15:82: error: 'id' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
15 | EntityRowView(entity: entity, isSelected: selectedEntity?.entity.id == entity.entity.id)
| |- error: 'id' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | .onTapGesture {
17 | // Remove arrow from previously selected entity
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:15:102: error: 'id' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
15 | EntityRowView(entity: entity, isSelected: selectedEntity?.entity.id == entity.entity.id)
| |- error: 'id' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | .onTapGesture {
17 | // Remove arrow from previously selected entity
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:16:22: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
15 | EntityRowView(entity: entity, isSelected: selectedEntity?.entity.id == entity.entity.id)
16 | .onTapGesture {
| |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | // Remove arrow from previously selected entity
18 | if let previousEntity = selectedEntity?.entity {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:25:25: error: setter for 'selectedEntity' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
:
23 | entity.entity.addArrowIndicator()
24 |
25 | selectedEntity = entity
| |- error: setter for 'selectedEntity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:28:14: error: 'navigationTitle' is only available in macOS 11.0 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
:
26 | }
27 | }
28 | .navigationTitle("Entity Debugger")
| |- error: 'navigationTitle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
29 | } detail: {
30 | if let entity = selectedEntity {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:28:30: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
:
26 | }
27 | }
28 | .navigationTitle("Entity Debugger")
| |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | } detail: {
30 | if let entity = selectedEntity {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:30:44: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
:
28 | .navigationTitle("Entity Debugger")
29 | } detail: {
30 | if let entity = selectedEntity {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | EntityDetailView(entity: entity)
32 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:33:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
:
31 | EntityDetailView(entity: entity)
32 | } else {
33 | Text("Select an entity to view details")
| |- warning: conformance of 'Text' 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
34 | .foregroundStyle(.secondary)
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:33:17: error: 'Text' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
:
31 | EntityDetailView(entity: entity)
32 | } else {
33 | Text("Select an entity to view details")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | .foregroundStyle(.secondary)
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:34:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
:
32 | } else {
33 | Text("Select an entity to view details")
34 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:34:39: error: 'secondary' is only available in macOS 12.0 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
:
32 | } else {
33 | Text("Select an entity to view details")
34 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:32:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
:
30 | if let entity = selectedEntity {
31 | EntityDetailView(entity: entity)
32 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | Text("Select an entity to view details")
34 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:32:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
:
30 | if let entity = selectedEntity {
31 | EntityDetailView(entity: entity)
32 | } else {
| |- warning: conformance of 'Text' 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
33 | Text("Select an entity to view details")
34 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:29:19: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
:
27 | }
28 | .navigationTitle("Entity Debugger")
29 | } detail: {
| |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
30 | if let entity = selectedEntity {
31 | EntityDetailView(entity: entity)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:37:10: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
4 | import RealityKit
5 |
6 | public struct EntityDebugView: View {
| `- note: add @available attribute to enclosing struct
7 | @State private var selectedEntity: EntityDebugInfo?
8 | @ObservedObject private var debugger = DicyaninEntityDebugger.shared
:
10 | public init() {}
11 |
12 | public var body: some View {
| `- note: add @available attribute to enclosing property
13 | NavigationSplitView {
14 | List(debugger.registeredEntities, id: \.entity.id) { entity in
:
35 | }
36 | }
37 | .onDisappear {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | // Clean up arrow indicators when view disappears
39 | if let selectedEntity = selectedEntity?.entity {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:51:9: error: 'VStack' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | Text(entity.name)
53 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:51:28: error: 'leading' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | Text(entity.name)
53 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:52:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
| |- warning: conformance of 'Text' 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
53 | .font(.headline)
54 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:52:13: error: 'Text' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | .font(.headline)
54 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:53:18: error: 'font' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
53 | .font(.headline)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | HStack {
55 | Text("Position:")
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:53:24: error: 'headline' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
53 | .font(.headline)
| |- error: 'headline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | HStack {
55 | Text("Position:")
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:54:13: error: 'HStack' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
53 | .font(.headline)
54 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | Text("Position:")
56 | Text(String(format: "X: %.2f, Y: %.2f, Z: %.2f",
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:55:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
53 | .font(.headline)
54 | HStack {
55 | Text("Position:")
| |- warning: conformance of 'Text' 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
56 | Text(String(format: "X: %.2f, Y: %.2f, Z: %.2f",
57 | entity.position.x,
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:55:17: error: 'Text' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
53 | .font(.headline)
54 | HStack {
55 | Text("Position:")
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | Text(String(format: "X: %.2f, Y: %.2f, Z: %.2f",
57 | entity.position.x,
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:56:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
54 | HStack {
55 | Text("Position:")
56 | Text(String(format: "X: %.2f, Y: %.2f, Z: %.2f",
| |- warning: conformance of 'Text' 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
57 | entity.position.x,
58 | entity.position.y,
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:56:17: error: 'Text' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
54 | HStack {
55 | Text("Position:")
56 | Text(String(format: "X: %.2f, Y: %.2f, Z: %.2f",
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | entity.position.x,
58 | entity.position.y,
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:60:22: error: 'font' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
58 | entity.position.y,
59 | entity.position.z))
60 | .font(.caption)
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | .foregroundStyle(.secondary)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:60:28: error: 'caption' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
58 | entity.position.y,
59 | entity.position.z))
60 | .font(.caption)
| |- error: 'caption' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | .foregroundStyle(.secondary)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:61:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
59 | entity.position.z))
60 | .font(.caption)
61 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:61:39: error: 'secondary' is only available in macOS 12.0 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
59 | entity.position.z))
60 | .font(.caption)
61 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:54:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
53 | .font(.headline)
54 | HStack {
| |- warning: conformance of 'Text' 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
55 | Text("Position:")
56 | Text(String(format: "X: %.2f, Y: %.2f, Z: %.2f",
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:54:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
53 | .font(.headline)
54 | HStack {
| |- warning: conformance of 'Text' 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
55 | Text("Position:")
56 | Text(String(format: "X: %.2f, Y: %.2f, Z: %.2f",
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:51:49: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
| |- warning: conformance of 'Text' 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
52 | Text(entity.name)
53 | .font(.headline)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:64:10: error: 'padding' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
62 | }
63 | }
64 | .padding(.vertical, 4)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .frame(maxWidth: .infinity, alignment: .leading)
66 | .background(isSelected ? Color.accentColor.opacity(0.1) : Color.clear)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:65:10: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
63 | }
64 | .padding(.vertical, 4)
65 | .frame(maxWidth: .infinity, alignment: .leading)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | .background(isSelected ? Color.accentColor.opacity(0.1) : Color.clear)
67 | .clipShape(RoundedRectangle(cornerRadius: 8))
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:65:49: error: 'leading' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
63 | }
64 | .padding(.vertical, 4)
65 | .frame(maxWidth: .infinity, alignment: .leading)
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | .background(isSelected ? Color.accentColor.opacity(0.1) : Color.clear)
67 | .clipShape(RoundedRectangle(cornerRadius: 8))
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:66:10: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
64 | .padding(.vertical, 4)
65 | .frame(maxWidth: .infinity, alignment: .leading)
66 | .background(isSelected ? Color.accentColor.opacity(0.1) : Color.clear)
| |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
67 | .clipShape(RoundedRectangle(cornerRadius: 8))
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:66:34: error: 'Color' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
64 | .padding(.vertical, 4)
65 | .frame(maxWidth: .infinity, alignment: .leading)
66 | .background(isSelected ? Color.accentColor.opacity(0.1) : Color.clear)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | .clipShape(RoundedRectangle(cornerRadius: 8))
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:66:40: error: 'accentColor' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
64 | .padding(.vertical, 4)
65 | .frame(maxWidth: .infinity, alignment: .leading)
66 | .background(isSelected ? Color.accentColor.opacity(0.1) : Color.clear)
| |- error: 'accentColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | .clipShape(RoundedRectangle(cornerRadius: 8))
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:66:52: error: 'opacity' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
64 | .padding(.vertical, 4)
65 | .frame(maxWidth: .infinity, alignment: .leading)
66 | .background(isSelected ? Color.accentColor.opacity(0.1) : Color.clear)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | .clipShape(RoundedRectangle(cornerRadius: 8))
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:66:67: error: 'Color' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
64 | .padding(.vertical, 4)
65 | .frame(maxWidth: .infinity, alignment: .leading)
66 | .background(isSelected ? Color.accentColor.opacity(0.1) : Color.clear)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | .clipShape(RoundedRectangle(cornerRadius: 8))
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:66:73: error: 'clear' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
64 | .padding(.vertical, 4)
65 | .frame(maxWidth: .infinity, alignment: .leading)
66 | .background(isSelected ? Color.accentColor.opacity(0.1) : Color.clear)
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | .clipShape(RoundedRectangle(cornerRadius: 8))
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:67:10: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
65 | .frame(maxWidth: .infinity, alignment: .leading)
66 | .background(isSelected ? Color.accentColor.opacity(0.1) : Color.clear)
67 | .clipShape(RoundedRectangle(cornerRadius: 8))
| |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:67:20: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
44 | }
45 |
46 | private struct EntityRowView: View {
| `- note: add @available attribute to enclosing struct
47 | let entity: EntityDebugInfo
48 | let isSelected: Bool
49 |
50 | var body: some View {
| `- note: add @available attribute to enclosing property
51 | VStack(alignment: .leading, spacing: 4) {
52 | Text(entity.name)
:
65 | .frame(maxWidth: .infinity, alignment: .leading)
66 | .background(isSelected ? Color.accentColor.opacity(0.1) : Color.clear)
67 | .clipShape(RoundedRectangle(cornerRadius: 8))
| |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:75:9: error: 'ScrollView' is only available in macOS 10.15 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | VStack(alignment: .leading, spacing: 20) {
77 | Group {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:75:9: error: 'init(_:content:)' is only available in macOS 10.15 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | VStack(alignment: .leading, spacing: 20) {
77 | Group {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:75:20: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
| |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
76 | VStack(alignment: .leading, spacing: 20) {
77 | Group {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:75:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
76 | VStack(alignment: .leading, spacing: 20) {
77 | Group {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:76:13: error: 'VStack' is only available in macOS 10.15 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | Group {
78 | DetailSection(title: "Basic Info") {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:76:13: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
| |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
77 | Group {
78 | DetailSection(title: "Basic Info") {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:76:32: error: 'leading' is only available in macOS 10.15 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
77 | Group {
78 | DetailSection(title: "Basic Info") {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:76:54: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
77 | Group {
78 | DetailSection(title: "Basic Info") {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:77:17: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
77 | Group {
| |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
78 | DetailSection(title: "Basic Info") {
79 | InfoRow(title: "Name", value: entity.name)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:77:17: error: 'Group' is only available in macOS 10.15 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
77 | Group {
| |- error: 'Group' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | DetailSection(title: "Basic Info") {
79 | InfoRow(title: "Name", value: entity.name)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:77:17: error: 'init(content:)' is only available in macOS 10.15 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
77 | Group {
| |- error: 'init(content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
78 | DetailSection(title: "Basic Info") {
79 | InfoRow(title: "Name", value: entity.name)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:77:23: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
77 | Group {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
78 | DetailSection(title: "Basic Info") {
79 | InfoRow(title: "Name", value: entity.name)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:95:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
:
93 | }
94 |
95 | DetailSection(title: "Components") {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
96 | ForEach(entity.components, id: \.self) { component in
97 | Text(component)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:95:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
:
93 | }
94 |
95 | DetailSection(title: "Components") {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
96 | ForEach(entity.components, id: \.self) { component in
97 | Text(component)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:95:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
:
93 | }
94 |
95 | DetailSection(title: "Components") {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
96 | ForEach(entity.components, id: \.self) { component in
97 | Text(component)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:96:25: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
:
94 |
95 | DetailSection(title: "Components") {
96 | ForEach(entity.components, id: \.self) { component in
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
97 | Text(component)
98 | .font(.system(.body, design: .monospaced))
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:96:25: error: 'ForEach' is only available in macOS 10.15 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
:
94 |
95 | DetailSection(title: "Components") {
96 | ForEach(entity.components, id: \.self) { component in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
97 | Text(component)
98 | .font(.system(.body, design: .monospaced))
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:96:25: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
:
94 |
95 | DetailSection(title: "Components") {
96 | ForEach(entity.components, id: \.self) { component in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
97 | Text(component)
98 | .font(.system(.body, design: .monospaced))
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:97:29: error: 'Text' is only available in macOS 10.15 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
:
95 | DetailSection(title: "Components") {
96 | ForEach(entity.components, id: \.self) { component in
97 | Text(component)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | .font(.system(.body, design: .monospaced))
99 | .padding(.vertical, 2)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:98:34: error: 'font' is only available in macOS 10.15 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
:
96 | ForEach(entity.components, id: \.self) { component in
97 | Text(component)
98 | .font(.system(.body, design: .monospaced))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
99 | .padding(.vertical, 2)
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:98:40: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
:
96 | ForEach(entity.components, id: \.self) { component in
97 | Text(component)
98 | .font(.system(.body, design: .monospaced))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
99 | .padding(.vertical, 2)
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:99:34: error: 'padding' is only available in macOS 10.15 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
:
97 | Text(component)
98 | .font(.system(.body, design: .monospaced))
99 | .padding(.vertical, 2)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
100 | }
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:95:56: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
:
93 | }
94 |
95 | DetailSection(title: "Components") {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
96 | ForEach(entity.components, id: \.self) { component in
97 | Text(component)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:77:23: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
77 | Group {
| |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
78 | DetailSection(title: "Basic Info") {
79 | InfoRow(title: "Name", value: entity.name)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:76:54: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
| |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
77 | Group {
78 | DetailSection(title: "Basic Info") {
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:104:14: error: 'padding' is only available in macOS 10.15 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
:
102 | }
103 | }
104 | .padding()
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
105 | }
106 | .navigationTitle(entity.name)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:106:10: error: 'navigationTitle' is only available in macOS 11.0 or newer
69 | }
70 |
71 | private struct EntityDetailView: View {
| `- note: add @available attribute to enclosing struct
72 | let entity: EntityDebugInfo
73 |
74 | var body: some View {
| `- note: add @available attribute to enclosing property
75 | ScrollView {
76 | VStack(alignment: .leading, spacing: 20) {
:
104 | .padding()
105 | }
106 | .navigationTitle(entity.name)
| |- error: 'navigationTitle' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:128:28: error: reference to member 'systemBackground' cannot be resolved without a contextual type
126 | .frame(maxWidth: .infinity, alignment: .leading)
127 | .padding()
128 | .background(Color(.systemBackground))
| `- error: reference to member 'systemBackground' cannot be resolved without a contextual type
129 | .clipShape(RoundedRectangle(cornerRadius: 12))
130 | .shadow(radius: 2)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:139:9: error: 'HStack' is only available in macOS 10.15 or newer
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| `- note: add @available attribute to enclosing property
139 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
140 | Text(title)
141 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:140:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| `- note: add @available attribute to enclosing property
139 | HStack {
140 | Text(title)
| |- warning: conformance of 'Text' 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
141 | .foregroundStyle(.secondary)
142 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:140:13: error: 'Text' is only available in macOS 10.15 or newer
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| `- note: add @available attribute to enclosing property
139 | HStack {
140 | Text(title)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
141 | .foregroundStyle(.secondary)
142 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:141:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| `- note: add @available attribute to enclosing property
139 | HStack {
140 | Text(title)
141 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
142 | Spacer()
143 | Text(value)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:141:35: error: 'secondary' is only available in macOS 12.0 or newer
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| `- note: add @available attribute to enclosing property
139 | HStack {
140 | Text(title)
141 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
142 | Spacer()
143 | Text(value)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:142:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| `- note: add @available attribute to enclosing property
139 | HStack {
140 | Text(title)
141 | .foregroundStyle(.secondary)
142 | Spacer()
| |- warning: conformance of 'Spacer' 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
143 | Text(value)
144 | .font(.system(.body, design: .monospaced))
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:142:13: error: 'Spacer' is only available in macOS 10.15 or newer
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| `- note: add @available attribute to enclosing property
139 | HStack {
140 | Text(title)
141 | .foregroundStyle(.secondary)
142 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
143 | Text(value)
144 | .font(.system(.body, design: .monospaced))
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:143:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| `- note: add @available attribute to enclosing property
139 | HStack {
140 | Text(title)
141 | .foregroundStyle(.secondary)
142 | Spacer()
143 | Text(value)
| |- warning: conformance of 'Text' 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
144 | .font(.system(.body, design: .monospaced))
145 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:143:13: error: 'Text' is only available in macOS 10.15 or newer
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| `- note: add @available attribute to enclosing property
139 | HStack {
140 | Text(title)
141 | .foregroundStyle(.secondary)
142 | Spacer()
143 | Text(value)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
144 | .font(.system(.body, design: .monospaced))
145 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:144:18: error: 'font' is only available in macOS 10.15 or newer
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| `- note: add @available attribute to enclosing property
139 | HStack {
140 | Text(title)
:
142 | Spacer()
143 | Text(value)
144 | .font(.system(.body, design: .monospaced))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
145 | }
146 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:144:24: error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| `- note: add @available attribute to enclosing property
139 | HStack {
140 | Text(title)
:
142 | Spacer()
143 | Text(value)
144 | .font(.system(.body, design: .monospaced))
| |- error: 'system(_:design:weight:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
145 | }
146 | }
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:139:16: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| `- note: add @available attribute to enclosing property
139 | HStack {
| |- warning: conformance of 'Text' 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
140 | Text(title)
141 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:139:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| `- note: add @available attribute to enclosing property
139 | HStack {
| |- warning: conformance of 'Spacer' 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
140 | Text(title)
141 | .foregroundStyle(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/DicyaninEntityDebugger/EntityDebugView.swift:139:16: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
132 | }
133 |
134 | private struct InfoRow: View {
| `- note: add @available attribute to enclosing struct
135 | let title: String
136 | let value: String
137 |
138 | var body: some View {
| `- note: add @available attribute to enclosing property
139 | HStack {
| |- warning: conformance of 'Text' 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
140 | Text(title)
141 | .foregroundStyle(.secondary)
BUILD FAILURE 6.1 macosSpm