Build Information
Failed to build ScreenRim, reference 1.0.0-beta1 (d00775), with Swift 6.4 for watchOS using Xcode 27.0 on 29 Nov 2026 12:38:40 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ScreenRim -destination generic/platform=watchOSBuild Log
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/ScreenRim/ScreenRim.swift:286:18: error: 'UIView' is unavailable in watchOS
284 | /// The view drawing the border. It overflows the window by `length` on every side,
285 | /// so only half of its border is visible on screen.
286 | let border = UIView()
| `- error: 'UIView' is unavailable in watchOS
287 |
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
/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/ScreenRim/ScreenRim.swift:286:18: error: 'init()' is unavailable in watchOS
284 | /// The view drawing the border. It overflows the window by `length` on every side,
285 | /// so only half of its border is visible on screen.
286 | let border = UIView()
| `- error: 'init()' is unavailable in watchOS
287 |
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
/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/ScreenRim/ScreenRim.swift:290:24: error: 'UIView' is unavailable in watchOS
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
289 | /// UIKit gives it the radius of each window corner, starting with iOS 26.
290 | let cornersProbe = UIView()
| `- error: 'UIView' is unavailable in watchOS
291 |
292 | 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/ScreenRim/ScreenRim.swift:290:24: error: 'init()' is unavailable in watchOS
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
289 | /// UIKit gives it the radius of each window corner, starting with iOS 26.
290 | let cornersProbe = UIView()
| `- error: 'init()' is unavailable in watchOS
291 |
292 | 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/ScreenRim/ScreenRim.swift:320:29: error: 'UIView' is unavailable in watchOS
318 |
319 | /// Views that still receive the events when interactions are disabled. They are not retained.
320 | var interactableViews: [UIView] {
| `- error: 'UIView' is unavailable in watchOS
321 | get {
322 | 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/ScreenRim/ScreenRim.swift:333:48: error: 'UIWindowScene' is unavailable in watchOS
331 | var geometryObservation: NSKeyValueObservation?
332 |
333 | convenience init(overlayScene windowScene: UIWindowScene?) {
| `- error: 'UIWindowScene' is unavailable in watchOS
334 | if let windowScene = windowScene {
335 | 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/ScreenRim/ScreenRim.swift:341:32: error: 'UIWindowScene' is unavailable in watchOS
339 | }
340 |
341 | override init(windowScene: UIWindowScene) {
| `- error: 'UIWindowScene' is unavailable in watchOS
342 | super.init(windowScene: windowScene)
343 | 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/ScreenRim/ScreenRim.swift:356:18: error: cannot override 'windowScene' which has been marked unavailable
354 | }
355 |
356 | override var windowScene: UIWindowScene? {
| |- error: cannot override 'windowScene' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'windowScene'
357 | didSet {
358 | 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/ScreenRim/ScreenRim.swift:356:31: error: 'UIWindowScene' is unavailable in watchOS
354 | }
355 |
356 | override var windowScene: UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
357 | didSet {
358 | 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/ScreenRim/ScreenRim.swift:506:19: error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
504 | }
505 |
506 | override func safeAreaInsetsDidChange() {
| |- error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'safeAreaInsetsDidChange'
507 | super.safeAreaInsetsDidChange()
508 | 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/ScreenRim/ScreenRim.swift:518:57: error: 'UIEvent' is unavailable in watchOS
516 | }
517 |
518 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
519 | if areInteractionsEnabled {
520 | 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/ScreenRim/ScreenRim.swift:518:70: error: 'UIView' is unavailable in watchOS
516 | }
517 |
518 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
519 | if areInteractionsEnabled {
520 | 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.
SwiftCompile normal arm64 (in target 'ScreenRim' from project 'ScreenRim')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRim/ScreenRim.swift:525:60: error: 'UIEvent' is unavailable in watchOS
523 | }
524 |
525 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
526 | if areInteractionsEnabled {
527 | 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/ScreenRim/ScreenRim.swift:535:58: error: 'UIEvent' is unavailable in watchOS
533 | /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
534 | /// or non-interactive ancestors, and for views covering the whitelisted one.
535 | func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
536 | let views = interactableViews
537 | 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/ScreenRim/ScreenRim.swift:535:71: error: 'UIView' is unavailable in watchOS
533 | /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
534 | /// or non-interactive ancestors, and for views covering the whitelisted one.
535 | func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
536 | let views = interactableViews
537 | 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/ScreenRim/ScreenRim.swift:282:30: error: 'UIWindow' is unavailable in watchOS
280 | // MARK: Private subclass of UIWindow
281 |
282 | final class ScreenRimWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
283 |
284 | /// 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\ ScreenRim.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRim/ScreenRim.swift (in target 'ScreenRim' from project 'ScreenRim')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRim/ScreenRim.swift:34:33: error: 'UIWindow' is unavailable in watchOS
32 | var autoRetainer: ScreenRim?
33 | let overlay: ScreenRimWindow
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/ScreenRim/ScreenRim.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 = ScreenRimWindow(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/ScreenRim/ScreenRim.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) -> ScreenRim {
| `- error: 'UIWindowScene' is unavailable in watchOS
55 | return ScreenRim(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/ScreenRim/ScreenRim.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/ScreenRim/ScreenRim.swift:197:53: error: 'UIView' is unavailable in watchOS
195 | /// When the overlay is hidden, this takes effect the next time it is shown.
196 | /// - Parameter view: a whitelisted view that will receive events
197 | public func disableInteractions(exceptFor view: UIView?) {
| `- error: 'UIView' is unavailable in watchOS
198 | disableInteractions(exceptFor: [view].compactMap { $0 })
199 | }
/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/ScreenRim/ScreenRim.swift:205:55: error: 'UIView' is unavailable in watchOS
203 | /// When the overlay is hidden, this takes effect the next time it is shown.
204 | /// - Parameter views: whitelisted views that will receive events. They are not retained.
205 | public func disableInteractions(exceptFor views: [UIView] = []) {
| `- error: 'UIView' is unavailable in watchOS
206 | overlay.interactableViews = views
207 | 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/ScreenRim/ScreenRim.swift:226:51: error: 'CAAnimation' is unavailable in watchOS
224 |
225 | extension ScreenRim {
226 | func animation(from: CGFloat, to: CGFloat) -> CAAnimation {
| `- error: 'CAAnimation' is unavailable in watchOS
227 | let animation = CABasicAnimation(keyPath: "borderWidth")
228 | 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/ScreenRim/ScreenRim.swift:272:40: error: 'UIWindowScene' is unavailable in watchOS
270 |
271 | /// The scene the user is most likely looking at.
272 | static func activeWindowScene() -> UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
273 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
274 | 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/ScreenRim/ScreenRim.swift:341:14: error: cannot override 'init' which has been marked unavailable
339 | }
340 |
341 | override init(windowScene: UIWindowScene) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
342 | super.init(windowScene: windowScene)
343 | 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/ScreenRim/ScreenRim.swift:346:14: error: cannot override 'init' which has been marked unavailable
344 | }
345 |
346 | override init(frame: CGRect) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
347 | super.init(frame: frame)
348 | 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/ScreenRim/ScreenRim.swift:286:18: error: 'UIView' is unavailable in watchOS
284 | /// The view drawing the border. It overflows the window by `length` on every side,
285 | /// so only half of its border is visible on screen.
286 | let border = UIView()
| `- error: 'UIView' is unavailable in watchOS
287 |
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
/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/ScreenRim/ScreenRim.swift:286:18: error: 'init()' is unavailable in watchOS
284 | /// The view drawing the border. It overflows the window by `length` on every side,
285 | /// so only half of its border is visible on screen.
286 | let border = UIView()
| `- error: 'init()' is unavailable in watchOS
287 |
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
/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/ScreenRim/ScreenRim.swift:290:24: error: 'UIView' is unavailable in watchOS
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
289 | /// UIKit gives it the radius of each window corner, starting with iOS 26.
290 | let cornersProbe = UIView()
| `- error: 'UIView' is unavailable in watchOS
291 |
292 | 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/ScreenRim/ScreenRim.swift:290:24: error: 'init()' is unavailable in watchOS
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
289 | /// UIKit gives it the radius of each window corner, starting with iOS 26.
290 | let cornersProbe = UIView()
| `- error: 'init()' is unavailable in watchOS
291 |
292 | 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/ScreenRim/ScreenRim.swift:320:29: error: 'UIView' is unavailable in watchOS
318 |
319 | /// Views that still receive the events when interactions are disabled. They are not retained.
320 | var interactableViews: [UIView] {
| `- error: 'UIView' is unavailable in watchOS
321 | get {
322 | 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/ScreenRim/ScreenRim.swift:333:48: error: 'UIWindowScene' is unavailable in watchOS
331 | var geometryObservation: NSKeyValueObservation?
332 |
333 | convenience init(overlayScene windowScene: UIWindowScene?) {
| `- error: 'UIWindowScene' is unavailable in watchOS
334 | if let windowScene = windowScene {
335 | 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/ScreenRim/ScreenRim.swift:341:32: error: 'UIWindowScene' is unavailable in watchOS
339 | }
340 |
341 | override init(windowScene: UIWindowScene) {
| `- error: 'UIWindowScene' is unavailable in watchOS
342 | super.init(windowScene: windowScene)
343 | 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/ScreenRim/ScreenRim.swift:356:18: error: cannot override 'windowScene' which has been marked unavailable
354 | }
355 |
356 | override var windowScene: UIWindowScene? {
| |- error: cannot override 'windowScene' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'windowScene'
357 | didSet {
358 | 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/ScreenRim/ScreenRim.swift:356:31: error: 'UIWindowScene' is unavailable in watchOS
354 | }
355 |
356 | override var windowScene: UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
357 | didSet {
358 | 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/ScreenRim/ScreenRim.swift:506:19: error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
504 | }
505 |
506 | override func safeAreaInsetsDidChange() {
| |- error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'safeAreaInsetsDidChange'
507 | super.safeAreaInsetsDidChange()
508 | 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/ScreenRim/ScreenRim.swift:518:57: error: 'UIEvent' is unavailable in watchOS
516 | }
517 |
518 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
519 | if areInteractionsEnabled {
520 | 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/ScreenRim/ScreenRim.swift:518:70: error: 'UIView' is unavailable in watchOS
516 | }
517 |
518 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
519 | if areInteractionsEnabled {
520 | 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/ScreenRim/ScreenRim.swift:525:60: error: 'UIEvent' is unavailable in watchOS
523 | }
524 |
525 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
526 | if areInteractionsEnabled {
527 | 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/ScreenRim/ScreenRim.swift:535:58: error: 'UIEvent' is unavailable in watchOS
533 | /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
534 | /// or non-interactive ancestors, and for views covering the whitelisted one.
535 | func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
536 | let views = interactableViews
537 | 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/ScreenRim/ScreenRim.swift:535:71: error: 'UIView' is unavailable in watchOS
533 | /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
534 | /// or non-interactive ancestors, and for views covering the whitelisted one.
535 | func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
536 | let views = interactableViews
537 | 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/ScreenRim/ScreenRim.swift:282:30: error: 'UIWindow' is unavailable in watchOS
280 | // MARK: Private subclass of UIWindow
281 |
282 | final class ScreenRimWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
283 |
284 | /// 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/ScreenRim/ScreenRim.swift (in target 'ScreenRim' from project 'ScreenRim')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScreenRim.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-11-29 07:38:28.105 xcodebuild[639:3948] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'ScreenRim' from project 'ScreenRim')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ScreenRim (in target 'ScreenRim' from project 'ScreenRim')
Building workspace ScreenRim with scheme ScreenRim
(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:
ScreenRim: /Users/admin/builder/spi-builder-workspace
resolved source packages: ScreenRim
2026-11-29 07:38:36.210 xcodebuild[793:4684] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "ScreenRim",
"name" : "ScreenRim",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "ScreenRim",
"targets" : [
"ScreenRim"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ScreenRimTests",
"module_type" : "SwiftTarget",
"name" : "ScreenRimTests",
"path" : "Tests/ScreenRimTests",
"sources" : [
"ScreenRimTests.swift"
],
"target_dependencies" : [
"ScreenRim"
],
"type" : "test"
},
{
"c99name" : "ScreenRim",
"module_type" : "SwiftTarget",
"name" : "ScreenRim",
"path" : "Sources/ScreenRim",
"product_memberships" : [
"ScreenRim"
],
"sources" : [
"ScreenRim.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "ScreenRim",
"schemes" : [
"ScreenRim"
]
}
}
2026-11-29 07:38:37.544 xcodebuild[804:4771] [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 ScreenRim -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 ScreenRim -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
ScreenRim: /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 'ScreenRim-product' in project 'ScreenRim'
➜ Explicit dependency on target 'ScreenRim' in project 'ScreenRim'
Target 'ScreenRim' in project 'ScreenRim' (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 ScreenRim normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'ScreenRim' from project 'ScreenRim')
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 ScreenRim -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64_32/ScreenRim.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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64_32/ScreenRim-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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64_32/ScreenRim.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64_32/ScreenRim-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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64_32/ScreenRim_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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64_32/ScreenRim-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver ScreenRim normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ScreenRim' from project 'ScreenRim')
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 ScreenRim -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64/ScreenRim.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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64/ScreenRim-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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64/ScreenRim.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64/ScreenRim-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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64/ScreenRim_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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64/ScreenRim-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScreenRim (in target 'ScreenRim' from project 'ScreenRim')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRim/ScreenRim.swift:34:33: error: 'UIWindow' is unavailable in watchOS
32 | var autoRetainer: ScreenRim?
33 | let overlay: ScreenRimWindow
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/ScreenRim/ScreenRim.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 = ScreenRimWindow(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/ScreenRim/ScreenRim.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) -> ScreenRim {
| `- error: 'UIWindowScene' is unavailable in watchOS
55 | return ScreenRim(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/ScreenRim/ScreenRim.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/ScreenRim/ScreenRim.swift:197:53: error: 'UIView' is unavailable in watchOS
195 | /// When the overlay is hidden, this takes effect the next time it is shown.
196 | /// - Parameter view: a whitelisted view that will receive events
197 | public func disableInteractions(exceptFor view: UIView?) {
| `- error: 'UIView' is unavailable in watchOS
198 | disableInteractions(exceptFor: [view].compactMap { $0 })
199 | }
/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/ScreenRim/ScreenRim.swift:205:55: error: 'UIView' is unavailable in watchOS
203 | /// When the overlay is hidden, this takes effect the next time it is shown.
204 | /// - Parameter views: whitelisted views that will receive events. They are not retained.
205 | public func disableInteractions(exceptFor views: [UIView] = []) {
| `- error: 'UIView' is unavailable in watchOS
206 | overlay.interactableViews = views
207 | 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/ScreenRim/ScreenRim.swift:226:51: error: 'CAAnimation' is unavailable in watchOS
224 |
225 | extension ScreenRim {
226 | func animation(from: CGFloat, to: CGFloat) -> CAAnimation {
| `- error: 'CAAnimation' is unavailable in watchOS
227 | let animation = CABasicAnimation(keyPath: "borderWidth")
228 | 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/ScreenRim/ScreenRim.swift:272:40: error: 'UIWindowScene' is unavailable in watchOS
270 |
271 | /// The scene the user is most likely looking at.
272 | static func activeWindowScene() -> UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
273 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
274 | 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/ScreenRim/ScreenRim.swift:341:14: error: cannot override 'init' which has been marked unavailable
339 | }
340 |
341 | override init(windowScene: UIWindowScene) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
342 | super.init(windowScene: windowScene)
343 | 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/ScreenRim/ScreenRim.swift:346:14: error: cannot override 'init' which has been marked unavailable
344 | }
345 |
346 | override init(frame: CGRect) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
347 | super.init(frame: frame)
348 | 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/ScreenRim/ScreenRim.swift:286:18: error: 'UIView' is unavailable in watchOS
284 | /// The view drawing the border. It overflows the window by `length` on every side,
285 | /// so only half of its border is visible on screen.
286 | let border = UIView()
| `- error: 'UIView' is unavailable in watchOS
287 |
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
/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/ScreenRim/ScreenRim.swift:286:18: error: 'init()' is unavailable in watchOS
284 | /// The view drawing the border. It overflows the window by `length` on every side,
285 | /// so only half of its border is visible on screen.
286 | let border = UIView()
| `- error: 'init()' is unavailable in watchOS
287 |
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
/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/ScreenRim/ScreenRim.swift:290:24: error: 'UIView' is unavailable in watchOS
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
289 | /// UIKit gives it the radius of each window corner, starting with iOS 26.
290 | let cornersProbe = UIView()
| `- error: 'UIView' is unavailable in watchOS
291 |
292 | 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/ScreenRim/ScreenRim.swift:290:24: error: 'init()' is unavailable in watchOS
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
289 | /// UIKit gives it the radius of each window corner, starting with iOS 26.
290 | let cornersProbe = UIView()
| `- error: 'init()' is unavailable in watchOS
291 |
292 | 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/ScreenRim/ScreenRim.swift:320:29: error: 'UIView' is unavailable in watchOS
318 |
319 | /// Views that still receive the events when interactions are disabled. They are not retained.
320 | var interactableViews: [UIView] {
| `- error: 'UIView' is unavailable in watchOS
321 | get {
322 | 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/ScreenRim/ScreenRim.swift:333:48: error: 'UIWindowScene' is unavailable in watchOS
331 | var geometryObservation: NSKeyValueObservation?
332 |
333 | convenience init(overlayScene windowScene: UIWindowScene?) {
| `- error: 'UIWindowScene' is unavailable in watchOS
334 | if let windowScene = windowScene {
335 | 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/ScreenRim/ScreenRim.swift:341:32: error: 'UIWindowScene' is unavailable in watchOS
339 | }
340 |
341 | override init(windowScene: UIWindowScene) {
| `- error: 'UIWindowScene' is unavailable in watchOS
342 | super.init(windowScene: windowScene)
343 | 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/ScreenRim/ScreenRim.swift:356:18: error: cannot override 'windowScene' which has been marked unavailable
354 | }
355 |
356 | override var windowScene: UIWindowScene? {
| |- error: cannot override 'windowScene' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'windowScene'
357 | didSet {
358 | 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/ScreenRim/ScreenRim.swift:356:31: error: 'UIWindowScene' is unavailable in watchOS
354 | }
355 |
356 | override var windowScene: UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
357 | didSet {
358 | 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/ScreenRim/ScreenRim.swift:506:19: error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
504 | }
505 |
506 | override func safeAreaInsetsDidChange() {
| |- error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'safeAreaInsetsDidChange'
507 | super.safeAreaInsetsDidChange()
508 | 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/ScreenRim/ScreenRim.swift:518:57: error: 'UIEvent' is unavailable in watchOS
516 | }
517 |
518 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
519 | if areInteractionsEnabled {
520 | 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/ScreenRim/ScreenRim.swift:518:70: error: 'UIView' is unavailable in watchOS
516 | }
517 |
518 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
519 | if areInteractionsEnabled {
520 | 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/ScreenRim/ScreenRim.swift:525:60: error: 'UIEvent' is unavailable in watchOS
523 | }
524 |
525 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
526 | if areInteractionsEnabled {
527 | 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/ScreenRim/ScreenRim.swift:535:58: error: 'UIEvent' is unavailable in watchOS
533 | /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
534 | /// or non-interactive ancestors, and for views covering the whitelisted one.
535 | func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
536 | let views = interactableViews
537 | 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/ScreenRim/ScreenRim.swift:535:71: error: 'UIView' is unavailable in watchOS
533 | /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
534 | /// or non-interactive ancestors, and for views covering the whitelisted one.
535 | func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
536 | let views = interactableViews
537 | 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/ScreenRim/ScreenRim.swift:282:30: error: 'UIWindow' is unavailable in watchOS
280 | // MARK: Private subclass of UIWindow
281 |
282 | final class ScreenRimWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
283 |
284 | /// 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 (in target 'ScreenRim' from project 'ScreenRim')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRim/ScreenRim.swift:557:20: error: 'UIView' is unavailable in watchOS
555 | /// Holds a view without retaining it
556 | struct WeakView {
557 | weak var view: UIView?
| `- error: 'UIView' is unavailable in watchOS
558 | }
559 |
/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/ScreenRim/ScreenRim.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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64/ScreenRim-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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScreenRim -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64/ScreenRim_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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64/ScreenRim.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64/ScreenRim.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64/ScreenRim-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64/ScreenRim-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64/ScreenRim-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64/ScreenRim.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64/ScreenRim.abi.json
SwiftCompile normal arm64 Compiling\ ScreenRim.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRim/ScreenRim.swift (in target 'ScreenRim' from project 'ScreenRim')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRim/ScreenRim.swift:34:33: error: 'UIWindow' is unavailable in watchOS
32 | var autoRetainer: ScreenRim?
33 | let overlay: ScreenRimWindow
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/ScreenRim/ScreenRim.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 = ScreenRimWindow(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/ScreenRim/ScreenRim.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) -> ScreenRim {
| `- error: 'UIWindowScene' is unavailable in watchOS
55 | return ScreenRim(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/ScreenRim/ScreenRim.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/ScreenRim/ScreenRim.swift:197:53: error: 'UIView' is unavailable in watchOS
195 | /// When the overlay is hidden, this takes effect the next time it is shown.
196 | /// - Parameter view: a whitelisted view that will receive events
197 | public func disableInteractions(exceptFor view: UIView?) {
| `- error: 'UIView' is unavailable in watchOS
198 | disableInteractions(exceptFor: [view].compactMap { $0 })
199 | }
/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/ScreenRim/ScreenRim.swift:205:55: error: 'UIView' is unavailable in watchOS
203 | /// When the overlay is hidden, this takes effect the next time it is shown.
204 | /// - Parameter views: whitelisted views that will receive events. They are not retained.
205 | public func disableInteractions(exceptFor views: [UIView] = []) {
| `- error: 'UIView' is unavailable in watchOS
206 | overlay.interactableViews = views
207 | 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/ScreenRim/ScreenRim.swift:226:51: error: 'CAAnimation' is unavailable in watchOS
224 |
225 | extension ScreenRim {
226 | func animation(from: CGFloat, to: CGFloat) -> CAAnimation {
| `- error: 'CAAnimation' is unavailable in watchOS
227 | let animation = CABasicAnimation(keyPath: "borderWidth")
228 | 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/ScreenRim/ScreenRim.swift:272:40: error: 'UIWindowScene' is unavailable in watchOS
270 |
271 | /// The scene the user is most likely looking at.
272 | static func activeWindowScene() -> UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
273 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
274 | 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/ScreenRim/ScreenRim.swift:341:14: error: cannot override 'init' which has been marked unavailable
339 | }
340 |
341 | override init(windowScene: UIWindowScene) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
342 | super.init(windowScene: windowScene)
343 | 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/ScreenRim/ScreenRim.swift:346:14: error: cannot override 'init' which has been marked unavailable
344 | }
345 |
346 | override init(frame: CGRect) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
347 | super.init(frame: frame)
348 | 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/ScreenRim/ScreenRim.swift:286:18: error: 'UIView' is unavailable in watchOS
284 | /// The view drawing the border. It overflows the window by `length` on every side,
285 | /// so only half of its border is visible on screen.
286 | let border = UIView()
| `- error: 'UIView' is unavailable in watchOS
287 |
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
/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/ScreenRim/ScreenRim.swift:286:18: error: 'init()' is unavailable in watchOS
284 | /// The view drawing the border. It overflows the window by `length` on every side,
285 | /// so only half of its border is visible on screen.
286 | let border = UIView()
| `- error: 'init()' is unavailable in watchOS
287 |
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
/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/ScreenRim/ScreenRim.swift:290:24: error: 'UIView' is unavailable in watchOS
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
289 | /// UIKit gives it the radius of each window corner, starting with iOS 26.
290 | let cornersProbe = UIView()
| `- error: 'UIView' is unavailable in watchOS
291 |
292 | 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/ScreenRim/ScreenRim.swift:290:24: error: 'init()' is unavailable in watchOS
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
289 | /// UIKit gives it the radius of each window corner, starting with iOS 26.
290 | let cornersProbe = UIView()
| `- error: 'init()' is unavailable in watchOS
291 |
292 | 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/ScreenRim/ScreenRim.swift:320:29: error: 'UIView' is unavailable in watchOS
318 |
319 | /// Views that still receive the events when interactions are disabled. They are not retained.
320 | var interactableViews: [UIView] {
| `- error: 'UIView' is unavailable in watchOS
321 | get {
322 | 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/ScreenRim/ScreenRim.swift:333:48: error: 'UIWindowScene' is unavailable in watchOS
331 | var geometryObservation: NSKeyValueObservation?
332 |
333 | convenience init(overlayScene windowScene: UIWindowScene?) {
| `- error: 'UIWindowScene' is unavailable in watchOS
334 | if let windowScene = windowScene {
335 | 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/ScreenRim/ScreenRim.swift:341:32: error: 'UIWindowScene' is unavailable in watchOS
339 | }
340 |
341 | override init(windowScene: UIWindowScene) {
| `- error: 'UIWindowScene' is unavailable in watchOS
342 | super.init(windowScene: windowScene)
343 | 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/ScreenRim/ScreenRim.swift:356:18: error: cannot override 'windowScene' which has been marked unavailable
354 | }
355 |
356 | override var windowScene: UIWindowScene? {
| |- error: cannot override 'windowScene' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'windowScene'
357 | didSet {
358 | 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/ScreenRim/ScreenRim.swift:356:31: error: 'UIWindowScene' is unavailable in watchOS
354 | }
355 |
356 | override var windowScene: UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
357 | didSet {
358 | 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/ScreenRim/ScreenRim.swift:506:19: error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
504 | }
505 |
506 | override func safeAreaInsetsDidChange() {
| |- error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'safeAreaInsetsDidChange'
507 | super.safeAreaInsetsDidChange()
508 | 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/ScreenRim/ScreenRim.swift:518:57: error: 'UIEvent' is unavailable in watchOS
516 | }
517 |
518 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
519 | if areInteractionsEnabled {
520 | 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/ScreenRim/ScreenRim.swift:518:70: error: 'UIView' is unavailable in watchOS
516 | }
517 |
518 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
519 | if areInteractionsEnabled {
520 | 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/ScreenRim/ScreenRim.swift:525:60: error: 'UIEvent' is unavailable in watchOS
523 | }
524 |
525 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
526 | if areInteractionsEnabled {
527 | 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/ScreenRim/ScreenRim.swift:535:58: error: 'UIEvent' is unavailable in watchOS
533 | /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
534 | /// or non-interactive ancestors, and for views covering the whitelisted one.
535 | func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
536 | let views = interactableViews
537 | 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/ScreenRim/ScreenRim.swift:535:71: error: 'UIView' is unavailable in watchOS
533 | /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
534 | /// or non-interactive ancestors, and for views covering the whitelisted one.
535 | func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
536 | let views = interactableViews
537 | 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/ScreenRim/ScreenRim.swift:282:30: error: 'UIWindow' is unavailable in watchOS
280 | // MARK: Private subclass of UIWindow
281 |
282 | final class ScreenRimWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
283 |
284 | /// 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/ScreenRim/ScreenRim.swift (in target 'ScreenRim' from project 'ScreenRim')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScreenRim.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRim/ScreenRim.swift:557:20: error: 'UIView' is unavailable in watchOS
555 | /// Holds a view without retaining it
556 | struct WeakView {
557 | weak var view: UIView?
| `- error: 'UIView' is unavailable in watchOS
558 | }
559 |
/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\ ScreenRim.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRim/ScreenRim.swift (in target 'ScreenRim' from project 'ScreenRim')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRim/ScreenRim.swift:34:33: error: 'UIWindow' is unavailable in watchOS
32 | var autoRetainer: ScreenRim?
33 | let overlay: ScreenRimWindow
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/ScreenRim/ScreenRim.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 = ScreenRimWindow(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/ScreenRim/ScreenRim.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) -> ScreenRim {
| `- error: 'UIWindowScene' is unavailable in watchOS
55 | return ScreenRim(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/ScreenRim/ScreenRim.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/ScreenRim/ScreenRim.swift:197:53: error: 'UIView' is unavailable in watchOS
195 | /// When the overlay is hidden, this takes effect the next time it is shown.
196 | /// - Parameter view: a whitelisted view that will receive events
197 | public func disableInteractions(exceptFor view: UIView?) {
| `- error: 'UIView' is unavailable in watchOS
198 | disableInteractions(exceptFor: [view].compactMap { $0 })
199 | }
/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/ScreenRim/ScreenRim.swift:205:55: error: 'UIView' is unavailable in watchOS
203 | /// When the overlay is hidden, this takes effect the next time it is shown.
204 | /// - Parameter views: whitelisted views that will receive events. They are not retained.
205 | public func disableInteractions(exceptFor views: [UIView] = []) {
| `- error: 'UIView' is unavailable in watchOS
206 | overlay.interactableViews = views
207 | 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/ScreenRim/ScreenRim.swift:226:51: error: 'CAAnimation' is unavailable in watchOS
224 |
225 | extension ScreenRim {
226 | func animation(from: CGFloat, to: CGFloat) -> CAAnimation {
| `- error: 'CAAnimation' is unavailable in watchOS
227 | let animation = CABasicAnimation(keyPath: "borderWidth")
228 | 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/ScreenRim/ScreenRim.swift:272:40: error: 'UIWindowScene' is unavailable in watchOS
270 |
271 | /// The scene the user is most likely looking at.
272 | static func activeWindowScene() -> UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
273 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
274 | 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/ScreenRim/ScreenRim.swift:341:14: error: cannot override 'init' which has been marked unavailable
339 | }
340 |
341 | override init(windowScene: UIWindowScene) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
342 | super.init(windowScene: windowScene)
343 | 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/ScreenRim/ScreenRim.swift:346:14: error: cannot override 'init' which has been marked unavailable
344 | }
345 |
346 | override init(frame: CGRect) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
347 | super.init(frame: frame)
348 | 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/ScreenRim/ScreenRim.swift:286:18: error: 'UIView' is unavailable in watchOS
284 | /// The view drawing the border. It overflows the window by `length` on every side,
285 | /// so only half of its border is visible on screen.
286 | let border = UIView()
| `- error: 'UIView' is unavailable in watchOS
287 |
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
/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/ScreenRim/ScreenRim.swift:286:18: error: 'init()' is unavailable in watchOS
284 | /// The view drawing the border. It overflows the window by `length` on every side,
285 | /// so only half of its border is visible on screen.
286 | let border = UIView()
| `- error: 'init()' is unavailable in watchOS
287 |
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
/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/ScreenRim/ScreenRim.swift:290:24: error: 'UIView' is unavailable in watchOS
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
289 | /// UIKit gives it the radius of each window corner, starting with iOS 26.
290 | let cornersProbe = UIView()
| `- error: 'UIView' is unavailable in watchOS
291 |
292 | 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/ScreenRim/ScreenRim.swift:290:24: error: 'init()' is unavailable in watchOS
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
289 | /// UIKit gives it the radius of each window corner, starting with iOS 26.
290 | let cornersProbe = UIView()
| `- error: 'init()' is unavailable in watchOS
291 |
292 | 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/ScreenRim/ScreenRim.swift:320:29: error: 'UIView' is unavailable in watchOS
318 |
319 | /// Views that still receive the events when interactions are disabled. They are not retained.
320 | var interactableViews: [UIView] {
| `- error: 'UIView' is unavailable in watchOS
321 | get {
322 | 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/ScreenRim/ScreenRim.swift:333:48: error: 'UIWindowScene' is unavailable in watchOS
331 | var geometryObservation: NSKeyValueObservation?
332 |
333 | convenience init(overlayScene windowScene: UIWindowScene?) {
| `- error: 'UIWindowScene' is unavailable in watchOS
334 | if let windowScene = windowScene {
335 | 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/ScreenRim/ScreenRim.swift:341:32: error: 'UIWindowScene' is unavailable in watchOS
339 | }
340 |
341 | override init(windowScene: UIWindowScene) {
| `- error: 'UIWindowScene' is unavailable in watchOS
342 | super.init(windowScene: windowScene)
343 | 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/ScreenRim/ScreenRim.swift:356:18: error: cannot override 'windowScene' which has been marked unavailable
354 | }
355 |
356 | override var windowScene: UIWindowScene? {
| |- error: cannot override 'windowScene' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'windowScene'
357 | didSet {
358 | 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/ScreenRim/ScreenRim.swift:356:31: error: 'UIWindowScene' is unavailable in watchOS
354 | }
355 |
356 | override var windowScene: UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
357 | didSet {
358 | 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/ScreenRim/ScreenRim.swift:506:19: error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
504 | }
505 |
506 | override func safeAreaInsetsDidChange() {
| |- error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'safeAreaInsetsDidChange'
507 | super.safeAreaInsetsDidChange()
508 | 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/ScreenRim/ScreenRim.swift:518:57: error: 'UIEvent' is unavailable in watchOS
516 | }
517 |
518 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
519 | if areInteractionsEnabled {
520 | 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/ScreenRim/ScreenRim.swift:518:70: error: 'UIView' is unavailable in watchOS
516 | }
517 |
518 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
519 | if areInteractionsEnabled {
520 | 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/ScreenRim/ScreenRim.swift:525:60: error: 'UIEvent' is unavailable in watchOS
523 | }
524 |
525 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
526 | if areInteractionsEnabled {
527 | 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/ScreenRim/ScreenRim.swift:535:58: error: 'UIEvent' is unavailable in watchOS
533 | /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
534 | /// or non-interactive ancestors, and for views covering the whitelisted one.
535 | func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
536 | let views = interactableViews
537 | 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/ScreenRim/ScreenRim.swift:535:71: error: 'UIView' is unavailable in watchOS
533 | /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
534 | /// or non-interactive ancestors, and for views covering the whitelisted one.
535 | func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
536 | let views = interactableViews
537 | 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/ScreenRim/ScreenRim.swift:282:30: error: 'UIWindow' is unavailable in watchOS
280 | // MARK: Private subclass of UIWindow
281 |
282 | final class ScreenRimWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
283 |
284 | /// 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/ScreenRim/ScreenRim.swift:557:20: error: 'UIView' is unavailable in watchOS
555 | /// Holds a view without retaining it
556 | struct WeakView {
557 | weak var view: UIView?
| `- error: 'UIView' is unavailable in watchOS
558 | }
559 |
/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 /Users/admin/builder/spi-builder-workspace/Sources/ScreenRim/ScreenRim.swift (in target 'ScreenRim' from project 'ScreenRim')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScreenRim.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ScreenRim (in target 'ScreenRim' from project 'ScreenRim')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRim/ScreenRim.swift:34:33: error: 'UIWindow' is unavailable in watchOS
32 | var autoRetainer: ScreenRim?
33 | let overlay: ScreenRimWindow
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/ScreenRim/ScreenRim.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 = ScreenRimWindow(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/ScreenRim/ScreenRim.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) -> ScreenRim {
| `- error: 'UIWindowScene' is unavailable in watchOS
55 | return ScreenRim(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/ScreenRim/ScreenRim.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/ScreenRim/ScreenRim.swift:197:53: error: 'UIView' is unavailable in watchOS
195 | /// When the overlay is hidden, this takes effect the next time it is shown.
196 | /// - Parameter view: a whitelisted view that will receive events
197 | public func disableInteractions(exceptFor view: UIView?) {
| `- error: 'UIView' is unavailable in watchOS
198 | disableInteractions(exceptFor: [view].compactMap { $0 })
199 | }
/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/ScreenRim/ScreenRim.swift:205:55: error: 'UIView' is unavailable in watchOS
203 | /// When the overlay is hidden, this takes effect the next time it is shown.
204 | /// - Parameter views: whitelisted views that will receive events. They are not retained.
205 | public func disableInteractions(exceptFor views: [UIView] = []) {
| `- error: 'UIView' is unavailable in watchOS
206 | overlay.interactableViews = views
207 | 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/ScreenRim/ScreenRim.swift:226:51: error: 'CAAnimation' is unavailable in watchOS
224 |
225 | extension ScreenRim {
226 | func animation(from: CGFloat, to: CGFloat) -> CAAnimation {
| `- error: 'CAAnimation' is unavailable in watchOS
227 | let animation = CABasicAnimation(keyPath: "borderWidth")
228 | 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/ScreenRim/ScreenRim.swift:272:40: error: 'UIWindowScene' is unavailable in watchOS
270 |
271 | /// The scene the user is most likely looking at.
272 | static func activeWindowScene() -> UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
273 | let scenes = UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }
274 | 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/ScreenRim/ScreenRim.swift:341:14: error: cannot override 'init' which has been marked unavailable
339 | }
340 |
341 | override init(windowScene: UIWindowScene) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
342 | super.init(windowScene: windowScene)
343 | 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/ScreenRim/ScreenRim.swift:346:14: error: cannot override 'init' which has been marked unavailable
344 | }
345 |
346 | override init(frame: CGRect) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
347 | super.init(frame: frame)
348 | 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/ScreenRim/ScreenRim.swift:286:18: error: 'UIView' is unavailable in watchOS
284 | /// The view drawing the border. It overflows the window by `length` on every side,
285 | /// so only half of its border is visible on screen.
286 | let border = UIView()
| `- error: 'UIView' is unavailable in watchOS
287 |
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
/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/ScreenRim/ScreenRim.swift:286:18: error: 'init()' is unavailable in watchOS
284 | /// The view drawing the border. It overflows the window by `length` on every side,
285 | /// so only half of its border is visible on screen.
286 | let border = UIView()
| `- error: 'init()' is unavailable in watchOS
287 |
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
/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/ScreenRim/ScreenRim.swift:290:24: error: 'UIView' is unavailable in watchOS
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
289 | /// UIKit gives it the radius of each window corner, starting with iOS 26.
290 | let cornersProbe = UIView()
| `- error: 'UIView' is unavailable in watchOS
291 |
292 | 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/ScreenRim/ScreenRim.swift:290:24: error: 'init()' is unavailable in watchOS
288 | /// An invisible view covering the window, whose corners are concentric with the window ones.
289 | /// UIKit gives it the radius of each window corner, starting with iOS 26.
290 | let cornersProbe = UIView()
| `- error: 'init()' is unavailable in watchOS
291 |
292 | 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/ScreenRim/ScreenRim.swift:320:29: error: 'UIView' is unavailable in watchOS
318 |
319 | /// Views that still receive the events when interactions are disabled. They are not retained.
320 | var interactableViews: [UIView] {
| `- error: 'UIView' is unavailable in watchOS
321 | get {
322 | 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/ScreenRim/ScreenRim.swift:333:48: error: 'UIWindowScene' is unavailable in watchOS
331 | var geometryObservation: NSKeyValueObservation?
332 |
333 | convenience init(overlayScene windowScene: UIWindowScene?) {
| `- error: 'UIWindowScene' is unavailable in watchOS
334 | if let windowScene = windowScene {
335 | 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/ScreenRim/ScreenRim.swift:341:32: error: 'UIWindowScene' is unavailable in watchOS
339 | }
340 |
341 | override init(windowScene: UIWindowScene) {
| `- error: 'UIWindowScene' is unavailable in watchOS
342 | super.init(windowScene: windowScene)
343 | 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/ScreenRim/ScreenRim.swift:356:18: error: cannot override 'windowScene' which has been marked unavailable
354 | }
355 |
356 | override var windowScene: UIWindowScene? {
| |- error: cannot override 'windowScene' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'windowScene'
357 | didSet {
358 | 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/ScreenRim/ScreenRim.swift:356:31: error: 'UIWindowScene' is unavailable in watchOS
354 | }
355 |
356 | override var windowScene: UIWindowScene? {
| `- error: 'UIWindowScene' is unavailable in watchOS
357 | didSet {
358 | 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/ScreenRim/ScreenRim.swift:506:19: error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
504 | }
505 |
506 | override func safeAreaInsetsDidChange() {
| |- error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'safeAreaInsetsDidChange'
507 | super.safeAreaInsetsDidChange()
508 | 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/ScreenRim/ScreenRim.swift:518:57: error: 'UIEvent' is unavailable in watchOS
516 | }
517 |
518 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
519 | if areInteractionsEnabled {
520 | 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/ScreenRim/ScreenRim.swift:518:70: error: 'UIView' is unavailable in watchOS
516 | }
517 |
518 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
519 | if areInteractionsEnabled {
520 | 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/ScreenRim/ScreenRim.swift:525:60: error: 'UIEvent' is unavailable in watchOS
523 | }
524 |
525 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
526 | if areInteractionsEnabled {
527 | 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/ScreenRim/ScreenRim.swift:535:58: error: 'UIEvent' is unavailable in watchOS
533 | /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
534 | /// or non-interactive ancestors, and for views covering the whitelisted one.
535 | func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
536 | let views = interactableViews
537 | 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/ScreenRim/ScreenRim.swift:535:71: error: 'UIView' is unavailable in watchOS
533 | /// Hit testing the whitelisted view's window, rather than the view itself, accounts for hidden
534 | /// or non-interactive ancestors, and for views covering the whitelisted one.
535 | func interactableView(at point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
536 | let views = interactableViews
537 | 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/ScreenRim/ScreenRim.swift:282:30: error: 'UIWindow' is unavailable in watchOS
280 | // MARK: Private subclass of UIWindow
281 |
282 | final class ScreenRimWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
283 |
284 | /// 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/ScreenRim/ScreenRim.swift:557:20: error: 'UIView' is unavailable in watchOS
555 | /// Holds a view without retaining it
556 | struct WeakView {
557 | weak var view: UIView?
| `- error: 'UIView' is unavailable in watchOS
558 | }
559 |
/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/ScreenRim/ScreenRim.swift -target arm64_32-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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64_32/ScreenRim-dependencies-2.json -enable-objc-interop -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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScreenRim -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64_32/ScreenRim_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-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/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64_32/ScreenRim.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64_32/ScreenRim.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64_32/ScreenRim-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64_32/ScreenRim-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64_32/ScreenRim-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64_32/ScreenRim.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRim.build/Debug-watchos/ScreenRim-t.build/Objects-normal/arm64_32/ScreenRim.abi.json
SwiftCompile normal arm64_32 (in target 'ScreenRim' from project 'ScreenRim')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-11-29 07:38:38.605 xcodebuild[805:4803] [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 'ScreenRim' from project 'ScreenRim')
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScreenRim (in target 'ScreenRim' from project 'ScreenRim')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ScreenRim (in target 'ScreenRim' from project 'ScreenRim')
SwiftCompile normal arm64_32 (in target 'ScreenRim' from project 'ScreenRim')
Building workspace ScreenRim with scheme ScreenRim
(5 failures)
BUILD FAILURE 6.4 watchOS