Build Information
Failed to build ScreenRadarKit, reference main (930133), with Swift 6.4 for watchOS using Xcode 27.0 on 26 Sep 2026 03:10:58 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ScreenRadarKit -destination generic/platform=watchOSBuild Log
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ScreenRadarKit (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:139:39: error: 'UIView' is unavailable in watchOS
137 |
138 | /// Places the label at the saved position, or defaults to top-center.
139 | private func placeLabel(in view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
140 | resizeLabel(in: view)
141 |
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:160:40: error: 'UIView' is unavailable in watchOS
158 | }
159 |
160 | private func resizeLabel(in view: UIView?) {
| `- error: 'UIView' is unavailable in watchOS
161 | let horizontalScreenPadding: CGFloat = 20
162 | let minimumWidth: CGFloat = 120
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:196:48: error: 'UIPanGestureRecognizer' is unavailable in watchOS
194 | }
195 |
196 | @objc private func labelPanned(_ gesture: UIPanGestureRecognizer) {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
197 | guard let superview = label.superview else { return }
198 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:261:19: error: 'UIView' is unavailable in watchOS
259 | _ center: CGPoint,
260 | labelSize: CGSize,
261 | in view: UIView
| `- error: 'UIView' is unavailable in watchOS
262 | ) -> CGPoint {
263 | let insets = view.safeAreaInsets
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:284:19: error: 'UIView' is unavailable in watchOS
282 | _ center: CGPoint,
283 | labelSize: CGSize,
284 | in view: UIView
| `- error: 'UIView' is unavailable in watchOS
285 | ) -> CGPoint {
286 | let halfW = labelSize.width / 2
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:338:36: error: 'UILabel' is unavailable in watchOS
336 | }
337 |
338 | private final class PaddingLabel: UILabel {
| `- error: 'UILabel' is unavailable in watchOS
339 | let contentInsets: UIEdgeInsets
340 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/PassthroughWindow.swift:17:21: error: 'UIEvent' is unavailable in watchOS
15 | override func hitTest(
16 | _ point: CGPoint,
17 | with event: UIEvent?
| `- error: 'UIEvent' is unavailable in watchOS
18 | ) -> UIView? {
19 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/PassthroughWindow.swift:18:10: error: 'UIView' is unavailable in watchOS
16 | _ point: CGPoint,
17 | with event: UIEvent?
18 | ) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
19 | let hitView = super.hitTest(point, with: event)
20 |
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/PassthroughWindow.swift:13:32: error: 'UIWindow' is unavailable in watchOS
11 | /// except for views explicitly added to the overlay (e.g., the label).
12 | @MainActor
13 | final class PassthroughWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
14 |
15 | override func hitTest(
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:15:31: error: 'UIView' is unavailable in watchOS
13 | // MARK: - Private Properties
14 |
15 | private let dimmingView = UIView()
| `- error: 'UIView' is unavailable in watchOS
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:15:31: error: 'init()' is unavailable in watchOS
13 | // MARK: - Private Properties
14 |
15 | private let dimmingView = UIView()
| `- error: 'init()' is unavailable in watchOS
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:16:29: error: 'UIView' is unavailable in watchOS
14 |
15 | private let dimmingView = UIView()
16 | private let sheetView = UIView()
| `- error: 'UIView' is unavailable in watchOS
17 | private let stackView = UIStackView()
18 | private let scrollView = UIScrollView()
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:16:29: error: 'init()' is unavailable in watchOS
14 |
15 | private let dimmingView = UIView()
16 | private let sheetView = UIView()
| `- error: 'init()' is unavailable in watchOS
17 | private let stackView = UIStackView()
18 | private let scrollView = UIScrollView()
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:17:29: error: 'UIStackView' is unavailable in watchOS
15 | private let dimmingView = UIView()
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
| `- error: 'UIStackView' is unavailable in watchOS
18 | private let scrollView = UIScrollView()
19 | private weak var exportButton: UIButton?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:17:29: error: 'init()' is unavailable in watchOS
15 | private let dimmingView = UIView()
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
| `- error: 'init()' is unavailable in watchOS
18 | private let scrollView = UIScrollView()
19 | private weak var exportButton: UIButton?
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:18:30: error: 'UIScrollView' is unavailable in watchOS
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
18 | private let scrollView = UIScrollView()
| `- error: 'UIScrollView' is unavailable in watchOS
19 | private weak var exportButton: UIButton?
20 | private weak var clearCurrentButton: UIButton?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:18:30: error: 'init()' is unavailable in watchOS
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
18 | private let scrollView = UIScrollView()
| `- error: 'init()' is unavailable in watchOS
19 | private weak var exportButton: UIButton?
20 | private weak var clearCurrentButton: UIButton?
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:19:36: error: 'UIButton' is unavailable in watchOS
17 | private let stackView = UIStackView()
18 | private let scrollView = UIScrollView()
19 | private weak var exportButton: UIButton?
| `- error: 'UIButton' is unavailable in watchOS
20 | private weak var clearCurrentButton: UIButton?
21 | private weak var clearPreviousButton: UIButton?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:20:42: error: 'UIButton' is unavailable in watchOS
18 | private let scrollView = UIScrollView()
19 | private weak var exportButton: UIButton?
20 | private weak var clearCurrentButton: UIButton?
| `- error: 'UIButton' is unavailable in watchOS
21 | private weak var clearPreviousButton: UIButton?
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:21:43: error: 'UIButton' is unavailable in watchOS
19 | private weak var exportButton: UIButton?
20 | private weak var clearCurrentButton: UIButton?
21 | private weak var clearPreviousButton: UIButton?
| `- error: 'UIButton' is unavailable in watchOS
22 |
23 | // MARK: - Lifecycle
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:242:73: error: 'UIView' is unavailable in watchOS
240 | }
241 |
242 | private func row(index: Int, entry: TrailEntry, isCurrent: Bool) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
243 | let numberLabel = UILabel()
244 | numberLabel.text = String(format: "%02d.", index + 1)
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:11:31: error: 'UIViewController' is unavailable in watchOS
9 |
10 | @MainActor
11 | final class TrailBottomSheet: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
12 |
13 | // MARK: - Private Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:24:40: error: 'UIViewController' is unavailable in watchOS
22 | private let decoder = JSONDecoder()
23 |
24 | private var currentViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
25 | private var didStartSession = false
26 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:60:43: error: 'UIViewController' is unavailable in watchOS
58 | }
59 |
60 | func recordAppear(for viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
61 | guard !isScreenRadarController(viewController) else { return }
62 | guard ViewControllerTracker.shared.isTopViewController(viewController) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:69:50: error: 'UIViewController' is unavailable in watchOS
67 | }
68 |
69 | func seedInitialTrail(with viewControllers: [UIViewController]) {
| `- error: 'UIViewController' is unavailable in watchOS
70 | guard currentTrail.isEmpty else { return }
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:79:46: error: 'UIViewController' is unavailable in watchOS
77 | }
78 |
79 | func recordDisappear(for viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
80 | guard showTimeOnTrail else { return }
81 | guard currentViewController === viewController else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:228:43: error: 'UIViewController' is unavailable in watchOS
226 |
227 | @discardableResult
228 | private func append(_ viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
229 | guard currentViewController !== viewController else { return false }
230 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:254:60: error: 'UIViewController' is unavailable in watchOS
252 | }
253 |
254 | private func isScreenRadarController(_ viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
255 | if viewController is TrailBottomSheet || viewController.view.window is PassthroughWindow {
256 | return true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/UIViewController+Swizzling.swift:11:11: error: 'UIViewController' is unavailable in watchOS
9 | import ObjectiveC.runtime
10 |
11 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
12 |
13 | /// Swizzles `viewDidAppear(_:)` and `viewDidDisappear(_:)` once,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:61:43: error: 'UIViewController' is unavailable in watchOS
59 | }
60 |
61 | func recordAppear(for viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
62 | TrailLogger.shared.recordAppear(for: viewController)
63 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:65:46: error: 'UIViewController' is unavailable in watchOS
63 | }
64 |
65 | func recordDisappear(for viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
66 | TrailLogger.shared.recordDisappear(for: viewController)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:69:48: error: 'UIViewController' is unavailable in watchOS
67 | }
68 |
69 | func isTopViewController(_ viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
70 | topViewController() === viewController
71 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:77:39: error: 'UIViewController' is unavailable in watchOS
75 | }
76 |
77 | func topScreenViewController() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
78 | topViewController()
79 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:84:27: error: 'UIViewController' is unavailable in watchOS
82 |
83 | private func printViewController(
84 | _ viewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
85 | indent: String
86 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:115:42: error: 'UIViewController' is unavailable in watchOS
113 | }
114 |
115 | private func rootViewController() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
116 | if #available(iOS 13.0, *) {
117 | return UIApplication.shared
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:140:30: error: 'UIViewController' is unavailable in watchOS
138 |
139 | private func topViewController(
140 | from viewController: UIViewController? = nil
| `- error: 'UIViewController' is unavailable in watchOS
141 | ) -> UIViewController? {
142 | let vc = viewController ?? rootViewController()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:141:10: error: 'UIViewController' is unavailable in watchOS
139 | private func topViewController(
140 | from viewController: UIViewController? = nil
141 | ) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
142 | let vc = viewController ?? rootViewController()
143 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:160:30: error: 'UIViewController' is unavailable in watchOS
158 |
159 | private func visibleTrail(
160 | from viewController: UIViewController? = nil
| `- error: 'UIViewController' is unavailable in watchOS
161 | ) -> [UIViewController] {
162 | guard let vc = viewController ?? rootViewController() else { return [] }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:161:11: error: 'UIViewController' is unavailable in watchOS
159 | private func visibleTrail(
160 | from viewController: UIViewController? = nil
161 | ) -> [UIViewController] {
| `- error: 'UIViewController' is unavailable in watchOS
162 | guard let vc = viewController ?? rootViewController() else { return [] }
163 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/PassthroughWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ScreenRadar.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailEntry.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/UIViewController+Swizzling.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64_32/ScreenRadarKit-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.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-Release.Candidate.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-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.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 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.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/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScreenRadarKit -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64_32/ScreenRadarKit_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-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64_32/ScreenRadarKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64_32/ScreenRadarKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64_32/ScreenRadarKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64_32/ScreenRadarKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64_32/ScreenRadarKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64_32/ScreenRadarKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64_32/ScreenRadarKit.abi.json
SwiftCompile normal arm64_32 Compiling\ OverlayWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:139:39: error: 'UIView' is unavailable in watchOS
137 |
138 | /// Places the label at the saved position, or defaults to top-center.
139 | private func placeLabel(in view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
140 | resizeLabel(in: view)
141 |
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:160:40: error: 'UIView' is unavailable in watchOS
158 | }
159 |
160 | private func resizeLabel(in view: UIView?) {
| `- error: 'UIView' is unavailable in watchOS
161 | let horizontalScreenPadding: CGFloat = 20
162 | let minimumWidth: CGFloat = 120
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:196:48: error: 'UIPanGestureRecognizer' is unavailable in watchOS
194 | }
195 |
196 | @objc private func labelPanned(_ gesture: UIPanGestureRecognizer) {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
197 | guard let superview = label.superview else { return }
198 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:261:19: error: 'UIView' is unavailable in watchOS
259 | _ center: CGPoint,
260 | labelSize: CGSize,
261 | in view: UIView
| `- error: 'UIView' is unavailable in watchOS
262 | ) -> CGPoint {
263 | let insets = view.safeAreaInsets
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:284:19: error: 'UIView' is unavailable in watchOS
282 | _ center: CGPoint,
283 | labelSize: CGSize,
284 | in view: UIView
| `- error: 'UIView' is unavailable in watchOS
285 | ) -> CGPoint {
286 | let halfW = labelSize.width / 2
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:338:36: error: 'UILabel' is unavailable in watchOS
336 | }
337 |
338 | private final class PaddingLabel: UILabel {
| `- error: 'UILabel' is unavailable in watchOS
339 | let contentInsets: UIEdgeInsets
340 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:40:38: error: 'UIApplication' is unavailable in watchOS
38 |
39 | if #available(iOS 13.0, *) {
40 | guard let windowScene = UIApplication.shared
| `- error: 'UIApplication' is unavailable in watchOS
41 | .connectedScenes
42 | .compactMap({ $0 as? UIWindowScene })
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:41:19: error: 'connectedScenes' is unavailable in watchOS
39 | if #available(iOS 13.0, *) {
40 | guard let windowScene = UIApplication.shared
41 | .connectedScenes
| `- error: 'connectedScenes' is unavailable in watchOS
42 | .compactMap({ $0 as? UIWindowScene })
43 | .first else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:189:50: note: 'connectedScenes' has been explicitly marked unavailable here
187 | #pragma mark -- UIScene --
188 | // All of the currently connected UIScene instances
189 | @property(nonatomic, readonly) NSSet<UIScene *> *connectedScenes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'connectedScenes' has been explicitly marked unavailable here
190 |
191 | // All of the representations that currently have connected UIScene instances or had their sessions persisted by the system (ex: visible in iOS' switcher)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile OverlayWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:42:39: error: 'UIWindowScene' is unavailable in watchOS
40 | guard let windowScene = UIApplication.shared
41 | .connectedScenes
42 | .compactMap({ $0 as? UIWindowScene })
| `- error: 'UIWindowScene' is unavailable in watchOS
43 | .first else {
44 | print("❌ ScreenRadar: No UIWindowScene found")
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:47:61: error: argument passed to call that takes no arguments
45 | return
46 | }
47 | overlayWindow = PassthroughWindow(windowScene: windowScene)
| `- error: argument passed to call that takes no arguments
48 | } else {
49 | overlayWindow = PassthroughWindow(frame: UIScreen.main.bounds)
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:49:69: error: argument passed to call that takes no arguments
47 | overlayWindow = PassthroughWindow(windowScene: windowScene)
48 | } else {
49 | overlayWindow = PassthroughWindow(frame: UIScreen.main.bounds)
| `- error: argument passed to call that takes no arguments
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:52:32: error: 'UIScreen' is unavailable in watchOS
50 | }
51 |
52 | overlayWindow.frame = UIScreen.main.bounds
| `- error: 'UIScreen' is unavailable in watchOS
53 | overlayWindow.backgroundColor = .clear
54 | overlayWindow.windowLevel = .alert + 1000
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:52:41: error: 'main' is unavailable in watchOS
50 | }
51 |
52 | overlayWindow.frame = UIScreen.main.bounds
| `- error: 'main' is unavailable in watchOS
53 | overlayWindow.backgroundColor = .clear
54 | overlayWindow.windowLevel = .alert + 1000
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:54:45: error: binary operator '+' cannot be applied to operands of type 'UIWindow.Level' and 'Int'
52 | overlayWindow.frame = UIScreen.main.bounds
53 | overlayWindow.backgroundColor = .clear
54 | overlayWindow.windowLevel = .alert + 1000
| `- error: binary operator '+' cannot be applied to operands of type 'UIWindow.Level' and 'Int'
55 |
56 | let rootVC = UIViewController()
SwiftCompile normal arm64_32 Compiling\ TrailBottomSheet.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:15:31: error: 'UIView' is unavailable in watchOS
13 | // MARK: - Private Properties
14 |
15 | private let dimmingView = UIView()
| `- error: 'UIView' is unavailable in watchOS
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:15:31: error: 'init()' is unavailable in watchOS
13 | // MARK: - Private Properties
14 |
15 | private let dimmingView = UIView()
| `- error: 'init()' is unavailable in watchOS
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:16:29: error: 'UIView' is unavailable in watchOS
14 |
15 | private let dimmingView = UIView()
16 | private let sheetView = UIView()
| `- error: 'UIView' is unavailable in watchOS
17 | private let stackView = UIStackView()
18 | private let scrollView = UIScrollView()
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:16:29: error: 'init()' is unavailable in watchOS
14 |
15 | private let dimmingView = UIView()
16 | private let sheetView = UIView()
| `- error: 'init()' is unavailable in watchOS
17 | private let stackView = UIStackView()
18 | private let scrollView = UIScrollView()
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:17:29: error: 'UIStackView' is unavailable in watchOS
15 | private let dimmingView = UIView()
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
| `- error: 'UIStackView' is unavailable in watchOS
18 | private let scrollView = UIScrollView()
19 | private weak var exportButton: UIButton?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:17:29: error: 'init()' is unavailable in watchOS
15 | private let dimmingView = UIView()
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
| `- error: 'init()' is unavailable in watchOS
18 | private let scrollView = UIScrollView()
19 | private weak var exportButton: UIButton?
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:18:30: error: 'UIScrollView' is unavailable in watchOS
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
18 | private let scrollView = UIScrollView()
| `- error: 'UIScrollView' is unavailable in watchOS
19 | private weak var exportButton: UIButton?
20 | private weak var clearCurrentButton: UIButton?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:18:30: error: 'init()' is unavailable in watchOS
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
18 | private let scrollView = UIScrollView()
| `- error: 'init()' is unavailable in watchOS
19 | private weak var exportButton: UIButton?
20 | private weak var clearCurrentButton: UIButton?
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:19:36: error: 'UIButton' is unavailable in watchOS
17 | private let stackView = UIStackView()
18 | private let scrollView = UIScrollView()
19 | private weak var exportButton: UIButton?
| `- error: 'UIButton' is unavailable in watchOS
20 | private weak var clearCurrentButton: UIButton?
21 | private weak var clearPreviousButton: UIButton?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:20:42: error: 'UIButton' is unavailable in watchOS
18 | private let scrollView = UIScrollView()
19 | private weak var exportButton: UIButton?
20 | private weak var clearCurrentButton: UIButton?
| `- error: 'UIButton' is unavailable in watchOS
21 | private weak var clearPreviousButton: UIButton?
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:21:43: error: 'UIButton' is unavailable in watchOS
19 | private weak var exportButton: UIButton?
20 | private weak var clearCurrentButton: UIButton?
21 | private weak var clearPreviousButton: UIButton?
| `- error: 'UIButton' is unavailable in watchOS
22 |
23 | // MARK: - Lifecycle
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:242:73: error: 'UIView' is unavailable in watchOS
240 | }
241 |
242 | private func row(index: Int, entry: TrailEntry, isCurrent: Bool) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
243 | let numberLabel = UILabel()
244 | numberLabel.text = String(format: "%02d.", index + 1)
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:11:31: error: 'UIViewController' is unavailable in watchOS
9 |
10 | @MainActor
11 | final class TrailBottomSheet: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
12 |
13 | // MARK: - Private Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:41:26: error: 'UITapGestureRecognizer' is unavailable in watchOS
39 | view.addSubview(dimmingView)
40 |
41 | let dismissTap = UITapGestureRecognizer(target: self, action: #selector(closeTapped))
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
42 | dimmingView.addGestureRecognizer(dismissTap)
43 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:45:37: error: 'init(dynamicProvider:)' is unavailable in watchOS
43 |
44 | sheetView.translatesAutoresizingMaskIntoConstraints = false
45 | sheetView.backgroundColor = UIColor { trait in
| `- error: 'init(dynamicProvider:)' is unavailable in watchOS
46 | trait.userInterfaceStyle == .light ? .systemBackground : .secondarySystemBackground
47 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:144:1: note: 'init(dynamicProvider:)' has been explicitly marked unavailable here
142 |
143 | + (UIColor *)colorWithDynamicProvider:(UIColor * (^)(UITraitCollection *traitCollection))dynamicProvider API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
144 | - (UIColor *)initWithDynamicProvider:(UIColor * (^)(UITraitCollection *traitCollection))dynamicProvider API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(dynamicProvider:)' has been explicitly marked unavailable here
145 |
146 | /* Resolve any color to its most fundamental form (a non-dynamic color) for a specific trait collection.
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:46:19: error: 'userInterfaceStyle' is unavailable in watchOS
44 | sheetView.translatesAutoresizingMaskIntoConstraints = false
45 | sheetView.backgroundColor = UIColor { trait in
46 | trait.userInterfaceStyle == .light ? .systemBackground : .secondarySystemBackground
| `- error: 'userInterfaceStyle' is unavailable in watchOS
47 | }
48 | sheetView.layer.cornerRadius = 18
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:42:54: note: 'userInterfaceStyle' has been explicitly marked unavailable here
40 |
41 | + (UITraitCollection *)traitCollectionWithUserInterfaceStyle:(UIUserInterfaceStyle)userInterfaceStyle API_AVAILABLE(tvos(10.0)) API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos);
42 | @property (nonatomic, readonly) UIUserInterfaceStyle userInterfaceStyle API_AVAILABLE(tvos(10.0)) API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos); // unspecified: UIUserInterfaceStyleUnspecified
| `- note: 'userInterfaceStyle' has been explicitly marked unavailable here
43 |
44 | + (UITraitCollection *)traitCollectionWithLayoutDirection:(UITraitEnvironmentLayoutDirection)layoutDirection API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TrailBottomSheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:46:51: error: 'systemBackground' is unavailable in watchOS
44 | sheetView.translatesAutoresizingMaskIntoConstraints = false
45 | sheetView.backgroundColor = UIColor { trait in
46 | trait.userInterfaceStyle == .light ? .systemBackground : .secondarySystemBackground
| `- error: 'systemBackground' is unavailable in watchOS
47 | }
48 | sheetView.layer.cornerRadius = 18
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:208:49: note: 'systemBackground' has been explicitly marked unavailable here
206 | * primary background in light mode.
207 | */
208 | @property (class, nonatomic, readonly) UIColor *systemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemBackground' has been explicitly marked unavailable here
209 | @property (class, nonatomic, readonly) UIColor *secondarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
210 | @property (class, nonatomic, readonly) UIColor *tertiarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:46:71: error: 'secondarySystemBackground' is unavailable in watchOS
44 | sheetView.translatesAutoresizingMaskIntoConstraints = false
45 | sheetView.backgroundColor = UIColor { trait in
46 | trait.userInterfaceStyle == .light ? .systemBackground : .secondarySystemBackground
| `- error: 'secondarySystemBackground' is unavailable in watchOS
47 | }
48 | sheetView.layer.cornerRadius = 18
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:209:49: note: 'secondarySystemBackground' has been explicitly marked unavailable here
207 | */
208 | @property (class, nonatomic, readonly) UIColor *systemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
209 | @property (class, nonatomic, readonly) UIColor *secondarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'secondarySystemBackground' has been explicitly marked unavailable here
210 | @property (class, nonatomic, readonly) UIColor *tertiarySystemBackgroundColor API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
211 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:49:25: error: 'maskedCorners' is unavailable in watchOS
47 | }
48 | sheetView.layer.cornerRadius = 18
49 | sheetView.layer.maskedCorners = [.layerMinXMinYCorner, .layerMaxXMinYCorner]
| `- error: 'maskedCorners' is unavailable in watchOS
50 | sheetView.clipsToBounds = true
51 | view.addSubview(sheetView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:601:24: note: 'maskedCorners' has been explicitly marked unavailable here
599 | * `cornerRadius' property. Defaults to all four corners. */
600 |
601 | @property CACornerMask maskedCorners
| `- note: 'maskedCorners' has been explicitly marked unavailable here
602 | API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
603 |
SwiftCompile normal arm64_32 Compiling\ TrailEntry.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailEntry.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailEntry.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TrailEntry.swift
SwiftCompile normal arm64_32 Compiling\ UIViewController+Swizzling.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/UIViewController+Swizzling.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/UIViewController+Swizzling.swift:11:11: error: 'UIViewController' is unavailable in watchOS
9 | import ObjectiveC.runtime
10 |
11 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
12 |
13 | /// Swizzles `viewDidAppear(_:)` and `viewDidDisappear(_:)` once,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/UIViewController+Swizzling.swift:41:52: error: 'UIViewController' is unavailable in watchOS
39 | ) {
40 | guard
41 | let original = class_getInstanceMethod(UIViewController.self, originalSelector),
| `- error: 'UIViewController' is unavailable in watchOS
42 | let swizzled = class_getInstanceMethod(UIViewController.self, swizzledSelector)
43 | else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/UIViewController+Swizzling.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIViewController+Swizzling.swift
SwiftCompile normal arm64 Compiling\ OverlayWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:139:39: error: 'UIView' is unavailable in watchOS
137 |
138 | /// Places the label at the saved position, or defaults to top-center.
139 | private func placeLabel(in view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
140 | resizeLabel(in: view)
141 |
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:160:40: error: 'UIView' is unavailable in watchOS
158 | }
159 |
160 | private func resizeLabel(in view: UIView?) {
| `- error: 'UIView' is unavailable in watchOS
161 | let horizontalScreenPadding: CGFloat = 20
162 | let minimumWidth: CGFloat = 120
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:196:48: error: 'UIPanGestureRecognizer' is unavailable in watchOS
194 | }
195 |
196 | @objc private func labelPanned(_ gesture: UIPanGestureRecognizer) {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
197 | guard let superview = label.superview else { return }
198 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:261:19: error: 'UIView' is unavailable in watchOS
259 | _ center: CGPoint,
260 | labelSize: CGSize,
261 | in view: UIView
| `- error: 'UIView' is unavailable in watchOS
262 | ) -> CGPoint {
263 | let insets = view.safeAreaInsets
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:284:19: error: 'UIView' is unavailable in watchOS
282 | _ center: CGPoint,
283 | labelSize: CGSize,
284 | in view: UIView
| `- error: 'UIView' is unavailable in watchOS
285 | ) -> CGPoint {
286 | let halfW = labelSize.width / 2
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:338:36: error: 'UILabel' is unavailable in watchOS
336 | }
337 |
338 | private final class PaddingLabel: UILabel {
| `- error: 'UILabel' is unavailable in watchOS
339 | let contentInsets: UIEdgeInsets
340 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:40:38: error: 'UIApplication' is unavailable in watchOS
38 |
39 | if #available(iOS 13.0, *) {
40 | guard let windowScene = UIApplication.shared
| `- error: 'UIApplication' is unavailable in watchOS
41 | .connectedScenes
42 | .compactMap({ $0 as? UIWindowScene })
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:41:19: error: 'connectedScenes' is unavailable in watchOS
39 | if #available(iOS 13.0, *) {
40 | guard let windowScene = UIApplication.shared
41 | .connectedScenes
| `- error: 'connectedScenes' is unavailable in watchOS
42 | .compactMap({ $0 as? UIWindowScene })
43 | .first else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:189:50: note: 'connectedScenes' has been explicitly marked unavailable here
187 | #pragma mark -- UIScene --
188 | // All of the currently connected UIScene instances
189 | @property(nonatomic, readonly) NSSet<UIScene *> *connectedScenes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'connectedScenes' has been explicitly marked unavailable here
190 |
191 | // All of the representations that currently have connected UIScene instances or had their sessions persisted by the system (ex: visible in iOS' switcher)
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:42:39: error: 'UIWindowScene' is unavailable in watchOS
40 | guard let windowScene = UIApplication.shared
41 | .connectedScenes
42 | .compactMap({ $0 as? UIWindowScene })
| `- error: 'UIWindowScene' is unavailable in watchOS
43 | .first else {
44 | print("❌ ScreenRadar: No UIWindowScene found")
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:47:61: error: argument passed to call that takes no arguments
45 | return
46 | }
47 | overlayWindow = PassthroughWindow(windowScene: windowScene)
| `- error: argument passed to call that takes no arguments
48 | } else {
49 | overlayWindow = PassthroughWindow(frame: UIScreen.main.bounds)
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:49:69: error: argument passed to call that takes no arguments
47 | overlayWindow = PassthroughWindow(windowScene: windowScene)
48 | } else {
49 | overlayWindow = PassthroughWindow(frame: UIScreen.main.bounds)
| `- error: argument passed to call that takes no arguments
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:52:32: error: 'UIScreen' is unavailable in watchOS
50 | }
51 |
52 | overlayWindow.frame = UIScreen.main.bounds
| `- error: 'UIScreen' is unavailable in watchOS
53 | overlayWindow.backgroundColor = .clear
54 | overlayWindow.windowLevel = .alert + 1000
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:52:41: error: 'main' is unavailable in watchOS
50 | }
51 |
52 | overlayWindow.frame = UIScreen.main.bounds
| `- error: 'main' is unavailable in watchOS
53 | overlayWindow.backgroundColor = .clear
54 | overlayWindow.windowLevel = .alert + 1000
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:54:45: error: binary operator '+' cannot be applied to operands of type 'UIWindow.Level' and 'Int'
52 | overlayWindow.frame = UIScreen.main.bounds
53 | overlayWindow.backgroundColor = .clear
54 | overlayWindow.windowLevel = .alert + 1000
| `- error: binary operator '+' cannot be applied to operands of type 'UIWindow.Level' and 'Int'
55 |
56 | let rootVC = UIViewController()
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile OverlayWindow.swift
SwiftCompile normal arm64_32 Compiling\ ViewControllerTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:61:43: error: 'UIViewController' is unavailable in watchOS
59 | }
60 |
61 | func recordAppear(for viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
62 | TrailLogger.shared.recordAppear(for: viewController)
63 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:65:46: error: 'UIViewController' is unavailable in watchOS
63 | }
64 |
65 | func recordDisappear(for viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
66 | TrailLogger.shared.recordDisappear(for: viewController)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:69:48: error: 'UIViewController' is unavailable in watchOS
67 | }
68 |
69 | func isTopViewController(_ viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
70 | topViewController() === viewController
71 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:77:39: error: 'UIViewController' is unavailable in watchOS
75 | }
76 |
77 | func topScreenViewController() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
78 | topViewController()
79 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:84:27: error: 'UIViewController' is unavailable in watchOS
82 |
83 | private func printViewController(
84 | _ viewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
85 | indent: String
86 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:115:42: error: 'UIViewController' is unavailable in watchOS
113 | }
114 |
115 | private func rootViewController() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
116 | if #available(iOS 13.0, *) {
117 | return UIApplication.shared
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:140:30: error: 'UIViewController' is unavailable in watchOS
138 |
139 | private func topViewController(
140 | from viewController: UIViewController? = nil
| `- error: 'UIViewController' is unavailable in watchOS
141 | ) -> UIViewController? {
142 | let vc = viewController ?? rootViewController()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:141:10: error: 'UIViewController' is unavailable in watchOS
139 | private func topViewController(
140 | from viewController: UIViewController? = nil
141 | ) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
142 | let vc = viewController ?? rootViewController()
143 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:160:30: error: 'UIViewController' is unavailable in watchOS
158 |
159 | private func visibleTrail(
160 | from viewController: UIViewController? = nil
| `- error: 'UIViewController' is unavailable in watchOS
161 | ) -> [UIViewController] {
162 | guard let vc = viewController ?? rootViewController() else { return [] }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:161:11: error: 'UIViewController' is unavailable in watchOS
159 | private func visibleTrail(
160 | from viewController: UIViewController? = nil
161 | ) -> [UIViewController] {
| `- error: 'UIViewController' is unavailable in watchOS
162 | guard let vc = viewController ?? rootViewController() else { return [] }
163 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:90:44: error: 'UITabBarController' is unavailable in watchOS
88 | print("\(indent)↳ \(name)")
89 |
90 | if let tabBar = viewController as? UITabBarController {
| `- error: 'UITabBarController' is unavailable in watchOS
91 | if let selected = tabBar.selectedViewController {
92 | print("\(indent) Selected Tab:")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:97:48: error: 'UINavigationController' is unavailable in watchOS
95 | }
96 |
97 | if let navigation = viewController as? UINavigationController {
| `- error: 'UINavigationController' is unavailable in watchOS
98 | print("\(indent) Navigation Stack:")
99 | for vc in navigation.viewControllers {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:117:20: error: 'UIApplication' is unavailable in watchOS
115 | private func rootViewController() -> UIViewController? {
116 | if #available(iOS 13.0, *) {
117 | return UIApplication.shared
| `- error: 'UIApplication' is unavailable in watchOS
118 | .connectedScenes
119 | .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:118:18: error: 'connectedScenes' is unavailable in watchOS
116 | if #available(iOS 13.0, *) {
117 | return UIApplication.shared
118 | .connectedScenes
| `- error: 'connectedScenes' is unavailable in watchOS
119 | .compactMap { $0 as? UIWindowScene }
120 | .flatMap { $0.windows }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:189:50: note: 'connectedScenes' has been explicitly marked unavailable here
187 | #pragma mark -- UIScene --
188 | // All of the currently connected UIScene instances
189 | @property(nonatomic, readonly) NSSet<UIScene *> *connectedScenes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'connectedScenes' has been explicitly marked unavailable here
190 |
191 | // All of the representations that currently have connected UIScene instances or had their sessions persisted by the system (ex: visible in iOS' switcher)
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:119:38: error: 'UIWindowScene' is unavailable in watchOS
117 | return UIApplication.shared
118 | .connectedScenes
119 | .compactMap { $0 as? UIWindowScene }
| `- error: 'UIWindowScene' is unavailable in watchOS
120 | .flatMap { $0.windows }
121 | .first(where: { $0.isKeyWindow && !($0 is PassthroughWindow) })?
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/ViewControllerTracker.swift:123:20: error: 'UIApplication' is unavailable in watchOS
121 | .first(where: { $0.isKeyWindow && !($0 is PassthroughWindow) })?
122 | .rootViewController
123 | ?? UIApplication.shared
| `- error: 'UIApplication' is unavailable in watchOS
124 | .connectedScenes
125 | .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:124:18: error: 'connectedScenes' is unavailable in watchOS
122 | .rootViewController
123 | ?? UIApplication.shared
124 | .connectedScenes
| `- error: 'connectedScenes' is unavailable in watchOS
125 | .compactMap { $0 as? UIWindowScene }
126 | .flatMap { $0.windows }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:189:50: note: 'connectedScenes' has been explicitly marked unavailable here
187 | #pragma mark -- UIScene --
188 | // All of the currently connected UIScene instances
189 | @property(nonatomic, readonly) NSSet<UIScene *> *connectedScenes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'connectedScenes' has been explicitly marked unavailable here
190 |
191 | // All of the representations that currently have connected UIScene instances or had their sessions persisted by the system (ex: visible in iOS' switcher)
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:125:38: error: 'UIWindowScene' is unavailable in watchOS
123 | ?? UIApplication.shared
124 | .connectedScenes
125 | .compactMap { $0 as? UIWindowScene }
| `- error: 'UIWindowScene' is unavailable in watchOS
126 | .flatMap { $0.windows }
127 | .first(where: { !$0.isHidden && !($0 is PassthroughWindow) })?
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/ViewControllerTracker.swift:131:16: error: 'UIApplication' is unavailable in watchOS
129 | }
130 |
131 | return UIApplication.shared.windows
| `- error: 'UIApplication' is unavailable in watchOS
132 | .first(where: { $0.isKeyWindow && !($0 is PassthroughWindow) })?
133 | .rootViewController
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:131:37: error: 'windows' is unavailable in watchOS
129 | }
130 |
131 | return UIApplication.shared.windows
| `- error: 'windows' is unavailable in watchOS
132 | .first(where: { $0.isKeyWindow && !($0 is PassthroughWindow) })?
133 | .rootViewController
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:109:62: note: 'windows' has been explicitly marked unavailable here
107 |
108 | @property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes", ios(2.0, 13.0)) API_UNAVAILABLE(visionos, watchos);
109 | @property(nonatomic,readonly) NSArray<__kindof UIWindow *> *windows API_DEPRECATED("Use UIWindowScene.windows on a relevant window scene instead", ios(2.0, 15.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'windows' has been explicitly marked unavailable here
110 |
111 | - (BOOL)sendAction:(SEL)action to:(nullable id)target from:(nullable id)sender forEvent:(nullable UIEvent *)event;
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:134:16: error: 'UIApplication' is unavailable in watchOS
132 | .first(where: { $0.isKeyWindow && !($0 is PassthroughWindow) })?
133 | .rootViewController
134 | ?? UIApplication.shared.windows
| `- error: 'UIApplication' is unavailable in watchOS
135 | .first(where: { !$0.isHidden && !($0 is PassthroughWindow) })?
136 | .rootViewController
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:134:37: error: 'windows' is unavailable in watchOS
132 | .first(where: { $0.isKeyWindow && !($0 is PassthroughWindow) })?
133 | .rootViewController
134 | ?? UIApplication.shared.windows
| `- error: 'windows' is unavailable in watchOS
135 | .first(where: { !$0.isHidden && !($0 is PassthroughWindow) })?
136 | .rootViewController
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:109:62: note: 'windows' has been explicitly marked unavailable here
107 |
108 | @property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes", ios(2.0, 13.0)) API_UNAVAILABLE(visionos, watchos);
109 | @property(nonatomic,readonly) NSArray<__kindof UIWindow *> *windows API_DEPRECATED("Use UIWindowScene.windows on a relevant window scene instead", ios(2.0, 15.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'windows' has been explicitly marked unavailable here
110 |
111 | - (BOOL)sendAction:(SEL)action to:(nullable id)target from:(nullable id)sender forEvent:(nullable UIEvent *)event;
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:144:36: error: 'UINavigationController' is unavailable in watchOS
142 | let vc = viewController ?? rootViewController()
143 |
144 | if let navigation = vc as? UINavigationController {
| `- error: 'UINavigationController' is unavailable in watchOS
145 | return topViewController(from: navigation.visibleViewController)
146 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:148:32: error: 'UITabBarController' is unavailable in watchOS
146 | }
147 |
148 | if let tabBar = vc as? UITabBarController {
| `- error: 'UITabBarController' is unavailable in watchOS
149 | return topViewController(from: tabBar.selectedViewController)
150 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:164:36: error: 'UINavigationController' is unavailable in watchOS
162 | guard let vc = viewController ?? rootViewController() else { return [] }
163 |
164 | if let navigation = vc as? UINavigationController {
| `- error: 'UINavigationController' is unavailable in watchOS
165 | var trail = navigation.viewControllers
166 | if let presented = navigation.visibleViewController?.presentedViewController {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ViewControllerTracker.swift
SwiftCompile normal arm64_32 Compiling\ TrailLogger.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:24:40: error: 'UIViewController' is unavailable in watchOS
22 | private let decoder = JSONDecoder()
23 |
24 | private var currentViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
25 | private var didStartSession = false
26 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:60:43: error: 'UIViewController' is unavailable in watchOS
58 | }
59 |
60 | func recordAppear(for viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
61 | guard !isScreenRadarController(viewController) else { return }
62 | guard ViewControllerTracker.shared.isTopViewController(viewController) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:69:50: error: 'UIViewController' is unavailable in watchOS
67 | }
68 |
69 | func seedInitialTrail(with viewControllers: [UIViewController]) {
| `- error: 'UIViewController' is unavailable in watchOS
70 | guard currentTrail.isEmpty else { return }
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:79:46: error: 'UIViewController' is unavailable in watchOS
77 | }
78 |
79 | func recordDisappear(for viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
80 | guard showTimeOnTrail else { return }
81 | guard currentViewController === viewController else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:228:43: error: 'UIViewController' is unavailable in watchOS
226 |
227 | @discardableResult
228 | private func append(_ viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
229 | guard currentViewController !== viewController else { return false }
230 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TrailLogger.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScreenRadarKit (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:139:39: error: 'UIView' is unavailable in watchOS
137 |
138 | /// Places the label at the saved position, or defaults to top-center.
139 | private func placeLabel(in view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
140 | resizeLabel(in: view)
141 |
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:160:40: error: 'UIView' is unavailable in watchOS
158 | }
159 |
160 | private func resizeLabel(in view: UIView?) {
| `- error: 'UIView' is unavailable in watchOS
161 | let horizontalScreenPadding: CGFloat = 20
162 | let minimumWidth: CGFloat = 120
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:196:48: error: 'UIPanGestureRecognizer' is unavailable in watchOS
194 | }
195 |
196 | @objc private func labelPanned(_ gesture: UIPanGestureRecognizer) {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
197 | guard let superview = label.superview else { return }
198 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift:261:19: error: 'UIView' is unavailable in watchOS
259 | _ center: CGPoint,
260 | labelSize: CGSize,
261 | in view: UIView
| `- error: 'UIView' is unavailable in watchOS
262 | ) -> CGPoint {
263 | let insets = view.safeAreaInsets
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:284:19: error: 'UIView' is unavailable in watchOS
282 | _ center: CGPoint,
283 | labelSize: CGSize,
284 | in view: UIView
| `- error: 'UIView' is unavailable in watchOS
285 | ) -> CGPoint {
286 | let halfW = labelSize.width / 2
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/OverlayWindow.swift:338:36: error: 'UILabel' is unavailable in watchOS
336 | }
337 |
338 | private final class PaddingLabel: UILabel {
| `- error: 'UILabel' is unavailable in watchOS
339 | let contentInsets: UIEdgeInsets
340 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/PassthroughWindow.swift:17:21: error: 'UIEvent' is unavailable in watchOS
15 | override func hitTest(
16 | _ point: CGPoint,
17 | with event: UIEvent?
| `- error: 'UIEvent' is unavailable in watchOS
18 | ) -> UIView? {
19 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/PassthroughWindow.swift:18:10: error: 'UIView' is unavailable in watchOS
16 | _ point: CGPoint,
17 | with event: UIEvent?
18 | ) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
19 | let hitView = super.hitTest(point, with: event)
20 |
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/PassthroughWindow.swift:13:32: error: 'UIWindow' is unavailable in watchOS
11 | /// except for views explicitly added to the overlay (e.g., the label).
12 | @MainActor
13 | final class PassthroughWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
14 |
15 | override func hitTest(
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:15:31: error: 'UIView' is unavailable in watchOS
13 | // MARK: - Private Properties
14 |
15 | private let dimmingView = UIView()
| `- error: 'UIView' is unavailable in watchOS
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:15:31: error: 'init()' is unavailable in watchOS
13 | // MARK: - Private Properties
14 |
15 | private let dimmingView = UIView()
| `- error: 'init()' is unavailable in watchOS
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:16:29: error: 'UIView' is unavailable in watchOS
14 |
15 | private let dimmingView = UIView()
16 | private let sheetView = UIView()
| `- error: 'UIView' is unavailable in watchOS
17 | private let stackView = UIStackView()
18 | private let scrollView = UIScrollView()
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:16:29: error: 'init()' is unavailable in watchOS
14 |
15 | private let dimmingView = UIView()
16 | private let sheetView = UIView()
| `- error: 'init()' is unavailable in watchOS
17 | private let stackView = UIStackView()
18 | private let scrollView = UIScrollView()
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:17:29: error: 'UIStackView' is unavailable in watchOS
15 | private let dimmingView = UIView()
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
| `- error: 'UIStackView' is unavailable in watchOS
18 | private let scrollView = UIScrollView()
19 | private weak var exportButton: UIButton?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:17:29: error: 'init()' is unavailable in watchOS
15 | private let dimmingView = UIView()
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
| `- error: 'init()' is unavailable in watchOS
18 | private let scrollView = UIScrollView()
19 | private weak var exportButton: UIButton?
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:18:30: error: 'UIScrollView' is unavailable in watchOS
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
18 | private let scrollView = UIScrollView()
| `- error: 'UIScrollView' is unavailable in watchOS
19 | private weak var exportButton: UIButton?
20 | private weak var clearCurrentButton: UIButton?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:18:30: error: 'init()' is unavailable in watchOS
16 | private let sheetView = UIView()
17 | private let stackView = UIStackView()
18 | private let scrollView = UIScrollView()
| `- error: 'init()' is unavailable in watchOS
19 | private weak var exportButton: UIButton?
20 | private weak var clearCurrentButton: UIButton?
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:19:36: error: 'UIButton' is unavailable in watchOS
17 | private let stackView = UIStackView()
18 | private let scrollView = UIScrollView()
19 | private weak var exportButton: UIButton?
| `- error: 'UIButton' is unavailable in watchOS
20 | private weak var clearCurrentButton: UIButton?
21 | private weak var clearPreviousButton: UIButton?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:20:42: error: 'UIButton' is unavailable in watchOS
18 | private let scrollView = UIScrollView()
19 | private weak var exportButton: UIButton?
20 | private weak var clearCurrentButton: UIButton?
| `- error: 'UIButton' is unavailable in watchOS
21 | private weak var clearPreviousButton: UIButton?
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:21:43: error: 'UIButton' is unavailable in watchOS
19 | private weak var exportButton: UIButton?
20 | private weak var clearCurrentButton: UIButton?
21 | private weak var clearPreviousButton: UIButton?
| `- error: 'UIButton' is unavailable in watchOS
22 |
23 | // MARK: - Lifecycle
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift:242:73: error: 'UIView' is unavailable in watchOS
240 | }
241 |
242 | private func row(index: Int, entry: TrailEntry, isCurrent: Bool) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
243 | let numberLabel = UILabel()
244 | numberLabel.text = String(format: "%02d.", index + 1)
/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit/TrailBottomSheet.swift:11:31: error: 'UIViewController' is unavailable in watchOS
9 |
10 | @MainActor
11 | final class TrailBottomSheet: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
12 |
13 | // MARK: - Private Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:24:40: error: 'UIViewController' is unavailable in watchOS
22 | private let decoder = JSONDecoder()
23 |
24 | private var currentViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
25 | private var didStartSession = false
26 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:60:43: error: 'UIViewController' is unavailable in watchOS
58 | }
59 |
60 | func recordAppear(for viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
61 | guard !isScreenRadarController(viewController) else { return }
62 | guard ViewControllerTracker.shared.isTopViewController(viewController) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:69:50: error: 'UIViewController' is unavailable in watchOS
67 | }
68 |
69 | func seedInitialTrail(with viewControllers: [UIViewController]) {
| `- error: 'UIViewController' is unavailable in watchOS
70 | guard currentTrail.isEmpty else { return }
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:79:46: error: 'UIViewController' is unavailable in watchOS
77 | }
78 |
79 | func recordDisappear(for viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
80 | guard showTimeOnTrail else { return }
81 | guard currentViewController === viewController else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:228:43: error: 'UIViewController' is unavailable in watchOS
226 |
227 | @discardableResult
228 | private func append(_ viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
229 | guard currentViewController !== viewController else { return false }
230 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:254:60: error: 'UIViewController' is unavailable in watchOS
252 | }
253 |
254 | private func isScreenRadarController(_ viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
255 | if viewController is TrailBottomSheet || viewController.view.window is PassthroughWindow {
256 | return true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/UIViewController+Swizzling.swift:11:11: error: 'UIViewController' is unavailable in watchOS
9 | import ObjectiveC.runtime
10 |
11 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
12 |
13 | /// Swizzles `viewDidAppear(_:)` and `viewDidDisappear(_:)` once,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:61:43: error: 'UIViewController' is unavailable in watchOS
59 | }
60 |
61 | func recordAppear(for viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
62 | TrailLogger.shared.recordAppear(for: viewController)
63 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:65:46: error: 'UIViewController' is unavailable in watchOS
63 | }
64 |
65 | func recordDisappear(for viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
66 | TrailLogger.shared.recordDisappear(for: viewController)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:69:48: error: 'UIViewController' is unavailable in watchOS
67 | }
68 |
69 | func isTopViewController(_ viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
70 | topViewController() === viewController
71 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:77:39: error: 'UIViewController' is unavailable in watchOS
75 | }
76 |
77 | func topScreenViewController() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
78 | topViewController()
79 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:84:27: error: 'UIViewController' is unavailable in watchOS
82 |
83 | private func printViewController(
84 | _ viewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
85 | indent: String
86 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:115:42: error: 'UIViewController' is unavailable in watchOS
113 | }
114 |
115 | private func rootViewController() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
116 | if #available(iOS 13.0, *) {
117 | return UIApplication.shared
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:140:30: error: 'UIViewController' is unavailable in watchOS
138 |
139 | private func topViewController(
140 | from viewController: UIViewController? = nil
| `- error: 'UIViewController' is unavailable in watchOS
141 | ) -> UIViewController? {
142 | let vc = viewController ?? rootViewController()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:141:10: error: 'UIViewController' is unavailable in watchOS
139 | private func topViewController(
140 | from viewController: UIViewController? = nil
141 | ) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
142 | let vc = viewController ?? rootViewController()
143 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:160:30: error: 'UIViewController' is unavailable in watchOS
158 |
159 | private func visibleTrail(
160 | from viewController: UIViewController? = nil
| `- error: 'UIViewController' is unavailable in watchOS
161 | ) -> [UIViewController] {
162 | guard let vc = viewController ?? rootViewController() else { return [] }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift:161:11: error: 'UIViewController' is unavailable in watchOS
159 | private func visibleTrail(
160 | from viewController: UIViewController? = nil
161 | ) -> [UIViewController] {
| `- error: 'UIViewController' is unavailable in watchOS
162 | guard let vc = viewController ?? rootViewController() else { return [] }
163 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/OverlayWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/PassthroughWindow.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ScreenRadar.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailBottomSheet.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailEntry.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/UIViewController+Swizzling.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/ViewControllerTracker.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.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/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64/ScreenRadarKit-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.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-Release.Candidate.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-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.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 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.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/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScreenRadarKit -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64/ScreenRadarKit_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-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64/ScreenRadarKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64/ScreenRadarKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64/ScreenRadarKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64/ScreenRadarKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64/ScreenRadarKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64/ScreenRadarKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScreenRadarKit.build/Debug-watchos/ScreenRadarKit-t.build/Objects-normal/arm64/ScreenRadarKit.abi.json
SwiftCompile normal arm64 (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ TrailLogger.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:24:40: error: 'UIViewController' is unavailable in watchOS
22 | private let decoder = JSONDecoder()
23 |
24 | private var currentViewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
25 | private var didStartSession = false
26 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:60:43: error: 'UIViewController' is unavailable in watchOS
58 | }
59 |
60 | func recordAppear(for viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
61 | guard !isScreenRadarController(viewController) else { return }
62 | guard ViewControllerTracker.shared.isTopViewController(viewController) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:69:50: error: 'UIViewController' is unavailable in watchOS
67 | }
68 |
69 | func seedInitialTrail(with viewControllers: [UIViewController]) {
| `- error: 'UIViewController' is unavailable in watchOS
70 | guard currentTrail.isEmpty else { return }
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:79:46: error: 'UIViewController' is unavailable in watchOS
77 | }
78 |
79 | func recordDisappear(for viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
80 | guard showTimeOnTrail else { return }
81 | guard currentViewController === viewController else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift:228:43: error: 'UIViewController' is unavailable in watchOS
226 |
227 | @discardableResult
228 | private func append(_ viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
229 | guard currentViewController !== viewController else { return false }
230 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailLogger.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TrailLogger.swift
SwiftCompile normal arm64 Compiling\ TrailEntry.swift /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailEntry.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScreenRadarKit/TrailEntry.swift (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TrailEntry.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-09-25 23:10:57.619 xcodebuild[782:4755] [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 'ScreenRadarKit' from project 'ScreenRadarKit')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ScreenRadarKit (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScreenRadarKit (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
SwiftCompile normal arm64 (in target 'ScreenRadarKit' from project 'ScreenRadarKit')
Building workspace ScreenRadarKit with scheme ScreenRadarKit
(5 failures)
BUILD FAILURE 6.4 watchOS