Build Information
Failed to build swiftui-toasts, reference main (8c11fb), with Swift 6.4 for watchOS using Xcode 27.0 on 17 Oct 2026 12:10:17 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swiftui-toasts -destination generic/platform=watchOSBuild Log
| `- note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
32 | UIStatusBarAnimationNone,
33 | UIStatusBarAnimationFade API_AVAILABLE(ios(3.2)),
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:31: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:52: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:74: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:11:10: error: 'super' cannot be used in class 'StatusBarForwardingHostingController' because it has no superclass
9 | override var prefersStatusBarHidden: Bool {
10 | source { $0.childForStatusBarHidden }?.prefersStatusBarHidden
11 | ?? super.prefersStatusBarHidden
| `- error: 'super' cannot be used in class 'StatusBarForwardingHostingController' because it has no superclass
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:16:10: error: 'super' cannot be used in class 'StatusBarForwardingHostingController' because it has no superclass
14 | override var preferredStatusBarStyle: UIStatusBarStyle {
15 | source { $0.childForStatusBarStyle }?.preferredStatusBarStyle
16 | ?? super.preferredStatusBarStyle
| `- error: 'super' cannot be used in class 'StatusBarForwardingHostingController' because it has no superclass
17 | }
18 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StatusBarForwardingHostingController.swift
SwiftCompile normal arm64_32 Compiling\ WindowOverlayWindow.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:12: error: cannot override 'init' which has been marked unavailable
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:30: error: 'UIWindowScene' is unavailable in watchOS
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| `- error: 'UIWindowScene' is unavailable in watchOS
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:12:55: error: 'UIEvent' is unavailable in watchOS
10 | required init?(coder: NSCoder) { fatalError() }
11 |
12 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
13 | guard let rootView = rootViewController?.view,
14 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:12:68: error: 'UIView' is unavailable in watchOS
10 | required init?(coder: NSCoder) { fatalError() }
11 |
12 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
13 | guard let rootView = rootViewController?.view,
14 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:3:43: error: 'UIWindow' is unavailable in watchOS
1 | import UIKit
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
4 | override init(windowScene: UIWindowScene) {
5 | super.init(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:5:11: error: 'init(windowScene:)' is unavailable in watchOS
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
5 | super.init(windowScene: windowScene)
| `- error: 'init(windowScene:)' is unavailable in watchOS
6 | // Above sheets and the keyboard, below system alerts.
7 | self.windowLevel = .alert - 1
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WindowOverlayWindow.swift
SwiftCompile normal arm64_32 Compiling\ Helpers.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/Helpers.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/Helpers.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Helpers.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WindowOverlay (in target 'WindowOverlay' from project 'swiftui-window-overlay')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:6:75: error: cannot find type 'UIHostingController' in scope
4 | /// The topmost window's root controller decides the status bar. Forwards the app window's values
5 | /// so the overlay doesn't take over the status bar.
6 | internal final class StatusBarForwardingHostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
7 | weak var sourceWindow: UIWindow?
8 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:7:26: error: 'UIWindow' is unavailable in watchOS
5 | /// so the overlay doesn't take over the status bar.
6 | internal final class StatusBarForwardingHostingController<Content: View>: UIHostingController<Content> {
7 | weak var sourceWindow: UIWindow?
| `- error: 'UIWindow' is unavailable in watchOS
8 |
9 | override var prefersStatusBarHidden: Bool {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:9:16: error: property does not override any property from its superclass
7 | weak var sourceWindow: UIWindow?
8 |
9 | override var prefersStatusBarHidden: Bool {
| `- error: property does not override any property from its superclass
10 | source { $0.childForStatusBarHidden }?.prefersStatusBarHidden
11 | ?? super.prefersStatusBarHidden
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:14:16: error: property does not override any property from its superclass
12 | }
13 |
14 | override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: property does not override any property from its superclass
15 | source { $0.childForStatusBarStyle }?.preferredStatusBarStyle
16 | ?? super.preferredStatusBarStyle
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:14:41: error: 'UIStatusBarStyle' is unavailable in watchOS
12 | }
13 |
14 | override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
15 | source { $0.childForStatusBarStyle }?.preferredStatusBarStyle
16 | ?? super.preferredStatusBarStyle
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
21 |
22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
| `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
23 | UIStatusBarStyleDefault = 0, // Automatically chooses light or dark content based on the user interface style
24 | UIStatusBarStyleLightContent API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:19:16: error: property does not override any property from its superclass
17 | }
18 |
19 | override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
| `- error: property does not override any property from its superclass
20 | source { $0.childForStatusBarHidden }?.preferredStatusBarUpdateAnimation
21 | ?? super.preferredStatusBarUpdateAnimation
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:19:51: error: 'UIStatusBarAnimation' is unavailable in watchOS
17 | }
18 |
19 | override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
| `- error: 'UIStatusBarAnimation' is unavailable in watchOS
20 | source { $0.childForStatusBarHidden }?.preferredStatusBarUpdateAnimation
21 | ?? super.preferredStatusBarUpdateAnimation
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:31:28: note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
29 | } API_UNAVAILABLE(tvos, watchos);
30 |
31 | typedef NS_ENUM(NSInteger, UIStatusBarAnimation) {
| `- note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
32 | UIStatusBarAnimationNone,
33 | UIStatusBarAnimationFade API_AVAILABLE(ios(3.2)),
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:31: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:52: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:74: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:9:28: error: cannot find type 'Context' in scope
7 | var content: V
8 |
9 | func makeUIView(context: Context) -> _HelperView {
| `- error: cannot find type 'Context' in scope
10 | _HelperView()
11 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:13:53: error: cannot find type 'Context' in scope
11 | }
12 |
13 | func updateUIView(_ helper: _HelperView, context: Context) {
| `- error: cannot find type 'Context' in scope
14 | helper.update(
15 | isPresented: isPresented,
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:32:37: error: 'UIView' is unavailable in watchOS
30 | }
31 |
32 | internal final class _HelperView: UIView {
| `- error: 'UIView' is unavailable in watchOS
33 | private var isPresented = false
34 | private var disableSafeArea = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:4:46: error: cannot find type 'UIViewRepresentable' in scope
2 | import UIKit
3 |
4 | internal struct WindowBridgingView<V: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 | var isPresented: Bool
6 | var disableSafeArea: Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:101:11: error: cannot find type 'UIHostingController' in scope
99 | }
100 |
101 | extension UIHostingController {
| `- error: cannot find type 'UIHostingController' in scope
102 | func disableSafeArea(_ disable: Bool) {
103 | if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:12: error: cannot override 'init' which has been marked unavailable
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:30: error: 'UIWindowScene' is unavailable in watchOS
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| `- error: 'UIWindowScene' is unavailable in watchOS
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:12:55: error: 'UIEvent' is unavailable in watchOS
10 | required init?(coder: NSCoder) { fatalError() }
11 |
12 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
13 | guard let rootView = rootViewController?.view,
14 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:12:68: error: 'UIView' is unavailable in watchOS
10 | required init?(coder: NSCoder) { fatalError() }
11 |
12 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
13 | guard let rootView = rootViewController?.view,
14 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:3:43: error: 'UIWindow' is unavailable in watchOS
1 | import UIKit
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
4 | override init(windowScene: UIWindowScene) {
5 | super.init(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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.
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/Helpers.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/WindowOverlayModifier.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64_32/WindowOverlay-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -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-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WindowOverlay -package-name swiftui_window_overlay -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64_32/WindowOverlay_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64_32/WindowOverlay.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64_32/WindowOverlay.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64_32/WindowOverlay-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64_32/WindowOverlay-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64_32/WindowOverlay-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64_32/WindowOverlay.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64_32/WindowOverlay.abi.json
SwiftCompile normal arm64_32 (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-2NIV6RL93T7Y4UMRZ6CFAK2OJ.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ WindowOverlay (in target 'WindowOverlay' from project 'swiftui-window-overlay')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:6:75: error: cannot find type 'UIHostingController' in scope
4 | /// The topmost window's root controller decides the status bar. Forwards the app window's values
5 | /// so the overlay doesn't take over the status bar.
6 | internal final class StatusBarForwardingHostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
7 | weak var sourceWindow: UIWindow?
8 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:7:26: error: 'UIWindow' is unavailable in watchOS
5 | /// so the overlay doesn't take over the status bar.
6 | internal final class StatusBarForwardingHostingController<Content: View>: UIHostingController<Content> {
7 | weak var sourceWindow: UIWindow?
| `- error: 'UIWindow' is unavailable in watchOS
8 |
9 | override var prefersStatusBarHidden: Bool {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:9:16: error: property does not override any property from its superclass
7 | weak var sourceWindow: UIWindow?
8 |
9 | override var prefersStatusBarHidden: Bool {
| `- error: property does not override any property from its superclass
10 | source { $0.childForStatusBarHidden }?.prefersStatusBarHidden
11 | ?? super.prefersStatusBarHidden
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:14:16: error: property does not override any property from its superclass
12 | }
13 |
14 | override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: property does not override any property from its superclass
15 | source { $0.childForStatusBarStyle }?.preferredStatusBarStyle
16 | ?? super.preferredStatusBarStyle
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:14:41: error: 'UIStatusBarStyle' is unavailable in watchOS
12 | }
13 |
14 | override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
15 | source { $0.childForStatusBarStyle }?.preferredStatusBarStyle
16 | ?? super.preferredStatusBarStyle
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
21 |
22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
| `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
23 | UIStatusBarStyleDefault = 0, // Automatically chooses light or dark content based on the user interface style
24 | UIStatusBarStyleLightContent API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:19:16: error: property does not override any property from its superclass
17 | }
18 |
19 | override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
| `- error: property does not override any property from its superclass
20 | source { $0.childForStatusBarHidden }?.preferredStatusBarUpdateAnimation
21 | ?? super.preferredStatusBarUpdateAnimation
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:19:51: error: 'UIStatusBarAnimation' is unavailable in watchOS
17 | }
18 |
19 | override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
| `- error: 'UIStatusBarAnimation' is unavailable in watchOS
20 | source { $0.childForStatusBarHidden }?.preferredStatusBarUpdateAnimation
21 | ?? super.preferredStatusBarUpdateAnimation
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:31:28: note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
29 | } API_UNAVAILABLE(tvos, watchos);
30 |
31 | typedef NS_ENUM(NSInteger, UIStatusBarAnimation) {
| `- note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
32 | UIStatusBarAnimationNone,
33 | UIStatusBarAnimationFade API_AVAILABLE(ios(3.2)),
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:31: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:52: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:74: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:9:28: error: cannot find type 'Context' in scope
7 | var content: V
8 |
9 | func makeUIView(context: Context) -> _HelperView {
| `- error: cannot find type 'Context' in scope
10 | _HelperView()
11 | }
SwiftCompile normal arm64 (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ WindowBridgingView.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:9:28: error: cannot find type 'Context' in scope
7 | var content: V
8 |
9 | func makeUIView(context: Context) -> _HelperView {
| `- error: cannot find type 'Context' in scope
10 | _HelperView()
11 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:13:53: error: cannot find type 'Context' in scope
11 | }
12 |
13 | func updateUIView(_ helper: _HelperView, context: Context) {
| `- error: cannot find type 'Context' in scope
14 | helper.update(
15 | isPresented: isPresented,
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:32:37: error: 'UIView' is unavailable in watchOS
30 | }
31 |
32 | internal final class _HelperView: UIView {
| `- error: 'UIView' is unavailable in watchOS
33 | private var isPresented = false
34 | private var disableSafeArea = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:4:46: error: cannot find type 'UIViewRepresentable' in scope
2 | import UIKit
3 |
4 | internal struct WindowBridgingView<V: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 | var isPresented: Bool
6 | var disableSafeArea: Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:101:11: error: cannot find type 'UIHostingController' in scope
99 | }
100 |
101 | extension UIHostingController {
| `- error: cannot find type 'UIHostingController' in scope
102 | func disableSafeArea(_ disable: Bool) {
103 | if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:10:5: error: 'init()' is unavailable in watchOS
8 |
9 | func makeUIView(context: Context) -> _HelperView {
10 | _HelperView()
| `- error: 'init()' is unavailable in watchOS
11 | }
12 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:43:36: error: 'windowScene' is unavailable in watchOS
41 | override func didMoveToWindow() {
42 | super.didMoveToWindow()
43 | if let windowScene = window?.windowScene {
| `- error: 'windowScene' is unavailable in watchOS
44 | if overlayWindow?.windowScene !== windowScene {
45 | tearDown()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:44:27: error: 'windowScene' is unavailable in watchOS
42 | super.didMoveToWindow()
43 | if let windowScene = window?.windowScene {
44 | if overlayWindow?.windowScene !== windowScene {
| `- error: 'windowScene' is unavailable in watchOS
45 | tearDown()
46 | overlayWindow = WindowOverlayWindow(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:12: error: cannot override 'init' which has been marked unavailable
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:77:27: error: value of type 'StatusBarForwardingHostingController<WindowBridgingView<V>.RootView>' has no member 'rootView'
75 | let rootView = RootView(content: content, environment: environment)
76 | if let hostingController {
77 | hostingController.rootView = rootView
| `- error: value of type 'StatusBarForwardingHostingController<WindowBridgingView<V>.RootView>' has no member 'rootView'
78 | } else {
79 | let controller = StatusBarForwardingHostingController(rootView: rootView)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:79:26: error: generic parameter 'Content' could not be inferred
77 | hostingController.rootView = rootView
78 | } else {
79 | let controller = StatusBarForwardingHostingController(rootView: rootView)
| |- error: generic parameter 'Content' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
80 | controller.view.backgroundColor = .clear
81 | overlayWindow.rootViewController = controller
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:6:59: note: 'Content' declared as parameter to type 'StatusBarForwardingHostingController'
4 | /// The topmost window's root controller decides the status bar. Forwards the app window's values
5 | /// so the overlay doesn't take over the status bar.
6 | internal final class StatusBarForwardingHostingController<Content: View>: UIHostingController<Content> {
| `- note: 'Content' declared as parameter to type 'StatusBarForwardingHostingController'
7 | weak var sourceWindow: UIWindow?
8 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:79:73: error: argument passed to call that takes no arguments
77 | hostingController.rootView = rootView
78 | } else {
79 | let controller = StatusBarForwardingHostingController(rootView: rootView)
| `- error: argument passed to call that takes no arguments
80 | controller.view.backgroundColor = .clear
81 | overlayWindow.rootViewController = controller
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:80:44: error: cannot infer contextual base in reference to member 'clear'
78 | } else {
79 | let controller = StatusBarForwardingHostingController(rootView: rootView)
80 | controller.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
81 | overlayWindow.rootViewController = controller
82 | hostingController = controller
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:84:26: error: value of type 'StatusBarForwardingHostingController<WindowBridgingView<V>.RootView>' has no member 'disableSafeArea'
82 | hostingController = controller
83 | }
84 | hostingController?.disableSafeArea(disableSafeArea)
| `- error: value of type 'StatusBarForwardingHostingController<WindowBridgingView<V>.RootView>' has no member 'disableSafeArea'
85 | hostingController?.sourceWindow = window
86 | // Match the app window so the status bar text keeps its color (`.preferredColorScheme` applies there).
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:87:21: error: 'overrideUserInterfaceStyle' is unavailable in watchOS
85 | hostingController?.sourceWindow = window
86 | // Match the app window so the status bar text keeps its color (`.preferredColorScheme` applies there).
87 | overlayWindow.overrideUserInterfaceStyle = window?.overrideUserInterfaceStyle ?? .unspecified
| `- error: 'overrideUserInterfaceStyle' is unavailable in watchOS
88 | overlayWindow.isHidden = false
89 | hostingController?.setNeedsStatusBarAppearanceUpdate()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:705:44: note: 'overrideUserInterfaceStyle' has been explicitly marked unavailable here
703 | * - It also affects presentations that happen inside the window.
704 | */
705 | @property (nonatomic) UIUserInterfaceStyle overrideUserInterfaceStyle API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'overrideUserInterfaceStyle' has been explicitly marked unavailable here
706 |
707 | @end
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:87:58: error: 'overrideUserInterfaceStyle' is unavailable in watchOS
85 | hostingController?.sourceWindow = window
86 | // Match the app window so the status bar text keeps its color (`.preferredColorScheme` applies there).
87 | overlayWindow.overrideUserInterfaceStyle = window?.overrideUserInterfaceStyle ?? .unspecified
| `- error: 'overrideUserInterfaceStyle' is unavailable in watchOS
88 | overlayWindow.isHidden = false
89 | hostingController?.setNeedsStatusBarAppearanceUpdate()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:705:44: note: 'overrideUserInterfaceStyle' has been explicitly marked unavailable here
703 | * - It also affects presentations that happen inside the window.
704 | */
705 | @property (nonatomic) UIUserInterfaceStyle overrideUserInterfaceStyle API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'overrideUserInterfaceStyle' has been explicitly marked unavailable here
706 |
707 | @end
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WindowBridgingView.swift
SwiftCompile normal arm64 Compiling\ WindowOverlayModifier.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/WindowOverlayModifier.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/WindowOverlayModifier.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WindowOverlayModifier.swift
SwiftCompile normal arm64 Compiling\ WindowOverlayWindow.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:12: error: cannot override 'init' which has been marked unavailable
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:30: error: 'UIWindowScene' is unavailable in watchOS
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| `- error: 'UIWindowScene' is unavailable in watchOS
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:12:55: error: 'UIEvent' is unavailable in watchOS
10 | required init?(coder: NSCoder) { fatalError() }
11 |
12 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
13 | guard let rootView = rootViewController?.view,
14 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:12:68: error: 'UIView' is unavailable in watchOS
10 | required init?(coder: NSCoder) { fatalError() }
11 |
12 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
13 | guard let rootView = rootViewController?.view,
14 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:3:43: error: 'UIWindow' is unavailable in watchOS
1 | import UIKit
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
4 | override init(windowScene: UIWindowScene) {
5 | super.init(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:5:11: error: 'init(windowScene:)' is unavailable in watchOS
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
5 | super.init(windowScene: windowScene)
| `- error: 'init(windowScene:)' is unavailable in watchOS
6 | // Above sheets and the keyboard, below system alerts.
7 | self.windowLevel = .alert - 1
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WindowOverlayWindow.swift
SwiftCompile normal arm64 Compiling\ Helpers.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/Helpers.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/Helpers.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Helpers.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-10-17 08:10:07.057 xcodebuild[661:4027] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WindowOverlay (in target 'WindowOverlay' from project 'swiftui-window-overlay')
SwiftCompile normal arm64_32 (in target 'WindowOverlay' from project 'swiftui-window-overlay')
Building workspace swiftui-toasts with scheme swiftui-toasts
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
swiftui-window-overlay: https://github.com/sunghyun-k/swiftui-window-overlay.git @ 1.1.0
swiftui-toasts: /Users/admin/builder/spi-builder-workspace
resolved source packages: swiftui-window-overlay, swiftui-toasts
2026-10-17 08:10:13.781 xcodebuild[838:4814] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
{
"identity" : "swiftui-window-overlay",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sunghyun-k/swiftui-window-overlay.git"
}
],
"manifest_display_name" : "swiftui-toasts",
"name" : "swiftui-toasts",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Toasts",
"targets" : [
"Toasts"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Toasts",
"module_type" : "SwiftTarget",
"name" : "Toasts",
"path" : "Sources/Toasts",
"product_dependencies" : [
"WindowOverlay"
],
"product_memberships" : [
"Toasts"
],
"sources" : [
"InstallToastModifier.swift",
"Internals/Accessibility.swift",
"Internals/Backports.swift",
"Internals/Color+DarkMode.swift",
"Internals/LoadingView.swift",
"Internals/Toast.swift",
"Internals/ToastInteractingView.swift",
"Internals/ToastManager.swift",
"Internals/ToastRootView.swift",
"Internals/ToastView.swift",
"Internals/TransformModifier.swift",
"PresentToastAction.swift",
"ToastPosition.swift",
"ToastValue.swift"
],
"type" : "library"
},
{
"c99name" : "ToastManagerTests",
"module_type" : "SwiftTarget",
"name" : "ToastManagerTests",
"path" : "Tests/ToastManagerTests",
"sources" : [
"ToastManagerTests.swift"
],
"target_dependencies" : [
"Toasts"
],
"type" : "test"
}
],
"tools_version" : "6.1"
}
{
"workspace" : {
"name" : "swiftui-toasts",
"schemes" : [
"swiftui-toasts"
]
}
}
2026-10-17 08:10:15.042 xcodebuild[846:4883] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swiftui-toasts -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme swiftui-toasts -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
swiftui-window-overlay: https://github.com/sunghyun-k/swiftui-window-overlay.git @ 1.1.0
swiftui-toasts: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
Target 'Toasts-product' in project 'swiftui-toasts'
➜ Explicit dependency on target 'Toasts' in project 'swiftui-toasts'
➜ Explicit dependency on target 'WindowOverlay-product' in project 'swiftui-window-overlay'
Target 'Toasts' in project 'swiftui-toasts'
➜ Explicit dependency on target 'WindowOverlay-product' in project 'swiftui-window-overlay'
Target 'WindowOverlay-product' in project 'swiftui-window-overlay'
➜ Explicit dependency on target 'WindowOverlay' in project 'swiftui-window-overlay'
Target 'WindowOverlay' in project 'swiftui-window-overlay' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
SwiftDriver WindowOverlay normal arm64 com.apple.xcode.tools.swift.compiler (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name WindowOverlay -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64/WindowOverlay.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64/WindowOverlay-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64/WindowOverlay.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64/WindowOverlay-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name swiftui_window_overlay -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64/WindowOverlay_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64/WindowOverlay-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver WindowOverlay normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name WindowOverlay -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64_32/WindowOverlay.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64_32/WindowOverlay-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64_32/WindowOverlay.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64_32/WindowOverlay-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name swiftui_window_overlay -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64_32/WindowOverlay_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64_32/WindowOverlay-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ WindowOverlayModifier.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/WindowOverlayModifier.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/WindowOverlayModifier.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WindowOverlayModifier.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WindowOverlay (in target 'WindowOverlay' from project 'swiftui-window-overlay')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:6:75: error: cannot find type 'UIHostingController' in scope
4 | /// The topmost window's root controller decides the status bar. Forwards the app window's values
5 | /// so the overlay doesn't take over the status bar.
6 | internal final class StatusBarForwardingHostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
7 | weak var sourceWindow: UIWindow?
8 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:7:26: error: 'UIWindow' is unavailable in watchOS
5 | /// so the overlay doesn't take over the status bar.
6 | internal final class StatusBarForwardingHostingController<Content: View>: UIHostingController<Content> {
7 | weak var sourceWindow: UIWindow?
| `- error: 'UIWindow' is unavailable in watchOS
8 |
9 | override var prefersStatusBarHidden: Bool {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:9:16: error: property does not override any property from its superclass
7 | weak var sourceWindow: UIWindow?
8 |
9 | override var prefersStatusBarHidden: Bool {
| `- error: property does not override any property from its superclass
10 | source { $0.childForStatusBarHidden }?.prefersStatusBarHidden
11 | ?? super.prefersStatusBarHidden
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:14:16: error: property does not override any property from its superclass
12 | }
13 |
14 | override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: property does not override any property from its superclass
15 | source { $0.childForStatusBarStyle }?.preferredStatusBarStyle
16 | ?? super.preferredStatusBarStyle
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:14:41: error: 'UIStatusBarStyle' is unavailable in watchOS
12 | }
13 |
14 | override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
15 | source { $0.childForStatusBarStyle }?.preferredStatusBarStyle
16 | ?? super.preferredStatusBarStyle
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
21 |
22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
| `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
23 | UIStatusBarStyleDefault = 0, // Automatically chooses light or dark content based on the user interface style
24 | UIStatusBarStyleLightContent API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:19:16: error: property does not override any property from its superclass
17 | }
18 |
19 | override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
| `- error: property does not override any property from its superclass
20 | source { $0.childForStatusBarHidden }?.preferredStatusBarUpdateAnimation
21 | ?? super.preferredStatusBarUpdateAnimation
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:19:51: error: 'UIStatusBarAnimation' is unavailable in watchOS
17 | }
18 |
19 | override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
| `- error: 'UIStatusBarAnimation' is unavailable in watchOS
20 | source { $0.childForStatusBarHidden }?.preferredStatusBarUpdateAnimation
21 | ?? super.preferredStatusBarUpdateAnimation
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:31:28: note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
29 | } API_UNAVAILABLE(tvos, watchos);
30 |
31 | typedef NS_ENUM(NSInteger, UIStatusBarAnimation) {
| `- note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
32 | UIStatusBarAnimationNone,
33 | UIStatusBarAnimationFade API_AVAILABLE(ios(3.2)),
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:31: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:52: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:74: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:9:28: error: cannot find type 'Context' in scope
7 | var content: V
8 |
9 | func makeUIView(context: Context) -> _HelperView {
| `- error: cannot find type 'Context' in scope
10 | _HelperView()
11 | }
SwiftCompile normal arm64_32 (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:13:53: error: cannot find type 'Context' in scope
11 | }
12 |
13 | func updateUIView(_ helper: _HelperView, context: Context) {
| `- error: cannot find type 'Context' in scope
14 | helper.update(
15 | isPresented: isPresented,
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:32:37: error: 'UIView' is unavailable in watchOS
30 | }
31 |
32 | internal final class _HelperView: UIView {
| `- error: 'UIView' is unavailable in watchOS
33 | private var isPresented = false
34 | private var disableSafeArea = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:4:46: error: cannot find type 'UIViewRepresentable' in scope
2 | import UIKit
3 |
4 | internal struct WindowBridgingView<V: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 | var isPresented: Bool
6 | var disableSafeArea: Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:101:11: error: cannot find type 'UIHostingController' in scope
99 | }
100 |
101 | extension UIHostingController {
| `- error: cannot find type 'UIHostingController' in scope
102 | func disableSafeArea(_ disable: Bool) {
103 | if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:12: error: cannot override 'init' which has been marked unavailable
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:30: error: 'UIWindowScene' is unavailable in watchOS
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| `- error: 'UIWindowScene' is unavailable in watchOS
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:12:55: error: 'UIEvent' is unavailable in watchOS
10 | required init?(coder: NSCoder) { fatalError() }
11 |
12 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
13 | guard let rootView = rootViewController?.view,
14 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:12:68: error: 'UIView' is unavailable in watchOS
10 | required init?(coder: NSCoder) { fatalError() }
11 |
12 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
13 | guard let rootView = rootViewController?.view,
14 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:3:43: error: 'UIWindow' is unavailable in watchOS
1 | import UIKit
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
4 | override init(windowScene: UIWindowScene) {
5 | super.init(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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.
SwiftEmitModule normal arm64 Emitting\ module\ for\ WindowOverlay (in target 'WindowOverlay' from project 'swiftui-window-overlay')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:6:75: error: cannot find type 'UIHostingController' in scope
4 | /// The topmost window's root controller decides the status bar. Forwards the app window's values
5 | /// so the overlay doesn't take over the status bar.
6 | internal final class StatusBarForwardingHostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
7 | weak var sourceWindow: UIWindow?
8 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:7:26: error: 'UIWindow' is unavailable in watchOS
5 | /// so the overlay doesn't take over the status bar.
6 | internal final class StatusBarForwardingHostingController<Content: View>: UIHostingController<Content> {
7 | weak var sourceWindow: UIWindow?
| `- error: 'UIWindow' is unavailable in watchOS
8 |
9 | override var prefersStatusBarHidden: Bool {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:9:16: error: property does not override any property from its superclass
7 | weak var sourceWindow: UIWindow?
8 |
9 | override var prefersStatusBarHidden: Bool {
| `- error: property does not override any property from its superclass
10 | source { $0.childForStatusBarHidden }?.prefersStatusBarHidden
11 | ?? super.prefersStatusBarHidden
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:14:16: error: property does not override any property from its superclass
12 | }
13 |
14 | override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: property does not override any property from its superclass
15 | source { $0.childForStatusBarStyle }?.preferredStatusBarStyle
16 | ?? super.preferredStatusBarStyle
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:14:41: error: 'UIStatusBarStyle' is unavailable in watchOS
12 | }
13 |
14 | override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
15 | source { $0.childForStatusBarStyle }?.preferredStatusBarStyle
16 | ?? super.preferredStatusBarStyle
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
21 |
22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
| `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
23 | UIStatusBarStyleDefault = 0, // Automatically chooses light or dark content based on the user interface style
24 | UIStatusBarStyleLightContent API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:19:16: error: property does not override any property from its superclass
17 | }
18 |
19 | override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
| `- error: property does not override any property from its superclass
20 | source { $0.childForStatusBarHidden }?.preferredStatusBarUpdateAnimation
21 | ?? super.preferredStatusBarUpdateAnimation
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:19:51: error: 'UIStatusBarAnimation' is unavailable in watchOS
17 | }
18 |
19 | override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
| `- error: 'UIStatusBarAnimation' is unavailable in watchOS
20 | source { $0.childForStatusBarHidden }?.preferredStatusBarUpdateAnimation
21 | ?? super.preferredStatusBarUpdateAnimation
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:31:28: note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
29 | } API_UNAVAILABLE(tvos, watchos);
30 |
31 | typedef NS_ENUM(NSInteger, UIStatusBarAnimation) {
| `- note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
32 | UIStatusBarAnimationNone,
33 | UIStatusBarAnimationFade API_AVAILABLE(ios(3.2)),
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:31: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:52: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:74: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:9:28: error: cannot find type 'Context' in scope
7 | var content: V
8 |
9 | func makeUIView(context: Context) -> _HelperView {
| `- error: cannot find type 'Context' in scope
10 | _HelperView()
11 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:13:53: error: cannot find type 'Context' in scope
11 | }
12 |
13 | func updateUIView(_ helper: _HelperView, context: Context) {
| `- error: cannot find type 'Context' in scope
14 | helper.update(
15 | isPresented: isPresented,
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:32:37: error: 'UIView' is unavailable in watchOS
30 | }
31 |
32 | internal final class _HelperView: UIView {
| `- error: 'UIView' is unavailable in watchOS
33 | private var isPresented = false
34 | private var disableSafeArea = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:4:46: error: cannot find type 'UIViewRepresentable' in scope
2 | import UIKit
3 |
4 | internal struct WindowBridgingView<V: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 | var isPresented: Bool
6 | var disableSafeArea: Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:101:11: error: cannot find type 'UIHostingController' in scope
99 | }
100 |
101 | extension UIHostingController {
| `- error: cannot find type 'UIHostingController' in scope
102 | func disableSafeArea(_ disable: Bool) {
103 | if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:12: error: cannot override 'init' which has been marked unavailable
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:30: error: 'UIWindowScene' is unavailable in watchOS
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| `- error: 'UIWindowScene' is unavailable in watchOS
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:12:55: error: 'UIEvent' is unavailable in watchOS
10 | required init?(coder: NSCoder) { fatalError() }
11 |
12 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
13 | guard let rootView = rootViewController?.view,
14 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:12:68: error: 'UIView' is unavailable in watchOS
10 | required init?(coder: NSCoder) { fatalError() }
11 |
12 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
13 | guard let rootView = rootViewController?.view,
14 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:3:43: error: 'UIWindow' is unavailable in watchOS
1 | import UIKit
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
4 | override init(windowScene: UIWindowScene) {
5 | super.init(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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.
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/Helpers.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/WindowOverlayModifier.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64/WindowOverlay-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -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-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WindowOverlay -package-name swiftui_window_overlay -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64/WindowOverlay_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64/WindowOverlay.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64/WindowOverlay.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64/WindowOverlay-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64/WindowOverlay-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64/WindowOverlay-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64/WindowOverlay.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-overlay.build/Debug-watchos/WindowOverlay-t.build/Objects-normal/arm64/WindowOverlay.abi.json
SwiftCompile normal arm64 (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ Helpers.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/Helpers.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/Helpers.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Helpers.swift
SwiftCompile normal arm64 Compiling\ StatusBarForwardingHostingController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:6:75: error: cannot find type 'UIHostingController' in scope
4 | /// The topmost window's root controller decides the status bar. Forwards the app window's values
5 | /// so the overlay doesn't take over the status bar.
6 | internal final class StatusBarForwardingHostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
7 | weak var sourceWindow: UIWindow?
8 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:7:26: error: 'UIWindow' is unavailable in watchOS
5 | /// so the overlay doesn't take over the status bar.
6 | internal final class StatusBarForwardingHostingController<Content: View>: UIHostingController<Content> {
7 | weak var sourceWindow: UIWindow?
| `- error: 'UIWindow' is unavailable in watchOS
8 |
9 | override var prefersStatusBarHidden: Bool {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:9:16: error: property does not override any property from its superclass
7 | weak var sourceWindow: UIWindow?
8 |
9 | override var prefersStatusBarHidden: Bool {
| `- error: property does not override any property from its superclass
10 | source { $0.childForStatusBarHidden }?.prefersStatusBarHidden
11 | ?? super.prefersStatusBarHidden
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:14:16: error: property does not override any property from its superclass
12 | }
13 |
14 | override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: property does not override any property from its superclass
15 | source { $0.childForStatusBarStyle }?.preferredStatusBarStyle
16 | ?? super.preferredStatusBarStyle
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:14:41: error: 'UIStatusBarStyle' is unavailable in watchOS
12 | }
13 |
14 | override var preferredStatusBarStyle: UIStatusBarStyle {
| `- error: 'UIStatusBarStyle' is unavailable in watchOS
15 | source { $0.childForStatusBarStyle }?.preferredStatusBarStyle
16 | ?? super.preferredStatusBarStyle
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
21 |
22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
| `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
23 | UIStatusBarStyleDefault = 0, // Automatically chooses light or dark content based on the user interface style
24 | UIStatusBarStyleLightContent API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:19:16: error: property does not override any property from its superclass
17 | }
18 |
19 | override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
| `- error: property does not override any property from its superclass
20 | source { $0.childForStatusBarHidden }?.preferredStatusBarUpdateAnimation
21 | ?? super.preferredStatusBarUpdateAnimation
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:19:51: error: 'UIStatusBarAnimation' is unavailable in watchOS
17 | }
18 |
19 | override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
| `- error: 'UIStatusBarAnimation' is unavailable in watchOS
20 | source { $0.childForStatusBarHidden }?.preferredStatusBarUpdateAnimation
21 | ?? super.preferredStatusBarUpdateAnimation
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:31:28: note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
29 | } API_UNAVAILABLE(tvos, watchos);
30 |
31 | typedef NS_ENUM(NSInteger, UIStatusBarAnimation) {
| `- note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
32 | UIStatusBarAnimationNone,
33 | UIStatusBarAnimationFade API_AVAILABLE(ios(3.2)),
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:31: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:52: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:26:74: error: 'UIViewController' is unavailable in watchOS
24 | /// Same rule as UIKit: walk up to the controller presented full screen or capturing the status bar,
25 | /// then follow its children.
26 | private func source(child: (UIViewController) -> UIViewController?) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
27 | guard var controller = sourceWindow?.rootViewController else { return nil }
28 | while let presented = controller.presentedViewController,
/Applications/Xcode-27.0.0.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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StatusBarForwardingHostingController.swift
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:11:10: error: 'super' cannot be used in class 'StatusBarForwardingHostingController' because it has no superclass
9 | override var prefersStatusBarHidden: Bool {
10 | source { $0.childForStatusBarHidden }?.prefersStatusBarHidden
11 | ?? super.prefersStatusBarHidden
| `- error: 'super' cannot be used in class 'StatusBarForwardingHostingController' because it has no superclass
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:16:10: error: 'super' cannot be used in class 'StatusBarForwardingHostingController' because it has no superclass
14 | override var preferredStatusBarStyle: UIStatusBarStyle {
15 | source { $0.childForStatusBarStyle }?.preferredStatusBarStyle
16 | ?? super.preferredStatusBarStyle
| `- error: 'super' cannot be used in class 'StatusBarForwardingHostingController' because it has no superclass
17 | }
18 |
SwiftCompile normal arm64 Compiling\ WindowOverlayWindow.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:12: error: cannot override 'init' which has been marked unavailable
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:30: error: 'UIWindowScene' is unavailable in watchOS
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| `- error: 'UIWindowScene' is unavailable in watchOS
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:12:55: error: 'UIEvent' is unavailable in watchOS
10 | required init?(coder: NSCoder) { fatalError() }
11 |
12 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
13 | guard let rootView = rootViewController?.view,
14 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:12:68: error: 'UIView' is unavailable in watchOS
10 | required init?(coder: NSCoder) { fatalError() }
11 |
12 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
13 | guard let rootView = rootViewController?.view,
14 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:3:43: error: 'UIWindow' is unavailable in watchOS
1 | import UIKit
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
4 | override init(windowScene: UIWindowScene) {
5 | super.init(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:5:11: error: 'init(windowScene:)' is unavailable in watchOS
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
5 | super.init(windowScene: windowScene)
| `- error: 'init(windowScene:)' is unavailable in watchOS
6 | // Above sheets and the keyboard, below system alerts.
7 | self.windowLevel = .alert - 1
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WindowOverlayWindow.swift
SwiftCompile normal arm64 Compiling\ Helpers.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/Helpers.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/Helpers.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Helpers.swift
SwiftCompile normal arm64_32 Compiling\ WindowOverlayWindow.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WindowOverlayWindow.swift
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:12: error: cannot override 'init' which has been marked unavailable
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:30: error: 'UIWindowScene' is unavailable in watchOS
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| `- error: 'UIWindowScene' is unavailable in watchOS
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:12:55: error: 'UIEvent' is unavailable in watchOS
10 | required init?(coder: NSCoder) { fatalError() }
11 |
12 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
13 | guard let rootView = rootViewController?.view,
14 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:12:68: error: 'UIView' is unavailable in watchOS
10 | required init?(coder: NSCoder) { fatalError() }
11 |
12 | override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
13 | guard let rootView = rootViewController?.view,
14 | let hitView = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:3:43: error: 'UIWindow' is unavailable in watchOS
1 | import UIKit
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
| `- error: 'UIWindow' is unavailable in watchOS
4 | override init(windowScene: UIWindowScene) {
5 | super.init(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:5:11: error: 'init(windowScene:)' is unavailable in watchOS
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
5 | super.init(windowScene: windowScene)
| `- error: 'init(windowScene:)' is unavailable in watchOS
6 | // Above sheets and the keyboard, below system alerts.
7 | self.windowLevel = .alert - 1
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64 Compiling\ WindowBridgingView.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:9:28: error: cannot find type 'Context' in scope
7 | var content: V
8 |
9 | func makeUIView(context: Context) -> _HelperView {
| `- error: cannot find type 'Context' in scope
10 | _HelperView()
11 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:13:53: error: cannot find type 'Context' in scope
11 | }
12 |
13 | func updateUIView(_ helper: _HelperView, context: Context) {
| `- error: cannot find type 'Context' in scope
14 | helper.update(
15 | isPresented: isPresented,
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:32:37: error: 'UIView' is unavailable in watchOS
30 | }
31 |
32 | internal final class _HelperView: UIView {
| `- error: 'UIView' is unavailable in watchOS
33 | private var isPresented = false
34 | private var disableSafeArea = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:4:46: error: cannot find type 'UIViewRepresentable' in scope
2 | import UIKit
3 |
4 | internal struct WindowBridgingView<V: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 | var isPresented: Bool
6 | var disableSafeArea: Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:101:11: error: cannot find type 'UIHostingController' in scope
99 | }
100 |
101 | extension UIHostingController {
| `- error: cannot find type 'UIHostingController' in scope
102 | func disableSafeArea(_ disable: Bool) {
103 | if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:10:5: error: 'init()' is unavailable in watchOS
8 |
9 | func makeUIView(context: Context) -> _HelperView {
10 | _HelperView()
| `- error: 'init()' is unavailable in watchOS
11 | }
12 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:43:36: error: 'windowScene' is unavailable in watchOS
41 | override func didMoveToWindow() {
42 | super.didMoveToWindow()
43 | if let windowScene = window?.windowScene {
| `- error: 'windowScene' is unavailable in watchOS
44 | if overlayWindow?.windowScene !== windowScene {
45 | tearDown()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:44:27: error: 'windowScene' is unavailable in watchOS
42 | super.didMoveToWindow()
43 | if let windowScene = window?.windowScene {
44 | if overlayWindow?.windowScene !== windowScene {
| `- error: 'windowScene' is unavailable in watchOS
45 | tearDown()
46 | overlayWindow = WindowOverlayWindow(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:12: error: cannot override 'init' which has been marked unavailable
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:77:27: error: value of type 'StatusBarForwardingHostingController<WindowBridgingView<V>.RootView>' has no member 'rootView'
75 | let rootView = RootView(content: content, environment: environment)
76 | if let hostingController {
77 | hostingController.rootView = rootView
| `- error: value of type 'StatusBarForwardingHostingController<WindowBridgingView<V>.RootView>' has no member 'rootView'
78 | } else {
79 | let controller = StatusBarForwardingHostingController(rootView: rootView)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:79:26: error: generic parameter 'Content' could not be inferred
77 | hostingController.rootView = rootView
78 | } else {
79 | let controller = StatusBarForwardingHostingController(rootView: rootView)
| |- error: generic parameter 'Content' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
80 | controller.view.backgroundColor = .clear
81 | overlayWindow.rootViewController = controller
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:6:59: note: 'Content' declared as parameter to type 'StatusBarForwardingHostingController'
4 | /// The topmost window's root controller decides the status bar. Forwards the app window's values
5 | /// so the overlay doesn't take over the status bar.
6 | internal final class StatusBarForwardingHostingController<Content: View>: UIHostingController<Content> {
| `- note: 'Content' declared as parameter to type 'StatusBarForwardingHostingController'
7 | weak var sourceWindow: UIWindow?
8 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:79:73: error: argument passed to call that takes no arguments
77 | hostingController.rootView = rootView
78 | } else {
79 | let controller = StatusBarForwardingHostingController(rootView: rootView)
| `- error: argument passed to call that takes no arguments
80 | controller.view.backgroundColor = .clear
81 | overlayWindow.rootViewController = controller
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:80:44: error: cannot infer contextual base in reference to member 'clear'
78 | } else {
79 | let controller = StatusBarForwardingHostingController(rootView: rootView)
80 | controller.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
81 | overlayWindow.rootViewController = controller
82 | hostingController = controller
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:84:26: error: value of type 'StatusBarForwardingHostingController<WindowBridgingView<V>.RootView>' has no member 'disableSafeArea'
82 | hostingController = controller
83 | }
84 | hostingController?.disableSafeArea(disableSafeArea)
| `- error: value of type 'StatusBarForwardingHostingController<WindowBridgingView<V>.RootView>' has no member 'disableSafeArea'
85 | hostingController?.sourceWindow = window
86 | // Match the app window so the status bar text keeps its color (`.preferredColorScheme` applies there).
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:87:21: error: 'overrideUserInterfaceStyle' is unavailable in watchOS
85 | hostingController?.sourceWindow = window
86 | // Match the app window so the status bar text keeps its color (`.preferredColorScheme` applies there).
87 | overlayWindow.overrideUserInterfaceStyle = window?.overrideUserInterfaceStyle ?? .unspecified
| `- error: 'overrideUserInterfaceStyle' is unavailable in watchOS
88 | overlayWindow.isHidden = false
89 | hostingController?.setNeedsStatusBarAppearanceUpdate()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:705:44: note: 'overrideUserInterfaceStyle' has been explicitly marked unavailable here
703 | * - It also affects presentations that happen inside the window.
704 | */
705 | @property (nonatomic) UIUserInterfaceStyle overrideUserInterfaceStyle API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'overrideUserInterfaceStyle' has been explicitly marked unavailable here
706 |
707 | @end
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:87:58: error: 'overrideUserInterfaceStyle' is unavailable in watchOS
85 | hostingController?.sourceWindow = window
86 | // Match the app window so the status bar text keeps its color (`.preferredColorScheme` applies there).
87 | overlayWindow.overrideUserInterfaceStyle = window?.overrideUserInterfaceStyle ?? .unspecified
| `- error: 'overrideUserInterfaceStyle' is unavailable in watchOS
88 | overlayWindow.isHidden = false
89 | hostingController?.setNeedsStatusBarAppearanceUpdate()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:705:44: note: 'overrideUserInterfaceStyle' has been explicitly marked unavailable here
703 | * - It also affects presentations that happen inside the window.
704 | */
705 | @property (nonatomic) UIUserInterfaceStyle overrideUserInterfaceStyle API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'overrideUserInterfaceStyle' has been explicitly marked unavailable here
706 |
707 | @end
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WindowBridgingView.swift
SwiftCompile normal arm64_32 Compiling\ WindowBridgingView.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:9:28: error: cannot find type 'Context' in scope
7 | var content: V
8 |
9 | func makeUIView(context: Context) -> _HelperView {
| `- error: cannot find type 'Context' in scope
10 | _HelperView()
11 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:13:53: error: cannot find type 'Context' in scope
11 | }
12 |
13 | func updateUIView(_ helper: _HelperView, context: Context) {
| `- error: cannot find type 'Context' in scope
14 | helper.update(
15 | isPresented: isPresented,
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:32:37: error: 'UIView' is unavailable in watchOS
30 | }
31 |
32 | internal final class _HelperView: UIView {
| `- error: 'UIView' is unavailable in watchOS
33 | private var isPresented = false
34 | private var disableSafeArea = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:4:46: error: cannot find type 'UIViewRepresentable' in scope
2 | import UIKit
3 |
4 | internal struct WindowBridgingView<V: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 | var isPresented: Bool
6 | var disableSafeArea: Bool
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:101:11: error: cannot find type 'UIHostingController' in scope
99 | }
100 |
101 | extension UIHostingController {
| `- error: cannot find type 'UIHostingController' in scope
102 | func disableSafeArea(_ disable: Bool) {
103 | if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:10:5: error: 'init()' is unavailable in watchOS
8 |
9 | func makeUIView(context: Context) -> _HelperView {
10 | _HelperView()
| `- error: 'init()' is unavailable in watchOS
11 | }
12 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:43:36: error: 'windowScene' is unavailable in watchOS
41 | override func didMoveToWindow() {
42 | super.didMoveToWindow()
43 | if let windowScene = window?.windowScene {
| `- error: 'windowScene' is unavailable in watchOS
44 | if overlayWindow?.windowScene !== windowScene {
45 | tearDown()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:44:27: error: 'windowScene' is unavailable in watchOS
42 | super.didMoveToWindow()
43 | if let windowScene = window?.windowScene {
44 | if overlayWindow?.windowScene !== windowScene {
| `- error: 'windowScene' is unavailable in watchOS
45 | tearDown()
46 | overlayWindow = WindowOverlayWindow(windowScene: windowScene)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowOverlayWindow.swift:4:12: error: cannot override 'init' which has been marked unavailable
2 |
3 | internal final class WindowOverlayWindow: UIWindow {
4 | override init(windowScene: UIWindowScene) {
| |- error: cannot override 'init' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'init'
5 | super.init(windowScene: windowScene)
6 | // Above sheets and the keyboard, below system alerts.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:25:1: note: 'init(windowScene:)' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
25 | - (instancetype)initWithWindowScene:(UIWindowScene *)windowScene NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(windowScene:)' has been explicitly marked unavailable here
26 |
27 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER API_DEPRECATED("Use init(windowScene:) instead.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:77:27: error: value of type 'StatusBarForwardingHostingController<WindowBridgingView<V>.RootView>' has no member 'rootView'
75 | let rootView = RootView(content: content, environment: environment)
76 | if let hostingController {
77 | hostingController.rootView = rootView
| `- error: value of type 'StatusBarForwardingHostingController<WindowBridgingView<V>.RootView>' has no member 'rootView'
78 | } else {
79 | let controller = StatusBarForwardingHostingController(rootView: rootView)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:79:26: error: generic parameter 'Content' could not be inferred
77 | hostingController.rootView = rootView
78 | } else {
79 | let controller = StatusBarForwardingHostingController(rootView: rootView)
| |- error: generic parameter 'Content' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
80 | controller.view.backgroundColor = .clear
81 | overlayWindow.rootViewController = controller
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift:6:59: note: 'Content' declared as parameter to type 'StatusBarForwardingHostingController'
4 | /// The topmost window's root controller decides the status bar. Forwards the app window's values
5 | /// so the overlay doesn't take over the status bar.
6 | internal final class StatusBarForwardingHostingController<Content: View>: UIHostingController<Content> {
| `- note: 'Content' declared as parameter to type 'StatusBarForwardingHostingController'
7 | weak var sourceWindow: UIWindow?
8 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:79:73: error: argument passed to call that takes no arguments
77 | hostingController.rootView = rootView
78 | } else {
79 | let controller = StatusBarForwardingHostingController(rootView: rootView)
| `- error: argument passed to call that takes no arguments
80 | controller.view.backgroundColor = .clear
81 | overlayWindow.rootViewController = controller
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:80:44: error: cannot infer contextual base in reference to member 'clear'
78 | } else {
79 | let controller = StatusBarForwardingHostingController(rootView: rootView)
80 | controller.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
81 | overlayWindow.rootViewController = controller
82 | hostingController = controller
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:84:26: error: value of type 'StatusBarForwardingHostingController<WindowBridgingView<V>.RootView>' has no member 'disableSafeArea'
82 | hostingController = controller
83 | }
84 | hostingController?.disableSafeArea(disableSafeArea)
| `- error: value of type 'StatusBarForwardingHostingController<WindowBridgingView<V>.RootView>' has no member 'disableSafeArea'
85 | hostingController?.sourceWindow = window
86 | // Match the app window so the status bar text keeps its color (`.preferredColorScheme` applies there).
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:87:21: error: 'overrideUserInterfaceStyle' is unavailable in watchOS
85 | hostingController?.sourceWindow = window
86 | // Match the app window so the status bar text keeps its color (`.preferredColorScheme` applies there).
87 | overlayWindow.overrideUserInterfaceStyle = window?.overrideUserInterfaceStyle ?? .unspecified
| `- error: 'overrideUserInterfaceStyle' is unavailable in watchOS
88 | overlayWindow.isHidden = false
89 | hostingController?.setNeedsStatusBarAppearanceUpdate()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:705:44: note: 'overrideUserInterfaceStyle' has been explicitly marked unavailable here
703 | * - It also affects presentations that happen inside the window.
704 | */
705 | @property (nonatomic) UIUserInterfaceStyle overrideUserInterfaceStyle API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'overrideUserInterfaceStyle' has been explicitly marked unavailable here
706 |
707 | @end
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift:87:58: error: 'overrideUserInterfaceStyle' is unavailable in watchOS
85 | hostingController?.sourceWindow = window
86 | // Match the app window so the status bar text keeps its color (`.preferredColorScheme` applies there).
87 | overlayWindow.overrideUserInterfaceStyle = window?.overrideUserInterfaceStyle ?? .unspecified
| `- error: 'overrideUserInterfaceStyle' is unavailable in watchOS
88 | overlayWindow.isHidden = false
89 | hostingController?.setNeedsStatusBarAppearanceUpdate()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:705:44: note: 'overrideUserInterfaceStyle' has been explicitly marked unavailable here
703 | * - It also affects presentations that happen inside the window.
704 | */
705 | @property (nonatomic) UIUserInterfaceStyle overrideUserInterfaceStyle API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'overrideUserInterfaceStyle' has been explicitly marked unavailable here
706 |
707 | @end
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/WindowBridgingView.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WindowBridgingView.swift
SwiftCompile normal arm64_32 Compiling\ StatusBarForwardingHostingController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-window-overlay/Sources/WindowOverlay/Internals/StatusBarForwardingHostingController.swift (in target 'WindowOverlay' from project 'swiftui-window-overlay')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StatusBarForwardingHostingController.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-10-17 08:10:16.065 xcodebuild[847:4907] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ WindowOverlay (in target 'WindowOverlay' from project 'swiftui-window-overlay')
SwiftCompile normal arm64 (in target 'WindowOverlay' from project 'swiftui-window-overlay')
Building workspace swiftui-toasts with scheme swiftui-toasts
(3 failures)
BUILD FAILURE 6.4 watchOS