Build Information
Failed to build Flower, reference 1.0.0 (4c4399), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Sep 2026 21:25:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Flower -destination generic/platform=watchOSBuild Log
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:81:38: error: 'UIViewController' is unavailable in watchOS
79 | }
80 |
81 | public func replaceLast(with vc: UIViewController, animated: Bool, hideBottomBar: Bool) {
| `- error: 'UIViewController' is unavailable in watchOS
82 | var afterPop: CleanupCompletion?
83 | if let lastVC = navigationController.viewControllers.last {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:90:40: error: 'UIViewController' is unavailable in watchOS
88 | }
89 |
90 | public func append(_ controllers: [UIViewController],
| `- error: 'UIViewController' is unavailable in watchOS
91 | animated: Bool,
92 | afterPop completion: CleanupCompletion?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:116:43: error: 'UIViewController' is unavailable in watchOS
114 | }
115 |
116 | public func popToViewController(_ vc: UIViewController, animated: Bool = true) {
| `- error: 'UIViewController' is unavailable in watchOS
117 | guard let controllers = navigationController.popToViewController(vc, animated: animated) else { return }
118 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:125:35: error: 'UIViewController' is unavailable in watchOS
123 |
124 | // MARK: - private helpers
125 | private func resetRoot(to vc: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
126 | for (_, completion) in completions {
127 | completion()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:133:48: error: 'UIViewController' is unavailable in watchOS
131 | }
132 |
133 | private func runCompletion(for controller: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
134 | guard let completion = completions[controller] else { return }
135 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:153:62: error: 'UINavigationController' is unavailable in watchOS
151 | extension Navigator: UINavigationControllerDelegate {
152 | /// This is the main reason to have Navigating
153 | public func navigationController(_ navigationController: UINavigationController,
| `- error: 'UINavigationController' is unavailable in watchOS
154 | didShow viewController: UIViewController,
155 | animated: Bool) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:154:62: error: 'UIViewController' is unavailable in watchOS
152 | /// This is the main reason to have Navigating
153 | public func navigationController(_ navigationController: UINavigationController,
154 | didShow viewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
155 | animated: Bool) {
156 | guard let fromVC = navigationController.transitionCoordinator?.viewController(forKey: .from) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:163:62: error: 'UINavigationController' is unavailable in watchOS
161 | }
162 |
163 | public func navigationController(_ navigationController: UINavigationController,
| `- error: 'UINavigationController' is unavailable in watchOS
164 | willShow viewController: UIViewController,
165 | animated: Bool) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:164:63: error: 'UIViewController' is unavailable in watchOS
162 |
163 | public func navigationController(_ navigationController: UINavigationController,
164 | willShow viewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
165 | animated: Bool) {
166 | guard let toVC = navigationController.transitionCoordinator?.viewController(forKey: .to) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:151:22: error: 'UINavigationControllerDelegate' is unavailable in watchOS
149 | }
150 |
151 | extension Navigator: UINavigationControllerDelegate {
| `- error: 'UINavigationControllerDelegate' is unavailable in watchOS
152 | /// This is the main reason to have Navigating
153 | public func navigationController(_ navigationController: UINavigationController,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:128:11: note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
126 |
127 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
128 | @protocol UINavigationControllerDelegate <NSObject>
| `- note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
129 |
130 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:175:76: error: 'UIPresentationController' is unavailable in watchOS
173 |
174 | extension Navigator: UIAdaptivePresentationControllerDelegate {
175 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
176 | runAllCompletions()
177 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:175:17: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
173 |
174 | extension Navigator: UIAdaptivePresentationControllerDelegate {
175 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
176 | runAllCompletions()
177 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:56:1: note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
54 | // Called on the delegate when the user has taken action to dismiss the presentation successfully, after all animations are finished.
55 | // This is not called if the presentation is dismissed programatically.
56 | - (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
57 |
58 | // Called on the delegate when the user attempts to dismiss the presentation, but user-initiated dismissal is prevented because the presentedViewController isModalInPresentation or presentationControllerShouldDismiss: returned NO.
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:174:22: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
172 | }
173 |
174 | extension Navigator: UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
175 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
176 | runAllCompletions()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:24:11: note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
22 |
23 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @protocol UIAdaptivePresentationControllerDelegate <NSObject>
| `- note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
25 |
26 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:67:23: error: 'UINavigationController' is unavailable in watchOS
65 | afterPop completion: CleanupCompletion?
66 | ) {
67 | guard !(vc is UINavigationController) else {
| `- error: 'UINavigationController' is unavailable in watchOS
68 | assertionFailure("Cannot push UINavigationController into UINavigationController")
69 | return
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Navigator.swift
SwiftCompile normal arm64 Compiling\ Launching.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Launching.swift (in target 'Flower' from project 'Flower')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Flower/Launching.swift (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Launching.swift
SwiftCompile normal arm64 Compiling\ Coordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Coordinator.swift (in target 'Flower' from project 'Flower')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Flower/Coordinator.swift (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Coordinator.swift
SwiftCompile normal arm64 Compiling\ Navigating.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift (in target 'Flower' from project 'Flower')
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:6:32: error: 'UINavigationController' is unavailable in watchOS
4 | typealias CleanupCompletion = () -> Void
5 |
6 | init(navigationController: UINavigationController)
| `- error: 'UINavigationController' is unavailable in watchOS
7 |
8 | func push(_ vc: UIViewController, animated: Bool, hideBottomBar: Bool, afterPop: CleanupCompletion?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:8:21: error: 'UIViewController' is unavailable in watchOS
6 | init(navigationController: UINavigationController)
7 |
8 | func push(_ vc: UIViewController, animated: Bool, hideBottomBar: Bool, afterPop: CleanupCompletion?)
| `- error: 'UIViewController' is unavailable in watchOS
9 | func replaceLast(with vc: UIViewController, animated: Bool, hideBottomBar: Bool)
10 | func pop(animated: Bool)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:9:31: error: 'UIViewController' is unavailable in watchOS
7 |
8 | func push(_ vc: UIViewController, animated: Bool, hideBottomBar: Bool, afterPop: CleanupCompletion?)
9 | func replaceLast(with vc: UIViewController, animated: Bool, hideBottomBar: Bool)
| `- error: 'UIViewController' is unavailable in watchOS
10 | func pop(animated: Bool)
11 | func popToRoot(animated: Bool)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:12:36: error: 'UIViewController' is unavailable in watchOS
10 | func pop(animated: Bool)
11 | func popToRoot(animated: Bool)
12 | func popToViewController(_ vc: UIViewController, animated: Bool)
| `- error: 'UIViewController' is unavailable in watchOS
13 |
14 | func append(_ viewControllers: [UIViewController], animated: Bool, afterPop completion: CleanupCompletion?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:14:37: error: 'UIViewController' is unavailable in watchOS
12 | func popToViewController(_ vc: UIViewController, animated: Bool)
13 |
14 | func append(_ viewControllers: [UIViewController], animated: Bool, afterPop completion: CleanupCompletion?)
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | var isNavigationBarHidden: Bool { get set }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:19:28: error: 'UIViewController' is unavailable in watchOS
17 | var isNavigationControllerEmpty: Bool { get }
18 |
19 | var topViewController: UIViewController? { get }
| `- error: 'UIViewController' is unavailable in watchOS
20 |
21 | @available(*, deprecated, message: "it's forbidden to access internal navigation controller")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:22:13: error: 'UINavigationController' is unavailable in watchOS
20 |
21 | @available(*, deprecated, message: "it's forbidden to access internal navigation controller")
22 | var nc: UINavigationController { get }
| `- error: 'UINavigationController' is unavailable in watchOS
23 | }
24 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:27:32: error: 'UIViewController' is unavailable in watchOS
25 | /// reasonable defaults for functions (to allow coordinators depend on protocol, but not on implementation)
26 | public extension Navigating {
27 | @inlinable func push(_ vc: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
28 | animated: Bool = true,
29 | hideBottomBar: Bool = false,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:37:42: error: 'UIViewController' is unavailable in watchOS
35 | }
36 |
37 | @inlinable func replaceLast(with vc: UIViewController, animated: Bool = false, hideBottomBar: Bool = false) {
| `- error: 'UIViewController' is unavailable in watchOS
38 | replaceLast(with: vc, animated: animated, hideBottomBar: hideBottomBar)
39 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Navigating.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Flower (in target 'Flower' from project 'Flower')
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:4:25: error: 'UIWindow' is unavailable in watchOS
2 |
3 | open class Launcher: Launching {
4 | private let window: UIWindow
| `- error: 'UIWindow' is unavailable in watchOS
5 | private var rootCompletion: (() -> Void)?
6 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:7:34: error: 'UIWindow' is unavailable in watchOS
5 | private var rootCompletion: (() -> Void)?
6 |
7 | required public init(window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
8 | self.window = window
9 | self.window.makeKeyAndVisible()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
SwiftCompile normal arm64_32 (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ Presenting.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Presenting.swift (in target 'Flower' from project 'Flower')
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Presenting.swift:4:24: error: 'UIViewController' is unavailable in watchOS
2 |
3 | public protocol Presenting: AnyObject {
4 | func present(_ vc: UIViewController, animated: Bool, completion: (() -> Void)?)
| `- error: 'UIViewController' is unavailable in watchOS
5 |
6 | func dismiss(animated: Bool, completion: (() -> Void)?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Flower/Presenting.swift (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Presenting.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-18 17:25:26.027 xcodebuild[644:4131] [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\ Flower (in target 'Flower' from project 'Flower')
SwiftCompile normal arm64 (in target 'Flower' from project 'Flower')
Building workspace Flower with scheme Flower
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
Flower: /Users/admin/builder/spi-builder-workspace
resolved source packages: Flower
2026-09-18 17:25:32.877 xcodebuild[771:4617] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "Flower",
"name" : "Flower",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
}
],
"products" : [
{
"name" : "Flower",
"targets" : [
"Flower"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FlowerTests",
"module_type" : "SwiftTarget",
"name" : "FlowerTests",
"path" : "Tests/FlowerTests",
"sources" : [
"CoordinatorTests.swift"
],
"target_dependencies" : [
"Flower"
],
"type" : "test"
},
{
"c99name" : "Flower",
"module_type" : "SwiftTarget",
"name" : "Flower",
"path" : "Sources/Flower",
"product_memberships" : [
"Flower"
],
"sources" : [
"Coordinator.swift",
"Launcher.swift",
"Launching.swift",
"Navigating.swift",
"Navigator.swift",
"Presenting.swift",
"RootControllable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
{
"workspace" : {
"name" : "Flower",
"schemes" : [
"Flower"
]
}
}
2026-09-18 17:25:34.136 xcodebuild[779:4694] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Flower -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.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 Flower -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
Flower: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'Flower-product' in project 'Flower'
➜ Explicit dependency on target 'Flower' in project 'Flower'
Target 'Flower' in project 'Flower' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver Flower normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name Flower -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64/Flower.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64/Flower-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/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64/Flower.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64/Flower-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 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64/Flower_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/Flower.build/Debug-watchos/Flower-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-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/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64/Flower-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver Flower normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name Flower -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64_32/Flower.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64_32/Flower-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/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64_32/Flower.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64_32/Flower-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 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64_32/Flower_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/Flower.build/Debug-watchos/Flower-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-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/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64_32/Flower-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ Launching.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Launching.swift (in target 'Flower' from project 'Flower')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Flower/Launching.swift (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Launching.swift
SwiftCompile normal arm64 Compiling\ Presenting.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Presenting.swift (in target 'Flower' from project 'Flower')
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Presenting.swift:4:24: error: 'UIViewController' is unavailable in watchOS
2 |
3 | public protocol Presenting: AnyObject {
4 | func present(_ vc: UIViewController, animated: Bool, completion: (() -> Void)?)
| `- error: 'UIViewController' is unavailable in watchOS
5 |
6 | func dismiss(animated: Bool, completion: (() -> Void)?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Flower/Presenting.swift (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Presenting.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ Flower (in target 'Flower' from project 'Flower')
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:4:25: error: 'UIWindow' is unavailable in watchOS
2 |
3 | open class Launcher: Launching {
4 | private let window: UIWindow
| `- error: 'UIWindow' is unavailable in watchOS
5 | private var rootCompletion: (() -> Void)?
6 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:7:34: error: 'UIWindow' is unavailable in watchOS
5 | private var rootCompletion: (() -> Void)?
6 |
7 | required public init(window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
8 | self.window = window
9 | self.window.makeKeyAndVisible()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:13:22: error: 'UIViewController' is unavailable in watchOS
11 |
12 | // MARK: - RootControllable protocol
13 | public var root: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
14 | get { window.rootViewController }
15 | set { setRoot(newValue, cleanupCompletion: nil) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:18:36: error: 'UIViewController' is unavailable in watchOS
16 | }
17 |
18 | public func setRoot(_ newRoot: UIViewController?, cleanupCompletion: (() -> Void)?) {
| `- error: 'UIViewController' is unavailable in watchOS
19 | rootCompletion?()
20 | window.rootViewController = newRoot
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:25:29: error: 'UIViewController' is unavailable in watchOS
23 |
24 | // MARK: Presenting protocol
25 | open func present(_ vc: UIViewController, animated: Bool = true, completion: (() -> Void)? = nil) {
| `- error: 'UIViewController' is unavailable in watchOS
26 | guard var topController = root else { return }
27 | while let presentedViewController = topController.presentedViewController {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launching.swift:4:18: error: 'UIWindow' is unavailable in watchOS
2 |
3 | public protocol Launching: RootControllable, Presenting {
4 | init(window: UIWindow)
| `- error: 'UIWindow' is unavailable in watchOS
5 | }
6 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:6:32: error: 'UINavigationController' is unavailable in watchOS
4 | typealias CleanupCompletion = () -> Void
5 |
6 | init(navigationController: UINavigationController)
| `- error: 'UINavigationController' is unavailable in watchOS
7 |
8 | func push(_ vc: UIViewController, animated: Bool, hideBottomBar: Bool, afterPop: CleanupCompletion?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:8:21: error: 'UIViewController' is unavailable in watchOS
6 | init(navigationController: UINavigationController)
7 |
8 | func push(_ vc: UIViewController, animated: Bool, hideBottomBar: Bool, afterPop: CleanupCompletion?)
| `- error: 'UIViewController' is unavailable in watchOS
9 | func replaceLast(with vc: UIViewController, animated: Bool, hideBottomBar: Bool)
10 | func pop(animated: Bool)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:9:31: error: 'UIViewController' is unavailable in watchOS
7 |
8 | func push(_ vc: UIViewController, animated: Bool, hideBottomBar: Bool, afterPop: CleanupCompletion?)
9 | func replaceLast(with vc: UIViewController, animated: Bool, hideBottomBar: Bool)
| `- error: 'UIViewController' is unavailable in watchOS
10 | func pop(animated: Bool)
11 | func popToRoot(animated: Bool)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:12:36: error: 'UIViewController' is unavailable in watchOS
10 | func pop(animated: Bool)
11 | func popToRoot(animated: Bool)
12 | func popToViewController(_ vc: UIViewController, animated: Bool)
| `- error: 'UIViewController' is unavailable in watchOS
13 |
14 | func append(_ viewControllers: [UIViewController], animated: Bool, afterPop completion: CleanupCompletion?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:14:37: error: 'UIViewController' is unavailable in watchOS
12 | func popToViewController(_ vc: UIViewController, animated: Bool)
13 |
14 | func append(_ viewControllers: [UIViewController], animated: Bool, afterPop completion: CleanupCompletion?)
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | var isNavigationBarHidden: Bool { get set }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:19:28: error: 'UIViewController' is unavailable in watchOS
17 | var isNavigationControllerEmpty: Bool { get }
18 |
19 | var topViewController: UIViewController? { get }
| `- error: 'UIViewController' is unavailable in watchOS
20 |
21 | @available(*, deprecated, message: "it's forbidden to access internal navigation controller")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:22:13: error: 'UINavigationController' is unavailable in watchOS
20 |
21 | @available(*, deprecated, message: "it's forbidden to access internal navigation controller")
22 | var nc: UINavigationController { get }
| `- error: 'UINavigationController' is unavailable in watchOS
23 | }
24 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:27:32: error: 'UIViewController' is unavailable in watchOS
25 | /// reasonable defaults for functions (to allow coordinators depend on protocol, but not on implementation)
26 | public extension Navigating {
27 | @inlinable func push(_ vc: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
28 | animated: Bool = true,
29 | hideBottomBar: Bool = false,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:37:42: error: 'UIViewController' is unavailable in watchOS
35 | }
36 |
37 | @inlinable func replaceLast(with vc: UIViewController, animated: Bool = false, hideBottomBar: Bool = false) {
| `- error: 'UIViewController' is unavailable in watchOS
38 | replaceLast(with: vc, animated: animated, hideBottomBar: hideBottomBar)
39 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:49:47: error: 'UIViewController' is unavailable in watchOS
47 | }
48 |
49 | @inlinable func popToViewController(_ vc: UIViewController, animated: Bool = true) {
| `- error: 'UIViewController' is unavailable in watchOS
50 | popToViewController(vc, animated: animated)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:4:20: error: 'UINavigationController' is unavailable in watchOS
2 |
3 | open class Navigator: NSObject, Navigating {
4 | public var nc: UINavigationController { navigationController }
| `- error: 'UINavigationController' is unavailable in watchOS
5 |
6 | private let navigationController: UINavigationController
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:6:39: error: 'UINavigationController' is unavailable in watchOS
4 | public var nc: UINavigationController { navigationController }
5 |
6 | private let navigationController: UINavigationController
| `- error: 'UINavigationController' is unavailable in watchOS
7 | private var completions: [UIViewController: CleanupCompletion] = [:]
8 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:7:31: error: 'UIViewController' is unavailable in watchOS
5 |
6 | private let navigationController: UINavigationController
7 | private var completions: [UIViewController: CleanupCompletion] = [:]
| `- error: 'UIViewController' is unavailable in watchOS
8 |
9 | required public init(navigationController: UINavigationController = UINavigationController()) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:9:48: error: 'UINavigationController' is unavailable in watchOS
7 | private var completions: [UIViewController: CleanupCompletion] = [:]
8 |
9 | required public init(navigationController: UINavigationController = UINavigationController()) {
| `- error: 'UINavigationController' is unavailable in watchOS
10 | self.navigationController = navigationController
11 | super.init()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:9:73: error: 'UINavigationController' is unavailable in watchOS
7 | private var completions: [UIViewController: CleanupCompletion] = [:]
8 |
9 | required public init(navigationController: UINavigationController = UINavigationController()) {
| `- error: 'UINavigationController' is unavailable in watchOS
10 | self.navigationController = navigationController
11 | super.init()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:17:22: error: 'UIViewController' is unavailable in watchOS
15 |
16 | // MARK: - RootControllable protocol
17 | public var root: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
18 | get { navigationController.viewControllers.first }
19 | set { setRoot(newValue, cleanupCompletion: nil) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:24:36: error: 'UIViewController' is unavailable in watchOS
22 | private var rootCompletion: (() -> Void)?
23 |
24 | public func setRoot(_ newRoot: UIViewController?, cleanupCompletion: (() -> Void)?) {
| `- error: 'UIViewController' is unavailable in watchOS
25 | guard let vc = newRoot else {
26 | assertionFailure("navigator cannot set nil as root controller")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:38:29: error: 'UIViewController' is unavailable in watchOS
36 |
37 | // MARK: - Presenting protocol
38 | open func present(_ vc: UIViewController, animated: Bool, completion: (() -> Void)?) {
| `- error: 'UIViewController' is unavailable in watchOS
39 | navigationController.present(vc, animated: animated, completion: completion)
40 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:60:35: error: 'UIViewController' is unavailable in watchOS
58 | public var isNavigationControllerEmpty: Bool { navigationController.viewControllers.isEmpty }
59 |
60 | public var topViewController: UIViewController? { nc.topViewController } // or nc.viewControllers.last
| `- error: 'UIViewController' is unavailable in watchOS
61 |
62 | public func push(_ vc: UIViewController,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:62:28: error: 'UIViewController' is unavailable in watchOS
60 | public var topViewController: UIViewController? { nc.topViewController } // or nc.viewControllers.last
61 |
62 | public func push(_ vc: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
63 | animated: Bool,
64 | hideBottomBar: Bool,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:81:38: error: 'UIViewController' is unavailable in watchOS
79 | }
80 |
81 | public func replaceLast(with vc: UIViewController, animated: Bool, hideBottomBar: Bool) {
| `- error: 'UIViewController' is unavailable in watchOS
82 | var afterPop: CleanupCompletion?
83 | if let lastVC = navigationController.viewControllers.last {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:90:40: error: 'UIViewController' is unavailable in watchOS
88 | }
89 |
90 | public func append(_ controllers: [UIViewController],
| `- error: 'UIViewController' is unavailable in watchOS
91 | animated: Bool,
92 | afterPop completion: CleanupCompletion?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:116:43: error: 'UIViewController' is unavailable in watchOS
114 | }
115 |
116 | public func popToViewController(_ vc: UIViewController, animated: Bool = true) {
| `- error: 'UIViewController' is unavailable in watchOS
117 | guard let controllers = navigationController.popToViewController(vc, animated: animated) else { return }
118 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:125:35: error: 'UIViewController' is unavailable in watchOS
123 |
124 | // MARK: - private helpers
125 | private func resetRoot(to vc: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
126 | for (_, completion) in completions {
127 | completion()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:133:48: error: 'UIViewController' is unavailable in watchOS
131 | }
132 |
133 | private func runCompletion(for controller: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
134 | guard let completion = completions[controller] else { return }
135 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:153:62: error: 'UINavigationController' is unavailable in watchOS
151 | extension Navigator: UINavigationControllerDelegate {
152 | /// This is the main reason to have Navigating
153 | public func navigationController(_ navigationController: UINavigationController,
| `- error: 'UINavigationController' is unavailable in watchOS
154 | didShow viewController: UIViewController,
155 | animated: Bool) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:154:62: error: 'UIViewController' is unavailable in watchOS
152 | /// This is the main reason to have Navigating
153 | public func navigationController(_ navigationController: UINavigationController,
154 | didShow viewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
155 | animated: Bool) {
156 | guard let fromVC = navigationController.transitionCoordinator?.viewController(forKey: .from) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:163:62: error: 'UINavigationController' is unavailable in watchOS
161 | }
162 |
163 | public func navigationController(_ navigationController: UINavigationController,
| `- error: 'UINavigationController' is unavailable in watchOS
164 | willShow viewController: UIViewController,
165 | animated: Bool) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:164:63: error: 'UIViewController' is unavailable in watchOS
162 |
163 | public func navigationController(_ navigationController: UINavigationController,
164 | willShow viewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
165 | animated: Bool) {
166 | guard let toVC = navigationController.transitionCoordinator?.viewController(forKey: .to) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:151:22: error: 'UINavigationControllerDelegate' is unavailable in watchOS
149 | }
150 |
151 | extension Navigator: UINavigationControllerDelegate {
| `- error: 'UINavigationControllerDelegate' is unavailable in watchOS
152 | /// This is the main reason to have Navigating
153 | public func navigationController(_ navigationController: UINavigationController,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:128:11: note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
126 |
127 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
128 | @protocol UINavigationControllerDelegate <NSObject>
| `- note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
129 |
130 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:175:76: error: 'UIPresentationController' is unavailable in watchOS
173 |
174 | extension Navigator: UIAdaptivePresentationControllerDelegate {
175 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
176 | runAllCompletions()
177 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:175:17: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
173 |
174 | extension Navigator: UIAdaptivePresentationControllerDelegate {
175 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
176 | runAllCompletions()
177 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:56:1: note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
54 | // Called on the delegate when the user has taken action to dismiss the presentation successfully, after all animations are finished.
55 | // This is not called if the presentation is dismissed programatically.
56 | - (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
57 |
58 | // Called on the delegate when the user attempts to dismiss the presentation, but user-initiated dismissal is prevented because the presentedViewController isModalInPresentation or presentationControllerShouldDismiss: returned NO.
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:174:22: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
172 | }
173 |
174 | extension Navigator: UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
175 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
176 | runAllCompletions()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:24:11: note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
22 |
23 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @protocol UIAdaptivePresentationControllerDelegate <NSObject>
| `- note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
25 |
26 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Presenting.swift:4:24: error: 'UIViewController' is unavailable in watchOS
2 |
3 | public protocol Presenting: AnyObject {
4 | func present(_ vc: UIViewController, animated: Bool, completion: (() -> Void)?)
| `- error: 'UIViewController' is unavailable in watchOS
5 |
6 | func dismiss(animated: Bool, completion: (() -> Void)?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Presenting.swift:11:35: error: 'UIViewController' is unavailable in watchOS
9 | /// reasonable defaults for functions (to allow coordinators depend on protocol, not on implementation)
10 | public extension Presenting {
11 | @inlinable func present(_ vc: UIViewController, animated: Bool = true, completion: (() -> Void)? = nil) {
| `- error: 'UIViewController' is unavailable in watchOS
12 | present(vc, animated: animated, completion: completion)
13 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/RootControllable.swift:5:15: error: 'UIViewController' is unavailable in watchOS
3 | // no actual need to have this as separate protocol: Launcher and Navigator could not be swapped
4 | public protocol RootControllable: AnyObject {
5 | var root: UIViewController? { get set }
| `- error: 'UIViewController' is unavailable in watchOS
6 | func setRoot(_ newRoot: UIViewController?, cleanupCompletion: (() -> Void)?)
7 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/RootControllable.swift:6:29: error: 'UIViewController' is unavailable in watchOS
4 | public protocol RootControllable: AnyObject {
5 | var root: UIViewController? { get set }
6 | func setRoot(_ newRoot: UIViewController?, cleanupCompletion: (() -> Void)?)
| `- error: 'UIViewController' is unavailable in watchOS
7 | }
8 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Flower/Coordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Launching.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Presenting.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/RootControllable.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64/Flower-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Flower -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64/Flower_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64/Flower.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64/Flower.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64/Flower-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64/Flower-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64/Flower-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64/Flower.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64/Flower.abi.json
SwiftCompile normal arm64 (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Navigator.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift (in target 'Flower' from project 'Flower')
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:4:20: error: 'UINavigationController' is unavailable in watchOS
2 |
3 | open class Navigator: NSObject, Navigating {
4 | public var nc: UINavigationController { navigationController }
| `- error: 'UINavigationController' is unavailable in watchOS
5 |
6 | private let navigationController: UINavigationController
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:6:39: error: 'UINavigationController' is unavailable in watchOS
4 | public var nc: UINavigationController { navigationController }
5 |
6 | private let navigationController: UINavigationController
| `- error: 'UINavigationController' is unavailable in watchOS
7 | private var completions: [UIViewController: CleanupCompletion] = [:]
8 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:7:31: error: 'UIViewController' is unavailable in watchOS
5 |
6 | private let navigationController: UINavigationController
7 | private var completions: [UIViewController: CleanupCompletion] = [:]
| `- error: 'UIViewController' is unavailable in watchOS
8 |
9 | required public init(navigationController: UINavigationController = UINavigationController()) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:9:48: error: 'UINavigationController' is unavailable in watchOS
7 | private var completions: [UIViewController: CleanupCompletion] = [:]
8 |
9 | required public init(navigationController: UINavigationController = UINavigationController()) {
| `- error: 'UINavigationController' is unavailable in watchOS
10 | self.navigationController = navigationController
11 | super.init()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:9:73: error: 'UINavigationController' is unavailable in watchOS
7 | private var completions: [UIViewController: CleanupCompletion] = [:]
8 |
9 | required public init(navigationController: UINavigationController = UINavigationController()) {
| `- error: 'UINavigationController' is unavailable in watchOS
10 | self.navigationController = navigationController
11 | super.init()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:17:22: error: 'UIViewController' is unavailable in watchOS
15 |
16 | // MARK: - RootControllable protocol
17 | public var root: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
18 | get { navigationController.viewControllers.first }
19 | set { setRoot(newValue, cleanupCompletion: nil) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:24:36: error: 'UIViewController' is unavailable in watchOS
22 | private var rootCompletion: (() -> Void)?
23 |
24 | public func setRoot(_ newRoot: UIViewController?, cleanupCompletion: (() -> Void)?) {
| `- error: 'UIViewController' is unavailable in watchOS
25 | guard let vc = newRoot else {
26 | assertionFailure("navigator cannot set nil as root controller")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:38:29: error: 'UIViewController' is unavailable in watchOS
36 |
37 | // MARK: - Presenting protocol
38 | open func present(_ vc: UIViewController, animated: Bool, completion: (() -> Void)?) {
| `- error: 'UIViewController' is unavailable in watchOS
39 | navigationController.present(vc, animated: animated, completion: completion)
40 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:60:35: error: 'UIViewController' is unavailable in watchOS
58 | public var isNavigationControllerEmpty: Bool { navigationController.viewControllers.isEmpty }
59 |
60 | public var topViewController: UIViewController? { nc.topViewController } // or nc.viewControllers.last
| `- error: 'UIViewController' is unavailable in watchOS
61 |
62 | public func push(_ vc: UIViewController,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:62:28: error: 'UIViewController' is unavailable in watchOS
60 | public var topViewController: UIViewController? { nc.topViewController } // or nc.viewControllers.last
61 |
62 | public func push(_ vc: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
63 | animated: Bool,
64 | hideBottomBar: Bool,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:81:38: error: 'UIViewController' is unavailable in watchOS
79 | }
80 |
81 | public func replaceLast(with vc: UIViewController, animated: Bool, hideBottomBar: Bool) {
| `- error: 'UIViewController' is unavailable in watchOS
82 | var afterPop: CleanupCompletion?
83 | if let lastVC = navigationController.viewControllers.last {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:90:40: error: 'UIViewController' is unavailable in watchOS
88 | }
89 |
90 | public func append(_ controllers: [UIViewController],
| `- error: 'UIViewController' is unavailable in watchOS
91 | animated: Bool,
92 | afterPop completion: CleanupCompletion?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:116:43: error: 'UIViewController' is unavailable in watchOS
114 | }
115 |
116 | public func popToViewController(_ vc: UIViewController, animated: Bool = true) {
| `- error: 'UIViewController' is unavailable in watchOS
117 | guard let controllers = navigationController.popToViewController(vc, animated: animated) else { return }
118 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:125:35: error: 'UIViewController' is unavailable in watchOS
123 |
124 | // MARK: - private helpers
125 | private func resetRoot(to vc: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
126 | for (_, completion) in completions {
127 | completion()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:133:48: error: 'UIViewController' is unavailable in watchOS
131 | }
132 |
133 | private func runCompletion(for controller: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
134 | guard let completion = completions[controller] else { return }
135 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:153:62: error: 'UINavigationController' is unavailable in watchOS
151 | extension Navigator: UINavigationControllerDelegate {
152 | /// This is the main reason to have Navigating
153 | public func navigationController(_ navigationController: UINavigationController,
| `- error: 'UINavigationController' is unavailable in watchOS
154 | didShow viewController: UIViewController,
155 | animated: Bool) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:154:62: error: 'UIViewController' is unavailable in watchOS
152 | /// This is the main reason to have Navigating
153 | public func navigationController(_ navigationController: UINavigationController,
154 | didShow viewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
155 | animated: Bool) {
156 | guard let fromVC = navigationController.transitionCoordinator?.viewController(forKey: .from) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:163:62: error: 'UINavigationController' is unavailable in watchOS
161 | }
162 |
163 | public func navigationController(_ navigationController: UINavigationController,
| `- error: 'UINavigationController' is unavailable in watchOS
164 | willShow viewController: UIViewController,
165 | animated: Bool) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Navigator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:164:63: error: 'UIViewController' is unavailable in watchOS
162 |
163 | public func navigationController(_ navigationController: UINavigationController,
164 | willShow viewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
165 | animated: Bool) {
166 | guard let toVC = navigationController.transitionCoordinator?.viewController(forKey: .to) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:151:22: error: 'UINavigationControllerDelegate' is unavailable in watchOS
149 | }
150 |
151 | extension Navigator: UINavigationControllerDelegate {
| `- error: 'UINavigationControllerDelegate' is unavailable in watchOS
152 | /// This is the main reason to have Navigating
153 | public func navigationController(_ navigationController: UINavigationController,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:128:11: note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
126 |
127 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
128 | @protocol UINavigationControllerDelegate <NSObject>
| `- note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
129 |
130 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:175:76: error: 'UIPresentationController' is unavailable in watchOS
173 |
174 | extension Navigator: UIAdaptivePresentationControllerDelegate {
175 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
176 | runAllCompletions()
177 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:175:17: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
173 |
174 | extension Navigator: UIAdaptivePresentationControllerDelegate {
175 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
176 | runAllCompletions()
177 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:56:1: note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
54 | // Called on the delegate when the user has taken action to dismiss the presentation successfully, after all animations are finished.
55 | // This is not called if the presentation is dismissed programatically.
56 | - (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
57 |
58 | // Called on the delegate when the user attempts to dismiss the presentation, but user-initiated dismissal is prevented because the presentedViewController isModalInPresentation or presentationControllerShouldDismiss: returned NO.
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:174:22: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
172 | }
173 |
174 | extension Navigator: UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
175 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
176 | runAllCompletions()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:24:11: note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
22 |
23 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @protocol UIAdaptivePresentationControllerDelegate <NSObject>
| `- note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
25 |
26 | @optional
SwiftCompile normal arm64 Compiling\ RootControllable.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/RootControllable.swift (in target 'Flower' from project 'Flower')
/Users/admin/builder/spi-builder-workspace/Sources/Flower/RootControllable.swift:5:15: error: 'UIViewController' is unavailable in watchOS
3 | // no actual need to have this as separate protocol: Launcher and Navigator could not be swapped
4 | public protocol RootControllable: AnyObject {
5 | var root: UIViewController? { get set }
| `- error: 'UIViewController' is unavailable in watchOS
6 | func setRoot(_ newRoot: UIViewController?, cleanupCompletion: (() -> Void)?)
7 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Flower/RootControllable.swift (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RootControllable.swift
SwiftCompile normal arm64 Compiling\ Coordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Coordinator.swift (in target 'Flower' from project 'Flower')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Flower/Coordinator.swift (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Coordinator.swift
SwiftCompile normal arm64 Compiling\ Launcher.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift (in target 'Flower' from project 'Flower')
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:4:25: error: 'UIWindow' is unavailable in watchOS
2 |
3 | open class Launcher: Launching {
4 | private let window: UIWindow
| `- error: 'UIWindow' is unavailable in watchOS
5 | private var rootCompletion: (() -> Void)?
6 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:7:34: error: 'UIWindow' is unavailable in watchOS
5 | private var rootCompletion: (() -> Void)?
6 |
7 | required public init(window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
8 | self.window = window
9 | self.window.makeKeyAndVisible()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:13:22: error: 'UIViewController' is unavailable in watchOS
11 |
12 | // MARK: - RootControllable protocol
13 | public var root: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
14 | get { window.rootViewController }
15 | set { setRoot(newValue, cleanupCompletion: nil) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:18:36: error: 'UIViewController' is unavailable in watchOS
16 | }
17 |
18 | public func setRoot(_ newRoot: UIViewController?, cleanupCompletion: (() -> Void)?) {
| `- error: 'UIViewController' is unavailable in watchOS
19 | rootCompletion?()
20 | window.rootViewController = newRoot
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Launcher.swift
SwiftCompile normal arm64 Compiling\ Navigating.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift (in target 'Flower' from project 'Flower')
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:6:32: error: 'UINavigationController' is unavailable in watchOS
4 | typealias CleanupCompletion = () -> Void
5 |
6 | init(navigationController: UINavigationController)
| `- error: 'UINavigationController' is unavailable in watchOS
7 |
8 | func push(_ vc: UIViewController, animated: Bool, hideBottomBar: Bool, afterPop: CleanupCompletion?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:8:21: error: 'UIViewController' is unavailable in watchOS
6 | init(navigationController: UINavigationController)
7 |
8 | func push(_ vc: UIViewController, animated: Bool, hideBottomBar: Bool, afterPop: CleanupCompletion?)
| `- error: 'UIViewController' is unavailable in watchOS
9 | func replaceLast(with vc: UIViewController, animated: Bool, hideBottomBar: Bool)
10 | func pop(animated: Bool)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:9:31: error: 'UIViewController' is unavailable in watchOS
7 |
8 | func push(_ vc: UIViewController, animated: Bool, hideBottomBar: Bool, afterPop: CleanupCompletion?)
9 | func replaceLast(with vc: UIViewController, animated: Bool, hideBottomBar: Bool)
| `- error: 'UIViewController' is unavailable in watchOS
10 | func pop(animated: Bool)
11 | func popToRoot(animated: Bool)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:12:36: error: 'UIViewController' is unavailable in watchOS
10 | func pop(animated: Bool)
11 | func popToRoot(animated: Bool)
12 | func popToViewController(_ vc: UIViewController, animated: Bool)
| `- error: 'UIViewController' is unavailable in watchOS
13 |
14 | func append(_ viewControllers: [UIViewController], animated: Bool, afterPop completion: CleanupCompletion?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:14:37: error: 'UIViewController' is unavailable in watchOS
12 | func popToViewController(_ vc: UIViewController, animated: Bool)
13 |
14 | func append(_ viewControllers: [UIViewController], animated: Bool, afterPop completion: CleanupCompletion?)
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | var isNavigationBarHidden: Bool { get set }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:19:28: error: 'UIViewController' is unavailable in watchOS
17 | var isNavigationControllerEmpty: Bool { get }
18 |
19 | var topViewController: UIViewController? { get }
| `- error: 'UIViewController' is unavailable in watchOS
20 |
21 | @available(*, deprecated, message: "it's forbidden to access internal navigation controller")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:22:13: error: 'UINavigationController' is unavailable in watchOS
20 |
21 | @available(*, deprecated, message: "it's forbidden to access internal navigation controller")
22 | var nc: UINavigationController { get }
| `- error: 'UINavigationController' is unavailable in watchOS
23 | }
24 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:27:32: error: 'UIViewController' is unavailable in watchOS
25 | /// reasonable defaults for functions (to allow coordinators depend on protocol, but not on implementation)
26 | public extension Navigating {
27 | @inlinable func push(_ vc: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
28 | animated: Bool = true,
29 | hideBottomBar: Bool = false,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:37:42: error: 'UIViewController' is unavailable in watchOS
35 | }
36 |
37 | @inlinable func replaceLast(with vc: UIViewController, animated: Bool = false, hideBottomBar: Bool = false) {
| `- error: 'UIViewController' is unavailable in watchOS
38 | replaceLast(with: vc, animated: animated, hideBottomBar: hideBottomBar)
39 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Navigating.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Flower (in target 'Flower' from project 'Flower')
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:4:25: error: 'UIWindow' is unavailable in watchOS
2 |
3 | open class Launcher: Launching {
4 | private let window: UIWindow
| `- error: 'UIWindow' is unavailable in watchOS
5 | private var rootCompletion: (() -> Void)?
6 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:7:34: error: 'UIWindow' is unavailable in watchOS
5 | private var rootCompletion: (() -> Void)?
6 |
7 | required public init(window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
8 | self.window = window
9 | self.window.makeKeyAndVisible()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:13:22: error: 'UIViewController' is unavailable in watchOS
11 |
12 | // MARK: - RootControllable protocol
13 | public var root: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
14 | get { window.rootViewController }
15 | set { setRoot(newValue, cleanupCompletion: nil) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:18:36: error: 'UIViewController' is unavailable in watchOS
16 | }
17 |
18 | public func setRoot(_ newRoot: UIViewController?, cleanupCompletion: (() -> Void)?) {
| `- error: 'UIViewController' is unavailable in watchOS
19 | rootCompletion?()
20 | window.rootViewController = newRoot
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift:25:29: error: 'UIViewController' is unavailable in watchOS
23 |
24 | // MARK: Presenting protocol
25 | open func present(_ vc: UIViewController, animated: Bool = true, completion: (() -> Void)? = nil) {
| `- error: 'UIViewController' is unavailable in watchOS
26 | guard var topController = root else { return }
27 | while let presentedViewController = topController.presentedViewController {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Launching.swift:4:18: error: 'UIWindow' is unavailable in watchOS
2 |
3 | public protocol Launching: RootControllable, Presenting {
4 | init(window: UIWindow)
| `- error: 'UIWindow' is unavailable in watchOS
5 | }
6 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:6:32: error: 'UINavigationController' is unavailable in watchOS
4 | typealias CleanupCompletion = () -> Void
5 |
6 | init(navigationController: UINavigationController)
| `- error: 'UINavigationController' is unavailable in watchOS
7 |
8 | func push(_ vc: UIViewController, animated: Bool, hideBottomBar: Bool, afterPop: CleanupCompletion?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:8:21: error: 'UIViewController' is unavailable in watchOS
6 | init(navigationController: UINavigationController)
7 |
8 | func push(_ vc: UIViewController, animated: Bool, hideBottomBar: Bool, afterPop: CleanupCompletion?)
| `- error: 'UIViewController' is unavailable in watchOS
9 | func replaceLast(with vc: UIViewController, animated: Bool, hideBottomBar: Bool)
10 | func pop(animated: Bool)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:9:31: error: 'UIViewController' is unavailable in watchOS
7 |
8 | func push(_ vc: UIViewController, animated: Bool, hideBottomBar: Bool, afterPop: CleanupCompletion?)
9 | func replaceLast(with vc: UIViewController, animated: Bool, hideBottomBar: Bool)
| `- error: 'UIViewController' is unavailable in watchOS
10 | func pop(animated: Bool)
11 | func popToRoot(animated: Bool)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:12:36: error: 'UIViewController' is unavailable in watchOS
10 | func pop(animated: Bool)
11 | func popToRoot(animated: Bool)
12 | func popToViewController(_ vc: UIViewController, animated: Bool)
| `- error: 'UIViewController' is unavailable in watchOS
13 |
14 | func append(_ viewControllers: [UIViewController], animated: Bool, afterPop completion: CleanupCompletion?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:14:37: error: 'UIViewController' is unavailable in watchOS
12 | func popToViewController(_ vc: UIViewController, animated: Bool)
13 |
14 | func append(_ viewControllers: [UIViewController], animated: Bool, afterPop completion: CleanupCompletion?)
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | var isNavigationBarHidden: Bool { get set }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:19:28: error: 'UIViewController' is unavailable in watchOS
17 | var isNavigationControllerEmpty: Bool { get }
18 |
19 | var topViewController: UIViewController? { get }
| `- error: 'UIViewController' is unavailable in watchOS
20 |
21 | @available(*, deprecated, message: "it's forbidden to access internal navigation controller")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:22:13: error: 'UINavigationController' is unavailable in watchOS
20 |
21 | @available(*, deprecated, message: "it's forbidden to access internal navigation controller")
22 | var nc: UINavigationController { get }
| `- error: 'UINavigationController' is unavailable in watchOS
23 | }
24 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:27:32: error: 'UIViewController' is unavailable in watchOS
25 | /// reasonable defaults for functions (to allow coordinators depend on protocol, but not on implementation)
26 | public extension Navigating {
27 | @inlinable func push(_ vc: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
28 | animated: Bool = true,
29 | hideBottomBar: Bool = false,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:37:42: error: 'UIViewController' is unavailable in watchOS
35 | }
36 |
37 | @inlinable func replaceLast(with vc: UIViewController, animated: Bool = false, hideBottomBar: Bool = false) {
| `- error: 'UIViewController' is unavailable in watchOS
38 | replaceLast(with: vc, animated: animated, hideBottomBar: hideBottomBar)
39 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift:49:47: error: 'UIViewController' is unavailable in watchOS
47 | }
48 |
49 | @inlinable func popToViewController(_ vc: UIViewController, animated: Bool = true) {
| `- error: 'UIViewController' is unavailable in watchOS
50 | popToViewController(vc, animated: animated)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:4:20: error: 'UINavigationController' is unavailable in watchOS
2 |
3 | open class Navigator: NSObject, Navigating {
4 | public var nc: UINavigationController { navigationController }
| `- error: 'UINavigationController' is unavailable in watchOS
5 |
6 | private let navigationController: UINavigationController
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:6:39: error: 'UINavigationController' is unavailable in watchOS
4 | public var nc: UINavigationController { navigationController }
5 |
6 | private let navigationController: UINavigationController
| `- error: 'UINavigationController' is unavailable in watchOS
7 | private var completions: [UIViewController: CleanupCompletion] = [:]
8 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:7:31: error: 'UIViewController' is unavailable in watchOS
5 |
6 | private let navigationController: UINavigationController
7 | private var completions: [UIViewController: CleanupCompletion] = [:]
| `- error: 'UIViewController' is unavailable in watchOS
8 |
9 | required public init(navigationController: UINavigationController = UINavigationController()) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:9:48: error: 'UINavigationController' is unavailable in watchOS
7 | private var completions: [UIViewController: CleanupCompletion] = [:]
8 |
9 | required public init(navigationController: UINavigationController = UINavigationController()) {
| `- error: 'UINavigationController' is unavailable in watchOS
10 | self.navigationController = navigationController
11 | super.init()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:9:73: error: 'UINavigationController' is unavailable in watchOS
7 | private var completions: [UIViewController: CleanupCompletion] = [:]
8 |
9 | required public init(navigationController: UINavigationController = UINavigationController()) {
| `- error: 'UINavigationController' is unavailable in watchOS
10 | self.navigationController = navigationController
11 | super.init()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:17:22: error: 'UIViewController' is unavailable in watchOS
15 |
16 | // MARK: - RootControllable protocol
17 | public var root: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
18 | get { navigationController.viewControllers.first }
19 | set { setRoot(newValue, cleanupCompletion: nil) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:24:36: error: 'UIViewController' is unavailable in watchOS
22 | private var rootCompletion: (() -> Void)?
23 |
24 | public func setRoot(_ newRoot: UIViewController?, cleanupCompletion: (() -> Void)?) {
| `- error: 'UIViewController' is unavailable in watchOS
25 | guard let vc = newRoot else {
26 | assertionFailure("navigator cannot set nil as root controller")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:38:29: error: 'UIViewController' is unavailable in watchOS
36 |
37 | // MARK: - Presenting protocol
38 | open func present(_ vc: UIViewController, animated: Bool, completion: (() -> Void)?) {
| `- error: 'UIViewController' is unavailable in watchOS
39 | navigationController.present(vc, animated: animated, completion: completion)
40 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:60:35: error: 'UIViewController' is unavailable in watchOS
58 | public var isNavigationControllerEmpty: Bool { navigationController.viewControllers.isEmpty }
59 |
60 | public var topViewController: UIViewController? { nc.topViewController } // or nc.viewControllers.last
| `- error: 'UIViewController' is unavailable in watchOS
61 |
62 | public func push(_ vc: UIViewController,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:62:28: error: 'UIViewController' is unavailable in watchOS
60 | public var topViewController: UIViewController? { nc.topViewController } // or nc.viewControllers.last
61 |
62 | public func push(_ vc: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
63 | animated: Bool,
64 | hideBottomBar: Bool,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:81:38: error: 'UIViewController' is unavailable in watchOS
79 | }
80 |
81 | public func replaceLast(with vc: UIViewController, animated: Bool, hideBottomBar: Bool) {
| `- error: 'UIViewController' is unavailable in watchOS
82 | var afterPop: CleanupCompletion?
83 | if let lastVC = navigationController.viewControllers.last {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:90:40: error: 'UIViewController' is unavailable in watchOS
88 | }
89 |
90 | public func append(_ controllers: [UIViewController],
| `- error: 'UIViewController' is unavailable in watchOS
91 | animated: Bool,
92 | afterPop completion: CleanupCompletion?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:116:43: error: 'UIViewController' is unavailable in watchOS
114 | }
115 |
116 | public func popToViewController(_ vc: UIViewController, animated: Bool = true) {
| `- error: 'UIViewController' is unavailable in watchOS
117 | guard let controllers = navigationController.popToViewController(vc, animated: animated) else { return }
118 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:125:35: error: 'UIViewController' is unavailable in watchOS
123 |
124 | // MARK: - private helpers
125 | private func resetRoot(to vc: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
126 | for (_, completion) in completions {
127 | completion()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:133:48: error: 'UIViewController' is unavailable in watchOS
131 | }
132 |
133 | private func runCompletion(for controller: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
134 | guard let completion = completions[controller] else { return }
135 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:153:62: error: 'UINavigationController' is unavailable in watchOS
151 | extension Navigator: UINavigationControllerDelegate {
152 | /// This is the main reason to have Navigating
153 | public func navigationController(_ navigationController: UINavigationController,
| `- error: 'UINavigationController' is unavailable in watchOS
154 | didShow viewController: UIViewController,
155 | animated: Bool) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:154:62: error: 'UIViewController' is unavailable in watchOS
152 | /// This is the main reason to have Navigating
153 | public func navigationController(_ navigationController: UINavigationController,
154 | didShow viewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
155 | animated: Bool) {
156 | guard let fromVC = navigationController.transitionCoordinator?.viewController(forKey: .from) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:163:62: error: 'UINavigationController' is unavailable in watchOS
161 | }
162 |
163 | public func navigationController(_ navigationController: UINavigationController,
| `- error: 'UINavigationController' is unavailable in watchOS
164 | willShow viewController: UIViewController,
165 | animated: Bool) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:164:63: error: 'UIViewController' is unavailable in watchOS
162 |
163 | public func navigationController(_ navigationController: UINavigationController,
164 | willShow viewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
165 | animated: Bool) {
166 | guard let toVC = navigationController.transitionCoordinator?.viewController(forKey: .to) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:151:22: error: 'UINavigationControllerDelegate' is unavailable in watchOS
149 | }
150 |
151 | extension Navigator: UINavigationControllerDelegate {
| `- error: 'UINavigationControllerDelegate' is unavailable in watchOS
152 | /// This is the main reason to have Navigating
153 | public func navigationController(_ navigationController: UINavigationController,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:128:11: note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
126 |
127 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
128 | @protocol UINavigationControllerDelegate <NSObject>
| `- note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
129 |
130 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:175:76: error: 'UIPresentationController' is unavailable in watchOS
173 |
174 | extension Navigator: UIAdaptivePresentationControllerDelegate {
175 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
176 | runAllCompletions()
177 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:175:17: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
173 |
174 | extension Navigator: UIAdaptivePresentationControllerDelegate {
175 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
176 | runAllCompletions()
177 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:56:1: note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
54 | // Called on the delegate when the user has taken action to dismiss the presentation successfully, after all animations are finished.
55 | // This is not called if the presentation is dismissed programatically.
56 | - (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
57 |
58 | // Called on the delegate when the user attempts to dismiss the presentation, but user-initiated dismissal is prevented because the presentedViewController isModalInPresentation or presentationControllerShouldDismiss: returned NO.
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift:174:22: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
172 | }
173 |
174 | extension Navigator: UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
175 | public func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
176 | runAllCompletions()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:24:11: note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
22 |
23 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @protocol UIAdaptivePresentationControllerDelegate <NSObject>
| `- note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
25 |
26 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Presenting.swift:4:24: error: 'UIViewController' is unavailable in watchOS
2 |
3 | public protocol Presenting: AnyObject {
4 | func present(_ vc: UIViewController, animated: Bool, completion: (() -> Void)?)
| `- error: 'UIViewController' is unavailable in watchOS
5 |
6 | func dismiss(animated: Bool, completion: (() -> Void)?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/Presenting.swift:11:35: error: 'UIViewController' is unavailable in watchOS
9 | /// reasonable defaults for functions (to allow coordinators depend on protocol, not on implementation)
10 | public extension Presenting {
11 | @inlinable func present(_ vc: UIViewController, animated: Bool = true, completion: (() -> Void)? = nil) {
| `- error: 'UIViewController' is unavailable in watchOS
12 | present(vc, animated: animated, completion: completion)
13 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/RootControllable.swift:5:15: error: 'UIViewController' is unavailable in watchOS
3 | // no actual need to have this as separate protocol: Launcher and Navigator could not be swapped
4 | public protocol RootControllable: AnyObject {
5 | var root: UIViewController? { get set }
| `- error: 'UIViewController' is unavailable in watchOS
6 | func setRoot(_ newRoot: UIViewController?, cleanupCompletion: (() -> Void)?)
7 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Flower/RootControllable.swift:6:29: error: 'UIViewController' is unavailable in watchOS
4 | public protocol RootControllable: AnyObject {
5 | var root: UIViewController? { get set }
6 | func setRoot(_ newRoot: UIViewController?, cleanupCompletion: (() -> Void)?)
| `- error: 'UIViewController' is unavailable in watchOS
7 | }
8 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Flower/Coordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Launcher.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Launching.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigating.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Navigator.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Presenting.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/RootControllable.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64_32/Flower-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Flower -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64_32/Flower_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64_32/Flower.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64_32/Flower.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64_32/Flower-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64_32/Flower-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64_32/Flower-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64_32/Flower.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Flower.build/Debug-watchos/Flower-t.build/Objects-normal/arm64_32/Flower.abi.json
SwiftCompile normal arm64_32 (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ RootControllable.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/RootControllable.swift (in target 'Flower' from project 'Flower')
/Users/admin/builder/spi-builder-workspace/Sources/Flower/RootControllable.swift:5:15: error: 'UIViewController' is unavailable in watchOS
3 | // no actual need to have this as separate protocol: Launcher and Navigator could not be swapped
4 | public protocol RootControllable: AnyObject {
5 | var root: UIViewController? { get set }
| `- error: 'UIViewController' is unavailable in watchOS
6 | func setRoot(_ newRoot: UIViewController?, cleanupCompletion: (() -> Void)?)
7 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Flower/RootControllable.swift (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RootControllable.swift
SwiftCompile normal arm64_32 Compiling\ Coordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/Flower/Coordinator.swift (in target 'Flower' from project 'Flower')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Flower/Coordinator.swift (in target 'Flower' from project 'Flower')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Coordinator.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-18 17:25:35.080 xcodebuild[780:4727] [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\ Flower (in target 'Flower' from project 'Flower')
SwiftCompile normal arm64 (in target 'Flower' from project 'Flower')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Flower (in target 'Flower' from project 'Flower')
SwiftCompile normal arm64_32 (in target 'Flower' from project 'Flower')
Building workspace Flower with scheme Flower
(5 failures)
BUILD FAILURE 6.4 watchOS