The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FocusEntity, reference main (3e08b2), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 11:22:21 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maxxfrazer/FocusEntity.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/maxxfrazer/FocusEntity
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3e08b26 Merge pull request #51 from Brian-Co/fix-import-ios-26
Cloned https://github.com/maxxfrazer/FocusEntity.git
Revision (git rev-parse @):
3e08b26f863957113f4d0b2d45cf6dfbd1a41333
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/maxxfrazer/FocusEntity.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "focusentity",
      "name": "FocusEntity",
      "url": "https://github.com/maxxfrazer/FocusEntity.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FocusEntity",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/maxxfrazer/FocusEntity.git
[1/670] Fetching focusentity
Fetched https://github.com/maxxfrazer/FocusEntity.git from cache (1.36s)
Creating working copy for https://github.com/maxxfrazer/FocusEntity.git
Working copy of https://github.com/maxxfrazer/FocusEntity.git resolved at main (3e08b26)
warning: '.resolve-product-dependencies': dependency 'focusentity' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/maxxfrazer/FocusEntity.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/10] Compiling FocusEntity float4x4+Extension.swift
[4/10] Emitting module FocusEntity
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:16:10: warning: FocusEntity: This package is only fully available with physical iOS devices
 14 |
 15 | #if os(macOS) || targetEnvironment(simulator)
 16 | #warning("FocusEntity: This package is only fully available with physical iOS devices")
    |          `- warning: FocusEntity: This package is only fully available with physical iOS devices
 17 | #endif
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:33:50: error: cannot find type 'ARRaycastResult' in scope
 31 |     #if canImport(ARKit)
 32 |     /// Update the transform of the focus square to be aligned with the camera.
 33 |     internal func updateTransform(raycastResult: ARRaycastResult) {
    |                                                  `- error: cannot find type 'ARRaycastResult' in scope
 34 |         self.updatePosition()
 35 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:41:54: error: cannot find type 'ARRaycastResult' in scope
 39 |     }
 40 |
 41 |     internal func updateAlignment(for raycastResult: ARRaycastResult) {
    |                                                      `- error: cannot find type 'ARRaycastResult' in scope
 42 |
 43 |         var targetAlignment = raycastResult.worldTransform.orientation
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:121:37: error: cannot find type 'ARRaycastResult' in scope
119 |     /// - Parameters:
120 |     /// - Returns: ARRaycastResult if an existing plane geometry or an estimated plane are found, otherwise nil.
121 |     internal func smartRaycast() -> ARRaycastResult? {
    |                                     `- error: cannot find type 'ARRaycastResult' in scope
122 |         // Perform the hit test.
123 |         guard let (camPos, camDir) = self.getCamVector() else {
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:167:48: error: cannot find type 'ARCamera' in scope
165 |      for a distance 1.5 m distance (estimated distance when looking at the floor).
166 |      */
167 |     internal func scaleBasedOnDistance(camera: ARCamera?) -> Float {
    |                                                `- error: cannot find type 'ARCamera' in scope
168 |         guard let camera = camera else { return 1.0 }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:40:27: error: cannot find type 'ARRaycastQuery' in scope
 38 |     }
 39 |     #if canImport(ARKit)
 40 |     var allowedRaycasts: [ARRaycastQuery.Target] {
    |                           `- error: cannot find type 'ARRaycastQuery' in scope
 41 |         get { self.focus.allowedRaycasts }
 42 |         set { self.focus.allowedRaycasts = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:76:23: error: cannot find type 'ARPlaneAnchor' in scope
 74 |     func focusEntity(
 75 |         _ focusEntity: FocusEntity,
 76 |         planeChanged: ARPlaneAnchor?,
    |                       `- error: cannot find type 'ARPlaneAnchor' in scope
 77 |         oldPlane: ARPlaneAnchor?
 78 |     )
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:77:19: error: cannot find type 'ARPlaneAnchor' in scope
 75 |         _ focusEntity: FocusEntity,
 76 |         planeChanged: ARPlaneAnchor?,
 77 |         oldPlane: ARPlaneAnchor?
    |                   `- error: cannot find type 'ARPlaneAnchor' in scope
 78 |     )
 79 | }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:64: error: cannot find type 'ARPlaneAnchor' in scope
 85 |         _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
 86 |     ) {}
 87 |     func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
    |                                                                `- error: cannot find type 'ARPlaneAnchor' in scope
 88 | }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:90: error: cannot find type 'ARPlaneAnchor' in scope
 85 |         _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
 86 |     ) {}
 87 |     func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
    |                                                                                          `- error: cannot find type 'ARPlaneAnchor' in scope
 88 | }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:38: error: cannot find type 'ARRaycastResult' in scope
144 |         case initializing
145 |         #if canImport(ARKit)
146 |         case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
    |                                      `- error: cannot find type 'ARRaycastResult' in scope
147 |         #endif
148 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:63: error: cannot find type 'ARCamera' in scope
144 |         case initializing
145 |         #if canImport(ARKit)
146 |         case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
    |                                                               `- error: cannot find type 'ARCamera' in scope
147 |         #endif
148 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:143:17: error: type 'FocusEntity.State' does not conform to protocol 'Equatable'
141 |
142 |     // MARK: - Types
143 |     public enum State: Equatable {
    |                 |- error: type 'FocusEntity.State' does not conform to protocol 'Equatable'
    |                 `- note: add stubs for conformance
144 |         case initializing
145 |         #if canImport(ARKit)
146 |         case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
    |                                      |                        `- note: associated value type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FocusEntity.State' to 'Equatable'
    |                                      `- note: associated value type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FocusEntity.State' to 'Equatable'
147 |         #endif
148 |     }
Swift.==:1:24: note: candidate would match if 'FocusEntity.State' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'FocusEntity.State' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'FocusEntity.State' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'FocusEntity.State' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FocusEntity.State' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'FocusEntity.State' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FocusEntity.State' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'FocusEntity.State' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FocusEntity.State' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'FocusEntity.State' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FocusEntity.State' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'FocusEntity.State' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FocusEntity.State' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'FocusEntity.State' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'FocusEntity.State' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'FocusEntity.State' conformed to 'SIMD'
3 |
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'FocusEntity.State' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'FocusEntity.State' conformed to 'AttributedStringProtocol'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'FocusEntity.State' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'FocusEntity.State' conformed to '_BridgedStoredNSError'
3 |
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'FocusEntity.State' conformed to '_CFObject'
1 | protocol _CFObject {
2 | public static func == (left: Self, right: Self) -> Bool}
  |                    `- note: candidate would match if 'FocusEntity.State' conformed to '_CFObject'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(FocusEntity.State, FocusEntity.State) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(FocusEntity.State, FocusEntity.State) -> Bool'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:163:54: error: cannot find type 'ARRaycastResult' in scope
161 |
162 |     #if canImport(ARKit)
163 |     fileprivate func entityOffPlane(_ raycastResult: ARRaycastResult, _ camera: ARCamera?) {
    |                                                      `- error: cannot find type 'ARRaycastResult' in scope
164 |         self.onPlane = false
165 |         displayOffPlane(for: raycastResult)
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:163:81: error: cannot find type 'ARCamera' in scope
161 |
162 |     #if canImport(ARKit)
163 |     fileprivate func entityOffPlane(_ raycastResult: ARRaycastResult, _ camera: ARCamera?) {
    |                                                                                 `- error: cannot find type 'ARCamera' in scope
164 |         self.onPlane = false
165 |         displayOffPlane(for: raycastResult)
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:186:60: error: cannot find type 'ARPlaneAnchor' in scope
184 |                     self.anchoring = AnchoringComponent(.world(transform: Transform.identity.matrix))
185 |                 }
186 |                 let planeAnchor = raycastResult.anchor as? ARPlaneAnchor
    |                                                            `- error: cannot find type 'ARPlaneAnchor' in scope
187 |                 if let planeAnchor = planeAnchor {
188 |                     entityOnPlane(for: raycastResult, planeAnchor: planeAnchor)
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:348:28: error: cannot find type 'ARRaycastResult' in scope
346 |     /// Called when a plane has been detected.
347 |     private func entityOnPlane(
348 |         for raycastResult: ARRaycastResult, planeAnchor: ARPlaneAnchor
    |                            `- error: cannot find type 'ARRaycastResult' in scope
349 |     ) {
350 |         self.onPlane = true
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:348:58: error: cannot find type 'ARPlaneAnchor' in scope
346 |     /// Called when a plane has been detected.
347 |     private func entityOnPlane(
348 |         for raycastResult: ARRaycastResult, planeAnchor: ARPlaneAnchor
    |                                                          `- error: cannot find type 'ARPlaneAnchor' in scope
349 |     ) {
350 |         self.onPlane = true
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:234:36: error: cannot find type 'ARPlaneAnchor' in scope
232 |     #if canImport(ARKit)
233 |     /// The focus square's current alignment.
234 |     internal var currentAlignment: ARPlaneAnchor.Alignment?
    |                                    `- error: cannot find type 'ARPlaneAnchor' in scope
235 |
236 |     /// The current plane anchor if the focus square is on a plane.
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:237:50: error: cannot find type 'ARPlaneAnchor' in scope
235 |
236 |     /// The current plane anchor if the focus square is on a plane.
237 |     public internal(set) var currentPlaneAnchor: ARPlaneAnchor? {
    |                                                  `- error: cannot find type 'ARPlaneAnchor' in scope
238 |         didSet {
239 |             if (oldValue == nil && self.currentPlaneAnchor == nil) || (currentPlaneAnchor == oldValue) {
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:242:39: error: incorrect argument labels in call (have '_:planeChanged:oldPlane:', expected '_:trackingUpdated:oldState:')
240 |                 return
241 |             }
242 |             self.delegate?.focusEntity(self, planeChanged: currentPlaneAnchor, oldPlane: oldValue)
    |                                       `- error: incorrect argument labels in call (have '_:planeChanged:oldPlane:', expected '_:trackingUpdated:oldState:')
243 |         }
244 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:247:48: error: cannot find type 'ARPlaneAnchor' in scope
245 |
246 |     /// The focus square's most recent alignments.
247 |     internal var recentFocusEntityAlignments: [ARPlaneAnchor.Alignment] = []
    |                                                `- error: cannot find type 'ARPlaneAnchor' in scope
248 |     /// Previously visited plane anchors.
249 |     internal var anchorsOfVisitedPlanes: Set<ARAnchor> = []
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:249:46: error: cannot find type 'ARAnchor' in scope
247 |     internal var recentFocusEntityAlignments: [ARPlaneAnchor.Alignment] = []
248 |     /// Previously visited plane anchors.
249 |     internal var anchorsOfVisitedPlanes: Set<ARAnchor> = []
    |                                              `- error: cannot find type 'ARAnchor' in scope
250 |     #endif
251 |     /// The focus square's most recent positions.
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:333:53: error: cannot find type 'ARRaycastResult' in scope
331 |     #if canImport(ARKit)
332 |     /// Called when a surface has been detected.
333 |     private func displayOffPlane(for raycastResult: ARRaycastResult) {
    |                                                     `- error: cannot find type 'ARRaycastResult' in scope
334 |         self.stateChangedSetup()
335 |         let position = raycastResult.worldTransform.translation
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:71:38: error: could not infer type of color literal
 69 |
 70 |     /// Default color of FocusEntity
 71 |     public static let defaultColor = #colorLiteral(red: 1, green: 0.8, blue: 0, alpha: 1)
    |                                      |- error: could not infer type of color literal
    |                                      `- note: import AppKit to use 'NSColor' as the default color literal type
 72 |     /// Default style of FocusEntity, using the FocusEntityComponent.Style.classic with the color FocusEntityComponent.defaultColor.
 73 |     public static let classic = FocusEntityComponent(style: .classic(color: FocusEntityComponent.defaultColor))
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:34:14: warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
 32 |         /// Default style of FocusEntity. Box that's open when not on a plane, closed when on one.
 33 |         /// - color: Color of the FocusEntity lines, default: `FocusEntityComponent.defaultColor`
 34 |         case classic(color: Material.Color = FocusEntityComponent.defaultColor)
    |              `- warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
 35 |         /// Style that changes based on state of the FocusEntity
 36 |         /// - onColor: Color when FocusEntity is tracking on a known surface.
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:77:12: note: class declared here
 75 |
 76 | NS_SWIFT_SENDABLE
 77 | @interface NSColor : NSObject <NSCopying, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting>
    |            `- note: class declared here
 78 |
 79 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
[5/10] Compiling FocusEntity FocusEntityComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:71:38: error: could not infer type of color literal
 69 |
 70 |     /// Default color of FocusEntity
 71 |     public static let defaultColor = #colorLiteral(red: 1, green: 0.8, blue: 0, alpha: 1)
    |                                      |- error: could not infer type of color literal
    |                                      `- note: import AppKit to use 'NSColor' as the default color literal type
 72 |     /// Default style of FocusEntity, using the FocusEntityComponent.Style.classic with the color FocusEntityComponent.defaultColor.
 73 |     public static let classic = FocusEntityComponent(style: .classic(color: FocusEntityComponent.defaultColor))
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:34:14: warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
 32 |         /// Default style of FocusEntity. Box that's open when not on a plane, closed when on one.
 33 |         /// - color: Color of the FocusEntity lines, default: `FocusEntityComponent.defaultColor`
 34 |         case classic(color: Material.Color = FocusEntityComponent.defaultColor)
    |              `- warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
 35 |         /// Style that changes based on state of the FocusEntity
 36 |         /// - onColor: Color when FocusEntity is tracking on a known surface.
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:77:12: note: class declared here
 75 |
 76 | NS_SWIFT_SENDABLE
 77 | @interface NSColor : NSObject <NSCopying, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting>
    |            `- note: class declared here
 78 |
 79 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
[6/10] Compiling FocusEntity FocusEntity+Segment.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:71:29: error: 'PhysicallyBasedMaterial' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add '@available' attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add '@available' attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 69 |             var mat: Material!
 70 |             if #available(iOS 15.0, *) {
 71 |                 var phMat = PhysicallyBasedMaterial()
    |                             |- error: 'PhysicallyBasedMaterial' is only available in macOS 12.0 or newer
    |                             `- note: add 'if #available' version check
 72 |                 phMat.baseColor = .init(tint: .black)
 73 |                 phMat.emissiveColor = .init(color: color)
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:72:23: error: 'baseColor' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add '@available' attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add '@available' attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 70 |             if #available(iOS 15.0, *) {
 71 |                 var phMat = PhysicallyBasedMaterial()
 72 |                 phMat.baseColor = .init(tint: .black)
    |                       |- error: 'baseColor' is only available in macOS 12.0 or newer
    |                       `- note: add 'if #available' version check
 73 |                 phMat.emissiveColor = .init(color: color)
 74 |                 phMat.emissiveIntensity = 2
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:72:36: error: 'init(tint:texture:)' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add '@available' attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add '@available' attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 70 |             if #available(iOS 15.0, *) {
 71 |                 var phMat = PhysicallyBasedMaterial()
 72 |                 phMat.baseColor = .init(tint: .black)
    |                                    |- error: 'init(tint:texture:)' is only available in macOS 12.0 or newer
    |                                    `- note: add 'if #available' version check
 73 |                 phMat.emissiveColor = .init(color: color)
 74 |                 phMat.emissiveIntensity = 2
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:73:23: error: 'emissiveColor' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add '@available' attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add '@available' attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 71 |                 var phMat = PhysicallyBasedMaterial()
 72 |                 phMat.baseColor = .init(tint: .black)
 73 |                 phMat.emissiveColor = .init(color: color)
    |                       |- error: 'emissiveColor' is only available in macOS 12.0 or newer
    |                       `- note: add 'if #available' version check
 74 |                 phMat.emissiveIntensity = 2
 75 |                 mat = phMat
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:73:40: error: 'init(color:texture:)' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add '@available' attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add '@available' attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 71 |                 var phMat = PhysicallyBasedMaterial()
 72 |                 phMat.baseColor = .init(tint: .black)
 73 |                 phMat.emissiveColor = .init(color: color)
    |                                        |- error: 'init(color:texture:)' is only available in macOS 12.0 or newer
    |                                        `- note: add 'if #available' version check
 74 |                 phMat.emissiveIntensity = 2
 75 |                 mat = phMat
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:74:23: error: 'emissiveIntensity' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add '@available' attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add '@available' attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 72 |                 phMat.baseColor = .init(tint: .black)
 73 |                 phMat.emissiveColor = .init(color: color)
 74 |                 phMat.emissiveIntensity = 2
    |                       |- error: 'emissiveIntensity' is only available in macOS 12.0 or newer
    |                       `- note: add 'if #available' version check
 75 |                 mat = phMat
 76 |             } else {
[7/10] Compiling FocusEntity FocusEntity+Alignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:33:50: error: cannot find type 'ARRaycastResult' in scope
 31 |     #if canImport(ARKit)
 32 |     /// Update the transform of the focus square to be aligned with the camera.
 33 |     internal func updateTransform(raycastResult: ARRaycastResult) {
    |                                                  `- error: cannot find type 'ARRaycastResult' in scope
 34 |         self.updatePosition()
 35 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:41:54: error: cannot find type 'ARRaycastResult' in scope
 39 |     }
 40 |
 41 |     internal func updateAlignment(for raycastResult: ARRaycastResult) {
    |                                                      `- error: cannot find type 'ARRaycastResult' in scope
 42 |
 43 |         var targetAlignment = raycastResult.worldTransform.orientation
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:121:37: error: cannot find type 'ARRaycastResult' in scope
119 |     /// - Parameters:
120 |     /// - Returns: ARRaycastResult if an existing plane geometry or an estimated plane are found, otherwise nil.
121 |     internal func smartRaycast() -> ARRaycastResult? {
    |                                     `- error: cannot find type 'ARRaycastResult' in scope
122 |         // Perform the hit test.
123 |         guard let (camPos, camDir) = self.getCamVector() else {
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:167:48: error: cannot find type 'ARCamera' in scope
165 |      for a distance 1.5 m distance (estimated distance when looking at the floor).
166 |      */
167 |     internal func scaleBasedOnDistance(camera: ARCamera?) -> Float {
    |                                                `- error: cannot find type 'ARCamera' in scope
168 |         guard let camera = camera else { return 1.0 }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:46:24: error: cannot find type 'ARPlaneAnchor' in scope
 44 |
 45 |         // Determine current alignment
 46 |         var alignment: ARPlaneAnchor.Alignment?
    |                        `- error: cannot find type 'ARPlaneAnchor' in scope
 47 |         if let planeAnchor = raycastResult.anchor as? ARPlaneAnchor {
 48 |             alignment = planeAnchor.alignment
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:47:55: error: cannot find type 'ARPlaneAnchor' in scope
 45 |         // Determine current alignment
 46 |         var alignment: ARPlaneAnchor.Alignment?
 47 |         if let planeAnchor = raycastResult.anchor as? ARPlaneAnchor {
    |                                                       `- error: cannot find type 'ARPlaneAnchor' in scope
 48 |             alignment = planeAnchor.alignment
 49 |             // Catching case when looking at ceiling
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:247:48: error: cannot find type 'ARPlaneAnchor' in scope
245 |
246 |     /// The focus square's most recent alignments.
247 |     internal var recentFocusEntityAlignments: [ARPlaneAnchor.Alignment] = []
    |                                                `- error: cannot find type 'ARPlaneAnchor' in scope
248 |     /// Previously visited plane anchors.
249 |     internal var anchorsOfVisitedPlanes: Set<ARAnchor> = []
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:74:37: error: cannot find type 'ARPlaneAnchor' in scope
 72 |         if alignment == .horizontal && horizontalHistory > alignCount * 3/4 ||
 73 |             alignment == .vertical && verticalHistory > alignCount / 2 ||
 74 |             raycastResult.anchor is ARPlaneAnchor {
    |                                     `- error: cannot find type 'ARPlaneAnchor' in scope
 75 |             if alignment != self.currentAlignment ||
 76 |                 (alignment == .vertical && self.shouldContinueAlignAnim(to: targetAlignment)
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:234:36: error: cannot find type 'ARPlaneAnchor' in scope
232 |     #if canImport(ARKit)
233 |     /// The focus square's current alignment.
234 |     internal var currentAlignment: ARPlaneAnchor.Alignment?
    |                                    `- error: cannot find type 'ARPlaneAnchor' in scope
235 |
236 |     /// The current plane anchor if the focus square is on a plane.
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:40:27: error: cannot find type 'ARRaycastQuery' in scope
 38 |     }
 39 |     #if canImport(ARKit)
 40 |     var allowedRaycasts: [ARRaycastQuery.Target] {
    |                           `- error: cannot find type 'ARRaycastQuery' in scope
 41 |         get { self.focus.allowedRaycasts }
 42 |         set { self.focus.allowedRaycasts = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:127:27: error: cannot find 'ARRaycastQuery' in scope
125 |         }
126 |         for target in self.allowedRaycasts {
127 |             let rcQuery = ARRaycastQuery(
    |                           `- error: cannot find 'ARRaycastQuery' in scope
128 |                 origin: camPos, direction: camDir,
129 |                 allowing: target, alignment: .any
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:129:47: error: cannot infer contextual base in reference to member 'any'
127 |             let rcQuery = ARRaycastQuery(
128 |                 origin: camPos, direction: camDir,
129 |                 allowing: target, alignment: .any
    |                                               `- error: cannot infer contextual base in reference to member 'any'
130 |             )
131 |             let results = self.arView?.session.raycast(rcQuery) ?? []
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:131:40: error: value of type 'ARView' has no member 'session'
129 |                 allowing: target, alignment: .any
130 |             )
131 |             let results = self.arView?.session.raycast(rcQuery) ?? []
    |                                        `- error: value of type 'ARView' has no member 'session'
132 |
133 |             // Check for a result matching target
[8/10] Compiling FocusEntity FocusEntity+Colored.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:38: error: cannot find type 'ARRaycastResult' in scope
144 |         case initializing
145 |         #if canImport(ARKit)
146 |         case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
    |                                      `- error: cannot find type 'ARRaycastResult' in scope
147 |         #endif
148 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:63: error: cannot find type 'ARCamera' in scope
144 |         case initializing
145 |         #if canImport(ARKit)
146 |         case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
    |                                                               `- error: cannot find type 'ARCamera' in scope
147 |         #endif
148 |     }
[9/10] Compiling FocusEntity FocusEntity+Classic.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:38: error: cannot find type 'ARRaycastResult' in scope
144 |         case initializing
145 |         #if canImport(ARKit)
146 |         case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
    |                                      `- error: cannot find type 'ARRaycastResult' in scope
147 |         #endif
148 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:63: error: cannot find type 'ARCamera' in scope
144 |         case initializing
145 |         #if canImport(ARKit)
146 |         case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
    |                                                               `- error: cannot find type 'ARCamera' in scope
147 |         #endif
148 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:234:36: error: cannot find type 'ARPlaneAnchor' in scope
232 |     #if canImport(ARKit)
233 |     /// The focus square's current alignment.
234 |     internal var currentAlignment: ARPlaneAnchor.Alignment?
    |                                    `- error: cannot find type 'ARPlaneAnchor' in scope
235 |
236 |     /// The current plane anchor if the focus square is on a plane.
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:237:50: error: cannot find type 'ARPlaneAnchor' in scope
235 |
236 |     /// The current plane anchor if the focus square is on a plane.
237 |     public internal(set) var currentPlaneAnchor: ARPlaneAnchor? {
    |                                                  `- error: cannot find type 'ARPlaneAnchor' in scope
238 |         didSet {
239 |             if (oldValue == nil && self.currentPlaneAnchor == nil) || (currentPlaneAnchor == oldValue) {
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:247:48: error: cannot find type 'ARPlaneAnchor' in scope
245 |
246 |     /// The focus square's most recent alignments.
247 |     internal var recentFocusEntityAlignments: [ARPlaneAnchor.Alignment] = []
    |                                                `- error: cannot find type 'ARPlaneAnchor' in scope
248 |     /// Previously visited plane anchors.
249 |     internal var anchorsOfVisitedPlanes: Set<ARAnchor> = []
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:249:46: error: cannot find type 'ARAnchor' in scope
247 |     internal var recentFocusEntityAlignments: [ARPlaneAnchor.Alignment] = []
248 |     /// Previously visited plane anchors.
249 |     internal var anchorsOfVisitedPlanes: Set<ARAnchor> = []
    |                                              `- error: cannot find type 'ARAnchor' in scope
250 |     #endif
251 |     /// The focus square's most recent positions.
[10/10] Compiling FocusEntity FocusEntity.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:16:10: warning: FocusEntity: This package is only fully available with physical iOS devices
 14 |
 15 | #if os(macOS) || targetEnvironment(simulator)
 16 | #warning("FocusEntity: This package is only fully available with physical iOS devices")
    |          `- warning: FocusEntity: This package is only fully available with physical iOS devices
 17 | #endif
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:40:27: error: cannot find type 'ARRaycastQuery' in scope
 38 |     }
 39 |     #if canImport(ARKit)
 40 |     var allowedRaycasts: [ARRaycastQuery.Target] {
    |                           `- error: cannot find type 'ARRaycastQuery' in scope
 41 |         get { self.focus.allowedRaycasts }
 42 |         set { self.focus.allowedRaycasts = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:76:23: error: cannot find type 'ARPlaneAnchor' in scope
 74 |     func focusEntity(
 75 |         _ focusEntity: FocusEntity,
 76 |         planeChanged: ARPlaneAnchor?,
    |                       `- error: cannot find type 'ARPlaneAnchor' in scope
 77 |         oldPlane: ARPlaneAnchor?
 78 |     )
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:77:19: error: cannot find type 'ARPlaneAnchor' in scope
 75 |         _ focusEntity: FocusEntity,
 76 |         planeChanged: ARPlaneAnchor?,
 77 |         oldPlane: ARPlaneAnchor?
    |                   `- error: cannot find type 'ARPlaneAnchor' in scope
 78 |     )
 79 | }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:64: error: cannot find type 'ARPlaneAnchor' in scope
 85 |         _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
 86 |     ) {}
 87 |     func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
    |                                                                `- error: cannot find type 'ARPlaneAnchor' in scope
 88 | }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:90: error: cannot find type 'ARPlaneAnchor' in scope
 85 |         _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
 86 |     ) {}
 87 |     func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
    |                                                                                          `- error: cannot find type 'ARPlaneAnchor' in scope
 88 | }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:38: error: cannot find type 'ARRaycastResult' in scope
144 |         case initializing
145 |         #if canImport(ARKit)
146 |         case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
    |                                      `- error: cannot find type 'ARRaycastResult' in scope
147 |         #endif
148 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:63: error: cannot find type 'ARCamera' in scope
144 |         case initializing
145 |         #if canImport(ARKit)
146 |         case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
    |                                                               `- error: cannot find type 'ARCamera' in scope
147 |         #endif
148 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:143:17: error: type 'FocusEntity.State' does not conform to protocol 'Equatable'
141 |
142 |     // MARK: - Types
143 |     public enum State: Equatable {
    |                 |- error: type 'FocusEntity.State' does not conform to protocol 'Equatable'
    |                 `- note: add stubs for conformance
144 |         case initializing
145 |         #if canImport(ARKit)
146 |         case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
    |                                      |                        `- note: associated value type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FocusEntity.State' to 'Equatable'
    |                                      `- note: associated value type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FocusEntity.State' to 'Equatable'
147 |         #endif
148 |     }
Swift.==:1:24: note: candidate would match if 'FocusEntity.State' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'FocusEntity.State' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'FocusEntity.State' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'FocusEntity.State' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FocusEntity.State' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'FocusEntity.State' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FocusEntity.State' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'FocusEntity.State' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FocusEntity.State' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'FocusEntity.State' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FocusEntity.State' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'FocusEntity.State' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FocusEntity.State' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'FocusEntity.State' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'FocusEntity.State' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'FocusEntity.State' conformed to 'SIMD'
3 |
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'FocusEntity.State' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'FocusEntity.State' conformed to 'AttributedStringProtocol'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'FocusEntity.State' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'FocusEntity.State' conformed to '_BridgedStoredNSError'
3 |
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'FocusEntity.State' conformed to '_CFObject'
1 | protocol _CFObject {
2 | public static func == (left: Self, right: Self) -> Bool}
  |                    `- note: candidate would match if 'FocusEntity.State' conformed to '_CFObject'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(FocusEntity.State, FocusEntity.State) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(FocusEntity.State, FocusEntity.State) -> Bool'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:163:54: error: cannot find type 'ARRaycastResult' in scope
161 |
162 |     #if canImport(ARKit)
163 |     fileprivate func entityOffPlane(_ raycastResult: ARRaycastResult, _ camera: ARCamera?) {
    |                                                      `- error: cannot find type 'ARRaycastResult' in scope
164 |         self.onPlane = false
165 |         displayOffPlane(for: raycastResult)
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:163:81: error: cannot find type 'ARCamera' in scope
161 |
162 |     #if canImport(ARKit)
163 |     fileprivate func entityOffPlane(_ raycastResult: ARRaycastResult, _ camera: ARCamera?) {
    |                                                                                 `- error: cannot find type 'ARCamera' in scope
164 |         self.onPlane = false
165 |         displayOffPlane(for: raycastResult)
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:186:60: error: cannot find type 'ARPlaneAnchor' in scope
184 |                     self.anchoring = AnchoringComponent(.world(transform: Transform.identity.matrix))
185 |                 }
186 |                 let planeAnchor = raycastResult.anchor as? ARPlaneAnchor
    |                                                            `- error: cannot find type 'ARPlaneAnchor' in scope
187 |                 if let planeAnchor = planeAnchor {
188 |                     entityOnPlane(for: raycastResult, planeAnchor: planeAnchor)
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:348:28: error: cannot find type 'ARRaycastResult' in scope
346 |     /// Called when a plane has been detected.
347 |     private func entityOnPlane(
348 |         for raycastResult: ARRaycastResult, planeAnchor: ARPlaneAnchor
    |                            `- error: cannot find type 'ARRaycastResult' in scope
349 |     ) {
350 |         self.onPlane = true
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:348:58: error: cannot find type 'ARPlaneAnchor' in scope
346 |     /// Called when a plane has been detected.
347 |     private func entityOnPlane(
348 |         for raycastResult: ARRaycastResult, planeAnchor: ARPlaneAnchor
    |                                                          `- error: cannot find type 'ARPlaneAnchor' in scope
349 |     ) {
350 |         self.onPlane = true
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:167:48: error: cannot find type 'ARCamera' in scope
165 |      for a distance 1.5 m distance (estimated distance when looking at the floor).
166 |      */
167 |     internal func scaleBasedOnDistance(camera: ARCamera?) -> Float {
    |                                                `- error: cannot find type 'ARCamera' in scope
168 |         guard let camera = camera else { return 1.0 }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:237:50: error: cannot find type 'ARPlaneAnchor' in scope
235 |
236 |     /// The current plane anchor if the focus square is on a plane.
237 |     public internal(set) var currentPlaneAnchor: ARPlaneAnchor? {
    |                                                  `- error: cannot find type 'ARPlaneAnchor' in scope
238 |         didSet {
239 |             if (oldValue == nil && self.currentPlaneAnchor == nil) || (currentPlaneAnchor == oldValue) {
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:234:36: error: cannot find type 'ARPlaneAnchor' in scope
232 |     #if canImport(ARKit)
233 |     /// The focus square's current alignment.
234 |     internal var currentAlignment: ARPlaneAnchor.Alignment?
    |                                    `- error: cannot find type 'ARPlaneAnchor' in scope
235 |
236 |     /// The current plane anchor if the focus square is on a plane.
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:242:39: error: incorrect argument labels in call (have '_:planeChanged:oldPlane:', expected '_:trackingUpdated:oldState:')
240 |                 return
241 |             }
242 |             self.delegate?.focusEntity(self, planeChanged: currentPlaneAnchor, oldPlane: oldValue)
    |                                       `- error: incorrect argument labels in call (have '_:planeChanged:oldPlane:', expected '_:trackingUpdated:oldState:')
243 |         }
244 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:247:48: error: cannot find type 'ARPlaneAnchor' in scope
245 |
246 |     /// The focus square's most recent alignments.
247 |     internal var recentFocusEntityAlignments: [ARPlaneAnchor.Alignment] = []
    |                                                `- error: cannot find type 'ARPlaneAnchor' in scope
248 |     /// Previously visited plane anchors.
249 |     internal var anchorsOfVisitedPlanes: Set<ARAnchor> = []
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:249:46: error: cannot find type 'ARAnchor' in scope
247 |     internal var recentFocusEntityAlignments: [ARPlaneAnchor.Alignment] = []
248 |     /// Previously visited plane anchors.
249 |     internal var anchorsOfVisitedPlanes: Set<ARAnchor> = []
    |                                              `- error: cannot find type 'ARAnchor' in scope
250 |     #endif
251 |     /// The focus square's most recent positions.
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:333:53: error: cannot find type 'ARRaycastResult' in scope
331 |     #if canImport(ARKit)
332 |     /// Called when a surface has been detected.
333 |     private func displayOffPlane(for raycastResult: ARRaycastResult) {
    |                                                     `- error: cannot find type 'ARRaycastResult' in scope
334 |         self.stateChangedSetup()
335 |         let position = raycastResult.worldTransform.translation
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:71:38: error: could not infer type of color literal
 69 |
 70 |     /// Default color of FocusEntity
 71 |     public static let defaultColor = #colorLiteral(red: 1, green: 0.8, blue: 0, alpha: 1)
    |                                      |- error: could not infer type of color literal
    |                                      `- note: import AppKit to use 'NSColor' as the default color literal type
 72 |     /// Default style of FocusEntity, using the FocusEntityComponent.Style.classic with the color FocusEntityComponent.defaultColor.
 73 |     public static let classic = FocusEntityComponent(style: .classic(color: FocusEntityComponent.defaultColor))
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:41:26: error: value of type 'FocusEntityComponent' has no member 'allowedRaycasts'
 39 |     #if canImport(ARKit)
 40 |     var allowedRaycasts: [ARRaycastQuery.Target] {
 41 |         get { self.focus.allowedRaycasts }
    |                          `- error: value of type 'FocusEntityComponent' has no member 'allowedRaycasts'
 42 |         set { self.focus.allowedRaycasts = newValue }
 43 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:42:26: error: value of type 'FocusEntityComponent' has no member 'allowedRaycasts'
 40 |     var allowedRaycasts: [ARRaycastQuery.Target] {
 41 |         get { self.focus.allowedRaycasts }
 42 |         set { self.focus.allowedRaycasts = newValue }
    |                          `- error: value of type 'FocusEntityComponent' has no member 'allowedRaycasts'
 43 |     }
 44 |     #endif
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:157:43: error: '_' can only appear in a pattern or on the left side of an assignment
155 |         case .initializing: return nil
156 |         #if canImport(ARKit)
157 |         case .tracking(let raycastResult, _): return raycastResult.worldTransform.translation
    |                                           `- error: '_' can only appear in a pattern or on the left side of an assignment
158 |         #endif
159 |         }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:313:34: error: cannot infer contextual base in reference to member 'none'
311 |         self.onPlane = false
312 |         #if canImport(ARKit)
313 |         self.currentAlignment = .none
    |                                  `- error: cannot infer contextual base in reference to member 'none'
314 |         #endif
315 |         stateChangedSetup()
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:33:50: error: cannot find type 'ARRaycastResult' in scope
 31 |     #if canImport(ARKit)
 32 |     /// Update the transform of the focus square to be aligned with the camera.
 33 |     internal func updateTransform(raycastResult: ARRaycastResult) {
    |                                                  `- error: cannot find type 'ARRaycastResult' in scope
 34 |         self.updatePosition()
 35 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:386:41: error: value of type 'ARView' has no member 'session'
384 |     public func updateFocusEntity(event: SceneEvents.Update? = nil) {
385 |         // Perform hit testing only when ARKit tracking is in a good state.
386 |         guard let camera = self.arView?.session.currentFrame?.camera,
    |                                         `- error: value of type 'ARView' has no member 'session'
387 |               case .normal = camera.trackingState,
388 |               let result = self.smartRaycast()
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:121:37: error: cannot find type 'ARRaycastResult' in scope
119 |     /// - Parameters:
120 |     /// - Returns: ARRaycastResult if an existing plane geometry or an estimated plane are found, otherwise nil.
121 |     internal func smartRaycast() -> ARRaycastResult? {
    |                                     `- error: cannot find type 'ARRaycastResult' in scope
122 |         // Perform the hit test.
123 |         guard let (camPos, camDir) = self.getCamVector() else {
BUILD FAILURE 6.3 macosSpm