Build Information
Failed to build FocusEntity, reference main (3e08b2), with Swift 6.4 for visionOS using Xcode 27.0 on 22 Sep 2026 13:10:17 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme FocusEntity -destination generic/platform=xrOSBuild Log
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:121:37: error: 'ARRaycastResult' is unavailable in visionOS
119 | /// - Parameters:
120 | /// - Returns: ARRaycastResult if an existing plane geometry or an estimated plane are found, otherwise nil.
121 | internal func smartRaycast() -> ARRaycastResult? {
| `- error: 'ARRaycastResult' is unavailable in visionOS
122 | // Perform the hit test.
123 | guard let (camPos, camDir) = self.getCamVector() else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:167:48: error: 'ARCamera' is unavailable in visionOS
165 | for a distance 1.5 m distance (estimated distance when looking at the floor).
166 | */
167 | internal func scaleBasedOnDistance(camera: ARCamera?) -> Float {
| `- error: 'ARCamera' is unavailable in visionOS
168 | guard let camera = camera else { return 1.0 }
169 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARCamera.h:24:12: note: 'ARCamera' has been explicitly marked unavailable here
22 | API_AVAILABLE(ios(11.0))
23 | NS_SWIFT_SENDABLE
24 | @interface ARCamera : NSObject <NSCopying>
| `- note: 'ARCamera' has been explicitly marked unavailable here
25 |
26 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:40:27: error: 'ARRaycastQuery' is unavailable in visionOS
38 | }
39 | #if canImport(ARKit)
40 | var allowedRaycasts: [ARRaycastQuery.Target] {
| `- error: 'ARRaycastQuery' is unavailable in visionOS
41 | get { self.focus.allowedRaycasts }
42 | set { self.focus.allowedRaycasts = newValue }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastQuery.h:56:12: note: 'ARRaycastQuery' has been explicitly marked unavailable here
54 | */
55 | API_AVAILABLE(ios(13.0))
56 | @interface ARRaycastQuery : NSObject
| `- note: 'ARRaycastQuery' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:76:23: error: 'ARPlaneAnchor' is unavailable in visionOS
74 | func focusEntity(
75 | _ focusEntity: FocusEntity,
76 | planeChanged: ARPlaneAnchor?,
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
77 | oldPlane: ARPlaneAnchor?
78 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:77:19: error: 'ARPlaneAnchor' is unavailable in visionOS
75 | _ focusEntity: FocusEntity,
76 | planeChanged: ARPlaneAnchor?,
77 | oldPlane: ARPlaneAnchor?
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
78 | )
79 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:64: error: 'ARPlaneAnchor' is unavailable in visionOS
85 | _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
86 | ) {}
87 | func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
88 | }
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:90: error: 'ARPlaneAnchor' is unavailable in visionOS
85 | _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
86 | ) {}
87 | func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
88 | }
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:95:31: error: 'ARView' is unavailable in visionOS
93 | open class FocusEntity: Entity, HasAnchoring, HasFocusEntity {
94 |
95 | internal weak var arView: ARView?
| `- error: 'ARView' is unavailable in visionOS
96 |
97 | /// For moving the FocusEntity to a whole new ARView
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:99:30: error: 'ARView' is unavailable in visionOS
97 | /// For moving the FocusEntity to a whole new ARView
98 | /// - Parameter view: The destination `ARView`
99 | public func moveTo(view: ARView) {
| `- error: 'ARView' is unavailable in visionOS
100 | let wasUpdating = self.isAutoUpdating
101 | self.setAutoUpdate(to: false)
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:38: error: 'ARRaycastResult' is unavailable in visionOS
144 | case initializing
145 | #if canImport(ARKit)
146 | case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
| `- error: 'ARRaycastResult' is unavailable in visionOS
147 | #endif
148 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:63: error: 'ARCamera' is unavailable in visionOS
144 | case initializing
145 | #if canImport(ARKit)
146 | case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
| `- error: 'ARCamera' is unavailable in visionOS
147 | #endif
148 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARCamera.h:24:12: note: 'ARCamera' has been explicitly marked unavailable here
22 | API_AVAILABLE(ios(11.0))
23 | NS_SWIFT_SENDABLE
24 | @interface ARCamera : NSObject <NSCopying>
| `- note: 'ARCamera' has been explicitly marked unavailable here
25 |
26 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:163:54: error: 'ARRaycastResult' is unavailable in visionOS
161 |
162 | #if canImport(ARKit)
163 | fileprivate func entityOffPlane(_ raycastResult: ARRaycastResult, _ camera: ARCamera?) {
| `- error: 'ARRaycastResult' is unavailable in visionOS
164 | self.onPlane = false
165 | displayOffPlane(for: raycastResult)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:163:81: error: 'ARCamera' is unavailable in visionOS
161 |
162 | #if canImport(ARKit)
163 | fileprivate func entityOffPlane(_ raycastResult: ARRaycastResult, _ camera: ARCamera?) {
| `- error: 'ARCamera' is unavailable in visionOS
164 | self.onPlane = false
165 | displayOffPlane(for: raycastResult)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARCamera.h:24:12: note: 'ARCamera' has been explicitly marked unavailable here
22 | API_AVAILABLE(ios(11.0))
23 | NS_SWIFT_SENDABLE
24 | @interface ARCamera : NSObject <NSCopying>
| `- note: 'ARCamera' has been explicitly marked unavailable here
25 |
26 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:186:60: error: 'ARPlaneAnchor' is unavailable in visionOS
184 | self.anchoring = AnchoringComponent(.world(transform: Transform.identity.matrix))
185 | }
186 | let planeAnchor = raycastResult.anchor as? ARPlaneAnchor
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
187 | if let planeAnchor = planeAnchor {
188 | entityOnPlane(for: raycastResult, planeAnchor: planeAnchor)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:186:49: error: 'anchor' is unavailable in visionOS
184 | self.anchoring = AnchoringComponent(.world(transform: Transform.identity.matrix))
185 | }
186 | let planeAnchor = raycastResult.anchor as? ARPlaneAnchor
| `- error: 'anchor' is unavailable in visionOS
187 | if let planeAnchor = planeAnchor {
188 | entityOnPlane(for: raycastResult, planeAnchor: planeAnchor)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:45:61: note: 'anchor' has been explicitly marked unavailable here
43 | an anchor may be provided if the ray hit an existing plane.
44 | */
45 | @property (nonatomic, readonly, strong, nullable) ARAnchor *anchor;
| `- note: 'anchor' has been explicitly marked unavailable here
46 |
47 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:234:36: error: 'ARPlaneAnchor' is unavailable in visionOS
232 | #if canImport(ARKit)
233 | /// The focus square's current alignment.
234 | internal var currentAlignment: ARPlaneAnchor.Alignment?
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
235 |
236 | /// The current plane anchor if the focus square is on a plane.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:237:50: error: 'ARPlaneAnchor' is unavailable in visionOS
235 |
236 | /// The current plane anchor if the focus square is on a plane.
237 | public internal(set) var currentPlaneAnchor: ARPlaneAnchor? {
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
238 | didSet {
239 | if (oldValue == nil && self.currentPlaneAnchor == nil) || (currentPlaneAnchor == oldValue) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:247:48: error: 'ARPlaneAnchor' is unavailable in visionOS
245 |
246 | /// The focus square's most recent alignments.
247 | internal var recentFocusEntityAlignments: [ARPlaneAnchor.Alignment] = []
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
248 | /// Previously visited plane anchors.
249 | internal var anchorsOfVisitedPlanes: Set<ARAnchor> = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:249:46: error: 'ARAnchor' is unavailable in visionOS
247 | internal var recentFocusEntityAlignments: [ARPlaneAnchor.Alignment] = []
248 | /// Previously visited plane anchors.
249 | internal var anchorsOfVisitedPlanes: Set<ARAnchor> = []
| `- error: 'ARAnchor' is unavailable in visionOS
250 | #endif
251 | /// The focus square's most recent positions.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARAnchor.h:57:12: note: 'ARAnchor' has been explicitly marked unavailable here
55 | API_AVAILABLE(ios(11.0))
56 | NS_SWIFT_SENDABLE
57 | @interface ARAnchor : NSObject <ARAnchorCopying,
| `- note: 'ARAnchor' has been explicitly marked unavailable here
58 | NSSecureCoding
59 | >
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:266:40: error: 'ARView' is unavailable in visionOS
264 | /// - arView: ARView containing the scene where the FocusEntity should be added.
265 | /// - style: Style of the ``FocusEntity``.
266 | public convenience init(on arView: ARView, style: FocusEntityComponent.Style) {
| `- error: 'ARView' is unavailable in visionOS
267 | self.init(on: arView, focus: FocusEntityComponent(style: style))
268 | }
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:274:37: error: 'ARView' is unavailable in visionOS
272 | /// - arView: ARView containing the scene where the FocusEntity should be added.
273 | /// - focus: Main component for the ``FocusEntity``
274 | public required init(on arView: ARView, focus: FocusEntityComponent) {
| `- error: 'ARView' is unavailable in visionOS
275 | self.arView = arView
276 | super.init()
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:333:53: error: 'ARRaycastResult' is unavailable in visionOS
331 | #if canImport(ARKit)
332 | /// Called when a surface has been detected.
333 | private func displayOffPlane(for raycastResult: ARRaycastResult) {
| `- error: 'ARRaycastResult' is unavailable in visionOS
334 | self.stateChangedSetup()
335 | let position = raycastResult.worldTransform.translation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:348:28: error: 'ARRaycastResult' is unavailable in visionOS
346 | /// Called when a plane has been detected.
347 | private func entityOnPlane(
348 | for raycastResult: ARRaycastResult, planeAnchor: ARPlaneAnchor
| `- error: 'ARRaycastResult' is unavailable in visionOS
349 | ) {
350 | self.onPlane = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:348:58: error: 'ARPlaneAnchor' is unavailable in visionOS
346 | /// Called when a plane has been detected.
347 | private func entityOnPlane(
348 | for raycastResult: ARRaycastResult, planeAnchor: ARPlaneAnchor
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
349 | ) {
350 | self.onPlane = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:15:9: warning: cannot use class 'UIColor' in a property declaration member of a type not marked '@_implementationOnly'; 'UIKit' was not imported by this file
13 |
14 | internal struct ClassicStyle {
15 | var color: Material.Color
| `- warning: cannot use class 'UIColor' in a property declaration member of a type not marked '@_implementationOnly'; 'UIKit' was not imported by this file
16 | }
17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:31:12: note: class declared here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(2.0), watchos(2.0)) NS_SWIFT_SENDABLE
31 | @interface UIColor : NSObject <NSSecureCoding, NSCopying>
| `- note: class declared here
32 |
33 | // Convenience methods for creating colors
/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
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 'UIColor' in an associated value of a public or '@usableFromInline' enum; 'UIKit' 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 'UIColor' in an associated value of a public or '@usableFromInline' enum; 'UIKit' 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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:31:12: note: class declared here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(2.0), watchos(2.0)) NS_SWIFT_SENDABLE
31 | @interface UIColor : NSObject <NSSecureCoding, NSCopying>
| `- note: class declared here
32 |
33 | // Convenience methods for creating colors
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:87:34: error: 'ARRaycastQuery' is unavailable in visionOS
85 | internal var segments: [FocusEntity.Segment] = []
86 | #if !os(macOS)
87 | public var allowedRaycasts: [ARRaycastQuery.Target] = [.existingPlaneGeometry, .estimatedPlane]
| `- error: 'ARRaycastQuery' is unavailable in visionOS
88 | #endif
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastQuery.h:56:12: note: 'ARRaycastQuery' has been explicitly marked unavailable here
54 | */
55 | API_AVAILABLE(ios(13.0))
56 | @interface ARRaycastQuery : NSObject
| `- note: 'ARRaycastQuery' has been explicitly marked unavailable here
57 |
58 | /**
SwiftCompile normal arm64 (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:87:61: error: 'existingPlaneGeometry' is unavailable in visionOS
85 | internal var segments: [FocusEntity.Segment] = []
86 | #if !os(macOS)
87 | public var allowedRaycasts: [ARRaycastQuery.Target] = [.existingPlaneGeometry, .estimatedPlane]
| `- error: 'existingPlaneGeometry' is unavailable in visionOS
88 | #endif
89 |
ARKitCore.ARRaycastQuery.Target.existingPlaneGeometry:4:10: note: 'existingPlaneGeometry' has been explicitly marked unavailable here
2 | enum Target {
3 | @available(visionOS, unavailable)
4 | case existingPlaneGeometry }
| `- note: 'existingPlaneGeometry' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:87:85: error: 'estimatedPlane' is unavailable in visionOS
85 | internal var segments: [FocusEntity.Segment] = []
86 | #if !os(macOS)
87 | public var allowedRaycasts: [ARRaycastQuery.Target] = [.existingPlaneGeometry, .estimatedPlane]
| `- error: 'estimatedPlane' is unavailable in visionOS
88 | #endif
89 |
ARKitCore.ARRaycastQuery.Target.estimatedPlane:4:10: note: 'estimatedPlane' has been explicitly marked unavailable here
2 | enum Target {
3 | @available(visionOS, unavailable)
4 | case estimatedPlane }
| `- note: 'estimatedPlane' has been explicitly marked unavailable here
5 | }
6 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Classic.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Colored.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/float4x4+Extension.swift -target arm64-apple-xros1.0 -module-can-import-version ARKit 781.0.5.0 1.0.0 -module-can-import-version RealityKit 453.7.5 0 -disable-cross-import-overlay-search -swift-module-cross-import RealityKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/RealityKit.framework/Modules/RealityKit.swiftcrossimport/ComputeGraph.swiftoverlay -swift-module-cross-import RealityKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/RealityKit.framework/Modules/RealityKit.swiftcrossimport/SwiftUI.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name FocusEntity -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity.abi.json
SwiftCompile normal arm64 Compiling\ FocusEntityComponent.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift (in target 'FocusEntity' from project 'FocusEntity')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FocusEntityComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:15:9: warning: cannot use class 'UIColor' in a property declaration member of a type not marked '@_implementationOnly'; 'UIKit' was not imported by this file
13 |
14 | internal struct ClassicStyle {
15 | var color: Material.Color
| `- warning: cannot use class 'UIColor' in a property declaration member of a type not marked '@_implementationOnly'; 'UIKit' was not imported by this file
16 | }
17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:31:12: note: class declared here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(2.0), watchos(2.0)) NS_SWIFT_SENDABLE
31 | @interface UIColor : NSObject <NSSecureCoding, NSCopying>
| `- note: class declared here
32 |
33 | // Convenience methods for creating colors
/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
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 'UIColor' in an associated value of a public or '@usableFromInline' enum; 'UIKit' 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 'UIColor' in an associated value of a public or '@usableFromInline' enum; 'UIKit' 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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:31:12: note: class declared here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(2.0), watchos(2.0)) NS_SWIFT_SENDABLE
31 | @interface UIColor : NSObject <NSSecureCoding, NSCopying>
| `- note: class declared here
32 |
33 | // Convenience methods for creating colors
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:87:34: error: 'ARRaycastQuery' is unavailable in visionOS
85 | internal var segments: [FocusEntity.Segment] = []
86 | #if !os(macOS)
87 | public var allowedRaycasts: [ARRaycastQuery.Target] = [.existingPlaneGeometry, .estimatedPlane]
| `- error: 'ARRaycastQuery' is unavailable in visionOS
88 | #endif
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastQuery.h:56:12: note: 'ARRaycastQuery' has been explicitly marked unavailable here
54 | */
55 | API_AVAILABLE(ios(13.0))
56 | @interface ARRaycastQuery : NSObject
| `- note: 'ARRaycastQuery' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:87:61: error: 'existingPlaneGeometry' is unavailable in visionOS
85 | internal var segments: [FocusEntity.Segment] = []
86 | #if !os(macOS)
87 | public var allowedRaycasts: [ARRaycastQuery.Target] = [.existingPlaneGeometry, .estimatedPlane]
| `- error: 'existingPlaneGeometry' is unavailable in visionOS
88 | #endif
89 |
ARKitCore.ARRaycastQuery.Target.existingPlaneGeometry:4:10: note: 'existingPlaneGeometry' has been explicitly marked unavailable here
2 | enum Target {
3 | @available(visionOS, unavailable)
4 | case existingPlaneGeometry }
| `- note: 'existingPlaneGeometry' has been explicitly marked unavailable here
5 | }
6 |
SwiftCompile normal arm64 Compiling\ float4x4+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/float4x4+Extension.swift (in target 'FocusEntity' from project 'FocusEntity')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/float4x4+Extension.swift (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile float4x4+Extension.swift
SwiftCompile normal arm64 Compiling\ FocusEntity+Segment.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift (in target 'FocusEntity' from project 'FocusEntity')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FocusEntity+Segment.swift
SwiftCompile normal arm64 Compiling\ FocusEntity+Colored.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Colored.swift (in target 'FocusEntity' from project 'FocusEntity')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Colored.swift (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FocusEntity+Colored.swift
SwiftCompile normal arm64 Compiling\ FocusEntity+Alignment.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift (in target 'FocusEntity' from project 'FocusEntity')
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:33:50: error: 'ARRaycastResult' is unavailable in visionOS
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: 'ARRaycastResult' is unavailable in visionOS
34 | self.updatePosition()
35 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:41:54: error: 'ARRaycastResult' is unavailable in visionOS
39 | }
40 |
41 | internal func updateAlignment(for raycastResult: ARRaycastResult) {
| `- error: 'ARRaycastResult' is unavailable in visionOS
42 |
43 | var targetAlignment = raycastResult.worldTransform.orientation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:121:37: error: 'ARRaycastResult' is unavailable in visionOS
119 | /// - Parameters:
120 | /// - Returns: ARRaycastResult if an existing plane geometry or an estimated plane are found, otherwise nil.
121 | internal func smartRaycast() -> ARRaycastResult? {
| `- error: 'ARRaycastResult' is unavailable in visionOS
122 | // Perform the hit test.
123 | guard let (camPos, camDir) = self.getCamVector() else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:167:48: error: 'ARCamera' is unavailable in visionOS
165 | for a distance 1.5 m distance (estimated distance when looking at the floor).
166 | */
167 | internal func scaleBasedOnDistance(camera: ARCamera?) -> Float {
| `- error: 'ARCamera' is unavailable in visionOS
168 | guard let camera = camera else { return 1.0 }
169 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARCamera.h:24:12: note: 'ARCamera' has been explicitly marked unavailable here
22 | API_AVAILABLE(ios(11.0))
23 | NS_SWIFT_SENDABLE
24 | @interface ARCamera : NSObject <NSCopying>
| `- note: 'ARCamera' has been explicitly marked unavailable here
25 |
26 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:43:45: error: 'worldTransform' is unavailable in visionOS
41 | internal func updateAlignment(for raycastResult: ARRaycastResult) {
42 |
43 | var targetAlignment = raycastResult.worldTransform.orientation
| `- error: 'worldTransform' is unavailable in visionOS
44 |
45 | // Determine current alignment
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:27:47: note: 'worldTransform' has been explicitly marked unavailable here
25 | The transformation matrix that defines the raycast result's rotation, translation and scale relative to the world.
26 | */
27 | @property (nonatomic, readonly) simd_float4x4 worldTransform;
| `- note: 'worldTransform' has been explicitly marked unavailable here
28 |
29 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:46:24: error: 'ARPlaneAnchor' is unavailable in visionOS
44 |
45 | // Determine current alignment
46 | var alignment: ARPlaneAnchor.Alignment?
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
47 | if let planeAnchor = raycastResult.anchor as? ARPlaneAnchor {
48 | alignment = planeAnchor.alignment
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:47:55: error: 'ARPlaneAnchor' is unavailable in visionOS
45 | // Determine current alignment
46 | var alignment: ARPlaneAnchor.Alignment?
47 | if let planeAnchor = raycastResult.anchor as? ARPlaneAnchor {
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
48 | alignment = planeAnchor.alignment
49 | // Catching case when looking at ceiling
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:47:44: error: 'anchor' is unavailable in visionOS
45 | // Determine current alignment
46 | var alignment: ARPlaneAnchor.Alignment?
47 | if let planeAnchor = raycastResult.anchor as? ARPlaneAnchor {
| `- error: 'anchor' is unavailable in visionOS
48 | alignment = planeAnchor.alignment
49 | // Catching case when looking at ceiling
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:45:61: note: 'anchor' has been explicitly marked unavailable here
43 | an anchor may be provided if the ray hit an existing plane.
44 | */
45 | @property (nonatomic, readonly, strong, nullable) ARAnchor *anchor;
| `- note: 'anchor' has been explicitly marked unavailable here
46 |
47 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:48:37: error: 'alignment' is unavailable in visionOS
46 | var alignment: ARPlaneAnchor.Alignment?
47 | if let planeAnchor = raycastResult.anchor as? ARPlaneAnchor {
48 | alignment = planeAnchor.alignment
| `- error: 'alignment' is unavailable in visionOS
49 | // Catching case when looking at ceiling
50 | if targetAlignment.act([0, 1, 0]).y < -0.9 {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:100:56: note: 'alignment' has been explicitly marked unavailable here
98 | The alignment of the plane.
99 | */
100 | @property (nonatomic, readonly) ARPlaneAnchorAlignment alignment;
| `- note: 'alignment' has been explicitly marked unavailable here
101 |
102 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:53:33: error: 'targetAlignment' is unavailable in visionOS
51 | targetAlignment *= simd_quatf(angle: .pi, axis: [0, 1, 0])
52 | }
53 | } else if raycastResult.targetAlignment == .horizontal {
| `- error: 'targetAlignment' is unavailable in visionOS
54 | alignment = .horizontal
55 | } else if raycastResult.targetAlignment == .vertical {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:37:66: note: 'targetAlignment' has been explicitly marked unavailable here
35 | Alignment of the target.
36 | */
37 | @property (nonatomic, readonly, assign) ARRaycastTargetAlignment targetAlignment;
| `- note: 'targetAlignment' has been explicitly marked unavailable here
38 |
39 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:53:53: error: 'horizontal' is unavailable in visionOS
51 | targetAlignment *= simd_quatf(angle: .pi, axis: [0, 1, 0])
52 | }
53 | } else if raycastResult.targetAlignment == .horizontal {
| `- error: 'horizontal' is unavailable in visionOS
54 | alignment = .horizontal
55 | } else if raycastResult.targetAlignment == .vertical {
ARKitCore.ARRaycastQuery.TargetAlignment.horizontal:4:10: note: 'horizontal' has been explicitly marked unavailable here
2 | enum TargetAlignment {
3 | @available(visionOS, unavailable)
4 | case horizontal }
| `- note: 'horizontal' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:54:26: error: 'horizontal' is unavailable in visionOS
52 | }
53 | } else if raycastResult.targetAlignment == .horizontal {
54 | alignment = .horizontal
| `- error: 'horizontal' is unavailable in visionOS
55 | } else if raycastResult.targetAlignment == .vertical {
56 | alignment = .vertical
ARKitCore.ARPlaneAnchor.Alignment.horizontal:4:10: note: 'horizontal' has been explicitly marked unavailable here
2 | enum Alignment {
3 | @available(visionOS, unavailable)
4 | case horizontal }
| `- note: 'horizontal' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:55:33: error: 'targetAlignment' is unavailable in visionOS
53 | } else if raycastResult.targetAlignment == .horizontal {
54 | alignment = .horizontal
55 | } else if raycastResult.targetAlignment == .vertical {
| `- error: 'targetAlignment' is unavailable in visionOS
56 | alignment = .vertical
57 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:37:66: note: 'targetAlignment' has been explicitly marked unavailable here
35 | Alignment of the target.
36 | */
37 | @property (nonatomic, readonly, assign) ARRaycastTargetAlignment targetAlignment;
| `- note: 'targetAlignment' has been explicitly marked unavailable here
38 |
39 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:55:53: error: 'vertical' is unavailable in visionOS
53 | } else if raycastResult.targetAlignment == .horizontal {
54 | alignment = .horizontal
55 | } else if raycastResult.targetAlignment == .vertical {
| `- error: 'vertical' is unavailable in visionOS
56 | alignment = .vertical
57 | }
ARKitCore.ARRaycastQuery.TargetAlignment.vertical:4:10: note: 'vertical' has been explicitly marked unavailable here
2 | enum TargetAlignment {
3 | @available(visionOS, unavailable)
4 | case vertical }
| `- note: 'vertical' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:56:26: error: 'vertical' is unavailable in visionOS
54 | alignment = .horizontal
55 | } else if raycastResult.targetAlignment == .vertical {
56 | alignment = .vertical
| `- error: 'vertical' is unavailable in visionOS
57 | }
58 |
ARKitCore.ARPlaneAnchor.Alignment.vertical:5:10: note: 'vertical' has been explicitly marked unavailable here
3 | @available(iOS 11.3, *)
4 | @available(visionOS, unavailable)
5 | case vertical }
| `- note: 'vertical' has been explicitly marked unavailable here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:68:77: error: 'horizontal' is unavailable in visionOS
66 |
67 | let alignCount = self.recentFocusEntityAlignments.count
68 | let horizontalHistory = recentFocusEntityAlignments.filter({ $0 == .horizontal }).count
| `- error: 'horizontal' is unavailable in visionOS
69 | let verticalHistory = recentFocusEntityAlignments.filter({ $0 == .vertical }).count
70 |
ARKitCore.ARPlaneAnchor.Alignment.horizontal:4:10: note: 'horizontal' has been explicitly marked unavailable here
2 | enum Alignment {
3 | @available(visionOS, unavailable)
4 | case horizontal }
| `- note: 'horizontal' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:69:75: error: 'vertical' is unavailable in visionOS
67 | let alignCount = self.recentFocusEntityAlignments.count
68 | let horizontalHistory = recentFocusEntityAlignments.filter({ $0 == .horizontal }).count
69 | let verticalHistory = recentFocusEntityAlignments.filter({ $0 == .vertical }).count
| `- error: 'vertical' is unavailable in visionOS
70 |
71 | // Alignment is same as most of the history - change it
ARKitCore.ARPlaneAnchor.Alignment.vertical:5:10: note: 'vertical' has been explicitly marked unavailable here
3 | @available(iOS 11.3, *)
4 | @available(visionOS, unavailable)
5 | case vertical }
| `- note: 'vertical' has been explicitly marked unavailable here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:72:26: error: 'horizontal' is unavailable in visionOS
70 |
71 | // Alignment is same as most of the history - change it
72 | if alignment == .horizontal && horizontalHistory > alignCount * 3/4 ||
| `- error: 'horizontal' is unavailable in visionOS
73 | alignment == .vertical && verticalHistory > alignCount / 2 ||
74 | raycastResult.anchor is ARPlaneAnchor {
ARKitCore.ARPlaneAnchor.Alignment.horizontal:4:10: note: 'horizontal' has been explicitly marked unavailable here
2 | enum Alignment {
3 | @available(visionOS, unavailable)
4 | case horizontal }
| `- note: 'horizontal' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:73:27: error: 'vertical' is unavailable in visionOS
71 | // Alignment is same as most of the history - change it
72 | if alignment == .horizontal && horizontalHistory > alignCount * 3/4 ||
73 | alignment == .vertical && verticalHistory > alignCount / 2 ||
| `- error: 'vertical' is unavailable in visionOS
74 | raycastResult.anchor is ARPlaneAnchor {
75 | if alignment != self.currentAlignment ||
ARKitCore.ARPlaneAnchor.Alignment.vertical:5:10: note: 'vertical' has been explicitly marked unavailable here
3 | @available(iOS 11.3, *)
4 | @available(visionOS, unavailable)
5 | case vertical }
| `- note: 'vertical' has been explicitly marked unavailable here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:74:27: error: 'anchor' is unavailable in visionOS
72 | if alignment == .horizontal && horizontalHistory > alignCount * 3/4 ||
73 | alignment == .vertical && verticalHistory > alignCount / 2 ||
74 | raycastResult.anchor is ARPlaneAnchor {
| `- error: 'anchor' is unavailable in visionOS
75 | if alignment != self.currentAlignment ||
76 | (alignment == .vertical && self.shouldContinueAlignAnim(to: targetAlignment)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:45:61: note: 'anchor' has been explicitly marked unavailable here
43 | an anchor may be provided if the ray hit an existing plane.
44 | */
45 | @property (nonatomic, readonly, strong, nullable) ARAnchor *anchor;
| `- note: 'anchor' has been explicitly marked unavailable here
46 |
47 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:76:32: error: 'vertical' is unavailable in visionOS
74 | raycastResult.anchor is ARPlaneAnchor {
75 | if alignment != self.currentAlignment ||
76 | (alignment == .vertical && self.shouldContinueAlignAnim(to: targetAlignment)
| `- error: 'vertical' is unavailable in visionOS
77 | ) {
78 | isChangingAlignment = true
ARKitCore.ARPlaneAnchor.Alignment.vertical:5:10: note: 'vertical' has been explicitly marked unavailable here
3 | @available(iOS 11.3, *)
4 | @available(visionOS, unavailable)
5 | case vertical }
| `- note: 'vertical' has been explicitly marked unavailable here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:127:27: error: 'ARRaycastQuery' is unavailable in visionOS
125 | }
126 | for target in self.allowedRaycasts {
127 | let rcQuery = ARRaycastQuery(
| `- error: 'ARRaycastQuery' is unavailable in visionOS
128 | origin: camPos, direction: camDir,
129 | allowing: target, alignment: .any
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastQuery.h:56:12: note: 'ARRaycastQuery' has been explicitly marked unavailable here
54 | */
55 | API_AVAILABLE(ios(13.0))
56 | @interface ARRaycastQuery : NSObject
| `- note: 'ARRaycastQuery' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:127:27: error: 'init(origin:direction:allowing:alignment:)' is unavailable in visionOS
125 | }
126 | for target in self.allowedRaycasts {
127 | let rcQuery = ARRaycastQuery(
| `- error: 'init(origin:direction:allowing:alignment:)' is unavailable in visionOS
128 | origin: camPos, direction: camDir,
129 | allowing: target, alignment: .any
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastQuery.h:89:1: note: 'init(origin:direction:allowing:alignment:)' has been explicitly marked unavailable here
87 | - Returns: An initialized raycast query.
88 | */
89 | - (instancetype)initWithOrigin:(simd_float3)origin
| `- note: 'init(origin:direction:allowing:alignment:)' has been explicitly marked unavailable here
90 | direction:(simd_float3)direction
91 | allowingTarget:(ARRaycastTarget)target
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:129:47: error: 'any' is unavailable in visionOS
127 | let rcQuery = ARRaycastQuery(
128 | origin: camPos, direction: camDir,
129 | allowing: target, alignment: .any
| `- error: 'any' is unavailable in visionOS
130 | )
131 | let results = self.arView?.session.raycast(rcQuery) ?? []
ARKitCore.ARRaycastQuery.TargetAlignment.any:4:10: note: 'any' has been explicitly marked unavailable here
2 | enum TargetAlignment {
3 | @available(visionOS, unavailable)
4 | case any }
| `- note: 'any' has been explicitly marked unavailable here
5 | }
6 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FocusEntity+Alignment.swift
SwiftCompile normal arm64 Compiling\ FocusEntity+Classic.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Classic.swift (in target 'FocusEntity' from project 'FocusEntity')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Classic.swift (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FocusEntity+Classic.swift
SwiftCompile normal arm64 Compiling\ FocusEntity.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift (in target 'FocusEntity' from project 'FocusEntity')
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:40:27: error: 'ARRaycastQuery' is unavailable in visionOS
38 | }
39 | #if canImport(ARKit)
40 | var allowedRaycasts: [ARRaycastQuery.Target] {
| `- error: 'ARRaycastQuery' is unavailable in visionOS
41 | get { self.focus.allowedRaycasts }
42 | set { self.focus.allowedRaycasts = newValue }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastQuery.h:56:12: note: 'ARRaycastQuery' has been explicitly marked unavailable here
54 | */
55 | API_AVAILABLE(ios(13.0))
56 | @interface ARRaycastQuery : NSObject
| `- note: 'ARRaycastQuery' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:76:23: error: 'ARPlaneAnchor' is unavailable in visionOS
74 | func focusEntity(
75 | _ focusEntity: FocusEntity,
76 | planeChanged: ARPlaneAnchor?,
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
77 | oldPlane: ARPlaneAnchor?
78 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:77:19: error: 'ARPlaneAnchor' is unavailable in visionOS
75 | _ focusEntity: FocusEntity,
76 | planeChanged: ARPlaneAnchor?,
77 | oldPlane: ARPlaneAnchor?
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
78 | )
79 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:64: error: 'ARPlaneAnchor' is unavailable in visionOS
85 | _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
86 | ) {}
87 | func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
88 | }
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:90: error: 'ARPlaneAnchor' is unavailable in visionOS
85 | _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
86 | ) {}
87 | func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
88 | }
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:95:31: error: 'ARView' is unavailable in visionOS
93 | open class FocusEntity: Entity, HasAnchoring, HasFocusEntity {
94 |
95 | internal weak var arView: ARView?
| `- error: 'ARView' is unavailable in visionOS
96 |
97 | /// For moving the FocusEntity to a whole new ARView
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:99:30: error: 'ARView' is unavailable in visionOS
97 | /// For moving the FocusEntity to a whole new ARView
98 | /// - Parameter view: The destination `ARView`
99 | public func moveTo(view: ARView) {
| `- error: 'ARView' is unavailable in visionOS
100 | let wasUpdating = self.isAutoUpdating
101 | self.setAutoUpdate(to: false)
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:38: error: 'ARRaycastResult' is unavailable in visionOS
144 | case initializing
145 | #if canImport(ARKit)
146 | case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
| `- error: 'ARRaycastResult' is unavailable in visionOS
147 | #endif
148 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:63: error: 'ARCamera' is unavailable in visionOS
144 | case initializing
145 | #if canImport(ARKit)
146 | case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
| `- error: 'ARCamera' is unavailable in visionOS
147 | #endif
148 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARCamera.h:24:12: note: 'ARCamera' has been explicitly marked unavailable here
22 | API_AVAILABLE(ios(11.0))
23 | NS_SWIFT_SENDABLE
24 | @interface ARCamera : NSObject <NSCopying>
| `- note: 'ARCamera' has been explicitly marked unavailable here
25 |
26 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:163:54: error: 'ARRaycastResult' is unavailable in visionOS
161 |
162 | #if canImport(ARKit)
163 | fileprivate func entityOffPlane(_ raycastResult: ARRaycastResult, _ camera: ARCamera?) {
| `- error: 'ARRaycastResult' is unavailable in visionOS
164 | self.onPlane = false
165 | displayOffPlane(for: raycastResult)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:163:81: error: 'ARCamera' is unavailable in visionOS
161 |
162 | #if canImport(ARKit)
163 | fileprivate func entityOffPlane(_ raycastResult: ARRaycastResult, _ camera: ARCamera?) {
| `- error: 'ARCamera' is unavailable in visionOS
164 | self.onPlane = false
165 | displayOffPlane(for: raycastResult)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARCamera.h:24:12: note: 'ARCamera' has been explicitly marked unavailable here
22 | API_AVAILABLE(ios(11.0))
23 | NS_SWIFT_SENDABLE
24 | @interface ARCamera : NSObject <NSCopying>
| `- note: 'ARCamera' has been explicitly marked unavailable here
25 |
26 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:186:60: error: 'ARPlaneAnchor' is unavailable in visionOS
184 | self.anchoring = AnchoringComponent(.world(transform: Transform.identity.matrix))
185 | }
186 | let planeAnchor = raycastResult.anchor as? ARPlaneAnchor
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
187 | if let planeAnchor = planeAnchor {
188 | entityOnPlane(for: raycastResult, planeAnchor: planeAnchor)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:186:49: error: 'anchor' is unavailable in visionOS
184 | self.anchoring = AnchoringComponent(.world(transform: Transform.identity.matrix))
185 | }
186 | let planeAnchor = raycastResult.anchor as? ARPlaneAnchor
| `- error: 'anchor' is unavailable in visionOS
187 | if let planeAnchor = planeAnchor {
188 | entityOnPlane(for: raycastResult, planeAnchor: planeAnchor)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:45:61: note: 'anchor' has been explicitly marked unavailable here
43 | an anchor may be provided if the ray hit an existing plane.
44 | */
45 | @property (nonatomic, readonly, strong, nullable) ARAnchor *anchor;
| `- note: 'anchor' has been explicitly marked unavailable here
46 |
47 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:234:36: error: 'ARPlaneAnchor' is unavailable in visionOS
232 | #if canImport(ARKit)
233 | /// The focus square's current alignment.
234 | internal var currentAlignment: ARPlaneAnchor.Alignment?
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
235 |
236 | /// The current plane anchor if the focus square is on a plane.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:237:50: error: 'ARPlaneAnchor' is unavailable in visionOS
235 |
236 | /// The current plane anchor if the focus square is on a plane.
237 | public internal(set) var currentPlaneAnchor: ARPlaneAnchor? {
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
238 | didSet {
239 | if (oldValue == nil && self.currentPlaneAnchor == nil) || (currentPlaneAnchor == oldValue) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:247:48: error: 'ARPlaneAnchor' is unavailable in visionOS
245 |
246 | /// The focus square's most recent alignments.
247 | internal var recentFocusEntityAlignments: [ARPlaneAnchor.Alignment] = []
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
248 | /// Previously visited plane anchors.
249 | internal var anchorsOfVisitedPlanes: Set<ARAnchor> = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:249:46: error: 'ARAnchor' is unavailable in visionOS
247 | internal var recentFocusEntityAlignments: [ARPlaneAnchor.Alignment] = []
248 | /// Previously visited plane anchors.
249 | internal var anchorsOfVisitedPlanes: Set<ARAnchor> = []
| `- error: 'ARAnchor' is unavailable in visionOS
250 | #endif
251 | /// The focus square's most recent positions.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARAnchor.h:57:12: note: 'ARAnchor' has been explicitly marked unavailable here
55 | API_AVAILABLE(ios(11.0))
56 | NS_SWIFT_SENDABLE
57 | @interface ARAnchor : NSObject <ARAnchorCopying,
| `- note: 'ARAnchor' has been explicitly marked unavailable here
58 | NSSecureCoding
59 | >
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:266:40: error: 'ARView' is unavailable in visionOS
264 | /// - arView: ARView containing the scene where the FocusEntity should be added.
265 | /// - style: Style of the ``FocusEntity``.
266 | public convenience init(on arView: ARView, style: FocusEntityComponent.Style) {
| `- error: 'ARView' is unavailable in visionOS
267 | self.init(on: arView, focus: FocusEntityComponent(style: style))
268 | }
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:274:37: error: 'ARView' is unavailable in visionOS
272 | /// - arView: ARView containing the scene where the FocusEntity should be added.
273 | /// - focus: Main component for the ``FocusEntity``
274 | public required init(on arView: ARView, focus: FocusEntityComponent) {
| `- error: 'ARView' is unavailable in visionOS
275 | self.arView = arView
276 | super.init()
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:333:53: error: 'ARRaycastResult' is unavailable in visionOS
331 | #if canImport(ARKit)
332 | /// Called when a surface has been detected.
333 | private func displayOffPlane(for raycastResult: ARRaycastResult) {
| `- error: 'ARRaycastResult' is unavailable in visionOS
334 | self.stateChangedSetup()
335 | let position = raycastResult.worldTransform.translation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:348:28: error: 'ARRaycastResult' is unavailable in visionOS
346 | /// Called when a plane has been detected.
347 | private func entityOnPlane(
348 | for raycastResult: ARRaycastResult, planeAnchor: ARPlaneAnchor
| `- error: 'ARRaycastResult' is unavailable in visionOS
349 | ) {
350 | self.onPlane = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:348:58: error: 'ARPlaneAnchor' is unavailable in visionOS
346 | /// Called when a plane has been detected.
347 | private func entityOnPlane(
348 | for raycastResult: ARRaycastResult, planeAnchor: ARPlaneAnchor
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
349 | ) {
350 | self.onPlane = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/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
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:103:20: error: 'addAnchor' is unavailable in visionOS
101 | self.setAutoUpdate(to: false)
102 | self.arView = view
103 | view.scene.addAnchor(self)
| `- error: 'addAnchor' is unavailable in visionOS
104 | if wasUpdating {
105 | self.setAutoUpdate(to: true)
RealityKit.Scene.addAnchor:3:42: note: 'addAnchor' has been explicitly marked unavailable here
1 | class Scene {
2 | @available(visionOS, unavailable)
3 | @MainActor @preconcurrency public func addAnchor(_ anchor: any HasAnchoring)}
| `- note: 'addAnchor' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:157:68: error: 'worldTransform' is unavailable in visionOS
155 | case .initializing: return nil
156 | #if canImport(ARKit)
157 | case .tracking(let raycastResult, _): return raycastResult.worldTransform.translation
| `- error: 'worldTransform' is unavailable in visionOS
158 | #endif
159 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:27:47: note: 'worldTransform' has been explicitly marked unavailable here
25 | The transformation matrix that defines the raycast result's rotation, translation and scale relative to the world.
26 | */
27 | @property (nonatomic, readonly) simd_float4x4 worldTransform;
| `- note: 'worldTransform' has been explicitly marked unavailable here
28 |
29 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:282:38: error: 'camera' is unavailable in visionOS
280 | self.addChild(self.positioningEntity)
281 |
282 | cameraAnchor = AnchorEntity(.camera)
| `- error: 'camera' is unavailable in visionOS
283 | arView.scene.addAnchor(cameraAnchor)
284 |
RealityKit.AnchoringComponent.Target.camera:4:10: note: 'camera' has been explicitly marked unavailable here
2 | enum Target {
3 | @available(visionOS, unavailable)
4 | case camera }
| `- note: 'camera' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:283:22: error: 'addAnchor' is unavailable in visionOS
281 |
282 | cameraAnchor = AnchorEntity(.camera)
283 | arView.scene.addAnchor(cameraAnchor)
| `- error: 'addAnchor' is unavailable in visionOS
284 |
285 | // Start the focus square as a billboard.
RealityKit.Scene.addAnchor:3:42: note: 'addAnchor' has been explicitly marked unavailable here
1 | class Scene {
2 | @available(visionOS, unavailable)
3 | @MainActor @preconcurrency public func addAnchor(_ anchor: any HasAnchoring)}
| `- note: 'addAnchor' has been explicitly marked unavailable here
4 |
SwiftCompile normal arm64 (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-22 09:10:06.128 xcodebuild[692:4291] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'FocusEntity' from project 'FocusEntity')
SwiftEmitModule normal arm64 Emitting\ module\ for\ FocusEntity (in target 'FocusEntity' from project 'FocusEntity')
Building workspace FocusEntity with scheme FocusEntity
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
FocusEntity: /Users/admin/builder/spi-builder-workspace
resolved source packages: FocusEntity
2026-09-22 09:10:14.129 xcodebuild[811:4747] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "FocusEntity",
"name" : "FocusEntity",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "FocusEntity",
"targets" : [
"FocusEntity"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "FocusEntity",
"module_type" : "SwiftTarget",
"name" : "FocusEntity",
"path" : "Sources/FocusEntity",
"product_memberships" : [
"FocusEntity"
],
"sources" : [
"FocusEntity+Alignment.swift",
"FocusEntity+Classic.swift",
"FocusEntity+Colored.swift",
"FocusEntity+Segment.swift",
"FocusEntity.swift",
"FocusEntityComponent.swift",
"float4x4+Extension.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "FocusEntity",
"schemes" : [
"FocusEntity"
]
}
}
2026-09-22 09:10:15.355 xcodebuild[819:4812] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme FocusEntity -destination generic/platform=xrOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme FocusEntity -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
FocusEntity: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'FocusEntity-product' in project 'FocusEntity'
➜ Explicit dependency on target 'FocusEntity' in project 'FocusEntity'
Target 'FocusEntity' in project 'FocusEntity' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
SwiftDriver FocusEntity normal arm64 com.apple.xcode.tools.swift.compiler (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name FocusEntity -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ FocusEntity.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift (in target 'FocusEntity' from project 'FocusEntity')
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:40:27: error: 'ARRaycastQuery' is unavailable in visionOS
38 | }
39 | #if canImport(ARKit)
40 | var allowedRaycasts: [ARRaycastQuery.Target] {
| `- error: 'ARRaycastQuery' is unavailable in visionOS
41 | get { self.focus.allowedRaycasts }
42 | set { self.focus.allowedRaycasts = newValue }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastQuery.h:56:12: note: 'ARRaycastQuery' has been explicitly marked unavailable here
54 | */
55 | API_AVAILABLE(ios(13.0))
56 | @interface ARRaycastQuery : NSObject
| `- note: 'ARRaycastQuery' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:76:23: error: 'ARPlaneAnchor' is unavailable in visionOS
74 | func focusEntity(
75 | _ focusEntity: FocusEntity,
76 | planeChanged: ARPlaneAnchor?,
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
77 | oldPlane: ARPlaneAnchor?
78 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:77:19: error: 'ARPlaneAnchor' is unavailable in visionOS
75 | _ focusEntity: FocusEntity,
76 | planeChanged: ARPlaneAnchor?,
77 | oldPlane: ARPlaneAnchor?
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
78 | )
79 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:64: error: 'ARPlaneAnchor' is unavailable in visionOS
85 | _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
86 | ) {}
87 | func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
88 | }
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:90: error: 'ARPlaneAnchor' is unavailable in visionOS
85 | _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
86 | ) {}
87 | func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
88 | }
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:95:31: error: 'ARView' is unavailable in visionOS
93 | open class FocusEntity: Entity, HasAnchoring, HasFocusEntity {
94 |
95 | internal weak var arView: ARView?
| `- error: 'ARView' is unavailable in visionOS
96 |
97 | /// For moving the FocusEntity to a whole new ARView
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:99:30: error: 'ARView' is unavailable in visionOS
97 | /// For moving the FocusEntity to a whole new ARView
98 | /// - Parameter view: The destination `ARView`
99 | public func moveTo(view: ARView) {
| `- error: 'ARView' is unavailable in visionOS
100 | let wasUpdating = self.isAutoUpdating
101 | self.setAutoUpdate(to: false)
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:38: error: 'ARRaycastResult' is unavailable in visionOS
144 | case initializing
145 | #if canImport(ARKit)
146 | case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
| `- error: 'ARRaycastResult' is unavailable in visionOS
147 | #endif
148 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:63: error: 'ARCamera' is unavailable in visionOS
144 | case initializing
145 | #if canImport(ARKit)
146 | case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
| `- error: 'ARCamera' is unavailable in visionOS
147 | #endif
148 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARCamera.h:24:12: note: 'ARCamera' has been explicitly marked unavailable here
22 | API_AVAILABLE(ios(11.0))
23 | NS_SWIFT_SENDABLE
24 | @interface ARCamera : NSObject <NSCopying>
| `- note: 'ARCamera' has been explicitly marked unavailable here
25 |
26 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:163:54: error: 'ARRaycastResult' is unavailable in visionOS
161 |
162 | #if canImport(ARKit)
163 | fileprivate func entityOffPlane(_ raycastResult: ARRaycastResult, _ camera: ARCamera?) {
| `- error: 'ARRaycastResult' is unavailable in visionOS
164 | self.onPlane = false
165 | displayOffPlane(for: raycastResult)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:163:81: error: 'ARCamera' is unavailable in visionOS
161 |
162 | #if canImport(ARKit)
163 | fileprivate func entityOffPlane(_ raycastResult: ARRaycastResult, _ camera: ARCamera?) {
| `- error: 'ARCamera' is unavailable in visionOS
164 | self.onPlane = false
165 | displayOffPlane(for: raycastResult)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARCamera.h:24:12: note: 'ARCamera' has been explicitly marked unavailable here
22 | API_AVAILABLE(ios(11.0))
23 | NS_SWIFT_SENDABLE
24 | @interface ARCamera : NSObject <NSCopying>
| `- note: 'ARCamera' has been explicitly marked unavailable here
25 |
26 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:186:60: error: 'ARPlaneAnchor' is unavailable in visionOS
184 | self.anchoring = AnchoringComponent(.world(transform: Transform.identity.matrix))
185 | }
186 | let planeAnchor = raycastResult.anchor as? ARPlaneAnchor
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
187 | if let planeAnchor = planeAnchor {
188 | entityOnPlane(for: raycastResult, planeAnchor: planeAnchor)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:186:49: error: 'anchor' is unavailable in visionOS
184 | self.anchoring = AnchoringComponent(.world(transform: Transform.identity.matrix))
185 | }
186 | let planeAnchor = raycastResult.anchor as? ARPlaneAnchor
| `- error: 'anchor' is unavailable in visionOS
187 | if let planeAnchor = planeAnchor {
188 | entityOnPlane(for: raycastResult, planeAnchor: planeAnchor)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:45:61: note: 'anchor' has been explicitly marked unavailable here
43 | an anchor may be provided if the ray hit an existing plane.
44 | */
45 | @property (nonatomic, readonly, strong, nullable) ARAnchor *anchor;
| `- note: 'anchor' has been explicitly marked unavailable here
46 |
47 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:234:36: error: 'ARPlaneAnchor' is unavailable in visionOS
232 | #if canImport(ARKit)
233 | /// The focus square's current alignment.
234 | internal var currentAlignment: ARPlaneAnchor.Alignment?
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
235 |
236 | /// The current plane anchor if the focus square is on a plane.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:237:50: error: 'ARPlaneAnchor' is unavailable in visionOS
235 |
236 | /// The current plane anchor if the focus square is on a plane.
237 | public internal(set) var currentPlaneAnchor: ARPlaneAnchor? {
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
238 | didSet {
239 | if (oldValue == nil && self.currentPlaneAnchor == nil) || (currentPlaneAnchor == oldValue) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:247:48: error: 'ARPlaneAnchor' is unavailable in visionOS
245 |
246 | /// The focus square's most recent alignments.
247 | internal var recentFocusEntityAlignments: [ARPlaneAnchor.Alignment] = []
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
248 | /// Previously visited plane anchors.
249 | internal var anchorsOfVisitedPlanes: Set<ARAnchor> = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:249:46: error: 'ARAnchor' is unavailable in visionOS
247 | internal var recentFocusEntityAlignments: [ARPlaneAnchor.Alignment] = []
248 | /// Previously visited plane anchors.
249 | internal var anchorsOfVisitedPlanes: Set<ARAnchor> = []
| `- error: 'ARAnchor' is unavailable in visionOS
250 | #endif
251 | /// The focus square's most recent positions.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARAnchor.h:57:12: note: 'ARAnchor' has been explicitly marked unavailable here
55 | API_AVAILABLE(ios(11.0))
56 | NS_SWIFT_SENDABLE
57 | @interface ARAnchor : NSObject <ARAnchorCopying,
| `- note: 'ARAnchor' has been explicitly marked unavailable here
58 | NSSecureCoding
59 | >
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:266:40: error: 'ARView' is unavailable in visionOS
264 | /// - arView: ARView containing the scene where the FocusEntity should be added.
265 | /// - style: Style of the ``FocusEntity``.
266 | public convenience init(on arView: ARView, style: FocusEntityComponent.Style) {
| `- error: 'ARView' is unavailable in visionOS
267 | self.init(on: arView, focus: FocusEntityComponent(style: style))
268 | }
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:274:37: error: 'ARView' is unavailable in visionOS
272 | /// - arView: ARView containing the scene where the FocusEntity should be added.
273 | /// - focus: Main component for the ``FocusEntity``
274 | public required init(on arView: ARView, focus: FocusEntityComponent) {
| `- error: 'ARView' is unavailable in visionOS
275 | self.arView = arView
276 | super.init()
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:333:53: error: 'ARRaycastResult' is unavailable in visionOS
331 | #if canImport(ARKit)
332 | /// Called when a surface has been detected.
333 | private func displayOffPlane(for raycastResult: ARRaycastResult) {
| `- error: 'ARRaycastResult' is unavailable in visionOS
334 | self.stateChangedSetup()
335 | let position = raycastResult.worldTransform.translation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:348:28: error: 'ARRaycastResult' is unavailable in visionOS
346 | /// Called when a plane has been detected.
347 | private func entityOnPlane(
348 | for raycastResult: ARRaycastResult, planeAnchor: ARPlaneAnchor
| `- error: 'ARRaycastResult' is unavailable in visionOS
349 | ) {
350 | self.onPlane = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
SwiftCompile normal arm64 (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:348:58: error: 'ARPlaneAnchor' is unavailable in visionOS
346 | /// Called when a plane has been detected.
347 | private func entityOnPlane(
348 | for raycastResult: ARRaycastResult, planeAnchor: ARPlaneAnchor
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
349 | ) {
350 | self.onPlane = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/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
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:103:20: error: 'addAnchor' is unavailable in visionOS
101 | self.setAutoUpdate(to: false)
102 | self.arView = view
103 | view.scene.addAnchor(self)
| `- error: 'addAnchor' is unavailable in visionOS
104 | if wasUpdating {
105 | self.setAutoUpdate(to: true)
RealityKit.Scene.addAnchor:3:42: note: 'addAnchor' has been explicitly marked unavailable here
1 | class Scene {
2 | @available(visionOS, unavailable)
3 | @MainActor @preconcurrency public func addAnchor(_ anchor: any HasAnchoring)}
| `- note: 'addAnchor' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:157:68: error: 'worldTransform' is unavailable in visionOS
155 | case .initializing: return nil
156 | #if canImport(ARKit)
157 | case .tracking(let raycastResult, _): return raycastResult.worldTransform.translation
| `- error: 'worldTransform' is unavailable in visionOS
158 | #endif
159 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:27:47: note: 'worldTransform' has been explicitly marked unavailable here
25 | The transformation matrix that defines the raycast result's rotation, translation and scale relative to the world.
26 | */
27 | @property (nonatomic, readonly) simd_float4x4 worldTransform;
| `- note: 'worldTransform' has been explicitly marked unavailable here
28 |
29 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:282:38: error: 'camera' is unavailable in visionOS
280 | self.addChild(self.positioningEntity)
281 |
282 | cameraAnchor = AnchorEntity(.camera)
| `- error: 'camera' is unavailable in visionOS
283 | arView.scene.addAnchor(cameraAnchor)
284 |
RealityKit.AnchoringComponent.Target.camera:4:10: note: 'camera' has been explicitly marked unavailable here
2 | enum Target {
3 | @available(visionOS, unavailable)
4 | case camera }
| `- note: 'camera' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:283:22: error: 'addAnchor' is unavailable in visionOS
281 |
282 | cameraAnchor = AnchorEntity(.camera)
283 | arView.scene.addAnchor(cameraAnchor)
| `- error: 'addAnchor' is unavailable in visionOS
284 |
285 | // Start the focus square as a billboard.
RealityKit.Scene.addAnchor:3:42: note: 'addAnchor' has been explicitly marked unavailable here
1 | class Scene {
2 | @available(visionOS, unavailable)
3 | @MainActor @preconcurrency public func addAnchor(_ anchor: any HasAnchoring)}
| `- note: 'addAnchor' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:288:22: error: 'addAnchor' is unavailable in visionOS
286 | displayAsBillboard()
287 | self.delegate?.focusEntity(self, trackingUpdated: .initializing, oldState: nil)
288 | arView.scene.addAnchor(self)
| `- error: 'addAnchor' is unavailable in visionOS
289 | self.setAutoUpdate(to: true)
290 | switch self.focus.style {
RealityKit.Scene.addAnchor:3:42: note: 'addAnchor' has been explicitly marked unavailable here
1 | class Scene {
2 | @available(visionOS, unavailable)
3 | @MainActor @preconcurrency public func addAnchor(_ anchor: any HasAnchoring)}
| `- note: 'addAnchor' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:335:38: error: 'worldTransform' is unavailable in visionOS
333 | private func displayOffPlane(for raycastResult: ARRaycastResult) {
334 | self.stateChangedSetup()
335 | let position = raycastResult.worldTransform.translation
| `- error: 'worldTransform' is unavailable in visionOS
336 | if self.currentAlignment != .none {
337 | // It is ready to move over to a new surface.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:27:47: note: 'worldTransform' has been explicitly marked unavailable here
25 | The transformation matrix that defines the raycast result's rotation, translation and scale relative to the world.
26 | */
27 | @property (nonatomic, readonly) simd_float4x4 worldTransform;
| `- note: 'worldTransform' has been explicitly marked unavailable here
28 |
29 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:339:57: error: 'worldTransform' is unavailable in visionOS
337 | // It is ready to move over to a new surface.
338 | recentFocusEntityPositions.append(position)
339 | performAlignmentAnimation(to: raycastResult.worldTransform.orientation)
| `- error: 'worldTransform' is unavailable in visionOS
340 | } else {
341 | putInFrontOfCamera()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:27:47: note: 'worldTransform' has been explicitly marked unavailable here
25 | The transformation matrix that defines the raycast result's rotation, translation and scale relative to the world.
26 | */
27 | @property (nonatomic, readonly) simd_float4x4 worldTransform;
| `- note: 'worldTransform' has been explicitly marked unavailable here
28 |
29 | /**
SwiftCompile normal arm64 Compiling\ FocusEntity+Segment.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift (in target 'FocusEntity' from project 'FocusEntity')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FocusEntity+Segment.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ FocusEntity (in target 'FocusEntity' from project 'FocusEntity')
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:33:50: error: 'ARRaycastResult' is unavailable in visionOS
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: 'ARRaycastResult' is unavailable in visionOS
34 | self.updatePosition()
35 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:41:54: error: 'ARRaycastResult' is unavailable in visionOS
39 | }
40 |
41 | internal func updateAlignment(for raycastResult: ARRaycastResult) {
| `- error: 'ARRaycastResult' is unavailable in visionOS
42 |
43 | var targetAlignment = raycastResult.worldTransform.orientation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:121:37: error: 'ARRaycastResult' is unavailable in visionOS
119 | /// - Parameters:
120 | /// - Returns: ARRaycastResult if an existing plane geometry or an estimated plane are found, otherwise nil.
121 | internal func smartRaycast() -> ARRaycastResult? {
| `- error: 'ARRaycastResult' is unavailable in visionOS
122 | // Perform the hit test.
123 | guard let (camPos, camDir) = self.getCamVector() else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:167:48: error: 'ARCamera' is unavailable in visionOS
165 | for a distance 1.5 m distance (estimated distance when looking at the floor).
166 | */
167 | internal func scaleBasedOnDistance(camera: ARCamera?) -> Float {
| `- error: 'ARCamera' is unavailable in visionOS
168 | guard let camera = camera else { return 1.0 }
169 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARCamera.h:24:12: note: 'ARCamera' has been explicitly marked unavailable here
22 | API_AVAILABLE(ios(11.0))
23 | NS_SWIFT_SENDABLE
24 | @interface ARCamera : NSObject <NSCopying>
| `- note: 'ARCamera' has been explicitly marked unavailable here
25 |
26 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:40:27: error: 'ARRaycastQuery' is unavailable in visionOS
38 | }
39 | #if canImport(ARKit)
40 | var allowedRaycasts: [ARRaycastQuery.Target] {
| `- error: 'ARRaycastQuery' is unavailable in visionOS
41 | get { self.focus.allowedRaycasts }
42 | set { self.focus.allowedRaycasts = newValue }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastQuery.h:56:12: note: 'ARRaycastQuery' has been explicitly marked unavailable here
54 | */
55 | API_AVAILABLE(ios(13.0))
56 | @interface ARRaycastQuery : NSObject
| `- note: 'ARRaycastQuery' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:76:23: error: 'ARPlaneAnchor' is unavailable in visionOS
74 | func focusEntity(
75 | _ focusEntity: FocusEntity,
76 | planeChanged: ARPlaneAnchor?,
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
77 | oldPlane: ARPlaneAnchor?
78 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:77:19: error: 'ARPlaneAnchor' is unavailable in visionOS
75 | _ focusEntity: FocusEntity,
76 | planeChanged: ARPlaneAnchor?,
77 | oldPlane: ARPlaneAnchor?
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
78 | )
79 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:64: error: 'ARPlaneAnchor' is unavailable in visionOS
85 | _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
86 | ) {}
87 | func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
88 | }
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:90: error: 'ARPlaneAnchor' is unavailable in visionOS
85 | _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
86 | ) {}
87 | func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
88 | }
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:95:31: error: 'ARView' is unavailable in visionOS
93 | open class FocusEntity: Entity, HasAnchoring, HasFocusEntity {
94 |
95 | internal weak var arView: ARView?
| `- error: 'ARView' is unavailable in visionOS
96 |
97 | /// For moving the FocusEntity to a whole new ARView
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:99:30: error: 'ARView' is unavailable in visionOS
97 | /// For moving the FocusEntity to a whole new ARView
98 | /// - Parameter view: The destination `ARView`
99 | public func moveTo(view: ARView) {
| `- error: 'ARView' is unavailable in visionOS
100 | let wasUpdating = self.isAutoUpdating
101 | self.setAutoUpdate(to: false)
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:38: error: 'ARRaycastResult' is unavailable in visionOS
144 | case initializing
145 | #if canImport(ARKit)
146 | case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
| `- error: 'ARRaycastResult' is unavailable in visionOS
147 | #endif
148 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:146:63: error: 'ARCamera' is unavailable in visionOS
144 | case initializing
145 | #if canImport(ARKit)
146 | case tracking(raycastResult: ARRaycastResult, camera: ARCamera?)
| `- error: 'ARCamera' is unavailable in visionOS
147 | #endif
148 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARCamera.h:24:12: note: 'ARCamera' has been explicitly marked unavailable here
22 | API_AVAILABLE(ios(11.0))
23 | NS_SWIFT_SENDABLE
24 | @interface ARCamera : NSObject <NSCopying>
| `- note: 'ARCamera' has been explicitly marked unavailable here
25 |
26 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:163:54: error: 'ARRaycastResult' is unavailable in visionOS
161 |
162 | #if canImport(ARKit)
163 | fileprivate func entityOffPlane(_ raycastResult: ARRaycastResult, _ camera: ARCamera?) {
| `- error: 'ARRaycastResult' is unavailable in visionOS
164 | self.onPlane = false
165 | displayOffPlane(for: raycastResult)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:163:81: error: 'ARCamera' is unavailable in visionOS
161 |
162 | #if canImport(ARKit)
163 | fileprivate func entityOffPlane(_ raycastResult: ARRaycastResult, _ camera: ARCamera?) {
| `- error: 'ARCamera' is unavailable in visionOS
164 | self.onPlane = false
165 | displayOffPlane(for: raycastResult)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARCamera.h:24:12: note: 'ARCamera' has been explicitly marked unavailable here
22 | API_AVAILABLE(ios(11.0))
23 | NS_SWIFT_SENDABLE
24 | @interface ARCamera : NSObject <NSCopying>
| `- note: 'ARCamera' has been explicitly marked unavailable here
25 |
26 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:186:60: error: 'ARPlaneAnchor' is unavailable in visionOS
184 | self.anchoring = AnchoringComponent(.world(transform: Transform.identity.matrix))
185 | }
186 | let planeAnchor = raycastResult.anchor as? ARPlaneAnchor
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
187 | if let planeAnchor = planeAnchor {
188 | entityOnPlane(for: raycastResult, planeAnchor: planeAnchor)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:186:49: error: 'anchor' is unavailable in visionOS
184 | self.anchoring = AnchoringComponent(.world(transform: Transform.identity.matrix))
185 | }
186 | let planeAnchor = raycastResult.anchor as? ARPlaneAnchor
| `- error: 'anchor' is unavailable in visionOS
187 | if let planeAnchor = planeAnchor {
188 | entityOnPlane(for: raycastResult, planeAnchor: planeAnchor)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:45:61: note: 'anchor' has been explicitly marked unavailable here
43 | an anchor may be provided if the ray hit an existing plane.
44 | */
45 | @property (nonatomic, readonly, strong, nullable) ARAnchor *anchor;
| `- note: 'anchor' has been explicitly marked unavailable here
46 |
47 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:234:36: error: 'ARPlaneAnchor' is unavailable in visionOS
232 | #if canImport(ARKit)
233 | /// The focus square's current alignment.
234 | internal var currentAlignment: ARPlaneAnchor.Alignment?
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
235 |
236 | /// The current plane anchor if the focus square is on a plane.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:237:50: error: 'ARPlaneAnchor' is unavailable in visionOS
235 |
236 | /// The current plane anchor if the focus square is on a plane.
237 | public internal(set) var currentPlaneAnchor: ARPlaneAnchor? {
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
238 | didSet {
239 | if (oldValue == nil && self.currentPlaneAnchor == nil) || (currentPlaneAnchor == oldValue) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:247:48: error: 'ARPlaneAnchor' is unavailable in visionOS
245 |
246 | /// The focus square's most recent alignments.
247 | internal var recentFocusEntityAlignments: [ARPlaneAnchor.Alignment] = []
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
248 | /// Previously visited plane anchors.
249 | internal var anchorsOfVisitedPlanes: Set<ARAnchor> = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:249:46: error: 'ARAnchor' is unavailable in visionOS
247 | internal var recentFocusEntityAlignments: [ARPlaneAnchor.Alignment] = []
248 | /// Previously visited plane anchors.
249 | internal var anchorsOfVisitedPlanes: Set<ARAnchor> = []
| `- error: 'ARAnchor' is unavailable in visionOS
250 | #endif
251 | /// The focus square's most recent positions.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARAnchor.h:57:12: note: 'ARAnchor' has been explicitly marked unavailable here
55 | API_AVAILABLE(ios(11.0))
56 | NS_SWIFT_SENDABLE
57 | @interface ARAnchor : NSObject <ARAnchorCopying,
| `- note: 'ARAnchor' has been explicitly marked unavailable here
58 | NSSecureCoding
59 | >
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:266:40: error: 'ARView' is unavailable in visionOS
264 | /// - arView: ARView containing the scene where the FocusEntity should be added.
265 | /// - style: Style of the ``FocusEntity``.
266 | public convenience init(on arView: ARView, style: FocusEntityComponent.Style) {
| `- error: 'ARView' is unavailable in visionOS
267 | self.init(on: arView, focus: FocusEntityComponent(style: style))
268 | }
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:274:37: error: 'ARView' is unavailable in visionOS
272 | /// - arView: ARView containing the scene where the FocusEntity should be added.
273 | /// - focus: Main component for the ``FocusEntity``
274 | public required init(on arView: ARView, focus: FocusEntityComponent) {
| `- error: 'ARView' is unavailable in visionOS
275 | self.arView = arView
276 | super.init()
RealityKit.ARView:3:45: note: 'ARView' has been explicitly marked unavailable here
1 | @available(macOS 10.15, iOS 13.0, tvOS 26.0, *)
2 | @available(visionOS, unavailable)
3 | @MainActor @objc @preconcurrency open class ARView : ARViewBase {
| `- note: 'ARView' has been explicitly marked unavailable here
4 | @MainActor @preconcurrency public var __services: __ServiceLocator { get }
5 | @MainActor @preconcurrency public var scene: Scene { get }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:333:53: error: 'ARRaycastResult' is unavailable in visionOS
331 | #if canImport(ARKit)
332 | /// Called when a surface has been detected.
333 | private func displayOffPlane(for raycastResult: ARRaycastResult) {
| `- error: 'ARRaycastResult' is unavailable in visionOS
334 | self.stateChangedSetup()
335 | let position = raycastResult.worldTransform.translation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:348:28: error: 'ARRaycastResult' is unavailable in visionOS
346 | /// Called when a plane has been detected.
347 | private func entityOnPlane(
348 | for raycastResult: ARRaycastResult, planeAnchor: ARPlaneAnchor
| `- error: 'ARRaycastResult' is unavailable in visionOS
349 | ) {
350 | self.onPlane = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:348:58: error: 'ARPlaneAnchor' is unavailable in visionOS
346 | /// Called when a plane has been detected.
347 | private func entityOnPlane(
348 | for raycastResult: ARRaycastResult, planeAnchor: ARPlaneAnchor
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
349 | ) {
350 | self.onPlane = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:15:9: warning: cannot use class 'UIColor' in a property declaration member of a type not marked '@_implementationOnly'; 'UIKit' was not imported by this file
13 |
14 | internal struct ClassicStyle {
15 | var color: Material.Color
| `- warning: cannot use class 'UIColor' in a property declaration member of a type not marked '@_implementationOnly'; 'UIKit' was not imported by this file
16 | }
17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:31:12: note: class declared here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(2.0), watchos(2.0)) NS_SWIFT_SENDABLE
31 | @interface UIColor : NSObject <NSSecureCoding, NSCopying>
| `- note: class declared here
32 |
33 | // Convenience methods for creating colors
/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
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 'UIColor' in an associated value of a public or '@usableFromInline' enum; 'UIKit' 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 'UIColor' in an associated value of a public or '@usableFromInline' enum; 'UIKit' 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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:31:12: note: class declared here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(2.0), watchos(2.0)) NS_SWIFT_SENDABLE
31 | @interface UIColor : NSObject <NSSecureCoding, NSCopying>
| `- note: class declared here
32 |
33 | // Convenience methods for creating colors
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:87:34: error: 'ARRaycastQuery' is unavailable in visionOS
85 | internal var segments: [FocusEntity.Segment] = []
86 | #if !os(macOS)
87 | public var allowedRaycasts: [ARRaycastQuery.Target] = [.existingPlaneGeometry, .estimatedPlane]
| `- error: 'ARRaycastQuery' is unavailable in visionOS
88 | #endif
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastQuery.h:56:12: note: 'ARRaycastQuery' has been explicitly marked unavailable here
54 | */
55 | API_AVAILABLE(ios(13.0))
56 | @interface ARRaycastQuery : NSObject
| `- note: 'ARRaycastQuery' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:87:61: error: 'existingPlaneGeometry' is unavailable in visionOS
85 | internal var segments: [FocusEntity.Segment] = []
86 | #if !os(macOS)
87 | public var allowedRaycasts: [ARRaycastQuery.Target] = [.existingPlaneGeometry, .estimatedPlane]
| `- error: 'existingPlaneGeometry' is unavailable in visionOS
88 | #endif
89 |
ARKitCore.ARRaycastQuery.Target.existingPlaneGeometry:4:10: note: 'existingPlaneGeometry' has been explicitly marked unavailable here
2 | enum Target {
3 | @available(visionOS, unavailable)
4 | case existingPlaneGeometry }
| `- note: 'existingPlaneGeometry' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:87:85: error: 'estimatedPlane' is unavailable in visionOS
85 | internal var segments: [FocusEntity.Segment] = []
86 | #if !os(macOS)
87 | public var allowedRaycasts: [ARRaycastQuery.Target] = [.existingPlaneGeometry, .estimatedPlane]
| `- error: 'estimatedPlane' is unavailable in visionOS
88 | #endif
89 |
ARKitCore.ARRaycastQuery.Target.estimatedPlane:4:10: note: 'estimatedPlane' has been explicitly marked unavailable here
2 | enum Target {
3 | @available(visionOS, unavailable)
4 | case estimatedPlane }
| `- note: 'estimatedPlane' has been explicitly marked unavailable here
5 | }
6 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Classic.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Colored.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/float4x4+Extension.swift -target arm64-apple-xros1.0 -module-can-import-version ARKit 781.0.5.0 1.0.0 -module-can-import-version RealityKit 453.7.5 0 -disable-cross-import-overlay-search -swift-module-cross-import RealityKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/RealityKit.framework/Modules/RealityKit.swiftcrossimport/ComputeGraph.swiftoverlay -swift-module-cross-import RealityKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/RealityKit.framework/Modules/RealityKit.swiftcrossimport/SwiftUI.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name FocusEntity -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/FocusEntity.build/Debug-xros/FocusEntity-t.build/Objects-normal/arm64/FocusEntity.abi.json
SwiftCompile normal arm64 (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ FocusEntity+Colored.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Colored.swift (in target 'FocusEntity' from project 'FocusEntity')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Colored.swift (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FocusEntity+Colored.swift
SwiftCompile normal arm64 Compiling\ FocusEntity+Classic.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Classic.swift (in target 'FocusEntity' from project 'FocusEntity')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Classic.swift (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FocusEntity+Classic.swift
SwiftCompile normal arm64 Compiling\ FocusEntity+Alignment.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift (in target 'FocusEntity' from project 'FocusEntity')
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:33:50: error: 'ARRaycastResult' is unavailable in visionOS
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: 'ARRaycastResult' is unavailable in visionOS
34 | self.updatePosition()
35 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:41:54: error: 'ARRaycastResult' is unavailable in visionOS
39 | }
40 |
41 | internal func updateAlignment(for raycastResult: ARRaycastResult) {
| `- error: 'ARRaycastResult' is unavailable in visionOS
42 |
43 | var targetAlignment = raycastResult.worldTransform.orientation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:121:37: error: 'ARRaycastResult' is unavailable in visionOS
119 | /// - Parameters:
120 | /// - Returns: ARRaycastResult if an existing plane geometry or an estimated plane are found, otherwise nil.
121 | internal func smartRaycast() -> ARRaycastResult? {
| `- error: 'ARRaycastResult' is unavailable in visionOS
122 | // Perform the hit test.
123 | guard let (camPos, camDir) = self.getCamVector() else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:22:12: note: 'ARRaycastResult' has been explicitly marked unavailable here
20 | */
21 | API_AVAILABLE(ios(13.0))
22 | @interface ARRaycastResult : NSObject
| `- note: 'ARRaycastResult' has been explicitly marked unavailable here
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:167:48: error: 'ARCamera' is unavailable in visionOS
165 | for a distance 1.5 m distance (estimated distance when looking at the floor).
166 | */
167 | internal func scaleBasedOnDistance(camera: ARCamera?) -> Float {
| `- error: 'ARCamera' is unavailable in visionOS
168 | guard let camera = camera else { return 1.0 }
169 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARCamera.h:24:12: note: 'ARCamera' has been explicitly marked unavailable here
22 | API_AVAILABLE(ios(11.0))
23 | NS_SWIFT_SENDABLE
24 | @interface ARCamera : NSObject <NSCopying>
| `- note: 'ARCamera' has been explicitly marked unavailable here
25 |
26 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:43:45: error: 'worldTransform' is unavailable in visionOS
41 | internal func updateAlignment(for raycastResult: ARRaycastResult) {
42 |
43 | var targetAlignment = raycastResult.worldTransform.orientation
| `- error: 'worldTransform' is unavailable in visionOS
44 |
45 | // Determine current alignment
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:27:47: note: 'worldTransform' has been explicitly marked unavailable here
25 | The transformation matrix that defines the raycast result's rotation, translation and scale relative to the world.
26 | */
27 | @property (nonatomic, readonly) simd_float4x4 worldTransform;
| `- note: 'worldTransform' has been explicitly marked unavailable here
28 |
29 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:46:24: error: 'ARPlaneAnchor' is unavailable in visionOS
44 |
45 | // Determine current alignment
46 | var alignment: ARPlaneAnchor.Alignment?
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
47 | if let planeAnchor = raycastResult.anchor as? ARPlaneAnchor {
48 | alignment = planeAnchor.alignment
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:47:55: error: 'ARPlaneAnchor' is unavailable in visionOS
45 | // Determine current alignment
46 | var alignment: ARPlaneAnchor.Alignment?
47 | if let planeAnchor = raycastResult.anchor as? ARPlaneAnchor {
| `- error: 'ARPlaneAnchor' is unavailable in visionOS
48 | alignment = planeAnchor.alignment
49 | // Catching case when looking at ceiling
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:90:12: note: 'ARPlaneAnchor' has been explicitly marked unavailable here
88 | API_AVAILABLE(ios(11.0))
89 | NS_SWIFT_SENDABLE
90 | @interface ARPlaneAnchor : ARAnchor
| `- note: 'ARPlaneAnchor' has been explicitly marked unavailable here
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:47:44: error: 'anchor' is unavailable in visionOS
45 | // Determine current alignment
46 | var alignment: ARPlaneAnchor.Alignment?
47 | if let planeAnchor = raycastResult.anchor as? ARPlaneAnchor {
| `- error: 'anchor' is unavailable in visionOS
48 | alignment = planeAnchor.alignment
49 | // Catching case when looking at ceiling
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:45:61: note: 'anchor' has been explicitly marked unavailable here
43 | an anchor may be provided if the ray hit an existing plane.
44 | */
45 | @property (nonatomic, readonly, strong, nullable) ARAnchor *anchor;
| `- note: 'anchor' has been explicitly marked unavailable here
46 |
47 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:48:37: error: 'alignment' is unavailable in visionOS
46 | var alignment: ARPlaneAnchor.Alignment?
47 | if let planeAnchor = raycastResult.anchor as? ARPlaneAnchor {
48 | alignment = planeAnchor.alignment
| `- error: 'alignment' is unavailable in visionOS
49 | // Catching case when looking at ceiling
50 | if targetAlignment.act([0, 1, 0]).y < -0.9 {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARPlaneAnchor.h:100:56: note: 'alignment' has been explicitly marked unavailable here
98 | The alignment of the plane.
99 | */
100 | @property (nonatomic, readonly) ARPlaneAnchorAlignment alignment;
| `- note: 'alignment' has been explicitly marked unavailable here
101 |
102 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:53:33: error: 'targetAlignment' is unavailable in visionOS
51 | targetAlignment *= simd_quatf(angle: .pi, axis: [0, 1, 0])
52 | }
53 | } else if raycastResult.targetAlignment == .horizontal {
| `- error: 'targetAlignment' is unavailable in visionOS
54 | alignment = .horizontal
55 | } else if raycastResult.targetAlignment == .vertical {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:37:66: note: 'targetAlignment' has been explicitly marked unavailable here
35 | Alignment of the target.
36 | */
37 | @property (nonatomic, readonly, assign) ARRaycastTargetAlignment targetAlignment;
| `- note: 'targetAlignment' has been explicitly marked unavailable here
38 |
39 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:53:53: error: 'horizontal' is unavailable in visionOS
51 | targetAlignment *= simd_quatf(angle: .pi, axis: [0, 1, 0])
52 | }
53 | } else if raycastResult.targetAlignment == .horizontal {
| `- error: 'horizontal' is unavailable in visionOS
54 | alignment = .horizontal
55 | } else if raycastResult.targetAlignment == .vertical {
ARKitCore.ARRaycastQuery.TargetAlignment.horizontal:4:10: note: 'horizontal' has been explicitly marked unavailable here
2 | enum TargetAlignment {
3 | @available(visionOS, unavailable)
4 | case horizontal }
| `- note: 'horizontal' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:54:26: error: 'horizontal' is unavailable in visionOS
52 | }
53 | } else if raycastResult.targetAlignment == .horizontal {
54 | alignment = .horizontal
| `- error: 'horizontal' is unavailable in visionOS
55 | } else if raycastResult.targetAlignment == .vertical {
56 | alignment = .vertical
ARKitCore.ARPlaneAnchor.Alignment.horizontal:4:10: note: 'horizontal' has been explicitly marked unavailable here
2 | enum Alignment {
3 | @available(visionOS, unavailable)
4 | case horizontal }
| `- note: 'horizontal' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:55:33: error: 'targetAlignment' is unavailable in visionOS
53 | } else if raycastResult.targetAlignment == .horizontal {
54 | alignment = .horizontal
55 | } else if raycastResult.targetAlignment == .vertical {
| `- error: 'targetAlignment' is unavailable in visionOS
56 | alignment = .vertical
57 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:37:66: note: 'targetAlignment' has been explicitly marked unavailable here
35 | Alignment of the target.
36 | */
37 | @property (nonatomic, readonly, assign) ARRaycastTargetAlignment targetAlignment;
| `- note: 'targetAlignment' has been explicitly marked unavailable here
38 |
39 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:55:53: error: 'vertical' is unavailable in visionOS
53 | } else if raycastResult.targetAlignment == .horizontal {
54 | alignment = .horizontal
55 | } else if raycastResult.targetAlignment == .vertical {
| `- error: 'vertical' is unavailable in visionOS
56 | alignment = .vertical
57 | }
ARKitCore.ARRaycastQuery.TargetAlignment.vertical:4:10: note: 'vertical' has been explicitly marked unavailable here
2 | enum TargetAlignment {
3 | @available(visionOS, unavailable)
4 | case vertical }
| `- note: 'vertical' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:56:26: error: 'vertical' is unavailable in visionOS
54 | alignment = .horizontal
55 | } else if raycastResult.targetAlignment == .vertical {
56 | alignment = .vertical
| `- error: 'vertical' is unavailable in visionOS
57 | }
58 |
ARKitCore.ARPlaneAnchor.Alignment.vertical:5:10: note: 'vertical' has been explicitly marked unavailable here
3 | @available(iOS 11.3, *)
4 | @available(visionOS, unavailable)
5 | case vertical }
| `- note: 'vertical' has been explicitly marked unavailable here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:68:77: error: 'horizontal' is unavailable in visionOS
66 |
67 | let alignCount = self.recentFocusEntityAlignments.count
68 | let horizontalHistory = recentFocusEntityAlignments.filter({ $0 == .horizontal }).count
| `- error: 'horizontal' is unavailable in visionOS
69 | let verticalHistory = recentFocusEntityAlignments.filter({ $0 == .vertical }).count
70 |
ARKitCore.ARPlaneAnchor.Alignment.horizontal:4:10: note: 'horizontal' has been explicitly marked unavailable here
2 | enum Alignment {
3 | @available(visionOS, unavailable)
4 | case horizontal }
| `- note: 'horizontal' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:69:75: error: 'vertical' is unavailable in visionOS
67 | let alignCount = self.recentFocusEntityAlignments.count
68 | let horizontalHistory = recentFocusEntityAlignments.filter({ $0 == .horizontal }).count
69 | let verticalHistory = recentFocusEntityAlignments.filter({ $0 == .vertical }).count
| `- error: 'vertical' is unavailable in visionOS
70 |
71 | // Alignment is same as most of the history - change it
ARKitCore.ARPlaneAnchor.Alignment.vertical:5:10: note: 'vertical' has been explicitly marked unavailable here
3 | @available(iOS 11.3, *)
4 | @available(visionOS, unavailable)
5 | case vertical }
| `- note: 'vertical' has been explicitly marked unavailable here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:72:26: error: 'horizontal' is unavailable in visionOS
70 |
71 | // Alignment is same as most of the history - change it
72 | if alignment == .horizontal && horizontalHistory > alignCount * 3/4 ||
| `- error: 'horizontal' is unavailable in visionOS
73 | alignment == .vertical && verticalHistory > alignCount / 2 ||
74 | raycastResult.anchor is ARPlaneAnchor {
ARKitCore.ARPlaneAnchor.Alignment.horizontal:4:10: note: 'horizontal' has been explicitly marked unavailable here
2 | enum Alignment {
3 | @available(visionOS, unavailable)
4 | case horizontal }
| `- note: 'horizontal' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:73:27: error: 'vertical' is unavailable in visionOS
71 | // Alignment is same as most of the history - change it
72 | if alignment == .horizontal && horizontalHistory > alignCount * 3/4 ||
73 | alignment == .vertical && verticalHistory > alignCount / 2 ||
| `- error: 'vertical' is unavailable in visionOS
74 | raycastResult.anchor is ARPlaneAnchor {
75 | if alignment != self.currentAlignment ||
ARKitCore.ARPlaneAnchor.Alignment.vertical:5:10: note: 'vertical' has been explicitly marked unavailable here
3 | @available(iOS 11.3, *)
4 | @available(visionOS, unavailable)
5 | case vertical }
| `- note: 'vertical' has been explicitly marked unavailable here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:74:27: error: 'anchor' is unavailable in visionOS
72 | if alignment == .horizontal && horizontalHistory > alignCount * 3/4 ||
73 | alignment == .vertical && verticalHistory > alignCount / 2 ||
74 | raycastResult.anchor is ARPlaneAnchor {
| `- error: 'anchor' is unavailable in visionOS
75 | if alignment != self.currentAlignment ||
76 | (alignment == .vertical && self.shouldContinueAlignAnim(to: targetAlignment)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastResult.h:45:61: note: 'anchor' has been explicitly marked unavailable here
43 | an anchor may be provided if the ray hit an existing plane.
44 | */
45 | @property (nonatomic, readonly, strong, nullable) ARAnchor *anchor;
| `- note: 'anchor' has been explicitly marked unavailable here
46 |
47 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:76:32: error: 'vertical' is unavailable in visionOS
74 | raycastResult.anchor is ARPlaneAnchor {
75 | if alignment != self.currentAlignment ||
76 | (alignment == .vertical && self.shouldContinueAlignAnim(to: targetAlignment)
| `- error: 'vertical' is unavailable in visionOS
77 | ) {
78 | isChangingAlignment = true
ARKitCore.ARPlaneAnchor.Alignment.vertical:5:10: note: 'vertical' has been explicitly marked unavailable here
3 | @available(iOS 11.3, *)
4 | @available(visionOS, unavailable)
5 | case vertical }
| `- note: 'vertical' has been explicitly marked unavailable here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:127:27: error: 'ARRaycastQuery' is unavailable in visionOS
125 | }
126 | for target in self.allowedRaycasts {
127 | let rcQuery = ARRaycastQuery(
| `- error: 'ARRaycastQuery' is unavailable in visionOS
128 | origin: camPos, direction: camDir,
129 | allowing: target, alignment: .any
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastQuery.h:56:12: note: 'ARRaycastQuery' has been explicitly marked unavailable here
54 | */
55 | API_AVAILABLE(ios(13.0))
56 | @interface ARRaycastQuery : NSObject
| `- note: 'ARRaycastQuery' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:127:27: error: 'init(origin:direction:allowing:alignment:)' is unavailable in visionOS
125 | }
126 | for target in self.allowedRaycasts {
127 | let rcQuery = ARRaycastQuery(
| `- error: 'init(origin:direction:allowing:alignment:)' is unavailable in visionOS
128 | origin: camPos, direction: camDir,
129 | allowing: target, alignment: .any
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastQuery.h:89:1: note: 'init(origin:direction:allowing:alignment:)' has been explicitly marked unavailable here
87 | - Returns: An initialized raycast query.
88 | */
89 | - (instancetype)initWithOrigin:(simd_float3)origin
| `- note: 'init(origin:direction:allowing:alignment:)' has been explicitly marked unavailable here
90 | direction:(simd_float3)direction
91 | allowingTarget:(ARRaycastTarget)target
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift:129:47: error: 'any' is unavailable in visionOS
127 | let rcQuery = ARRaycastQuery(
128 | origin: camPos, direction: camDir,
129 | allowing: target, alignment: .any
| `- error: 'any' is unavailable in visionOS
130 | )
131 | let results = self.arView?.session.raycast(rcQuery) ?? []
ARKitCore.ARRaycastQuery.TargetAlignment.any:4:10: note: 'any' has been explicitly marked unavailable here
2 | enum TargetAlignment {
3 | @available(visionOS, unavailable)
4 | case any }
| `- note: 'any' has been explicitly marked unavailable here
5 | }
6 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Alignment.swift (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FocusEntity+Alignment.swift
SwiftCompile normal arm64 Compiling\ FocusEntityComponent.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift (in target 'FocusEntity' from project 'FocusEntity')
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:15:9: warning: cannot use class 'UIColor' in a property declaration member of a type not marked '@_implementationOnly'; 'UIKit' was not imported by this file
13 |
14 | internal struct ClassicStyle {
15 | var color: Material.Color
| `- warning: cannot use class 'UIColor' in a property declaration member of a type not marked '@_implementationOnly'; 'UIKit' was not imported by this file
16 | }
17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:31:12: note: class declared here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(2.0), watchos(2.0)) NS_SWIFT_SENDABLE
31 | @interface UIColor : NSObject <NSSecureCoding, NSCopying>
| `- note: class declared here
32 |
33 | // Convenience methods for creating colors
/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
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 'UIColor' in an associated value of a public or '@usableFromInline' enum; 'UIKit' 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 'UIColor' in an associated value of a public or '@usableFromInline' enum; 'UIKit' 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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:31:12: note: class declared here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(2.0), watchos(2.0)) NS_SWIFT_SENDABLE
31 | @interface UIColor : NSObject <NSSecureCoding, NSCopying>
| `- note: class declared here
32 |
33 | // Convenience methods for creating colors
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:87:34: error: 'ARRaycastQuery' is unavailable in visionOS
85 | internal var segments: [FocusEntity.Segment] = []
86 | #if !os(macOS)
87 | public var allowedRaycasts: [ARRaycastQuery.Target] = [.existingPlaneGeometry, .estimatedPlane]
| `- error: 'ARRaycastQuery' is unavailable in visionOS
88 | #endif
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/SubFrameworks/ARKitCore.framework/Headers/ARRaycastQuery.h:56:12: note: 'ARRaycastQuery' has been explicitly marked unavailable here
54 | */
55 | API_AVAILABLE(ios(13.0))
56 | @interface ARRaycastQuery : NSObject
| `- note: 'ARRaycastQuery' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:87:61: error: 'existingPlaneGeometry' is unavailable in visionOS
85 | internal var segments: [FocusEntity.Segment] = []
86 | #if !os(macOS)
87 | public var allowedRaycasts: [ARRaycastQuery.Target] = [.existingPlaneGeometry, .estimatedPlane]
| `- error: 'existingPlaneGeometry' is unavailable in visionOS
88 | #endif
89 |
ARKitCore.ARRaycastQuery.Target.existingPlaneGeometry:4:10: note: 'existingPlaneGeometry' has been explicitly marked unavailable here
2 | enum Target {
3 | @available(visionOS, unavailable)
4 | case existingPlaneGeometry }
| `- note: 'existingPlaneGeometry' has been explicitly marked unavailable here
5 | }
6 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FocusEntityComponent.swift
SwiftCompile normal arm64 Compiling\ float4x4+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/float4x4+Extension.swift (in target 'FocusEntity' from project 'FocusEntity')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/float4x4+Extension.swift (in target 'FocusEntity' from project 'FocusEntity')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile float4x4+Extension.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-22 09:10:16.326 xcodebuild[820:4837] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ FocusEntity (in target 'FocusEntity' from project 'FocusEntity')
SwiftCompile normal arm64 (in target 'FocusEntity' from project 'FocusEntity')
Building workspace FocusEntity with scheme FocusEntity
(3 failures)
BUILD FAILURE 6.4 visionOS