The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RecordingOverlay, reference main (cea7e8), with Swift 6.4 for watchOS using Xcode 27.0 on 28 Nov 2026 08:13:16 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme RecordingOverlay -destination generic/platform=watchOS

Build Log

    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:280:18: error: 'init()' is unavailable in watchOS
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
279 |     /// so only half of its border is visible on screen.
280 |     let border = UIView()
    |                  `- error: 'init()' is unavailable in watchOS
281 |
282 |     var length: CGFloat = 6 {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:310:29: error: 'UIView' is unavailable in watchOS
308 |
309 |     /// Views that still receive the events when interactions are disabled. They are not retained.
310 |     var interactableViews: [UIView] {
    |                             `- error: 'UIView' is unavailable in watchOS
311 |         get {
312 |             return weakInteractableViews.compactMap { $0.view }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:323:48: error: 'UIWindowScene' is unavailable in watchOS
321 |     var geometryObservation: NSKeyValueObservation?
322 |
323 |     convenience init(overlayScene windowScene: UIWindowScene?) {
    |                                                `- error: 'UIWindowScene' is unavailable in watchOS
324 |         if let windowScene = windowScene {
325 |             self.init(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:331:32: error: 'UIWindowScene' is unavailable in watchOS
329 |     }
330 |
331 |     override init(windowScene: UIWindowScene) {
    |                                `- error: 'UIWindowScene' is unavailable in watchOS
332 |         super.init(windowScene: windowScene)
333 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:346:18: error: cannot override 'windowScene' which has been marked unavailable
344 |     }
345 |
346 |     override var windowScene: UIWindowScene? {
    |                  |- error: cannot override 'windowScene' which has been marked unavailable
    |                  `- note: remove 'override' modifier to declare a new 'windowScene'
347 |         didSet {
348 |             observeSceneGeometry()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
 30 | // If nil, window will not appear on any screen.
 31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
 32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
    |                                                     `- note: 'windowScene' has been explicitly marked unavailable here
 33 |
 34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:346:31: error: 'UIWindowScene' is unavailable in watchOS
344 |     }
345 |
346 |     override var windowScene: UIWindowScene? {
    |                               `- error: 'UIWindowScene' is unavailable in watchOS
347 |         didSet {
348 |             observeSceneGeometry()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:471:19: error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
469 |     }
470 |
471 |     override func safeAreaInsetsDidChange() {
    |                   |- error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
    |                   `- note: remove 'override' modifier to declare a new 'safeAreaInsetsDidChange'
472 |         super.safeAreaInsetsDidChange()
473 |         layoutBorder()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:294:1: note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
    | `- note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
295 |
296 | /* The edges of this guide are constrained to equal the edges of the view inset by the layoutMargins
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:483:57: error: 'UIEvent' is unavailable in watchOS
481 |     }
482 |
483 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                         `- error: 'UIEvent' is unavailable in watchOS
484 |         if areInteractionsEnabled {
485 |             return nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:483:70: error: 'UIView' is unavailable in watchOS
481 |     }
482 |
483 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                      `- error: 'UIView' is unavailable in watchOS
484 |         if areInteractionsEnabled {
485 |             return nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:490:60: error: 'UIEvent' is unavailable in watchOS
488 |     }
489 |
490 |     override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
491 |         if areInteractionsEnabled {
492 |             return false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:500:58: error: 'UIEvent' is unavailable in watchOS
498 |     /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
499 |     /// or non-interactive ancestors, and for views covering the whitelisted one.
500 |     func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                          `- error: 'UIEvent' is unavailable in watchOS
501 |         let views = interactableViews
502 |         var testedWindows: [UIWindow] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
SwiftCompile normal arm64 (in target 'RecordingOverlay' from project 'RecordingOverlay')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:500:71: error: 'UIView' is unavailable in watchOS
498 |     /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
499 |     /// or non-interactive ancestors, and for views covering the whitelisted one.
500 |     func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                       `- error: 'UIView' is unavailable in watchOS
501 |         let views = interactableViews
502 |         var testedWindows: [UIWindow] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:276:37: error: 'UIWindow' is unavailable in watchOS
274 | // MARK: Private subclass of UIWindow
275 |
276 | final class RecordingOverlayWindow: UIWindow {
    |                                     `- error: 'UIWindow' is unavailable in watchOS
277 |
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:522:20: error: 'UIView' is unavailable in watchOS
520 | /// Holds a view without retaining it
521 | struct WeakView {
522 |     weak var view: UIView?
    |                    `- error: 'UIView' is unavailable in watchOS
523 | }
524 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name RecordingOverlay -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay.abi.json
SwiftCompile normal arm64 Compiling\ RecordingOverlay.swift /Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift (in target 'RecordingOverlay' from project 'RecordingOverlay')
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:34:33: error: 'UIWindow' is unavailable in watchOS
 32 |     var autoRetainer: RecordingOverlay?
 33 |     let overlay: RecordingOverlayWindow
 34 |     weak var previousKeyWindow: UIWindow?
    |                                 `- error: 'UIWindow' is unavailable in watchOS
 35 |
 36 |     /// True while the hide animation runs. The overlay is still visible during that time.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:45:30: error: 'UIWindowScene' is unavailable in watchOS
 43 |     /// - Parameter windowScene: The scene the overlay is displayed in.
 44 |     ///   When nil, the overlay attaches to the active window scene when it is shown.
 45 |     public init(windowScene: UIWindowScene? = nil) {
    |                              `- error: 'UIWindowScene' is unavailable in watchOS
 46 |         self.overlay = RecordingOverlayWindow(overlayScene: windowScene)
 47 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:54:45: error: 'UIWindowScene' is unavailable in watchOS
 52 |     /// - Parameter animated: Should the overlay appear with an animation?
 53 |     @discardableResult
 54 |     public static func show(on windowScene: UIWindowScene? = nil, animated: Bool = true) -> RecordingOverlay {
    |                                             `- error: 'UIWindowScene' is unavailable in watchOS
 55 |         return RecordingOverlay(windowScene: windowScene).show(animated: animated)
 56 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:60:29: error: 'UIWindowScene' is unavailable in watchOS
 58 |     /// The window scene the overlay is displayed in.
 59 |     /// Nil until the overlay is shown, unless a scene was provided at initialization.
 60 |     public var windowScene: UIWindowScene? {
    |                             `- error: 'UIWindowScene' is unavailable in watchOS
 61 |         get {
 62 |             return overlay.windowScene
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:195:53: error: 'UIView' is unavailable in watchOS
193 |     /// When the overlay is hidden, this takes effect the next time it is shown.
194 |     /// - Parameter view: a whitelisted view that will receive events
195 |     public func disableInteractions(exceptFor view: UIView?) {
    |                                                     `- error: 'UIView' is unavailable in watchOS
196 |         disableInteractions(exceptFor: [view].compactMap { $0 })
197 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:203:55: error: 'UIView' is unavailable in watchOS
201 |     /// When the overlay is hidden, this takes effect the next time it is shown.
202 |     /// - Parameter views: whitelisted views that will receive events. They are not retained.
203 |     public func disableInteractions(exceptFor views: [UIView] = []) {
    |                                                       `- error: 'UIView' is unavailable in watchOS
204 |         overlay.interactableViews = views
205 |         overlay.areInteractionsEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:220:51: error: 'CAAnimation' is unavailable in watchOS
218 |
219 | extension RecordingOverlay {
220 |     func animation(from: CGFloat, to: CGFloat) -> CAAnimation {
    |                                                   `- error: 'CAAnimation' is unavailable in watchOS
221 |         let animation = CABasicAnimation(keyPath: "borderWidth")
222 |         animation.timingFunction = .init(name: to > from ? .easeOut : .easeIn)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:266:40: error: 'UIWindowScene' is unavailable in watchOS
264 |
265 |     /// The scene the user is most likely looking at.
266 |     static func activeWindowScene() -> UIWindowScene? {
    |                                        `- error: 'UIWindowScene' is unavailable in watchOS
267 |         let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
268 |         return scenes.first { $0.activationState == .foregroundActive }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:331:14: error: cannot override 'init' which has been marked unavailable
329 |     }
330 |
331 |     override init(windowScene: UIWindowScene) {
    |              |- error: cannot override 'init' which has been marked unavailable
    |              `- note: remove 'override' modifier to declare a new 'init'
332 |         super.init(windowScene: windowScene)
333 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
 25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init(windowScene:)' has been explicitly marked unavailable here
 26 |
 27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:336:14: error: cannot override 'init' which has been marked unavailable
334 |     }
335 |
336 |     override init(frame: CGRect) {
    |              |- error: cannot override 'init' which has been marked unavailable
    |              `- note: remove 'override' modifier to declare a new 'init'
337 |         super.init(frame: frame)
338 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:27:1: note: 'init(frame:)' has been explicitly marked unavailable here
 25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
 26 |
 27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init(frame:)' has been explicitly marked unavailable here
 28 | - (instancetype)init API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:280:18: error: 'UIView' is unavailable in watchOS
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
279 |     /// so only half of its border is visible on screen.
280 |     let border = UIView()
    |                  `- error: 'UIView' is unavailable in watchOS
281 |
282 |     var length: CGFloat = 6 {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:280:18: error: 'init()' is unavailable in watchOS
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
279 |     /// so only half of its border is visible on screen.
280 |     let border = UIView()
    |                  `- error: 'init()' is unavailable in watchOS
281 |
282 |     var length: CGFloat = 6 {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:310:29: error: 'UIView' is unavailable in watchOS
308 |
309 |     /// Views that still receive the events when interactions are disabled. They are not retained.
310 |     var interactableViews: [UIView] {
    |                             `- error: 'UIView' is unavailable in watchOS
311 |         get {
312 |             return weakInteractableViews.compactMap { $0.view }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:323:48: error: 'UIWindowScene' is unavailable in watchOS
321 |     var geometryObservation: NSKeyValueObservation?
322 |
323 |     convenience init(overlayScene windowScene: UIWindowScene?) {
    |                                                `- error: 'UIWindowScene' is unavailable in watchOS
324 |         if let windowScene = windowScene {
325 |             self.init(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:331:32: error: 'UIWindowScene' is unavailable in watchOS
329 |     }
330 |
331 |     override init(windowScene: UIWindowScene) {
    |                                `- error: 'UIWindowScene' is unavailable in watchOS
332 |         super.init(windowScene: windowScene)
333 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:346:18: error: cannot override 'windowScene' which has been marked unavailable
344 |     }
345 |
346 |     override var windowScene: UIWindowScene? {
    |                  |- error: cannot override 'windowScene' which has been marked unavailable
    |                  `- note: remove 'override' modifier to declare a new 'windowScene'
347 |         didSet {
348 |             observeSceneGeometry()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
 30 | // If nil, window will not appear on any screen.
 31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
 32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
    |                                                     `- note: 'windowScene' has been explicitly marked unavailable here
 33 |
 34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:346:31: error: 'UIWindowScene' is unavailable in watchOS
344 |     }
345 |
346 |     override var windowScene: UIWindowScene? {
    |                               `- error: 'UIWindowScene' is unavailable in watchOS
347 |         didSet {
348 |             observeSceneGeometry()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:471:19: error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
469 |     }
470 |
471 |     override func safeAreaInsetsDidChange() {
    |                   |- error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
    |                   `- note: remove 'override' modifier to declare a new 'safeAreaInsetsDidChange'
472 |         super.safeAreaInsetsDidChange()
473 |         layoutBorder()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:294:1: note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
    | `- note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
295 |
296 | /* The edges of this guide are constrained to equal the edges of the view inset by the layoutMargins
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:483:57: error: 'UIEvent' is unavailable in watchOS
481 |     }
482 |
483 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                         `- error: 'UIEvent' is unavailable in watchOS
484 |         if areInteractionsEnabled {
485 |             return nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:483:70: error: 'UIView' is unavailable in watchOS
481 |     }
482 |
483 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                      `- error: 'UIView' is unavailable in watchOS
484 |         if areInteractionsEnabled {
485 |             return nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:490:60: error: 'UIEvent' is unavailable in watchOS
488 |     }
489 |
490 |     override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
491 |         if areInteractionsEnabled {
492 |             return false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:500:58: error: 'UIEvent' is unavailable in watchOS
498 |     /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
499 |     /// or non-interactive ancestors, and for views covering the whitelisted one.
500 |     func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                          `- error: 'UIEvent' is unavailable in watchOS
501 |         let views = interactableViews
502 |         var testedWindows: [UIWindow] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:500:71: error: 'UIView' is unavailable in watchOS
498 |     /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
499 |     /// or non-interactive ancestors, and for views covering the whitelisted one.
500 |     func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                       `- error: 'UIView' is unavailable in watchOS
501 |         let views = interactableViews
502 |         var testedWindows: [UIWindow] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift (in target 'RecordingOverlay' from project 'RecordingOverlay')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RecordingOverlay.swift
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:276:37: error: 'UIWindow' is unavailable in watchOS
274 | // MARK: Private subclass of UIWindow
275 |
276 | final class RecordingOverlayWindow: UIWindow {
    |                                     `- error: 'UIWindow' is unavailable in watchOS
277 |
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:522:20: error: 'UIView' is unavailable in watchOS
520 | /// Holds a view without retaining it
521 | struct WeakView {
522 |     weak var view: UIView?
    |                    `- error: 'UIView' is unavailable in watchOS
523 | }
524 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ RecordingOverlay (in target 'RecordingOverlay' from project 'RecordingOverlay')
SwiftCompile normal arm64_32 (in target 'RecordingOverlay' from project 'RecordingOverlay')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:34:33: error: 'UIWindow' is unavailable in watchOS
 32 |     var autoRetainer: RecordingOverlay?
 33 |     let overlay: RecordingOverlayWindow
 34 |     weak var previousKeyWindow: UIWindow?
    |                                 `- error: 'UIWindow' is unavailable in watchOS
 35 |
 36 |     /// True while the hide animation runs. The overlay is still visible during that time.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:45:30: error: 'UIWindowScene' is unavailable in watchOS
 43 |     /// - Parameter windowScene: The scene the overlay is displayed in.
 44 |     ///   When nil, the overlay attaches to the active window scene when it is shown.
 45 |     public init(windowScene: UIWindowScene? = nil) {
    |                              `- error: 'UIWindowScene' is unavailable in watchOS
 46 |         self.overlay = RecordingOverlayWindow(overlayScene: windowScene)
 47 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:54:45: error: 'UIWindowScene' is unavailable in watchOS
 52 |     /// - Parameter animated: Should the overlay appear with an animation?
 53 |     @discardableResult
 54 |     public static func show(on windowScene: UIWindowScene? = nil, animated: Bool = true) -> RecordingOverlay {
    |                                             `- error: 'UIWindowScene' is unavailable in watchOS
 55 |         return RecordingOverlay(windowScene: windowScene).show(animated: animated)
 56 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:60:29: error: 'UIWindowScene' is unavailable in watchOS
 58 |     /// The window scene the overlay is displayed in.
 59 |     /// Nil until the overlay is shown, unless a scene was provided at initialization.
 60 |     public var windowScene: UIWindowScene? {
    |                             `- error: 'UIWindowScene' is unavailable in watchOS
 61 |         get {
 62 |             return overlay.windowScene
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:195:53: error: 'UIView' is unavailable in watchOS
193 |     /// When the overlay is hidden, this takes effect the next time it is shown.
194 |     /// - Parameter view: a whitelisted view that will receive events
195 |     public func disableInteractions(exceptFor view: UIView?) {
    |                                                     `- error: 'UIView' is unavailable in watchOS
196 |         disableInteractions(exceptFor: [view].compactMap { $0 })
197 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:203:55: error: 'UIView' is unavailable in watchOS
201 |     /// When the overlay is hidden, this takes effect the next time it is shown.
202 |     /// - Parameter views: whitelisted views that will receive events. They are not retained.
203 |     public func disableInteractions(exceptFor views: [UIView] = []) {
    |                                                       `- error: 'UIView' is unavailable in watchOS
204 |         overlay.interactableViews = views
205 |         overlay.areInteractionsEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 Compiling\ RecordingOverlay.swift /Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift (in target 'RecordingOverlay' from project 'RecordingOverlay')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift (in target 'RecordingOverlay' from project 'RecordingOverlay')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RecordingOverlay.swift
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:34:33: error: 'UIWindow' is unavailable in watchOS
 32 |     var autoRetainer: RecordingOverlay?
 33 |     let overlay: RecordingOverlayWindow
 34 |     weak var previousKeyWindow: UIWindow?
    |                                 `- error: 'UIWindow' is unavailable in watchOS
 35 |
 36 |     /// True while the hide animation runs. The overlay is still visible during that time.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:45:30: error: 'UIWindowScene' is unavailable in watchOS
 43 |     /// - Parameter windowScene: The scene the overlay is displayed in.
 44 |     ///   When nil, the overlay attaches to the active window scene when it is shown.
 45 |     public init(windowScene: UIWindowScene? = nil) {
    |                              `- error: 'UIWindowScene' is unavailable in watchOS
 46 |         self.overlay = RecordingOverlayWindow(overlayScene: windowScene)
 47 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:54:45: error: 'UIWindowScene' is unavailable in watchOS
 52 |     /// - Parameter animated: Should the overlay appear with an animation?
 53 |     @discardableResult
 54 |     public static func show(on windowScene: UIWindowScene? = nil, animated: Bool = true) -> RecordingOverlay {
    |                                             `- error: 'UIWindowScene' is unavailable in watchOS
 55 |         return RecordingOverlay(windowScene: windowScene).show(animated: animated)
 56 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:60:29: error: 'UIWindowScene' is unavailable in watchOS
 58 |     /// The window scene the overlay is displayed in.
 59 |     /// Nil until the overlay is shown, unless a scene was provided at initialization.
 60 |     public var windowScene: UIWindowScene? {
    |                             `- error: 'UIWindowScene' is unavailable in watchOS
 61 |         get {
 62 |             return overlay.windowScene
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:195:53: error: 'UIView' is unavailable in watchOS
193 |     /// When the overlay is hidden, this takes effect the next time it is shown.
194 |     /// - Parameter view: a whitelisted view that will receive events
195 |     public func disableInteractions(exceptFor view: UIView?) {
    |                                                     `- error: 'UIView' is unavailable in watchOS
196 |         disableInteractions(exceptFor: [view].compactMap { $0 })
197 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:203:55: error: 'UIView' is unavailable in watchOS
201 |     /// When the overlay is hidden, this takes effect the next time it is shown.
202 |     /// - Parameter views: whitelisted views that will receive events. They are not retained.
203 |     public func disableInteractions(exceptFor views: [UIView] = []) {
    |                                                       `- error: 'UIView' is unavailable in watchOS
204 |         overlay.interactableViews = views
205 |         overlay.areInteractionsEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-11-28 03:13:05.637 xcodebuild[638:3881] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64 (in target 'RecordingOverlay' from project 'RecordingOverlay')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ RecordingOverlay (in target 'RecordingOverlay' from project 'RecordingOverlay')
	Building workspace RecordingOverlay with scheme RecordingOverlay
(3 failures)
Command line invocation:
    /Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  RecordingOverlay: /Users/admin/builder/spi-builder-workspace
resolved source packages: RecordingOverlay
2026-11-28 03:13:12.537 xcodebuild[759:4369] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RecordingOverlay",
  "name" : "RecordingOverlay",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "RecordingOverlay",
      "targets" : [
        "RecordingOverlay"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RecordingOverlayTests",
      "module_type" : "SwiftTarget",
      "name" : "RecordingOverlayTests",
      "path" : "Tests/RecordingOverlayTests",
      "sources" : [
        "RecordingOverlayTests.swift"
      ],
      "target_dependencies" : [
        "RecordingOverlay"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RecordingOverlay",
      "module_type" : "SwiftTarget",
      "name" : "RecordingOverlay",
      "path" : "Sources/RecordingOverlay",
      "product_memberships" : [
        "RecordingOverlay"
      ],
      "sources" : [
        "RecordingOverlay.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
{
  "workspace" : {
    "name" : "RecordingOverlay",
    "schemes" : [
      "RecordingOverlay"
    ]
  }
}
2026-11-28 03:13:13.947 xcodebuild[767:4445] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme RecordingOverlay -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme RecordingOverlay -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  RecordingOverlay: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'RecordingOverlay-product' in project 'RecordingOverlay'
        ➜ Explicit dependency on target 'RecordingOverlay' in project 'RecordingOverlay'
    Target 'RecordingOverlay' in project 'RecordingOverlay' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
SwiftDriver RecordingOverlay normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'RecordingOverlay' from project 'RecordingOverlay')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name RecordingOverlay -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64_32/RecordingOverlay.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64_32/RecordingOverlay-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64_32/RecordingOverlay.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64_32/RecordingOverlay-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64_32/RecordingOverlay_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64_32/RecordingOverlay-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver RecordingOverlay normal arm64 com.apple.xcode.tools.swift.compiler (in target 'RecordingOverlay' from project 'RecordingOverlay')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name RecordingOverlay -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ RecordingOverlay (in target 'RecordingOverlay' from project 'RecordingOverlay')
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:34:33: error: 'UIWindow' is unavailable in watchOS
 32 |     var autoRetainer: RecordingOverlay?
 33 |     let overlay: RecordingOverlayWindow
 34 |     weak var previousKeyWindow: UIWindow?
    |                                 `- error: 'UIWindow' is unavailable in watchOS
 35 |
 36 |     /// True while the hide animation runs. The overlay is still visible during that time.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:45:30: error: 'UIWindowScene' is unavailable in watchOS
 43 |     /// - Parameter windowScene: The scene the overlay is displayed in.
 44 |     ///   When nil, the overlay attaches to the active window scene when it is shown.
 45 |     public init(windowScene: UIWindowScene? = nil) {
    |                              `- error: 'UIWindowScene' is unavailable in watchOS
 46 |         self.overlay = RecordingOverlayWindow(overlayScene: windowScene)
 47 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:54:45: error: 'UIWindowScene' is unavailable in watchOS
 52 |     /// - Parameter animated: Should the overlay appear with an animation?
 53 |     @discardableResult
 54 |     public static func show(on windowScene: UIWindowScene? = nil, animated: Bool = true) -> RecordingOverlay {
    |                                             `- error: 'UIWindowScene' is unavailable in watchOS
 55 |         return RecordingOverlay(windowScene: windowScene).show(animated: animated)
 56 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:60:29: error: 'UIWindowScene' is unavailable in watchOS
 58 |     /// The window scene the overlay is displayed in.
 59 |     /// Nil until the overlay is shown, unless a scene was provided at initialization.
 60 |     public var windowScene: UIWindowScene? {
    |                             `- error: 'UIWindowScene' is unavailable in watchOS
 61 |         get {
 62 |             return overlay.windowScene
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:195:53: error: 'UIView' is unavailable in watchOS
193 |     /// When the overlay is hidden, this takes effect the next time it is shown.
194 |     /// - Parameter view: a whitelisted view that will receive events
195 |     public func disableInteractions(exceptFor view: UIView?) {
    |                                                     `- error: 'UIView' is unavailable in watchOS
196 |         disableInteractions(exceptFor: [view].compactMap { $0 })
197 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:203:55: error: 'UIView' is unavailable in watchOS
201 |     /// When the overlay is hidden, this takes effect the next time it is shown.
202 |     /// - Parameter views: whitelisted views that will receive events. They are not retained.
203 |     public func disableInteractions(exceptFor views: [UIView] = []) {
    |                                                       `- error: 'UIView' is unavailable in watchOS
204 |         overlay.interactableViews = views
205 |         overlay.areInteractionsEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:220:51: error: 'CAAnimation' is unavailable in watchOS
218 |
219 | extension RecordingOverlay {
220 |     func animation(from: CGFloat, to: CGFloat) -> CAAnimation {
    |                                                   `- error: 'CAAnimation' is unavailable in watchOS
221 |         let animation = CABasicAnimation(keyPath: "borderWidth")
222 |         animation.timingFunction = .init(name: to > from ? .easeOut : .easeIn)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:266:40: error: 'UIWindowScene' is unavailable in watchOS
264 |
265 |     /// The scene the user is most likely looking at.
266 |     static func activeWindowScene() -> UIWindowScene? {
    |                                        `- error: 'UIWindowScene' is unavailable in watchOS
267 |         let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
268 |         return scenes.first { $0.activationState == .foregroundActive }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:331:14: error: cannot override 'init' which has been marked unavailable
329 |     }
330 |
331 |     override init(windowScene: UIWindowScene) {
    |              |- error: cannot override 'init' which has been marked unavailable
    |              `- note: remove 'override' modifier to declare a new 'init'
332 |         super.init(windowScene: windowScene)
333 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
 25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init(windowScene:)' has been explicitly marked unavailable here
 26 |
 27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:336:14: error: cannot override 'init' which has been marked unavailable
334 |     }
335 |
336 |     override init(frame: CGRect) {
    |              |- error: cannot override 'init' which has been marked unavailable
    |              `- note: remove 'override' modifier to declare a new 'init'
337 |         super.init(frame: frame)
338 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:27:1: note: 'init(frame:)' has been explicitly marked unavailable here
 25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
 26 |
 27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init(frame:)' has been explicitly marked unavailable here
 28 | - (instancetype)init API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:280:18: error: 'UIView' is unavailable in watchOS
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
279 |     /// so only half of its border is visible on screen.
280 |     let border = UIView()
    |                  `- error: 'UIView' is unavailable in watchOS
281 |
282 |     var length: CGFloat = 6 {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:280:18: error: 'init()' is unavailable in watchOS
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
279 |     /// so only half of its border is visible on screen.
280 |     let border = UIView()
    |                  `- error: 'init()' is unavailable in watchOS
281 |
282 |     var length: CGFloat = 6 {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:310:29: error: 'UIView' is unavailable in watchOS
308 |
309 |     /// Views that still receive the events when interactions are disabled. They are not retained.
310 |     var interactableViews: [UIView] {
    |                             `- error: 'UIView' is unavailable in watchOS
311 |         get {
312 |             return weakInteractableViews.compactMap { $0.view }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:323:48: error: 'UIWindowScene' is unavailable in watchOS
321 |     var geometryObservation: NSKeyValueObservation?
322 |
323 |     convenience init(overlayScene windowScene: UIWindowScene?) {
    |                                                `- error: 'UIWindowScene' is unavailable in watchOS
324 |         if let windowScene = windowScene {
325 |             self.init(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:331:32: error: 'UIWindowScene' is unavailable in watchOS
329 |     }
330 |
331 |     override init(windowScene: UIWindowScene) {
    |                                `- error: 'UIWindowScene' is unavailable in watchOS
332 |         super.init(windowScene: windowScene)
333 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:346:18: error: cannot override 'windowScene' which has been marked unavailable
344 |     }
345 |
346 |     override var windowScene: UIWindowScene? {
    |                  |- error: cannot override 'windowScene' which has been marked unavailable
    |                  `- note: remove 'override' modifier to declare a new 'windowScene'
347 |         didSet {
348 |             observeSceneGeometry()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
 30 | // If nil, window will not appear on any screen.
 31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
 32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
    |                                                     `- note: 'windowScene' has been explicitly marked unavailable here
 33 |
 34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:346:31: error: 'UIWindowScene' is unavailable in watchOS
344 |     }
345 |
346 |     override var windowScene: UIWindowScene? {
    |                               `- error: 'UIWindowScene' is unavailable in watchOS
347 |         didSet {
348 |             observeSceneGeometry()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:471:19: error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
469 |     }
470 |
471 |     override func safeAreaInsetsDidChange() {
    |                   |- error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
    |                   `- note: remove 'override' modifier to declare a new 'safeAreaInsetsDidChange'
472 |         super.safeAreaInsetsDidChange()
473 |         layoutBorder()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:294:1: note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
    | `- note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
295 |
296 | /* The edges of this guide are constrained to equal the edges of the view inset by the layoutMargins
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:483:57: error: 'UIEvent' is unavailable in watchOS
481 |     }
482 |
483 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                         `- error: 'UIEvent' is unavailable in watchOS
484 |         if areInteractionsEnabled {
485 |             return nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:483:70: error: 'UIView' is unavailable in watchOS
481 |     }
482 |
483 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                      `- error: 'UIView' is unavailable in watchOS
484 |         if areInteractionsEnabled {
485 |             return nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:490:60: error: 'UIEvent' is unavailable in watchOS
488 |     }
489 |
490 |     override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
491 |         if areInteractionsEnabled {
492 |             return false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:500:58: error: 'UIEvent' is unavailable in watchOS
498 |     /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
499 |     /// or non-interactive ancestors, and for views covering the whitelisted one.
500 |     func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                          `- error: 'UIEvent' is unavailable in watchOS
501 |         let views = interactableViews
502 |         var testedWindows: [UIWindow] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:500:71: error: 'UIView' is unavailable in watchOS
498 |     /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
499 |     /// or non-interactive ancestors, and for views covering the whitelisted one.
500 |     func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                       `- error: 'UIView' is unavailable in watchOS
501 |         let views = interactableViews
502 |         var testedWindows: [UIWindow] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:276:37: error: 'UIWindow' is unavailable in watchOS
274 | // MARK: Private subclass of UIWindow
275 |
276 | final class RecordingOverlayWindow: UIWindow {
    |                                     `- error: 'UIWindow' is unavailable in watchOS
277 |
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:522:20: error: 'UIView' is unavailable in watchOS
520 | /// Holds a view without retaining it
521 | struct WeakView {
522 |     weak var view: UIView?
    |                    `- error: 'UIView' is unavailable in watchOS
523 | }
524 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
SwiftCompile normal arm64 (in target 'RecordingOverlay' from project 'RecordingOverlay')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name RecordingOverlay -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RecordingOverlay.build/Debug-watchos/RecordingOverlay-t.build/Objects-normal/arm64/RecordingOverlay.abi.json
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ RecordingOverlay (in target 'RecordingOverlay' from project 'RecordingOverlay')
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:34:33: error: 'UIWindow' is unavailable in watchOS
 32 |     var autoRetainer: RecordingOverlay?
 33 |     let overlay: RecordingOverlayWindow
 34 |     weak var previousKeyWindow: UIWindow?
    |                                 `- error: 'UIWindow' is unavailable in watchOS
 35 |
 36 |     /// True while the hide animation runs. The overlay is still visible during that time.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:45:30: error: 'UIWindowScene' is unavailable in watchOS
 43 |     /// - Parameter windowScene: The scene the overlay is displayed in.
 44 |     ///   When nil, the overlay attaches to the active window scene when it is shown.
 45 |     public init(windowScene: UIWindowScene? = nil) {
    |                              `- error: 'UIWindowScene' is unavailable in watchOS
 46 |         self.overlay = RecordingOverlayWindow(overlayScene: windowScene)
 47 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:54:45: error: 'UIWindowScene' is unavailable in watchOS
 52 |     /// - Parameter animated: Should the overlay appear with an animation?
 53 |     @discardableResult
 54 |     public static func show(on windowScene: UIWindowScene? = nil, animated: Bool = true) -> RecordingOverlay {
    |                                             `- error: 'UIWindowScene' is unavailable in watchOS
 55 |         return RecordingOverlay(windowScene: windowScene).show(animated: animated)
 56 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:60:29: error: 'UIWindowScene' is unavailable in watchOS
 58 |     /// The window scene the overlay is displayed in.
 59 |     /// Nil until the overlay is shown, unless a scene was provided at initialization.
 60 |     public var windowScene: UIWindowScene? {
    |                             `- error: 'UIWindowScene' is unavailable in watchOS
 61 |         get {
 62 |             return overlay.windowScene
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:195:53: error: 'UIView' is unavailable in watchOS
193 |     /// When the overlay is hidden, this takes effect the next time it is shown.
194 |     /// - Parameter view: a whitelisted view that will receive events
195 |     public func disableInteractions(exceptFor view: UIView?) {
    |                                                     `- error: 'UIView' is unavailable in watchOS
196 |         disableInteractions(exceptFor: [view].compactMap { $0 })
197 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:203:55: error: 'UIView' is unavailable in watchOS
201 |     /// When the overlay is hidden, this takes effect the next time it is shown.
202 |     /// - Parameter views: whitelisted views that will receive events. They are not retained.
203 |     public func disableInteractions(exceptFor views: [UIView] = []) {
    |                                                       `- error: 'UIView' is unavailable in watchOS
204 |         overlay.interactableViews = views
205 |         overlay.areInteractionsEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:220:51: error: 'CAAnimation' is unavailable in watchOS
218 |
219 | extension RecordingOverlay {
220 |     func animation(from: CGFloat, to: CGFloat) -> CAAnimation {
    |                                                   `- error: 'CAAnimation' is unavailable in watchOS
221 |         let animation = CABasicAnimation(keyPath: "borderWidth")
222 |         animation.timingFunction = .init(name: to > from ? .easeOut : .easeIn)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:266:40: error: 'UIWindowScene' is unavailable in watchOS
264 |
265 |     /// The scene the user is most likely looking at.
266 |     static func activeWindowScene() -> UIWindowScene? {
    |                                        `- error: 'UIWindowScene' is unavailable in watchOS
267 |         let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
268 |         return scenes.first { $0.activationState == .foregroundActive }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:331:14: error: cannot override 'init' which has been marked unavailable
329 |     }
330 |
331 |     override init(windowScene: UIWindowScene) {
    |              |- error: cannot override 'init' which has been marked unavailable
    |              `- note: remove 'override' modifier to declare a new 'init'
332 |         super.init(windowScene: windowScene)
333 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
 25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init(windowScene:)' has been explicitly marked unavailable here
 26 |
 27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:336:14: error: cannot override 'init' which has been marked unavailable
334 |     }
335 |
336 |     override init(frame: CGRect) {
    |              |- error: cannot override 'init' which has been marked unavailable
    |              `- note: remove 'override' modifier to declare a new 'init'
337 |         super.init(frame: frame)
338 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:27:1: note: 'init(frame:)' has been explicitly marked unavailable here
 25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
 26 |
 27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init(frame:)' has been explicitly marked unavailable here
 28 | - (instancetype)init API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:280:18: error: 'UIView' is unavailable in watchOS
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
279 |     /// so only half of its border is visible on screen.
280 |     let border = UIView()
    |                  `- error: 'UIView' is unavailable in watchOS
281 |
282 |     var length: CGFloat = 6 {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:280:18: error: 'init()' is unavailable in watchOS
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
279 |     /// so only half of its border is visible on screen.
280 |     let border = UIView()
    |                  `- error: 'init()' is unavailable in watchOS
281 |
282 |     var length: CGFloat = 6 {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:310:29: error: 'UIView' is unavailable in watchOS
308 |
309 |     /// Views that still receive the events when interactions are disabled. They are not retained.
310 |     var interactableViews: [UIView] {
    |                             `- error: 'UIView' is unavailable in watchOS
311 |         get {
312 |             return weakInteractableViews.compactMap { $0.view }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:323:48: error: 'UIWindowScene' is unavailable in watchOS
321 |     var geometryObservation: NSKeyValueObservation?
322 |
323 |     convenience init(overlayScene windowScene: UIWindowScene?) {
    |                                                `- error: 'UIWindowScene' is unavailable in watchOS
324 |         if let windowScene = windowScene {
325 |             self.init(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:331:32: error: 'UIWindowScene' is unavailable in watchOS
329 |     }
330 |
331 |     override init(windowScene: UIWindowScene) {
    |                                `- error: 'UIWindowScene' is unavailable in watchOS
332 |         super.init(windowScene: windowScene)
333 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:346:18: error: cannot override 'windowScene' which has been marked unavailable
344 |     }
345 |
346 |     override var windowScene: UIWindowScene? {
    |                  |- error: cannot override 'windowScene' which has been marked unavailable
    |                  `- note: remove 'override' modifier to declare a new 'windowScene'
347 |         didSet {
348 |             observeSceneGeometry()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
 30 | // If nil, window will not appear on any screen.
 31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
 32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
    |                                                     `- note: 'windowScene' has been explicitly marked unavailable here
 33 |
 34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
SwiftCompile normal arm64_32 (in target 'RecordingOverlay' from project 'RecordingOverlay')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:346:31: error: 'UIWindowScene' is unavailable in watchOS
344 |     }
345 |
346 |     override var windowScene: UIWindowScene? {
    |                               `- error: 'UIWindowScene' is unavailable in watchOS
347 |         didSet {
348 |             observeSceneGeometry()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:471:19: error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
469 |     }
470 |
471 |     override func safeAreaInsetsDidChange() {
    |                   |- error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
    |                   `- note: remove 'override' modifier to declare a new 'safeAreaInsetsDidChange'
472 |         super.safeAreaInsetsDidChange()
473 |         layoutBorder()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:294:1: note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
    | `- note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
295 |
296 | /* The edges of this guide are constrained to equal the edges of the view inset by the layoutMargins
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:483:57: error: 'UIEvent' is unavailable in watchOS
481 |     }
482 |
483 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                         `- error: 'UIEvent' is unavailable in watchOS
484 |         if areInteractionsEnabled {
485 |             return nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:483:70: error: 'UIView' is unavailable in watchOS
481 |     }
482 |
483 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                      `- error: 'UIView' is unavailable in watchOS
484 |         if areInteractionsEnabled {
485 |             return nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:490:60: error: 'UIEvent' is unavailable in watchOS
488 |     }
489 |
490 |     override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
491 |         if areInteractionsEnabled {
492 |             return false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:500:58: error: 'UIEvent' is unavailable in watchOS
498 |     /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
499 |     /// or non-interactive ancestors, and for views covering the whitelisted one.
500 |     func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                          `- error: 'UIEvent' is unavailable in watchOS
501 |         let views = interactableViews
502 |         var testedWindows: [UIWindow] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:500:71: error: 'UIView' is unavailable in watchOS
498 |     /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
499 |     /// or non-interactive ancestors, and for views covering the whitelisted one.
500 |     func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                       `- error: 'UIView' is unavailable in watchOS
501 |         let views = interactableViews
502 |         var testedWindows: [UIWindow] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:276:37: error: 'UIWindow' is unavailable in watchOS
274 | // MARK: Private subclass of UIWindow
275 |
276 | final class RecordingOverlayWindow: UIWindow {
    |                                     `- error: 'UIWindow' is unavailable in watchOS
277 |
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
SwiftCompile normal arm64 Compiling\ RecordingOverlay.swift /Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift (in target 'RecordingOverlay' from project 'RecordingOverlay')
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:34:33: error: 'UIWindow' is unavailable in watchOS
 32 |     var autoRetainer: RecordingOverlay?
 33 |     let overlay: RecordingOverlayWindow
 34 |     weak var previousKeyWindow: UIWindow?
    |                                 `- error: 'UIWindow' is unavailable in watchOS
 35 |
 36 |     /// True while the hide animation runs. The overlay is still visible during that time.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:45:30: error: 'UIWindowScene' is unavailable in watchOS
 43 |     /// - Parameter windowScene: The scene the overlay is displayed in.
 44 |     ///   When nil, the overlay attaches to the active window scene when it is shown.
 45 |     public init(windowScene: UIWindowScene? = nil) {
    |                              `- error: 'UIWindowScene' is unavailable in watchOS
 46 |         self.overlay = RecordingOverlayWindow(overlayScene: windowScene)
 47 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:54:45: error: 'UIWindowScene' is unavailable in watchOS
 52 |     /// - Parameter animated: Should the overlay appear with an animation?
 53 |     @discardableResult
 54 |     public static func show(on windowScene: UIWindowScene? = nil, animated: Bool = true) -> RecordingOverlay {
    |                                             `- error: 'UIWindowScene' is unavailable in watchOS
 55 |         return RecordingOverlay(windowScene: windowScene).show(animated: animated)
 56 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:60:29: error: 'UIWindowScene' is unavailable in watchOS
 58 |     /// The window scene the overlay is displayed in.
 59 |     /// Nil until the overlay is shown, unless a scene was provided at initialization.
 60 |     public var windowScene: UIWindowScene? {
    |                             `- error: 'UIWindowScene' is unavailable in watchOS
 61 |         get {
 62 |             return overlay.windowScene
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:195:53: error: 'UIView' is unavailable in watchOS
193 |     /// When the overlay is hidden, this takes effect the next time it is shown.
194 |     /// - Parameter view: a whitelisted view that will receive events
195 |     public func disableInteractions(exceptFor view: UIView?) {
    |                                                     `- error: 'UIView' is unavailable in watchOS
196 |         disableInteractions(exceptFor: [view].compactMap { $0 })
197 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:203:55: error: 'UIView' is unavailable in watchOS
201 |     /// When the overlay is hidden, this takes effect the next time it is shown.
202 |     /// - Parameter views: whitelisted views that will receive events. They are not retained.
203 |     public func disableInteractions(exceptFor views: [UIView] = []) {
    |                                                       `- error: 'UIView' is unavailable in watchOS
204 |         overlay.interactableViews = views
205 |         overlay.areInteractionsEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:220:51: error: 'CAAnimation' is unavailable in watchOS
218 |
219 | extension RecordingOverlay {
220 |     func animation(from: CGFloat, to: CGFloat) -> CAAnimation {
    |                                                   `- error: 'CAAnimation' is unavailable in watchOS
221 |         let animation = CABasicAnimation(keyPath: "borderWidth")
222 |         animation.timingFunction = .init(name: to > from ? .easeOut : .easeIn)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:266:40: error: 'UIWindowScene' is unavailable in watchOS
264 |
265 |     /// The scene the user is most likely looking at.
266 |     static func activeWindowScene() -> UIWindowScene? {
    |                                        `- error: 'UIWindowScene' is unavailable in watchOS
267 |         let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
268 |         return scenes.first { $0.activationState == .foregroundActive }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:331:14: error: cannot override 'init' which has been marked unavailable
329 |     }
330 |
331 |     override init(windowScene: UIWindowScene) {
    |              |- error: cannot override 'init' which has been marked unavailable
    |              `- note: remove 'override' modifier to declare a new 'init'
332 |         super.init(windowScene: windowScene)
333 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
 25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init(windowScene:)' has been explicitly marked unavailable here
 26 |
 27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:336:14: error: cannot override 'init' which has been marked unavailable
334 |     }
335 |
336 |     override init(frame: CGRect) {
    |              |- error: cannot override 'init' which has been marked unavailable
    |              `- note: remove 'override' modifier to declare a new 'init'
337 |         super.init(frame: frame)
338 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:27:1: note: 'init(frame:)' has been explicitly marked unavailable here
 25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
 26 |
 27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init(frame:)' has been explicitly marked unavailable here
 28 | - (instancetype)init API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:280:18: error: 'UIView' is unavailable in watchOS
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
279 |     /// so only half of its border is visible on screen.
280 |     let border = UIView()
    |                  `- error: 'UIView' is unavailable in watchOS
281 |
282 |     var length: CGFloat = 6 {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:280:18: error: 'init()' is unavailable in watchOS
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
279 |     /// so only half of its border is visible on screen.
280 |     let border = UIView()
    |                  `- error: 'init()' is unavailable in watchOS
281 |
282 |     var length: CGFloat = 6 {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:310:29: error: 'UIView' is unavailable in watchOS
308 |
309 |     /// Views that still receive the events when interactions are disabled. They are not retained.
310 |     var interactableViews: [UIView] {
    |                             `- error: 'UIView' is unavailable in watchOS
311 |         get {
312 |             return weakInteractableViews.compactMap { $0.view }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:323:48: error: 'UIWindowScene' is unavailable in watchOS
321 |     var geometryObservation: NSKeyValueObservation?
322 |
323 |     convenience init(overlayScene windowScene: UIWindowScene?) {
    |                                                `- error: 'UIWindowScene' is unavailable in watchOS
324 |         if let windowScene = windowScene {
325 |             self.init(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:331:32: error: 'UIWindowScene' is unavailable in watchOS
329 |     }
330 |
331 |     override init(windowScene: UIWindowScene) {
    |                                `- error: 'UIWindowScene' is unavailable in watchOS
332 |         super.init(windowScene: windowScene)
333 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:346:18: error: cannot override 'windowScene' which has been marked unavailable
344 |     }
345 |
346 |     override var windowScene: UIWindowScene? {
    |                  |- error: cannot override 'windowScene' which has been marked unavailable
    |                  `- note: remove 'override' modifier to declare a new 'windowScene'
347 |         didSet {
348 |             observeSceneGeometry()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
 30 | // If nil, window will not appear on any screen.
 31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
 32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
    |                                                     `- note: 'windowScene' has been explicitly marked unavailable here
 33 |
 34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:346:31: error: 'UIWindowScene' is unavailable in watchOS
344 |     }
345 |
346 |     override var windowScene: UIWindowScene? {
    |                               `- error: 'UIWindowScene' is unavailable in watchOS
347 |         didSet {
348 |             observeSceneGeometry()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:471:19: error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
469 |     }
470 |
471 |     override func safeAreaInsetsDidChange() {
    |                   |- error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
    |                   `- note: remove 'override' modifier to declare a new 'safeAreaInsetsDidChange'
472 |         super.safeAreaInsetsDidChange()
473 |         layoutBorder()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:294:1: note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
    | `- note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
295 |
296 | /* The edges of this guide are constrained to equal the edges of the view inset by the layoutMargins
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:483:57: error: 'UIEvent' is unavailable in watchOS
481 |     }
482 |
483 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                         `- error: 'UIEvent' is unavailable in watchOS
484 |         if areInteractionsEnabled {
485 |             return nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:483:70: error: 'UIView' is unavailable in watchOS
481 |     }
482 |
483 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                      `- error: 'UIView' is unavailable in watchOS
484 |         if areInteractionsEnabled {
485 |             return nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:490:60: error: 'UIEvent' is unavailable in watchOS
488 |     }
489 |
490 |     override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
491 |         if areInteractionsEnabled {
492 |             return false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:500:58: error: 'UIEvent' is unavailable in watchOS
498 |     /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
499 |     /// or non-interactive ancestors, and for views covering the whitelisted one.
500 |     func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                          `- error: 'UIEvent' is unavailable in watchOS
501 |         let views = interactableViews
502 |         var testedWindows: [UIWindow] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:500:71: error: 'UIView' is unavailable in watchOS
498 |     /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
499 |     /// or non-interactive ancestors, and for views covering the whitelisted one.
500 |     func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                       `- error: 'UIView' is unavailable in watchOS
501 |         let views = interactableViews
502 |         var testedWindows: [UIWindow] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:276:37: error: 'UIWindow' is unavailable in watchOS
274 | // MARK: Private subclass of UIWindow
275 |
276 | final class RecordingOverlayWindow: UIWindow {
    |                                     `- error: 'UIWindow' is unavailable in watchOS
277 |
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift (in target 'RecordingOverlay' from project 'RecordingOverlay')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RecordingOverlay.swift
SwiftCompile normal arm64_32 Compiling\ RecordingOverlay.swift /Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift (in target 'RecordingOverlay' from project 'RecordingOverlay')
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:34:33: error: 'UIWindow' is unavailable in watchOS
 32 |     var autoRetainer: RecordingOverlay?
 33 |     let overlay: RecordingOverlayWindow
 34 |     weak var previousKeyWindow: UIWindow?
    |                                 `- error: 'UIWindow' is unavailable in watchOS
 35 |
 36 |     /// True while the hide animation runs. The overlay is still visible during that time.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:45:30: error: 'UIWindowScene' is unavailable in watchOS
 43 |     /// - Parameter windowScene: The scene the overlay is displayed in.
 44 |     ///   When nil, the overlay attaches to the active window scene when it is shown.
 45 |     public init(windowScene: UIWindowScene? = nil) {
    |                              `- error: 'UIWindowScene' is unavailable in watchOS
 46 |         self.overlay = RecordingOverlayWindow(overlayScene: windowScene)
 47 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:54:45: error: 'UIWindowScene' is unavailable in watchOS
 52 |     /// - Parameter animated: Should the overlay appear with an animation?
 53 |     @discardableResult
 54 |     public static func show(on windowScene: UIWindowScene? = nil, animated: Bool = true) -> RecordingOverlay {
    |                                             `- error: 'UIWindowScene' is unavailable in watchOS
 55 |         return RecordingOverlay(windowScene: windowScene).show(animated: animated)
 56 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:60:29: error: 'UIWindowScene' is unavailable in watchOS
 58 |     /// The window scene the overlay is displayed in.
 59 |     /// Nil until the overlay is shown, unless a scene was provided at initialization.
 60 |     public var windowScene: UIWindowScene? {
    |                             `- error: 'UIWindowScene' is unavailable in watchOS
 61 |         get {
 62 |             return overlay.windowScene
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:195:53: error: 'UIView' is unavailable in watchOS
193 |     /// When the overlay is hidden, this takes effect the next time it is shown.
194 |     /// - Parameter view: a whitelisted view that will receive events
195 |     public func disableInteractions(exceptFor view: UIView?) {
    |                                                     `- error: 'UIView' is unavailable in watchOS
196 |         disableInteractions(exceptFor: [view].compactMap { $0 })
197 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:203:55: error: 'UIView' is unavailable in watchOS
201 |     /// When the overlay is hidden, this takes effect the next time it is shown.
202 |     /// - Parameter views: whitelisted views that will receive events. They are not retained.
203 |     public func disableInteractions(exceptFor views: [UIView] = []) {
    |                                                       `- error: 'UIView' is unavailable in watchOS
204 |         overlay.interactableViews = views
205 |         overlay.areInteractionsEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:220:51: error: 'CAAnimation' is unavailable in watchOS
218 |
219 | extension RecordingOverlay {
220 |     func animation(from: CGFloat, to: CGFloat) -> CAAnimation {
    |                                                   `- error: 'CAAnimation' is unavailable in watchOS
221 |         let animation = CABasicAnimation(keyPath: "borderWidth")
222 |         animation.timingFunction = .init(name: to > from ? .easeOut : .easeIn)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:266:40: error: 'UIWindowScene' is unavailable in watchOS
264 |
265 |     /// The scene the user is most likely looking at.
266 |     static func activeWindowScene() -> UIWindowScene? {
    |                                        `- error: 'UIWindowScene' is unavailable in watchOS
267 |         let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
268 |         return scenes.first { $0.activationState == .foregroundActive }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:331:14: error: cannot override 'init' which has been marked unavailable
329 |     }
330 |
331 |     override init(windowScene: UIWindowScene) {
    |              |- error: cannot override 'init' which has been marked unavailable
    |              `- note: remove 'override' modifier to declare a new 'init'
332 |         super.init(windowScene: windowScene)
333 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
 25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init(windowScene:)' has been explicitly marked unavailable here
 26 |
 27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:336:14: error: cannot override 'init' which has been marked unavailable
334 |     }
335 |
336 |     override init(frame: CGRect) {
    |              |- error: cannot override 'init' which has been marked unavailable
    |              `- note: remove 'override' modifier to declare a new 'init'
337 |         super.init(frame: frame)
338 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:27:1: note: 'init(frame:)' has been explicitly marked unavailable here
 25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
 26 |
 27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init(frame:)' has been explicitly marked unavailable here
 28 | - (instancetype)init API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:280:18: error: 'UIView' is unavailable in watchOS
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
279 |     /// so only half of its border is visible on screen.
280 |     let border = UIView()
    |                  `- error: 'UIView' is unavailable in watchOS
281 |
282 |     var length: CGFloat = 6 {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:280:18: error: 'init()' is unavailable in watchOS
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
279 |     /// so only half of its border is visible on screen.
280 |     let border = UIView()
    |                  `- error: 'init()' is unavailable in watchOS
281 |
282 |     var length: CGFloat = 6 {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:310:29: error: 'UIView' is unavailable in watchOS
308 |
309 |     /// Views that still receive the events when interactions are disabled. They are not retained.
310 |     var interactableViews: [UIView] {
    |                             `- error: 'UIView' is unavailable in watchOS
311 |         get {
312 |             return weakInteractableViews.compactMap { $0.view }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:323:48: error: 'UIWindowScene' is unavailable in watchOS
321 |     var geometryObservation: NSKeyValueObservation?
322 |
323 |     convenience init(overlayScene windowScene: UIWindowScene?) {
    |                                                `- error: 'UIWindowScene' is unavailable in watchOS
324 |         if let windowScene = windowScene {
325 |             self.init(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:331:32: error: 'UIWindowScene' is unavailable in watchOS
329 |     }
330 |
331 |     override init(windowScene: UIWindowScene) {
    |                                `- error: 'UIWindowScene' is unavailable in watchOS
332 |         super.init(windowScene: windowScene)
333 |         initialize()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:346:18: error: cannot override 'windowScene' which has been marked unavailable
344 |     }
345 |
346 |     override var windowScene: UIWindowScene? {
    |                  |- error: cannot override 'windowScene' which has been marked unavailable
    |                  `- note: remove 'override' modifier to declare a new 'windowScene'
347 |         didSet {
348 |             observeSceneGeometry()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
 30 | // If nil, window will not appear on any screen.
 31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
 32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
    |                                                     `- note: 'windowScene' has been explicitly marked unavailable here
 33 |
 34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift (in target 'RecordingOverlay' from project 'RecordingOverlay')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RecordingOverlay.swift
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:346:31: error: 'UIWindowScene' is unavailable in watchOS
344 |     }
345 |
346 |     override var windowScene: UIWindowScene? {
    |                               `- error: 'UIWindowScene' is unavailable in watchOS
347 |         didSet {
348 |             observeSceneGeometry()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:471:19: error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
469 |     }
470 |
471 |     override func safeAreaInsetsDidChange() {
    |                   |- error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
    |                   `- note: remove 'override' modifier to declare a new 'safeAreaInsetsDidChange'
472 |         super.safeAreaInsetsDidChange()
473 |         layoutBorder()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:294:1: note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
    | `- note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
295 |
296 | /* The edges of this guide are constrained to equal the edges of the view inset by the layoutMargins
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:483:57: error: 'UIEvent' is unavailable in watchOS
481 |     }
482 |
483 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                         `- error: 'UIEvent' is unavailable in watchOS
484 |         if areInteractionsEnabled {
485 |             return nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:483:70: error: 'UIView' is unavailable in watchOS
481 |     }
482 |
483 |     override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                      `- error: 'UIView' is unavailable in watchOS
484 |         if areInteractionsEnabled {
485 |             return nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:490:60: error: 'UIEvent' is unavailable in watchOS
488 |     }
489 |
490 |     override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
    |                                                            `- error: 'UIEvent' is unavailable in watchOS
491 |         if areInteractionsEnabled {
492 |             return false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:500:58: error: 'UIEvent' is unavailable in watchOS
498 |     /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
499 |     /// or non-interactive ancestors, and for views covering the whitelisted one.
500 |     func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                          `- error: 'UIEvent' is unavailable in watchOS
501 |         let views = interactableViews
502 |         var testedWindows: [UIWindow] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:500:71: error: 'UIView' is unavailable in watchOS
498 |     /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
499 |     /// or non-interactive ancestors, and for views covering the whitelisted one.
500 |     func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
    |                                                                       `- error: 'UIView' is unavailable in watchOS
501 |         let views = interactableViews
502 |         var testedWindows: [UIWindow] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RecordingOverlay/RecordingOverlay.swift:276:37: error: 'UIWindow' is unavailable in watchOS
274 | // MARK: Private subclass of UIWindow
275 |
276 | final class RecordingOverlayWindow: UIWindow {
    |                                     `- error: 'UIWindow' is unavailable in watchOS
277 |
278 |     /// The view drawing the border. It overflows the window by `length` on every side,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-11-28 03:13:14.983 xcodebuild[768:4478] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64 (in target 'RecordingOverlay' from project 'RecordingOverlay')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ RecordingOverlay (in target 'RecordingOverlay' from project 'RecordingOverlay')
	Building workspace RecordingOverlay with scheme RecordingOverlay
(3 failures)
BUILD FAILURE 6.4 watchOS