The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Prism, reference 0.2.0 (5004fe), with Swift 6.4 for macOS (SPM) on 12 Oct 2026 18:36:20 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Luminoid/Prism.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Luminoid/Prism
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 5004fe7 docs: release 0.2.0 in CHANGELOG, README and CLAUDE.md
Cloned https://github.com/Luminoid/Prism.git
Revision (git rev-parse @):
5004fe7939deff9ce697205a1411c66c95b431ca
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Luminoid/Prism.git at 0.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Luminoid/Prism.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[47 / 73] Prism_PrismUI
[49 / 73] Prism_PrismUI
[55 / 73]
[56 / 74] PrismCore
[65 / 152]
[68 / 152]
[72 / 152]
[77 / 152]
[79 / 152]
[84 / 152]
[86 / 152]
[88 / 152]
[91 / 152]
[96 / 152]
[98 / 152]
[101 / 152]
[102 / 152]
[110 / 152]
[111 / 152]
[112 / 152]
[118 / 152]
[122 / 152]
[123 / 152]
[134 / 152] PrismCore
warning: missing creator for mutated node: ('/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/Prism_PrismCore.bundle/Contents/MacOS')
warning: missing creator for mutated node: ('/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/Prism_PrismUI.bundle/Contents/MacOS')
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMBurstLog.swift:20:37: error: 'milliseconds' is only available in macOS 13.0 or newer
 6 | /// between. Repeats of the logged text are dropped.
 7 | @MainActor
 8 | final class PRMBurstLog {
   |             `- note: add '@available' attribute to enclosing class
 9 |     private struct Burst {
10 |         var first: String
   :
18 |     private var bursts: [String: Burst] = [:]
19 |
20 |     init(quietInterval: Duration = .milliseconds(500)) {
   |     |                               `- error: 'milliseconds' is only available in macOS 13.0 or newer
   |     `- note: add '@available' attribute to enclosing initializer
21 |         self.quietInterval = quietInterval
22 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCamera.swift:717:42: error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
 715 |     /// Sets video stabilization on the preview and recording connections. Kept across camera
 716 |     /// switches and output rebuilds; ``state`` reports the mode actually active.
 717 |     public func setStabilization(_ mode: AVCaptureVideoStabilizationMode) async {
     |                                          `- error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
 718 |         await session.setStabilization(mode)
 719 |         await refreshState()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCamera.swift:762:81: error: 'Duration' is only available in macOS 13.0 or newer
  20 | /// ```
  21 | @MainActor
  22 | public final class PRMCamera {
     |                    `- note: add '@available' attribute to enclosing class
  23 |     // MARK: - Properties
  24 |
     :
 760 |
 761 |     /// Waits until `stream` ends or `timeout` passes, whichever comes first.
 762 |     nonisolated static func waitForFirst(of stream: AsyncStream<Void>, timeout: Duration) async {
     |                             |                                                   `- error: 'Duration' is only available in macOS 13.0 or newer
     |                             `- note: add '@available' attribute to enclosing static method
 763 |         await withTaskGroup(of: Void.self) { group in
 764 |             group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraConfiguration.swift:41:68: error: 'QualityPrioritization' is only available in macOS 13.0 or newer
  5 | /// Sensible defaults match a photo + filtered-video preview workflow. Customize before passing
  6 | /// to ``PRMCameraSession/configure(_:)``.
  7 | public struct PRMCameraConfiguration: Sendable {
    |               `- note: add '@available' attribute to enclosing struct
  8 |     /// The session preset controlling output quality.
  9 |     public var sessionPreset: AVCaptureSession.Preset
    :
 39 |     /// Photo quality prioritization ceiling. Per-capture requests may select up to this level.
 40 |     /// (Replaces the deprecated `isAutoStillImageStabilizationEnabled` flag.)
 41 |     public var maxPhotoQualityPrioritization: AVCapturePhotoOutput.QualityPrioritization
    |                                                                    `- error: 'QualityPrioritization' is only available in macOS 13.0 or newer
 42 |
 43 |     /// iOS 17+: enable overlapping capture phases for faster shot-to-shot.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraConfiguration.swift:68:49: error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
 66 |     /// live preview never gets the latency-heavy cinematic modes: it runs unstabilized in the
 67 |     /// photo modes and with iOS 26's `.lowLatency` while a movie output is attached.
 68 |     public var preferredVideoStabilizationMode: AVCaptureVideoStabilizationMode
    |                                                 `- error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
 69 |
 70 |     /// iPad-only (iOS 16+): allow camera capture while the app is multitasking. iPhone returns
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraConfiguration.swift:142:61: error: 'QualityPrioritization' is only available in macOS 13.0 or newer
  5 | /// Sensible defaults match a photo + filtered-video preview workflow. Customize before passing
  6 | /// to ``PRMCameraSession/configure(_:)``.
  7 | public struct PRMCameraConfiguration: Sendable {
    |               `- note: add '@available' attribute to enclosing struct
  8 |     /// The session preset controlling output quality.
  9 |     public var sessionPreset: AVCaptureSession.Preset
    :
130 |     public var enableCameraSensorOrientationCompensation: Bool?
131 |
132 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
133 |         sessionPreset: AVCaptureSession.Preset = .photo,
134 |         cameraPosition: AVCaptureDevice.Position = .back,
    :
140 |         videoPixelFormat: OSType = kCVPixelFormatType_32BGRA,
141 |         discardsLateVideoFrames: Bool = true,
142 |         maxPhotoQualityPrioritization: AVCapturePhotoOutput.QualityPrioritization = .quality,
    |                                                             `- error: 'QualityPrioritization' is only available in macOS 13.0 or newer
143 |         enableResponsiveCapture: Bool = true,
144 |         enableAutoDeferredPhotoDelivery: Bool = true,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraConfiguration.swift:149:42: error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
147 |         enableDepthDataDelivery: Bool = false,
148 |         enablePortraitEffectsMatteDelivery: Bool = false,
149 |         preferredVideoStabilizationMode: AVCaptureVideoStabilizationMode = .auto,
    |                                          `- error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
150 |         enableMultitaskingCameraAccess: Bool = false,
151 |         prefersMaxPhotoDimensionsFormat: Bool = false,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession+DeviceObservers.swift:74:35: error: 'SystemPressureState' is unavailable in macOS
72 |     /// Factor-only changes at the same level aren't logged.
73 |     nonisolated static func logSystemPressureChange(
74 |         from old: AVCaptureDevice.SystemPressureState?,
   |                                   `- error: 'SystemPressureState' is unavailable in macOS
75 |         to new: AVCaptureDevice.SystemPressureState?
76 |     ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSystemPressure.h:83:12: note: 'SystemPressureState' has been explicitly marked unavailable here
 81 |  */
 82 | API_AVAILABLE(ios(11.1), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 83 | @interface AVCaptureSystemPressureState : NSObject
    |            `- note: 'SystemPressureState' has been explicitly marked unavailable here
 84 | {
 85 | @private
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession+DeviceObservers.swift:75:33: error: 'SystemPressureState' is unavailable in macOS
73 |     nonisolated static func logSystemPressureChange(
74 |         from old: AVCaptureDevice.SystemPressureState?,
75 |         to new: AVCaptureDevice.SystemPressureState?
   |                                 `- error: 'SystemPressureState' is unavailable in macOS
76 |     ) {
77 |         guard let new else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSystemPressure.h:83:12: note: 'SystemPressureState' has been explicitly marked unavailable here
 81 |  */
 82 | API_AVAILABLE(ios(11.1), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 83 | @interface AVCaptureSystemPressureState : NSObject
    |            `- note: 'SystemPressureState' has been explicitly marked unavailable here
 84 | {
 85 | @private
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession.swift:83:47: error: 'AVCaptureDepthDataOutput' is unavailable in macOS
  81 |
  82 |     /// Live depth stream, when attached with ``attachDepthDataOutput(delegate:queue:filteringEnabled:)``.
  83 |     public internal(set) var depthDataOutput: AVCaptureDepthDataOutput?
     |                                               `- error: 'AVCaptureDepthDataOutput' is unavailable in macOS
  84 |
  85 |     /// Delegate, queue and filtering for the depth stream, kept so a full reconfigure
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h:32:12: note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 30 |  */
 31 | API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
 32 | @interface AVCaptureDepthDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 33 | {
 34 | @private
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession.swift:90:27: error: 'AVCaptureDepthDataOutputDelegate' is unavailable in macOS
  88 |
  89 |     struct DepthDataOutputRequest {
  90 |         let delegate: any AVCaptureDepthDataOutputDelegate
     |                           `- error: 'AVCaptureDepthDataOutputDelegate' is unavailable in macOS
  91 |         let queue: DispatchQueue
  92 |         let filteringEnabled: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h:110:11: note: 'AVCaptureDepthDataOutputDelegate' has been explicitly marked unavailable here
108 |  */
109 | API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
110 | @protocol AVCaptureDepthDataOutputDelegate <NSObject>
    |           `- note: 'AVCaptureDepthDataOutputDelegate' has been explicitly marked unavailable here
111 |
112 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession.swift:152:46: error: 'AVCaptureMetadataOutput' is only available in macOS 13.0 or newer
  16 | /// on the actor.
  17 | @PRMCameraActor
  18 | public final class PRMCameraSession {
     |                    `- note: add '@available' attribute to enclosing class
  19 |     // MARK: - Properties
  20 |
     :
 150 |     /// Metadata output feeding subject tracking, Cinematic Video and
 151 |     /// ``PRMCameraConfiguration/metadataObjectTypes``. Attached on first need; `nil` until then.
 152 |     public internal(set) var metadataOutput: AVCaptureMetadataOutput?
     |                                              `- error: 'AVCaptureMetadataOutput' is only available in macOS 13.0 or newer
 153 |
 154 |     /// Dedicated queue for metadata delegate callbacks, separate from frame delivery so
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession.swift:187:51: error: 'OSAllocatedUnfairLock' is only available in macOS 13.0 or newer
  16 | /// on the actor.
  17 | @PRMCameraActor
  18 | public final class PRMCameraSession {
     |                    `- note: add '@available' attribute to enclosing class
  19 |     // MARK: - Properties
  20 |
     :
 185 |
 186 |     /// The latest value sent on ``framingRecommendations``, handed to late subscribers.
 187 |     nonisolated let latestFramingRecommendation = OSAllocatedUnfairLock<PRMFraming?>(initialState: nil)
     |                                                   `- error: 'OSAllocatedUnfairLock' is only available in macOS 13.0 or newer
 188 |
 189 |     /// Device-level KVO behind ``deviceEvents`` / ``framingRecommendations``.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession.swift:187:84: error: 'init(initialState:)' is only available in macOS 13.0 or newer
  16 | /// on the actor.
  17 | @PRMCameraActor
  18 | public final class PRMCameraSession {
     |                    `- note: add '@available' attribute to enclosing class
  19 |     // MARK: - Properties
  20 |
     :
 185 |
 186 |     /// The latest value sent on ``framingRecommendations``, handed to late subscribers.
 187 |     nonisolated let latestFramingRecommendation = OSAllocatedUnfairLock<PRMFraming?>(initialState: nil)
     |                                                                                    `- error: 'init(initialState:)' is only available in macOS 13.0 or newer
 188 |
 189 |     /// Device-level KVO behind ``deviceEvents`` / ``framingRecommendations``.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession.swift:209:28: error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
 207 |     /// Video stabilization for the video-data and movie connections, re-applied whenever
 208 |     /// either is rebuilt (camera switch, runtime attach).
 209 |     var stabilizationMode: AVCaptureVideoStabilizationMode = .off
     |                            `- error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
 210 |
 211 |     /// Bumped by every Cinematic Video toggle and camera switch, so an enable that waited
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession.swift:396:20: error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
 394 |     /// latency, where the format supports it.
 395 |     nonisolated static func previewStabilizationMode(
 396 |         requested: AVCaptureVideoStabilizationMode,
     |                    `- error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
 397 |         hasMovieOutput: Bool,
 398 |         supportsLowLatency: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession.swift:399:10: error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
 397 |         hasMovieOutput: Bool,
 398 |         supportsLowLatency: Bool
 399 |     ) -> AVCaptureVideoStabilizationMode {
     |          `- error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
 400 |         guard requested != .off, hasMovieOutput, supportsLowLatency else { return .off }
 401 |         if #available(iOS 26.0, *) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession.swift:411:42: error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
 409 |     /// gets a low-latency mode instead; see
 410 |     /// ``previewStabilizationMode(requested:hasMovieOutput:supportsLowLatency:)``.
 411 |     public func setStabilization(_ mode: AVCaptureVideoStabilizationMode) {
     |                                          `- error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
 412 |         stabilizationMode = mode
 413 |         applyStabilization()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraState.swift:48:41: error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
 46 |
 47 |     /// Currently active stabilization mode on the video data output connection (if any).
 48 |     public var activeStabilizationMode: AVCaptureVideoStabilizationMode
    |                                         `- error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
 49 |
 50 |     /// Currently active frame rate, or `nil` if no custom rate is set.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraState.swift:100:53: error: 'InterruptionReason' is unavailable in macOS
 98 |     /// Why the session is interrupted, when ``isInterrupted`` is `true`. iOS 26 adds
 99 |     /// `.sensitiveContentMitigationActivated`.
100 |     public var interruptionReason: AVCaptureSession.InterruptionReason?
    |                                                     `- error: 'InterruptionReason' is unavailable in macOS
101 |
102 |     /// Thermal / power pressure on the capture device. iOS 27 adds `.batteryStress`.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:72:28: note: 'InterruptionReason' has been explicitly marked unavailable here
  70 |
  71 | /// Constants indicating interruption reason. One of these is returned with the ``AVCaptureSessionWasInterruptedNotification`` (see ``AVCaptureSessionInterruptionReasonKey``).
  72 | typedef NS_ENUM(NSInteger, AVCaptureSessionInterruptionReason) {
     |                            `- note: 'InterruptionReason' has been explicitly marked unavailable here
  73 |     /// An interruption caused by the app being sent to the background while using a camera. Camera usage is prohibited while in the background. Beginning in iOS 9.0, ``AVCaptureSession`` no longer produces an ``AVCaptureSessionRuntimeErrorNotification`` if you attempt to start running a camera while in the background. Instead, it sends an ``AVCaptureSessionWasInterruptedNotification`` with ``AVCaptureSessionInterruptionReasonVideoDeviceNotAvailableInBackground``. Provided you don't explicitly call ``AVCaptureSession/stopRunning``, your ``AVCaptureSession/startRunning`` request is preserved, and when your app comes back to foreground, you receive ``AVCaptureSessionInterruptionEndedNotification`` and your session starts running.
  74 |     AVCaptureSessionInterruptionReasonVideoDeviceNotAvailableInBackground               = 1,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraState.swift:152:34: error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
150 |         whiteBalanceTemperature: Float = 5500,
151 |         whiteBalanceTint: Float = 0,
152 |         activeStabilizationMode: AVCaptureVideoStabilizationMode = .off,
    |                                  `- error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
153 |         frameRate: Float64? = nil,
154 |         isVideoHDREnabled: Bool = false,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraState.swift:164:46: error: 'InterruptionReason' is unavailable in macOS
162 |         lensSmudgeStatus: PRMLensSmudgeStatus = .disabled,
163 |         isLowLightVideoNoiseReductionActive: Bool = false,
164 |         interruptionReason: AVCaptureSession.InterruptionReason? = nil,
    |                                              `- error: 'InterruptionReason' is unavailable in macOS
165 |         systemPressure: PRMSystemPressure = .nominal,
166 |         isContinuousAutoFocusTrackingEnabled: Bool = false,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:72:28: note: 'InterruptionReason' has been explicitly marked unavailable here
  70 |
  71 | /// Constants indicating interruption reason. One of these is returned with the ``AVCaptureSessionWasInterruptedNotification`` (see ``AVCaptureSessionInterruptionReasonKey``).
  72 | typedef NS_ENUM(NSInteger, AVCaptureSessionInterruptionReason) {
     |                            `- note: 'InterruptionReason' has been explicitly marked unavailable here
  73 |     /// An interruption caused by the app being sent to the background while using a camera. Camera usage is prohibited while in the background. Beginning in iOS 9.0, ``AVCaptureSession`` no longer produces an ``AVCaptureSessionRuntimeErrorNotification`` if you attempt to start running a camera while in the background. Instead, it sends an ``AVCaptureSessionWasInterruptedNotification`` with ``AVCaptureSessionInterruptionReasonVideoDeviceNotAvailableInBackground``. Provided you don't explicitly call ``AVCaptureSession/stopRunning``, your ``AVCaptureSession/startRunning`` request is preserved, and when your app comes back to foreground, you receive ``AVCaptureSessionInterruptionEndedNotification`` and your session starts running.
  74 |     AVCaptureSessionInterruptionReasonVideoDeviceNotAvailableInBackground               = 1,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCinematicVideo.swift:18:34: error: 'CinematicVideoFocusMode' is only available in macOS 26.0 or newer
15 |
16 | @available(iOS 26.0, *)
17 | extension PRMCinematicFocusMode {
   | `- note: add '@available' attribute to enclosing extension
18 |     init(_ mode: AVCaptureDevice.CinematicVideoFocusMode) {
   |     |                            `- error: 'CinematicVideoFocusMode' is only available in macOS 26.0 or newer
   |     `- note: add '@available' attribute to enclosing initializer
19 |         switch mode {
20 |         case .strong: self = .strong
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCinematicVideo.swift:26:33: error: 'CinematicVideoFocusMode' is only available in macOS 26.0 or newer
15 |
16 | @available(iOS 26.0, *)
17 | extension PRMCinematicFocusMode {
   | `- note: add '@available' attribute to enclosing extension
18 |     init(_ mode: AVCaptureDevice.CinematicVideoFocusMode) {
19 |         switch mode {
   :
24 |     }
25 |
26 |     var avMode: AVCaptureDevice.CinematicVideoFocusMode {
   |         |                       `- error: 'CinematicVideoFocusMode' is only available in macOS 26.0 or newer
   |         `- note: add '@available' attribute to enclosing property
27 |         switch self {
28 |         case .none: .none
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCinematicVideo.swift:59:20: error: 'AVCaptureSceneMonitoringStatus' is only available in macOS 26.0 or newer
50 | /// A scene condition that keeps Cinematic Video from working well. Mirrors
51 | /// `AVCaptureSceneMonitoringStatus` (iOS 26). Surface it as a "scene too dark" hint.
52 | public enum PRMSceneMonitoringStatus: Sendable, Hashable {
   |             `- note: add '@available' attribute to enclosing enum
53 |     /// The scene is too dark for Cinematic Video to work optimally.
54 |     case notEnoughLight
   :
57 |
58 |     @available(iOS 26.0, *)
59 |     init(_ status: AVCaptureSceneMonitoringStatus) {
   |     |              `- error: 'AVCaptureSceneMonitoringStatus' is only available in macOS 26.0 or newer
   |     `- note: add '@available' attribute to enclosing initializer
60 |         self = status == .notEnoughLight ? .notEnoughLight : .other(status.rawValue)
61 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMFraming.swift:34:36: error: 'AspectRatio' is unavailable in macOS
32 | @available(iOS 26.0, *)
33 | extension PRMAspectRatio {
34 |     init?(_ ratio: AVCaptureDevice.AspectRatio) {
   |                                    `- error: 'AspectRatio' is unavailable in macOS
35 |         switch ratio {
36 |         case .ratio1x1: self = .ratio1x1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2838:19: note: 'AspectRatio' has been explicitly marked unavailable here
2836 |
2837 | /// String constants describing the different video aspect ratios you can configure for a particular device.
2838 | typedef NSString *AVCaptureAspectRatio NS_TYPED_ENUM NS_SWIFT_NAME(AVCaptureDevice.AspectRatio) API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, visionos) API_UNAVAILABLE(watchos);
     |                   `- note: 'AspectRatio' has been explicitly marked unavailable here
2839 |
2840 | /// An aspect ratio of 1x1.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMFraming.swift:45:40: error: 'AspectRatio' is unavailable in macOS
43 |     }
44 |
45 |     var avAspectRatio: AVCaptureDevice.AspectRatio {
   |                                        `- error: 'AspectRatio' is unavailable in macOS
46 |         switch self {
47 |         case .ratio1x1: .ratio1x1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2838:19: note: 'AspectRatio' has been explicitly marked unavailable here
2836 |
2837 | /// String constants describing the different video aspect ratios you can configure for a particular device.
2838 | typedef NSString *AVCaptureAspectRatio NS_TYPED_ENUM NS_SWIFT_NAME(AVCaptureDevice.AspectRatio) API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, visionos) API_UNAVAILABLE(watchos);
     |                   `- note: 'AspectRatio' has been explicitly marked unavailable here
2839 |
2840 | /// An aspect ratio of 1x1.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMFraming.swift:70:22: error: 'AVCaptureFraming' is unavailable in macOS
68 |
69 |     @available(iOS 26.0, *)
70 |     init?(_ framing: AVCaptureFraming) {
   |                      `- error: 'AVCaptureFraming' is unavailable in macOS
71 |         guard let ratio = PRMAspectRatio(framing.aspectRatio) else { return nil }
72 |         self.init(aspectRatio: ratio, zoomFactor: framing.zoomFactor)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2940:12: note: 'AVCaptureFraming' has been explicitly marked unavailable here
2938 | /// An ``AVCaptureSmartFramingMonitor`` provides framing recommendations using this object.
2939 | API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, visionos) API_UNAVAILABLE(watchos)
2940 | @interface AVCaptureFraming : NSObject
     |            `- note: 'AVCaptureFraming' has been explicitly marked unavailable here
2941 |
2942 | AV_INIT_UNAVAILABLE
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMMetadataRouter.swift:55:19: error: 'AVCaptureMetadataOutput' is only available in macOS 13.0 or newer
51 | }
52 |
53 | extension PRMMetadataRouter: AVCaptureMetadataOutputObjectsDelegate {
   | `- note: add '@available' attribute to enclosing extension
54 |     public func metadataOutput(
   |                 `- note: add '@available' attribute to enclosing instance method
55 |         _ output: AVCaptureMetadataOutput,
   |                   `- error: 'AVCaptureMetadataOutput' is only available in macOS 13.0 or newer
56 |         didOutput metadataObjects: [AVMetadataObject],
57 |         from connection: AVCaptureConnection
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMRotationCoordinator.swift:31:45: error: 'RotationCoordinator' is only available in macOS 14.0 or newer
 27 | /// ```
 28 | @MainActor
 29 | public final class PRMRotationCoordinator {
    |                    `- note: add '@available' attribute to enclosing class
 30 |     /// The underlying Apple coordinator. Use this for one-shot angle reads.
 31 |     public let coordinator: AVCaptureDevice.RotationCoordinator
    |                                             `- error: 'RotationCoordinator' is only available in macOS 14.0 or newer
 32 |
 33 |     private var previewObservation: NSKeyValueObservation?
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMSessionHealth.swift:32:20: error: 'AVCaptureCameraLensSmudgeDetectionStatus' is only available in macOS 26.0 or newer
 19 |
 20 | /// Result of iOS 26 camera-lens smudge detection.
 21 | public enum PRMLensSmudgeStatus: Sendable, Equatable {
    |             `- note: add '@available' attribute to enclosing enum
 22 |     /// Detection is off, or unsupported on this device / format / OS.
 23 |     case disabled
    :
 30 |
 31 |     @available(iOS 26.0, *)
 32 |     init(_ status: AVCaptureCameraLensSmudgeDetectionStatus) {
    |     |              `- error: 'AVCaptureCameraLensSmudgeDetectionStatus' is only available in macOS 26.0 or newer
    |     `- note: add '@available' attribute to enclosing initializer
 33 |         switch status {
 34 |         case .smudgeNotDetected: self = .clean
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMSessionHealth.swift:103:35: error: 'SystemPressureState' is unavailable in macOS
101 |     public static let nominal = Self(level: .nominal)
102 |
103 |     init(_ state: AVCaptureDevice.SystemPressureState) {
    |                                   `- error: 'SystemPressureState' is unavailable in macOS
104 |         level = switch state.level {
105 |         case .fair: .fair
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSystemPressure.h:83:12: note: 'SystemPressureState' has been explicitly marked unavailable here
 81 |  */
 82 | API_AVAILABLE(ios(11.1), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 83 | @interface AVCaptureSystemPressureState : NSObject
    |            `- note: 'SystemPressureState' has been explicitly marked unavailable here
 84 | {
 85 | @private
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:39:23: error: 'AVCaptureDepthDataOutputDelegate' is unavailable in macOS
 37 |     public static func addDepthDataOutput(
 38 |         to session: AVCaptureSession,
 39 |         delegate: any AVCaptureDepthDataOutputDelegate,
    |                       `- error: 'AVCaptureDepthDataOutputDelegate' is unavailable in macOS
 40 |         queue: DispatchQueue
 41 |     ) -> AVCaptureDepthDataOutput? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h:110:11: note: 'AVCaptureDepthDataOutputDelegate' has been explicitly marked unavailable here
108 |  */
109 | API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
110 | @protocol AVCaptureDepthDataOutputDelegate <NSObject>
    |           `- note: 'AVCaptureDepthDataOutputDelegate' has been explicitly marked unavailable here
111 |
112 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:41:10: error: 'AVCaptureDepthDataOutput' is unavailable in macOS
 39 |         delegate: any AVCaptureDepthDataOutputDelegate,
 40 |         queue: DispatchQueue
 41 |     ) -> AVCaptureDepthDataOutput? {
    |          `- error: 'AVCaptureDepthDataOutput' is unavailable in macOS
 42 |         // AVFoundation raises when a depth data output runs alongside Cinematic Video.
 43 |         if #available(iOS 26.0, *),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h:32:12: note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 30 |  */
 31 | API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
 32 | @interface AVCaptureDepthDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 33 | {
 34 | @private
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:58:65: error: 'AVCaptureDepthDataOutput' is unavailable in macOS
 56 |     }
 57 |
 58 |     public static func setFiltering(_ enabled: Bool, on output: AVCaptureDepthDataOutput) {
    |                                                                 `- error: 'AVCaptureDepthDataOutput' is unavailable in macOS
 59 |         output.isFilteringEnabled = enabled
 60 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h:32:12: note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 30 |  */
 31 | API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
 32 | @interface AVCaptureDepthDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 33 | {
 34 | @private
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:79:23: error: 'AVCaptureDepthDataOutputDelegate' is unavailable in macOS
 77 |     @discardableResult
 78 |     func attachDepthDataOutput(
 79 |         delegate: any AVCaptureDepthDataOutputDelegate,
    |                       `- error: 'AVCaptureDepthDataOutputDelegate' is unavailable in macOS
 80 |         queue: DispatchQueue,
 81 |         filteringEnabled: Bool = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h:110:11: note: 'AVCaptureDepthDataOutputDelegate' has been explicitly marked unavailable here
108 |  */
109 | API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
110 | @protocol AVCaptureDepthDataOutputDelegate <NSObject>
    |           `- note: 'AVCaptureDepthDataOutputDelegate' has been explicitly marked unavailable here
111 |
112 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift:82:23: error: 'AVCaptureDepthDataOutput' is unavailable in macOS
 80 |         queue: DispatchQueue,
 81 |         filteringEnabled: Bool = true
 82 |     ) async throws -> AVCaptureDepthDataOutput {
    |                       `- error: 'AVCaptureDepthDataOutput' is unavailable in macOS
 83 |         if isCinematicVideoCaptureActive {
 84 |             throw PRMSessionError.unsupportedConfiguration("A depth stream can't run while Cinematic Video is enabled")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h:32:12: note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 30 |  */
 31 | API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
 32 | @interface AVCaptureDepthDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 33 | {
 34 | @private
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMOutputResolver.swift:18:34: error: 'OSAllocatedUnfairLock' is only available in macOS 13.0 or newer
 9 | /// output, a photo output re-attach) replace the instance; a wrapper holding the old one
10 | /// would capture against a detached output and fail at the AVFoundation gate.
11 | final class PRMOutputResolver<Output: AVCaptureOutput>: @unchecked Sendable {
   |             `- note: add '@available' attribute to enclosing generic class
12 |     private enum Source: @unchecked Sendable {
13 |         case fixed(Output)
   :
16 |
17 |     private let source: Source
18 |     private let latestResolved = OSAllocatedUnfairLock<Output?>(uncheckedState: nil)
   |                                  `- error: 'OSAllocatedUnfairLock' is only available in macOS 13.0 or newer
19 |
20 |     /// Always `output`.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:44:66: error: 'AVCaptureDeferredPhotoProxy' is unavailable in macOS
 42 |     public func photoOutput(
 43 |         _ output: AVCapturePhotoOutput,
 44 |         didFinishCapturingDeferredPhotoProxy deferredPhotoProxy: AVCaptureDeferredPhotoProxy?,
    |                                                                  `- error: 'AVCaptureDeferredPhotoProxy' is unavailable in macOS
 45 |         error: (any Error)?
 46 |     ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:2343:12: note: 'AVCaptureDeferredPhotoProxy' has been explicitly marked unavailable here
2341 |  */
2342 | API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, visionos) API_UNAVAILABLE(watchos)
2343 | @interface AVCaptureDeferredPhotoProxy : AVCapturePhoto
     |            `- note: 'AVCaptureDeferredPhotoProxy' has been explicitly marked unavailable here
2344 |
2345 | AV_INIT_UNAVAILABLE
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:42:17: error: cannot override 'photoOutput' which has been marked unavailable
 40 |     /// proxy is a failure with no follow-up; the capture is identified (and failed) in
 41 |     /// `didFinishCaptureFor`, which carries the resolved settings this callback lacks.
 42 |     public func photoOutput(
    |                 `- error: cannot override 'photoOutput' which has been marked unavailable
 43 |         _ output: AVCapturePhotoOutput,
 44 |         didFinishCapturingDeferredPhotoProxy deferredPhotoProxy: AVCaptureDeferredPhotoProxy?,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1071:1: note: 'photoOutput(_:didFinishCapturingDeferredPhotoProxy:error:)' has been explicitly marked unavailable here
1069 |      Delegates are required to implement this method if they opt in for deferred photo processing, otherwise an NSInvalidArgumentException will be thrown from the -[AVCapturePhotoOutput capturePhotoWithSettings:delegate:] method.
1070 | */
1071 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishCapturingDeferredPhotoProxy:(nullable AVCaptureDeferredPhotoProxy *)deferredPhotoProxy error:(nullable NSError *)error NS_SWIFT_NAME(photoOutput(_:didFinishCapturingDeferredPhotoProxy:error:)) API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, visionos) API_UNAVAILABLE(watchos);
     | `- note: 'photoOutput(_:didFinishCapturingDeferredPhotoProxy:error:)' has been explicitly marked unavailable here
1072 |
1073 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Delegate.swift:54:17: error: cannot override 'photoOutput' which has been marked unavailable
 52 |     }
 53 |
 54 |     public func photoOutput(
    |                 `- error: cannot override 'photoOutput' which has been marked unavailable
 55 |         _ output: AVCapturePhotoOutput,
 56 |         didFinishProcessingLivePhotoToMovieFileAt outputFileURL: URL,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1157:1: note: 'photoOutput(_:didFinishProcessingLivePhotoToMovieFileAt:duration:photoDisplayTime:resolvedSettings:error:)' has been explicitly marked unavailable here
1155 |     When this callback fires, the movie on disk is fully finished and ready for consumption.
1156 |  */
1157 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingLivePhotoToMovieFileAtURL:(NSURL *)outputFileURL duration:(CMTime)duration photoDisplayTime:(CMTime)photoDisplayTime resolvedSettings:(AVCaptureResolvedPhotoSettings *)resolvedSettings error:(nullable NSError *)error API_UNAVAILABLE(macos);
     | `- note: 'photoOutput(_:didFinishProcessingLivePhotoToMovieFileAt:duration:photoDisplayTime:resolvedSettings:error:)' has been explicitly marked unavailable here
1158 |
1159 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Encoding.swift:178:5: error: 'AVCapturePhotoFileDataRepresentationCustomizer' is unavailable in macOS
176 | /// `fileDataRepresentation(with:)` call.
177 | private final class ExposurePatchCustomizer: NSObject,
178 |     AVCapturePhotoFileDataRepresentationCustomizer {
    |     `- error: 'AVCapturePhotoFileDataRepresentationCustomizer' is unavailable in macOS
179 |     private let iso: Float
180 |     private let exposureDuration: CMTime
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:2358:11: note: 'AVCapturePhotoFileDataRepresentationCustomizer' has been explicitly marked unavailable here
2356 |  */
2357 | API_AVAILABLE(ios(12.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
2358 | @protocol AVCapturePhotoFileDataRepresentationCustomizer <NSObject>
     |           `- note: 'AVCapturePhotoFileDataRepresentationCustomizer' has been explicitly marked unavailable here
2359 |
2360 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift:434:55: error: 'QualityPrioritization' is only available in macOS 13.0 or newer
 42 | /// and only then builds its `AVCapturePhotoSettings`, against the output's state at that
 43 | /// moment: a reconfigure during the wait can't leave settings the output would reject.
 44 | public final class PRMPhotoCapture: NSObject, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
 45 |     // MARK: - Properties
 46 |
    :
432 |
433 |     /// "speed", "balanced", "quality".
434 |     static func name(of quality: AVCapturePhotoOutput.QualityPrioritization) -> String {
    |                 |                                     `- error: 'QualityPrioritization' is only available in macOS 13.0 or newer
    |                 `- note: add '@available' attribute to enclosing static method
435 |         switch quality {
436 |         case .speed: "speed"
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:21:60: error: 'QualityPrioritization' is only available in macOS 13.0 or newer
 17 | /// iOS 17 photo features (responsive capture / deferred / zero shutter lag are configured
 18 | /// once on the photo output via ``PRMCameraConfiguration``).
 19 | public struct PRMPhotoSettings: Sendable {
    |               `- note: add '@available' attribute to enclosing struct
 20 |     public var flashMode: AVCaptureDevice.FlashMode = .off
 21 |     public var qualityPrioritization: AVCapturePhotoOutput.QualityPrioritization = .balanced
    |                                                            `- error: 'QualityPrioritization' is only available in macOS 13.0 or newer
 22 |     public var codec: AVVideoCodecType?
 23 |     public var maxDimensions: CMVideoDimensions?
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:87:69: error: 'QualityPrioritization' is only available in macOS 13.0 or newer
 17 | /// iOS 17 photo features (responsive capture / deferred / zero shutter lag are configured
 18 | /// once on the photo output via ``PRMCameraConfiguration``).
 19 | public struct PRMPhotoSettings: Sendable {
    |               `- note: add '@available' attribute to enclosing struct
 20 |     public var flashMode: AVCaptureDevice.FlashMode = .off
 21 |     public var qualityPrioritization: AVCapturePhotoOutput.QualityPrioritization = .balanced
    :
 85 |     }
 86 |
 87 |     public func qualityPrioritization(_ value: AVCapturePhotoOutput.QualityPrioritization) -> Self {
    |                 |                                                   `- error: 'QualityPrioritization' is only available in macOS 13.0 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
 88 |         var copy = self
 89 |         copy.qualityPrioritization = value
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:207:39: error: 'QualityPrioritization' is only available in macOS 13.0 or newer
 17 | /// iOS 17 photo features (responsive capture / deferred / zero shutter lag are configured
 18 | /// once on the photo output via ``PRMCameraConfiguration``).
 19 | public struct PRMPhotoSettings: Sendable {
    |               `- note: add '@available' attribute to enclosing struct
 20 |     public var flashMode: AVCaptureDevice.FlashMode = .off
 21 |     public var qualityPrioritization: AVCapturePhotoOutput.QualityPrioritization = .balanced
    :
203 |     }
204 |
205 |     private func makeUncheckedAVSettings(
    |                  `- note: add '@available' attribute to enclosing instance method
206 |         codec effectiveCodec: AVVideoCodecType?,
207 |         quality: AVCapturePhotoOutput.QualityPrioritization,
    |                                       `- error: 'QualityPrioritization' is only available in macOS 13.0 or newer
208 |         maxDimensions dimensions: CMVideoDimensions?
209 |     ) -> AVCapturePhotoSettings {
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:242:43: error: 'QualityPrioritization' is only available in macOS 13.0 or newer
 17 | /// iOS 17 photo features (responsive capture / deferred / zero shutter lag are configured
 18 | /// once on the photo output via ``PRMCameraConfiguration``).
 19 | public struct PRMPhotoSettings: Sendable {
    |               `- note: add '@available' attribute to enclosing struct
 20 |     public var flashMode: AVCaptureDevice.FlashMode = .off
 21 |     public var qualityPrioritization: AVCapturePhotoOutput.QualityPrioritization = .balanced
    :
239 |
240 |     /// `requested`, lowered to `maximum` when it's higher.
241 |     static func clampedQuality(
    |                 `- note: add '@available' attribute to enclosing static method
242 |         _ requested: AVCapturePhotoOutput.QualityPrioritization,
    |                                           `- error: 'QualityPrioritization' is only available in macOS 13.0 or newer
243 |         max maximum: AVCapturePhotoOutput.QualityPrioritization
244 |     ) -> AVCapturePhotoOutput.QualityPrioritization {
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:243:43: error: 'QualityPrioritization' is only available in macOS 13.0 or newer
 17 | /// iOS 17 photo features (responsive capture / deferred / zero shutter lag are configured
 18 | /// once on the photo output via ``PRMCameraConfiguration``).
 19 | public struct PRMPhotoSettings: Sendable {
    |               `- note: add '@available' attribute to enclosing struct
 20 |     public var flashMode: AVCaptureDevice.FlashMode = .off
 21 |     public var qualityPrioritization: AVCapturePhotoOutput.QualityPrioritization = .balanced
    :
239 |
240 |     /// `requested`, lowered to `maximum` when it's higher.
241 |     static func clampedQuality(
    |                 `- note: add '@available' attribute to enclosing static method
242 |         _ requested: AVCapturePhotoOutput.QualityPrioritization,
243 |         max maximum: AVCapturePhotoOutput.QualityPrioritization
    |                                           `- error: 'QualityPrioritization' is only available in macOS 13.0 or newer
244 |     ) -> AVCapturePhotoOutput.QualityPrioritization {
245 |         requested.rawValue > maximum.rawValue ? maximum : requested
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift:244:31: error: 'QualityPrioritization' is only available in macOS 13.0 or newer
 17 | /// iOS 17 photo features (responsive capture / deferred / zero shutter lag are configured
 18 | /// once on the photo output via ``PRMCameraConfiguration``).
 19 | public struct PRMPhotoSettings: Sendable {
    |               `- note: add '@available' attribute to enclosing struct
 20 |     public var flashMode: AVCaptureDevice.FlashMode = .off
 21 |     public var qualityPrioritization: AVCapturePhotoOutput.QualityPrioritization = .balanced
    :
239 |
240 |     /// `requested`, lowered to `maximum` when it's higher.
241 |     static func clampedQuality(
    |                 `- note: add '@available' attribute to enclosing static method
242 |         _ requested: AVCapturePhotoOutput.QualityPrioritization,
243 |         max maximum: AVCapturePhotoOutput.QualityPrioritization
244 |     ) -> AVCapturePhotoOutput.QualityPrioritization {
    |                               `- error: 'QualityPrioritization' is only available in macOS 13.0 or newer
245 |         requested.rawValue > maximum.rawValue ? maximum : requested
246 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPortraitReadiness.swift:310:19: error: 'AVCaptureDepthDataOutput' is unavailable in macOS
308 | extension PRMPortraitReadinessMonitor: AVCaptureDepthDataOutputDelegate {
309 |     public func depthDataOutput(
310 |         _ output: AVCaptureDepthDataOutput,
    |                   `- error: 'AVCaptureDepthDataOutput' is unavailable in macOS
311 |         didOutput depthData: AVDepthData,
312 |         timestamp: CMTime,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h:32:12: note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 30 |  */
 31 | API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
 32 | @interface AVCaptureDepthDataOutput : AVCaptureOutput
    |            `- note: 'AVCaptureDepthDataOutput' has been explicitly marked unavailable here
 33 | {
 34 | @private
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPortraitReadiness.swift:308:40: error: 'AVCaptureDepthDataOutputDelegate' is unavailable in macOS
306 | // MARK: - AVCaptureDepthDataOutputDelegate
307 |
308 | extension PRMPortraitReadinessMonitor: AVCaptureDepthDataOutputDelegate {
    |                                        `- error: 'AVCaptureDepthDataOutputDelegate' is unavailable in macOS
309 |     public func depthDataOutput(
310 |         _ output: AVCaptureDepthDataOutput,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h:110:11: note: 'AVCaptureDepthDataOutputDelegate' has been explicitly marked unavailable here
108 |  */
109 | API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos)
110 | @protocol AVCaptureDepthDataOutputDelegate <NSObject>
    |           `- note: 'AVCaptureDepthDataOutputDelegate' has been explicitly marked unavailable here
111 |
112 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMVideoRecorder.swift:119:28: error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
117 |     public func start(
118 |         rotationAngle: CGFloat? = nil,
119 |         stabilizationMode: AVCaptureVideoStabilizationMode? = nil
    |                            `- error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
120 |     ) async throws {
121 |         PRMLog.debug(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMVideoRecorder.swift:181:28: error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
179 |     private func preparedOutput(
180 |         rotationAngle: CGFloat?,
181 |         stabilizationMode: AVCaptureVideoStabilizationMode?
    |                            `- error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
182 |     ) async throws -> AVCaptureMovieFileOutput {
183 |         guard let resolvedOutput = await resolver.resolve() else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureConnection+Stabilization.swift:11:39: error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
 9 |     /// iOS 26 adds `.lowLatency`: a reduced field of view like `.standard`, but with no
10 |     /// added pipeline latency, which suits live preview and real-time processing.
11 |     func prm_setStabilization(_ mode: AVCaptureVideoStabilizationMode) {
   |                                       `- error: 'AVCaptureVideoStabilizationMode' is unavailable in macOS
12 |         guard isVideoStabilizationSupported else { return }
13 |         preferredVideoStabilizationMode = mode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:3299:28: note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3297 |
3298 | /// Constants indicating the modes of video stabilization supported by the device's format.
3299 | typedef NS_ENUM(NSInteger, AVCaptureVideoStabilizationMode) {
     |                            `- note: 'AVCaptureVideoStabilizationMode' has been explicitly marked unavailable here
3300 |     /// Indicates that video should not be stabilized.
3301 |     AVCaptureVideoStabilizationModeOff       = 0,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Configuration.swift:67:51: error: 'OSAllocatedUnfairLock' is only available in macOS 13.0 or newer
 46 | // MARK: - Internal helpers
 47 |
 48 | extension AVCaptureDevice {
    | `- note: add '@available' attribute to enclosing extension
 49 |     /// Clamps a device-space point into `0...1` on both axes; non-finite coordinates
 50 |     /// become the center. AVFoundation raises on points of interest outside the unit square.
    :
 65 |     }
 66 |
 67 |     private static let prismDisabledAdjustments = OSAllocatedUnfairLock<Set<String>>(initialState: [])
    |                        |                          `- error: 'OSAllocatedUnfairLock' is only available in macOS 13.0 or newer
    |                        `- note: add '@available' attribute to enclosing static property
 68 |
 69 |     private func prm_adjustmentKey(_ adjustment: PRMAutoAdjustment) -> String {
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Configuration.swift:67:84: error: 'init(initialState:)' is only available in macOS 13.0 or newer
 46 | // MARK: - Internal helpers
 47 |
 48 | extension AVCaptureDevice {
    | `- note: add '@available' attribute to enclosing extension
 49 |     /// Clamps a device-space point into `0...1` on both axes; non-finite coordinates
 50 |     /// become the center. AVFoundation raises on points of interest outside the unit square.
    :
 65 |     }
 66 |
 67 |     private static let prismDisabledAdjustments = OSAllocatedUnfairLock<Set<String>>(initialState: [])
    |                        |                                                           `- error: 'init(initialState:)' is only available in macOS 13.0 or newer
    |                        `- note: add '@available' attribute to enclosing static property
 68 |
 69 |     private func prm_adjustmentKey(_ adjustment: PRMAutoAdjustment) -> String {
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+WhiteBalance.swift:46:51: error: 'WhiteBalanceTemperatureAndTintValues' is unavailable in macOS
 44 |
 45 |         @available(iOS 26.0, *)
 46 |         private var systemValues: AVCaptureDevice.WhiteBalanceTemperatureAndTintValues? {
    |                                                   `- error: 'WhiteBalanceTemperatureAndTintValues' is unavailable in macOS
 47 |             switch self {
 48 |             case .tungsten: .tungsten
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1810:9: note: 'WhiteBalanceTemperatureAndTintValues' has been explicitly marked unavailable here
1808 |     Structure containing a white balance color correlated temperature in kelvin, plus a tint value in the range of [-150 - +150].
1809 |  */
1810 | typedef struct {
     |         `- note: 'WhiteBalanceTemperatureAndTintValues' has been explicitly marked unavailable here
1811 |     float temperature;
1812 |     float tint;
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+WhiteBalance.swift:162:34: error: 'WhiteBalanceGains' is unavailable in macOS
160 |
161 |     private static func clampGains(
162 |         _ gains: AVCaptureDevice.WhiteBalanceGains,
    |                                  `- error: 'WhiteBalanceGains' is unavailable in macOS
163 |         for device: AVCaptureDevice
164 |     ) -> AVCaptureDevice.WhiteBalanceGains {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1787:9: note: 'WhiteBalanceGains' has been explicitly marked unavailable here
1785 |     Structure containing RGB white balance gain values.
1786 |  */
1787 | typedef struct {
     |         `- note: 'WhiteBalanceGains' has been explicitly marked unavailable here
1788 |     float redGain;
1789 |     float greenGain;
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+WhiteBalance.swift:164:26: error: 'WhiteBalanceGains' is unavailable in macOS
162 |         _ gains: AVCaptureDevice.WhiteBalanceGains,
163 |         for device: AVCaptureDevice
164 |     ) -> AVCaptureDevice.WhiteBalanceGains {
    |                          `- error: 'WhiteBalanceGains' is unavailable in macOS
165 |         let maxGain = device.maxWhiteBalanceGain
166 |         return Self.WhiteBalanceGains(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1787:9: note: 'WhiteBalanceGains' has been explicitly marked unavailable here
1785 |     Structure containing RGB white balance gain values.
1786 |  */
1787 | typedef struct {
     |         `- note: 'WhiteBalanceGains' has been explicitly marked unavailable here
1788 |     float redGain;
1789 |     float greenGain;
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCapturePhotoOutput+Readiness.swift:19:52: error: 'CaptureReadiness' is only available in macOS 14.0 or newer
 14 |     /// rebuild does reset `maxPhotoDimensions` to `(0, 0)` and repopulates it when it's done,
 15 |     /// so ready means an enabled, active video connection, `.ready`, and non-zero dimensions.
 16 |     struct PRMReadiness {
    |            `- note: add '@available' attribute to enclosing struct
 17 |         let hasConnection: Bool
 18 |         let isConnectionActive: Bool
 19 |         let captureReadiness: AVCapturePhotoOutput.CaptureReadiness
    |                                                    `- error: 'CaptureReadiness' is only available in macOS 14.0 or newer
 20 |         let maxDimensions: CMVideoDimensions
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCapturePhotoOutput+Readiness.swift:36:69: error: 'CaptureReadiness' is only available in macOS 14.0 or newer
 14 |     /// rebuild does reset `maxPhotoDimensions` to `(0, 0)` and repopulates it when it's done,
 15 |     /// so ready means an enabled, active video connection, `.ready`, and non-zero dimensions.
 16 |     struct PRMReadiness {
    |            `- note: add '@available' attribute to enclosing struct
 17 |         let hasConnection: Bool
 18 |         let isConnectionActive: Bool
    :
 34 |         }
 35 |
 36 |         private static func name(of readiness: AVCapturePhotoOutput.CaptureReadiness) -> String {
    |                             |                                       `- error: 'CaptureReadiness' is only available in macOS 14.0 or newer
    |                             `- note: add '@available' attribute to enclosing static method
 37 |             switch readiness {
 38 |             case .ready: "ready"
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/PRMExposureValue.swift:101:21: error: 'AVCaptureDeviceExposureSignal' is unavailable in macOS
 99 | @available(iOS 27.0, *)
100 | extension PRMExposureSignal {
101 |     init?(_ signal: AVCaptureDeviceExposureSignal) {
    |                     `- error: 'AVCaptureDeviceExposureSignal' is unavailable in macOS
102 |         switch signal {
103 |         case .subjectMotion: self = .subjectMotion
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:86:19: note: 'AVCaptureDeviceExposureSignal' has been explicitly marked unavailable here
  84 |
  85 | /// Values that can be used to configure the auto exposure system via ``AVCaptureDevice/enabledExposureSignals`` and associated methods.
  86 | typedef NSString *AVCaptureDeviceExposureSignal NS_TYPED_ENUM API_AVAILABLE(ios(27.0), macCatalyst(27.0), tvos(27.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE( watchos);
     |                   `- note: 'AVCaptureDeviceExposureSignal' has been explicitly marked unavailable here
  87 |
  88 | /// When enabled, auto exposure may close the aperture or decrease the exposure duration to reduce motion blur when there is a lot of motion in the scene.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/PRMExposureValue.swift:112:19: error: 'AVCaptureDeviceExposureSignal' is unavailable in macOS
110 |     }
111 |
112 |     var avSignal: AVCaptureDeviceExposureSignal {
    |                   `- error: 'AVCaptureDeviceExposureSignal' is unavailable in macOS
113 |         switch self {
114 |         case .subjectMotion: .subjectMotion
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:86:19: note: 'AVCaptureDeviceExposureSignal' has been explicitly marked unavailable here
  84 |
  85 | /// Values that can be used to configure the auto exposure system via ``AVCaptureDevice/enabledExposureSignals`` and associated methods.
  86 | typedef NSString *AVCaptureDeviceExposureSignal NS_TYPED_ENUM API_AVAILABLE(ios(27.0), macCatalyst(27.0), tvos(27.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE( watchos);
     |                   `- note: 'AVCaptureDeviceExposureSignal' has been explicitly marked unavailable here
  87 |
  88 | /// When enabled, auto exposure may close the aperture or decrease the exposure duration to reduce motion blur when there is a lot of motion in the scene.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/PRMExposureValue.swift:122:39: error: 'AVCaptureDeviceExposureSignal' is unavailable in macOS
120 |     }
121 |
122 |     static func set(from signals: Set<AVCaptureDeviceExposureSignal>) -> Set<Self> {
    |                                       `- error: 'AVCaptureDeviceExposureSignal' is unavailable in macOS
123 |         Set(signals.compactMap(Self.init))
124 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:86:19: note: 'AVCaptureDeviceExposureSignal' has been explicitly marked unavailable here
  84 |
  85 | /// Values that can be used to configure the auto exposure system via ``AVCaptureDevice/enabledExposureSignals`` and associated methods.
  86 | typedef NSString *AVCaptureDeviceExposureSignal NS_TYPED_ENUM API_AVAILABLE(ios(27.0), macCatalyst(27.0), tvos(27.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE( watchos);
     |                   `- note: 'AVCaptureDeviceExposureSignal' has been explicitly marked unavailable here
  87 |
  88 | /// When enabled, auto exposure may close the aperture or decrease the exposure duration to reduce motion blur when there is a lot of motion in the scene.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMBurstLog.swift:17:24: error: 'Duration' is only available in macOS 13.0 or newer
 6 | /// between. Repeats of the logged text are dropped.
 7 | @MainActor
 8 | final class PRMBurstLog {
   |             `- note: add '@available' attribute to enclosing class
 9 |     private struct Burst {
10 |         var first: String
   :
15 |
16 |     /// How long calls under one key must stop before the burst closes.
17 |     let quietInterval: Duration
   |                        `- error: 'Duration' is only available in macOS 13.0 or newer
18 |     private var bursts: [String: Burst] = [:]
19 |
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMBurstLog.swift:20:25: error: 'Duration' is only available in macOS 13.0 or newer
 6 | /// between. Repeats of the logged text are dropped.
 7 | @MainActor
 8 | final class PRMBurstLog {
   |             `- note: add '@available' attribute to enclosing class
 9 |     private struct Burst {
10 |         var first: String
   :
18 |     private var bursts: [String: Burst] = [:]
19 |
20 |     init(quietInterval: Duration = .milliseconds(500)) {
   |     |                   `- error: 'Duration' is only available in macOS 13.0 or newer
   |     `- note: add '@available' attribute to enclosing initializer
21 |         self.quietInterval = quietInterval
22 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMLog+Categories.swift:110:28: error: 'InterruptionReason' is unavailable in macOS
108 | }
109 |
110 | extension AVCaptureSession.InterruptionReason {
    |                            `- error: 'InterruptionReason' is unavailable in macOS
111 |     var prm_logName: String {
112 |         if #available(iOS 26.0, *), self == .sensitiveContentMitigationActivated {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:72:28: note: 'InterruptionReason' has been explicitly marked unavailable here
  70 |
  71 | /// Constants indicating interruption reason. One of these is returned with the ``AVCaptureSessionWasInterruptedNotification`` (see ``AVCaptureSessionInterruptionReasonKey``).
  72 | typedef NS_ENUM(NSInteger, AVCaptureSessionInterruptionReason) {
     |                            `- note: 'InterruptionReason' has been explicitly marked unavailable here
  73 |     /// An interruption caused by the app being sent to the background while using a camera. Camera usage is prohibited while in the background. Beginning in iOS 9.0, ``AVCaptureSession`` no longer produces an ``AVCaptureSessionRuntimeErrorNotification`` if you attempt to start running a camera while in the background. Instead, it sends an ``AVCaptureSessionWasInterruptedNotification`` with ``AVCaptureSessionInterruptionReasonVideoDeviceNotAvailableInBackground``. Provided you don't explicitly call ``AVCaptureSession/stopRunning``, your ``AVCaptureSession/startRunning`` request is preserved, and when your app comes back to foreground, you receive ``AVCaptureSessionInterruptionEndedNotification`` and your session starts running.
  74 |     AVCaptureSessionInterruptionReasonVideoDeviceNotAvailableInBackground               = 1,
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMLog.swift:118:32: error: 'OSAllocatedUnfairLock' is only available in macOS 13.0 or newer
 94 | ///
 95 | /// Watch it live: `log stream --level debug --predicate 'subsystem == "dev.luminoid.prism"'`
 96 | public nonisolated enum PRMLog {
    |                         `- note: add '@available' attribute to enclosing enum
 97 |     /// The unified-logging subsystem every line is written under.
 98 |     public static let subsystem = "dev.luminoid.prism"
    :
116 |     }
117 |
118 |     private static let state = OSAllocatedUnfairLock(initialState: State())
    |                        |       `- error: 'OSAllocatedUnfairLock' is only available in macOS 13.0 or newer
    |                        `- note: add '@available' attribute to enclosing static property
119 |
120 |     /// A threshold and handler bound to the current task by `withScopedConfiguration`.
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMLog.swift:118:32: error: 'init(initialState:)' is only available in macOS 13.0 or newer
 94 | ///
 95 | /// Watch it live: `log stream --level debug --predicate 'subsystem == "dev.luminoid.prism"'`
 96 | public nonisolated enum PRMLog {
    |                         `- note: add '@available' attribute to enclosing enum
 97 |     /// The unified-logging subsystem every line is written under.
 98 |     public static let subsystem = "dev.luminoid.prism"
    :
116 |     }
117 |
118 |     private static let state = OSAllocatedUnfairLock(initialState: State())
    |                        |       `- error: 'init(initialState:)' is only available in macOS 13.0 or newer
    |                        `- note: add '@available' attribute to enclosing static property
119 |
120 |     /// A threshold and handler bound to the current task by `withScopedConfiguration`.
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/.build/out/Intermediates.noindex/Prism.build/Debug/PrismCore-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCamera+Framing.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCamera+ManualControls.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCamera+Observers.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCamera+SessionHealth.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCamera+Tracking.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraActor.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraDevice.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession+Cinematic.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession+Controls.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession+DeviceObservers.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession+Features.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession+Format.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession+Metadata.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession+NightCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession+State.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraSession.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCameraState.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMCinematicVideo.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMDetectedObject.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMFraming.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMMetadataRouter.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMPermissions.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMRotationCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMSessionError.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMSessionHealth.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Camera/PRMVideoFrameRouter.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightMerger.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightPlanner.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightRegistration.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightStacker.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightTone.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/Night/PRMNightTypes.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMDepthCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMLivePhoto.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMNightModeCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMOutputResolver.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhoto.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Delegate.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture+Encoding.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPhotoSettings.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPortraitPhoto.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMPortraitReadiness.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMRecording.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Capture/PRMVideoRecorder.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureConnection+Stabilization.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Aperture.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+AspectRatio.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Cinematic.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Configuration.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Depth.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Exposure.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+FocusTracking.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+FrameRate.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+HDR.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+ISO.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Lens.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Modes.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+SmudgeDetection.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Torch.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+WhiteBalance.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCaptureDevice+Zoom.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/AVCapturePhotoOutput+Readiness.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/PRMExposureValue.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Device/PRMLens.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/Filters/PRMBlurFilter.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/Filters/PRMColorFilter.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/Filters/PRMDistortionFilter.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/Filters/PRMPortraitBokehFilter.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/Filters/PRMStylizeFilter.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMBasicFilterRenderer.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMBufferPoolAllocator.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMFilter.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMFilterChain.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMFilterPipeline.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMFilterRenderer.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMRenderContext.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Filter/PRMVideoFrame.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMBurstLog.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMImage.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMLog+Categories.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMLog.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMStreamRegistry.swift /Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Utilities/PRMTempFile.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -swift-module-cross-import Vision /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Vision.framework/Modules/Vision.swiftcrossimport/FoundationModels.swiftoverlay -swift-module-cross-import Vision /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Modules/Vision.swiftcrossimport/FoundationModels.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Prism.build/Debug/PrismCore-t.build/Objects-normal/arm64/PrismCore-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -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/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Prism.build/Debug/PrismCore-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Prism.build/Debug/PrismCore-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Prism.build/Debug/PrismCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PrismCore -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Prism.build/Debug/PrismCore-t.build/Objects-normal/arm64/PrismCore_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.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/.build/out/Intermediates.noindex/Prism.build/Debug/PrismCore-t.build/Objects-normal/arm64/PrismCore.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Prism.build/Debug/PrismCore-t.build/Objects-normal/arm64/PrismCore.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Prism.build/Debug/PrismCore-t.build/Objects-normal/arm64/PrismCore-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Prism.build/Debug/PrismCore-t.build/Objects-normal/arm64/PrismCore-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Prism.build/Debug/PrismCore-t.build/Objects-normal/arm64/PrismCore-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Prism.build/Debug/PrismCore-t.build/Objects-normal/arm64/PrismCore.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Prism.build/Debug/PrismCore-t.build/Objects-normal/arm64/PrismCore.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm