Build Information
Failed to build NavigationBarHelper, reference 1.0.0 (767b5b), with Swift 6.4 for watchOS using Xcode 27.0 on 16 Sep 2026 13:01:45 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 NavigationBarHelper -destination generic/platform=watchOSBuild Log
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:88:63: error: 'UIBlurEffect' is unavailable in watchOS
86 | } else {
87 | if isTranslucent {
88 | let blurView = UIVisualEffectView(effect: UIBlurEffect(style: barStyle.defaultBlurEffectConfig.0))
| `- error: 'UIBlurEffect' is unavailable in watchOS
89 | blurView.contentView.backgroundColor = barStyle.defaultBlurEffectConfig.1
90 | //It turns out that when the bar is dark, the contentView makes the backgroundView darker. So we remove it.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:61:12: note: 'UIBlurEffect' has been explicitly marked unavailable here
59 | /* UIBlurEffect will provide a blur that appears to have been applied to the content layered behind the UIVisualEffectView. Views added to the contentView of a blur visual effect are not blurred themselves. */
60 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
61 | @interface UIBlurEffect : UIVisualEffect
| `- note: 'UIBlurEffect' has been explicitly marked unavailable here
62 |
63 | + (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
SwiftEmitModule normal arm64 Emitting\ module\ for\ NavigationBarHelper (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:40:37: error: 'UINavigationBar' is unavailable in watchOS
38 | }
39 |
40 | convenience init(navigationBar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
41 | self.init(frame: navigationBar.bounds)
42 | update(withNavigationBar: navigationBar)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:49:45: error: 'UINavigationBar' is unavailable in watchOS
47 | }
48 |
49 | open func update(withNavigationBar bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
50 | let backgroundImg = bar.backgroundImage(for: .default)
51 | frame = bar.bounds
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:62:49: error: 'UIBarStyle' is unavailable in watchOS
60 | barTintColor: UIColor?,
61 | isTranslucent: Bool,
62 | barStyle: UIBarStyle,
| `- error: 'UIBarStyle' is unavailable in watchOS
63 | shadowImage: UIImage?) {
64 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:18:28: note: 'UIBarStyle' has been explicitly marked unavailable here
16 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
17 |
18 | typedef NS_ENUM(NSInteger, UIBarStyle) {
| `- note: 'UIBarStyle' has been explicitly marked unavailable here
19 | UIBarStyleDefault = 0,
20 | UIBarStyleBlack = 1,
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:116:38: error: 'UIScreen' is unavailable in watchOS
114 | }
115 |
116 | private let shadowHeight = 1.0 / UIScreen.main.scale
| `- error: 'UIScreen' is unavailable in watchOS
117 |
118 | private let contentView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:116:47: error: 'main' is unavailable in watchOS
114 | }
115 |
116 | private let shadowHeight = 1.0 / UIScreen.main.scale
| `- error: 'main' is unavailable in watchOS
117 |
118 | private let contentView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:118:31: error: 'UIView' is unavailable in watchOS
116 | private let shadowHeight = 1.0 / UIScreen.main.scale
117 |
118 | private let contentView = UIView()
| `- error: 'UIView' is unavailable in watchOS
119 |
120 | private let shadowImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:118:31: error: 'init()' is unavailable in watchOS
116 | private let shadowHeight = 1.0 / UIScreen.main.scale
117 |
118 | private let contentView = UIView()
| `- error: 'init()' is unavailable in watchOS
119 |
120 | private let shadowImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:120:35: error: 'UIImageView' is unavailable in watchOS
118 | private let contentView = UIView()
119 |
120 | private let shadowImageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
121 |
122 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:120:35: error: 'init()' is unavailable in watchOS
118 | private let contentView = UIView()
119 |
120 | private let shadowImageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
121 |
122 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:26:41: error: 'UIView' is unavailable in watchOS
24 | import UIKit
25 |
26 | open class NavigationBarBackgroundView: UIView {
| `- error: 'UIView' is unavailable in watchOS
27 |
28 | public override init(frame: CGRect) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:28:52: error: 'UIBarMetrics' is unavailable in watchOS
26 | public extension NavigationBarHelper {
27 |
28 | typealias BackgroundAttr = (backgroundImages: [UIBarMetrics: UIImage], shadowImage: UIImage?, barTintColor: UIColor?, isTranslucent: Bool)
| `- error: 'UIBarMetrics' is unavailable in watchOS
29 |
30 | typealias ForegroundAttr = (tintColor: UIColor?, barStyle: UIBarStyle, titleAttributes: [NSAttributedString.Key: Any]?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h:13:28: note: 'UIBarMetrics' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIBarMetrics) {
| `- note: 'UIBarMetrics' has been explicitly marked unavailable here
14 | UIBarMetricsDefault,
15 | UIBarMetricsCompact,
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:30:64: error: 'UIBarStyle' is unavailable in watchOS
28 | typealias BackgroundAttr = (backgroundImages: [UIBarMetrics: UIImage], shadowImage: UIImage?, barTintColor: UIColor?, isTranslucent: Bool)
29 |
30 | typealias ForegroundAttr = (tintColor: UIColor?, barStyle: UIBarStyle, titleAttributes: [NSAttributedString.Key: Any]?)
| `- error: 'UIBarStyle' is unavailable in watchOS
31 |
32 | func stashBackgroundAttr(for bar: UINavigationBar) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:18:28: note: 'UIBarStyle' has been explicitly marked unavailable here
16 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
17 |
18 | typedef NS_ENUM(NSInteger, UIBarStyle) {
| `- note: 'UIBarStyle' has been explicitly marked unavailable here
19 | UIBarStyleDefault = 0,
20 | UIBarStyleBlack = 1,
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:32:39: error: 'UINavigationBar' is unavailable in watchOS
30 | typealias ForegroundAttr = (tintColor: UIColor?, barStyle: UIBarStyle, titleAttributes: [NSAttributedString.Key: Any]?)
31 |
32 | func stashBackgroundAttr(for bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
33 | var backgroundImages = [UIBarMetrics: UIImage]()
34 | [UIBarMetrics.default, UIBarMetrics.compact, UIBarMetrics.defaultPrompt, UIBarMetrics.compactPrompt].forEach {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:44:41: error: 'UINavigationBar' is unavailable in watchOS
42 | }
43 |
44 | func restoreBackgroundAttr(for bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
45 | guard var attr = backgroundAttr else {
46 | 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/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:65:39: error: 'UINavigationBar' is unavailable in watchOS
63 | }
64 |
65 | func stashForegroundAttr(for bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
66 | foregroundAttr = (bar.tintColor, bar.barStyle, bar.titleTextAttributes)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:69:41: error: 'UINavigationBar' is unavailable in watchOS
67 | }
68 |
69 | func restoreForegroundAttr(for bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
70 | guard var attr = foregroundAttr else {
71 | 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/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:85:51: error: 'UINavigationBar' is unavailable in watchOS
83 | }
84 |
85 | internal func fixNavigationTitleView(for bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
86 | //It turns out that when the transition is ongoing, the barStyle does not change the title label correctly.
87 | //So we have to change the title color manually when the titleAttributes are not 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/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:28:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
26 | extension UIViewController {
27 |
28 | open var navigationBarHelper: NavigationBarHelper {
| `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
29 |
30 | get {
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:26:11: error: 'UIViewController' is unavailable in watchOS
24 | import UIKit
25 |
26 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
27 |
28 | open var navigationBarHelper: NavigationBarHelper {
/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/NavigationBarHelper/NavigationBarHelper.swift:98:26: error: 'UIViewController' is unavailable in watchOS
96 | public private(set) var view: NavigationBarBackgroundView?
97 |
98 | init(viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
99 | self.viewController = viewController
100 | }
/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/NavigationBarHelper/NavigationBarHelper.swift:107:37: error: 'UINavigationBar' is unavailable in watchOS
105 | ///It will create a mirror background view of the navigation bar (auto managed) and clear the bar background (to provide a smooth transition).
106 | ///Any change to the navigation bar's background (background image/barTintColor/barStyle/shadowImage) within the scope will be syncronized with the mirror view.
107 | public func perform(_ action: ((UINavigationBar) -> ())?) {
| `- error: 'UINavigationBar' is unavailable in watchOS
108 | guard let bar = viewController?.navigationController?.navigationBar else {
109 | 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/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:205:30: error: 'UIViewController' is unavailable in watchOS
203 | }
204 |
205 | weak var viewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
206 |
207 | var keyPathObservations: [NSKeyValueObservation]?
/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/NavigationBarHelper/NavigationBarHelper.swift:223:40: error: 'UINavigationBar' is unavailable in watchOS
221 | extension NavigationBarHelper {
222 |
223 | private func beginUpdate(with bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
224 |
225 | guard let previousHelper = viewController?.previousNavigationBarHelper else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:231:38: error: 'UINavigationBar' is unavailable in watchOS
229 | }
230 |
231 | private func endUpdate(with bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
232 | guard viewController?.isViewLoaded ?? false, let containerView = viewController?.view else {
233 | 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/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:279:17: error: 'UIViewController' is unavailable in watchOS
277 | do {
278 | if #available(iOS 11.0, *) {
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
| `- error: 'UIViewController' is unavailable in watchOS
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
/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/NavigationBarHelper/NavigationBarHelper.swift:279:53: error: 'UIViewController' is unavailable in watchOS
277 | do {
278 | if #available(iOS 11.0, *) {
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
| `- error: 'UIViewController' is unavailable in watchOS
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
/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/NavigationBarHelper/NavigationBarHelper.swift:279:70: error: 'viewSafeAreaInsetsDidChange()' is unavailable in watchOS
277 | do {
278 | if #available(iOS 11.0, *) {
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
| `- error: 'viewSafeAreaInsetsDidChange()' is unavailable in watchOS
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
/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:585:1: note: 'viewSafeAreaInsetsDidChange()' has been explicitly marked unavailable here
583 |
584 | - (void)viewLayoutMarginsDidChange NS_REQUIRES_SUPER API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
585 | - (void)viewSafeAreaInsetsDidChange NS_REQUIRES_SUPER API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'viewSafeAreaInsetsDidChange()' has been explicitly marked unavailable here
586 |
587 | @end
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:279:119: error: 'UIViewController' is unavailable in watchOS
277 | do {
278 | if #available(iOS 11.0, *) {
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
| `- error: 'UIViewController' is unavailable in watchOS
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
/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/NavigationBarHelper/NavigationBarHelper.swift:281:17: error: 'UIViewController' is unavailable in watchOS
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
| `- error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:281:53: error: 'UIViewController' is unavailable in watchOS
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
| `- error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:281:114: error: 'UIViewController' is unavailable in watchOS
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
| `- error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:283:13: error: 'UIViewController' is unavailable in watchOS
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:283:49: error: 'UIViewController' is unavailable in watchOS
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:283:106: error: 'UIViewController' is unavailable in watchOS
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:284:13: error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:284:49: error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:284:105: error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:285:13: error: 'UIViewController' is unavailable in watchOS
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
287 | } catch {
/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/NavigationBarHelper/NavigationBarHelper.swift:285:49: error: 'UIViewController' is unavailable in watchOS
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
287 | } catch {
/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/NavigationBarHelper/NavigationBarHelper.swift:285:109: error: 'UIViewController' is unavailable in watchOS
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
287 | } catch {
/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/NavigationBarHelper/NavigationBarHelper.swift:286:13: error: 'UINavigationBar' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
| `- error: 'UINavigationBar' is unavailable in watchOS
287 | } catch {
288 | debugPrint(error)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:286:48: error: 'UINavigationBar' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
| `- error: 'UINavigationBar' is unavailable in watchOS
287 | } catch {
288 | debugPrint(error)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:286:102: error: 'UINavigationBar' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
| `- error: 'UINavigationBar' is unavailable in watchOS
287 | } catch {
288 | debugPrint(error)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift:28:83: error: 'UIEvent' is unavailable in watchOS
26 | extension UINavigationBar {
27 |
28 | @objc func jw_swizzling_UINavigationBar_hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
29 | let ret = self.jw_swizzling_UINavigationBar_hitTest(point, with: event)
30 | return jw_transformHitView(ret)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift:28:96: error: 'UIView' is unavailable in watchOS
26 | extension UINavigationBar {
27 |
28 | @objc func jw_swizzling_UINavigationBar_hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
29 | let ret = self.jw_swizzling_UINavigationBar_hitTest(point, with: event)
30 | return jw_transformHitView(ret)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift:33:48: error: 'UIView' is unavailable in watchOS
31 | }
32 |
33 | private func jw_transformHitView(_ sender: UIView?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
34 | if sender is UIControl || (sender?.gestureRecognizers?.count ?? 0) > 0 {
35 | return sender
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift:33:60: error: 'UIView' is unavailable in watchOS
31 | }
32 |
33 | private func jw_transformHitView(_ sender: UIView?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
34 | if sender is UIControl || (sender?.gestureRecognizers?.count ?? 0) > 0 {
35 | return sender
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift:26:11: error: 'UINavigationBar' is unavailable in watchOS
24 | import UIKit
25 |
26 | extension UINavigationBar {
| `- error: 'UINavigationBar' is unavailable in watchOS
27 |
28 | @objc func jw_swizzling_UINavigationBar_hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UIViewController+Swizzle.swift:26:11: error: 'UIViewController' is unavailable in watchOS
24 | import UIKit
25 |
26 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
27 |
28 | @objc func jw_swizzling_UIViewController_viewWillLayoutSubViews() {
/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/NavigationBarHelper/Utilities.swift:80:35: error: 'UIBlurEffect' is unavailable in watchOS
78 | }
79 |
80 | var defaultBlurEffectConfig: (UIBlurEffect.Style, UIColor) {
| `- error: 'UIBlurEffect' is unavailable in watchOS
81 | switch self {
82 | case .default:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:61:12: note: 'UIBlurEffect' has been explicitly marked unavailable here
59 | /* UIBlurEffect will provide a blur that appears to have been applied to the content layered behind the UIVisualEffectView. Views added to the contentView of a blur visual effect are not blurred themselves. */
60 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
61 | @interface UIBlurEffect : UIVisualEffect
| `- note: 'UIBlurEffect' has been explicitly marked unavailable here
62 |
63 | + (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/Utilities.swift:67:11: error: 'UIBarStyle' is unavailable in watchOS
65 | }
66 |
67 | extension UIBarStyle {
| `- error: 'UIBarStyle' is unavailable in watchOS
68 |
69 | var shadowColor: UIColor {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:18:28: note: 'UIBarStyle' has been explicitly marked unavailable here
16 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
17 |
18 | typedef NS_ENUM(NSInteger, UIBarStyle) {
| `- note: 'UIBarStyle' has been explicitly marked unavailable here
19 | UIBarStyleDefault = 0,
20 | UIBarStyleBlack = 1,
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/NavigationBarHelper/NavigationBarBackgroundView.swift /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UIViewController+Swizzle.swift /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/Utilities.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/NavigationBarHelper.build/Debug-watchos/NavigationBarHelper-t.build/Objects-normal/arm64/NavigationBarHelper-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 -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/NavigationBarHelper.build/Debug-watchos/NavigationBarHelper-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationBarHelper.build/Debug-watchos/NavigationBarHelper-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationBarHelper.build/Debug-watchos/NavigationBarHelper-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NavigationBarHelper -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationBarHelper.build/Debug-watchos/NavigationBarHelper-t.build/Objects-normal/arm64/NavigationBarHelper_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/NavigationBarHelper.build/Debug-watchos/NavigationBarHelper-t.build/Objects-normal/arm64/NavigationBarHelper.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationBarHelper.build/Debug-watchos/NavigationBarHelper-t.build/Objects-normal/arm64/NavigationBarHelper.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationBarHelper.build/Debug-watchos/NavigationBarHelper-t.build/Objects-normal/arm64/NavigationBarHelper-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationBarHelper.build/Debug-watchos/NavigationBarHelper-t.build/Objects-normal/arm64/NavigationBarHelper-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationBarHelper.build/Debug-watchos/NavigationBarHelper-t.build/Objects-normal/arm64/NavigationBarHelper-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationBarHelper.build/Debug-watchos/NavigationBarHelper-t.build/Objects-normal/arm64/NavigationBarHelper.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationBarHelper.build/Debug-watchos/NavigationBarHelper-t.build/Objects-normal/arm64/NavigationBarHelper.abi.json
SwiftCompile normal arm64 (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ UINavigationBar+Swizzle.swift /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift:28:83: error: 'UIEvent' is unavailable in watchOS
26 | extension UINavigationBar {
27 |
28 | @objc func jw_swizzling_UINavigationBar_hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
29 | let ret = self.jw_swizzling_UINavigationBar_hitTest(point, with: event)
30 | return jw_transformHitView(ret)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift:28:96: error: 'UIView' is unavailable in watchOS
26 | extension UINavigationBar {
27 |
28 | @objc func jw_swizzling_UINavigationBar_hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
29 | let ret = self.jw_swizzling_UINavigationBar_hitTest(point, with: event)
30 | return jw_transformHitView(ret)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift:33:48: error: 'UIView' is unavailable in watchOS
31 | }
32 |
33 | private func jw_transformHitView(_ sender: UIView?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
34 | if sender is UIControl || (sender?.gestureRecognizers?.count ?? 0) > 0 {
35 | return sender
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift:33:60: error: 'UIView' is unavailable in watchOS
31 | }
32 |
33 | private func jw_transformHitView(_ sender: UIView?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
34 | if sender is UIControl || (sender?.gestureRecognizers?.count ?? 0) > 0 {
35 | return sender
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UINavigationBar+Swizzle.swift
SwiftCompile normal arm64 Compiling\ NavigationBarHelper.swift /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:28:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
26 | extension UIViewController {
27 |
28 | open var navigationBarHelper: NavigationBarHelper {
| `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
29 |
30 | get {
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:26:11: error: 'UIViewController' is unavailable in watchOS
24 | import UIKit
25 |
26 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
27 |
28 | open var navigationBarHelper: NavigationBarHelper {
/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/NavigationBarHelper/NavigationBarHelper.swift:98:26: error: 'UIViewController' is unavailable in watchOS
96 | public private(set) var view: NavigationBarBackgroundView?
97 |
98 | init(viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
99 | self.viewController = viewController
100 | }
/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/NavigationBarHelper/NavigationBarHelper.swift:107:37: error: 'UINavigationBar' is unavailable in watchOS
105 | ///It will create a mirror background view of the navigation bar (auto managed) and clear the bar background (to provide a smooth transition).
106 | ///Any change to the navigation bar's background (background image/barTintColor/barStyle/shadowImage) within the scope will be syncronized with the mirror view.
107 | public func perform(_ action: ((UINavigationBar) -> ())?) {
| `- error: 'UINavigationBar' is unavailable in watchOS
108 | guard let bar = viewController?.navigationController?.navigationBar else {
109 | 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/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:205:30: error: 'UIViewController' is unavailable in watchOS
203 | }
204 |
205 | weak var viewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
206 |
207 | var keyPathObservations: [NSKeyValueObservation]?
/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/NavigationBarHelper/NavigationBarHelper.swift:223:40: error: 'UINavigationBar' is unavailable in watchOS
221 | extension NavigationBarHelper {
222 |
223 | private func beginUpdate(with bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
224 |
225 | guard let previousHelper = viewController?.previousNavigationBarHelper else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:231:38: error: 'UINavigationBar' is unavailable in watchOS
229 | }
230 |
231 | private func endUpdate(with bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
232 | guard viewController?.isViewLoaded ?? false, let containerView = viewController?.view else {
233 | 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/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:279:17: error: 'UIViewController' is unavailable in watchOS
277 | do {
278 | if #available(iOS 11.0, *) {
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
| `- error: 'UIViewController' is unavailable in watchOS
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
/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/NavigationBarHelper/NavigationBarHelper.swift:279:53: error: 'UIViewController' is unavailable in watchOS
277 | do {
278 | if #available(iOS 11.0, *) {
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
| `- error: 'UIViewController' is unavailable in watchOS
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
/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/NavigationBarHelper/NavigationBarHelper.swift:279:70: error: 'viewSafeAreaInsetsDidChange()' is unavailable in watchOS
277 | do {
278 | if #available(iOS 11.0, *) {
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
| `- error: 'viewSafeAreaInsetsDidChange()' is unavailable in watchOS
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
/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:585:1: note: 'viewSafeAreaInsetsDidChange()' has been explicitly marked unavailable here
583 |
584 | - (void)viewLayoutMarginsDidChange NS_REQUIRES_SUPER API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
585 | - (void)viewSafeAreaInsetsDidChange NS_REQUIRES_SUPER API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'viewSafeAreaInsetsDidChange()' has been explicitly marked unavailable here
586 |
587 | @end
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:279:119: error: 'UIViewController' is unavailable in watchOS
277 | do {
278 | if #available(iOS 11.0, *) {
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
| `- error: 'UIViewController' is unavailable in watchOS
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
/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/NavigationBarHelper/NavigationBarHelper.swift:281:17: error: 'UIViewController' is unavailable in watchOS
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
| `- error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:281:53: error: 'UIViewController' is unavailable in watchOS
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
| `- error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:281:114: error: 'UIViewController' is unavailable in watchOS
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
| `- error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:283:13: error: 'UIViewController' is unavailable in watchOS
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:283:49: error: 'UIViewController' is unavailable in watchOS
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:283:106: error: 'UIViewController' is unavailable in watchOS
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:284:13: error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:284:49: error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:284:105: error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:285:13: error: 'UIViewController' is unavailable in watchOS
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
287 | } catch {
/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/NavigationBarHelper/NavigationBarHelper.swift:285:49: error: 'UIViewController' is unavailable in watchOS
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
287 | } catch {
/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/NavigationBarHelper/NavigationBarHelper.swift:285:109: error: 'UIViewController' is unavailable in watchOS
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
287 | } catch {
/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/NavigationBarHelper/NavigationBarHelper.swift:286:13: error: 'UINavigationBar' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
| `- error: 'UINavigationBar' is unavailable in watchOS
287 | } catch {
288 | debugPrint(error)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:286:48: error: 'UINavigationBar' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
| `- error: 'UINavigationBar' is unavailable in watchOS
287 | } catch {
288 | debugPrint(error)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:286:102: error: 'UINavigationBar' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
| `- error: 'UINavigationBar' is unavailable in watchOS
287 | } catch {
288 | debugPrint(error)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:123:37: error: 'safeAreaInsets' is unavailable in watchOS
121 | var insetsTop = CGFloat(0)
122 | if #available(iOS 11.0, *) {
123 | insetsTop = max(vc.view.safeAreaInsets.top, vc.navigationController?.navigationBar.frame.size.height ?? 0)
| `- error: 'safeAreaInsets' is unavailable in watchOS
124 | } else {
125 | insetsTop = max(vc.topLayoutGuide.length, vc.navigationController?.navigationBar.frame.size.height ?? 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:293:45: note: 'safeAreaInsets' has been explicitly marked unavailable here
291 | - (void)layoutMarginsDidChange API_AVAILABLE(ios(8.0));
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaInsets' has been explicitly marked unavailable here
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
295 |
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:125:32: error: 'topLayoutGuide' is unavailable in watchOS
123 | insetsTop = max(vc.view.safeAreaInsets.top, vc.navigationController?.navigationBar.frame.size.height ?? 0)
124 | } else {
125 | insetsTop = max(vc.topLayoutGuide.length, vc.navigationController?.navigationBar.frame.size.height ?? 0)
| `- error: 'topLayoutGuide' is unavailable in watchOS
126 | }
127 | view?.frame = CGRect(x: 0, y: 0 + (view?.transform.ty ?? 0), width: view?.frame.size.width ?? 0, height: insetsTop)
/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:564:58: note: 'topLayoutGuide' has been explicitly marked unavailable here
562 | @interface UIViewController (UILayoutSupport)
563 | // These objects may be used as layout items in the NSLayoutConstraint API
564 | @property(nonatomic,readonly,strong) id<UILayoutSupport> topLayoutGuide API_DEPRECATED("Use view.safeAreaLayoutGuide.topAnchor instead of topLayoutGuide.bottomAnchor", ios(7.0, 11.0), tvos(7.0, 11.0)) API_UNAVAILABLE(visionos, watchos);
| `- note: 'topLayoutGuide' has been explicitly marked unavailable here
565 | @property(nonatomic,readonly,strong) id<UILayoutSupport> bottomLayoutGuide API_DEPRECATED("Use view.safeAreaLayoutGuide.bottomAnchor instead of bottomLayoutGuide.topAnchor", ios(7.0, 11.0)) API_UNAVAILABLE(visionos, watchos);
566 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationBarHelper.swift
SwiftCompile normal arm64_32 Compiling\ UINavigationBar+Swizzle.swift /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UINavigationBar+Swizzle.swift
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift:28:83: error: 'UIEvent' is unavailable in watchOS
26 | extension UINavigationBar {
27 |
28 | @objc func jw_swizzling_UINavigationBar_hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
29 | let ret = self.jw_swizzling_UINavigationBar_hitTest(point, with: event)
30 | return jw_transformHitView(ret)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift:28:96: error: 'UIView' is unavailable in watchOS
26 | extension UINavigationBar {
27 |
28 | @objc func jw_swizzling_UINavigationBar_hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
29 | let ret = self.jw_swizzling_UINavigationBar_hitTest(point, with: event)
30 | return jw_transformHitView(ret)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift:33:48: error: 'UIView' is unavailable in watchOS
31 | }
32 |
33 | private func jw_transformHitView(_ sender: UIView?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
34 | if sender is UIControl || (sender?.gestureRecognizers?.count ?? 0) > 0 {
35 | return sender
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UINavigationBar+Swizzle.swift:33:60: error: 'UIView' is unavailable in watchOS
31 | }
32 |
33 | private func jw_transformHitView(_ sender: UIView?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
34 | if sender is UIControl || (sender?.gestureRecognizers?.count ?? 0) > 0 {
35 | return sender
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 Compiling\ NavigationBarHelper.swift /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:28:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
26 | extension UIViewController {
27 |
28 | open var navigationBarHelper: NavigationBarHelper {
| `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
29 |
30 | get {
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:26:11: error: 'UIViewController' is unavailable in watchOS
24 | import UIKit
25 |
26 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
27 |
28 | open var navigationBarHelper: NavigationBarHelper {
/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/NavigationBarHelper/NavigationBarHelper.swift:98:26: error: 'UIViewController' is unavailable in watchOS
96 | public private(set) var view: NavigationBarBackgroundView?
97 |
98 | init(viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
99 | self.viewController = viewController
100 | }
/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/NavigationBarHelper/NavigationBarHelper.swift:107:37: error: 'UINavigationBar' is unavailable in watchOS
105 | ///It will create a mirror background view of the navigation bar (auto managed) and clear the bar background (to provide a smooth transition).
106 | ///Any change to the navigation bar's background (background image/barTintColor/barStyle/shadowImage) within the scope will be syncronized with the mirror view.
107 | public func perform(_ action: ((UINavigationBar) -> ())?) {
| `- error: 'UINavigationBar' is unavailable in watchOS
108 | guard let bar = viewController?.navigationController?.navigationBar else {
109 | 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/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:205:30: error: 'UIViewController' is unavailable in watchOS
203 | }
204 |
205 | weak var viewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
206 |
207 | var keyPathObservations: [NSKeyValueObservation]?
/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/NavigationBarHelper/NavigationBarHelper.swift:223:40: error: 'UINavigationBar' is unavailable in watchOS
221 | extension NavigationBarHelper {
222 |
223 | private func beginUpdate(with bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
224 |
225 | guard let previousHelper = viewController?.previousNavigationBarHelper else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:231:38: error: 'UINavigationBar' is unavailable in watchOS
229 | }
230 |
231 | private func endUpdate(with bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
232 | guard viewController?.isViewLoaded ?? false, let containerView = viewController?.view else {
233 | 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/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:279:17: error: 'UIViewController' is unavailable in watchOS
277 | do {
278 | if #available(iOS 11.0, *) {
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
| `- error: 'UIViewController' is unavailable in watchOS
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
/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/NavigationBarHelper/NavigationBarHelper.swift:279:53: error: 'UIViewController' is unavailable in watchOS
277 | do {
278 | if #available(iOS 11.0, *) {
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
| `- error: 'UIViewController' is unavailable in watchOS
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
/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/NavigationBarHelper/NavigationBarHelper.swift:279:70: error: 'viewSafeAreaInsetsDidChange()' is unavailable in watchOS
277 | do {
278 | if #available(iOS 11.0, *) {
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
| `- error: 'viewSafeAreaInsetsDidChange()' is unavailable in watchOS
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
/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:585:1: note: 'viewSafeAreaInsetsDidChange()' has been explicitly marked unavailable here
583 |
584 | - (void)viewLayoutMarginsDidChange NS_REQUIRES_SUPER API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
585 | - (void)viewSafeAreaInsetsDidChange NS_REQUIRES_SUPER API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'viewSafeAreaInsetsDidChange()' has been explicitly marked unavailable here
586 |
587 | @end
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:279:119: error: 'UIViewController' is unavailable in watchOS
277 | do {
278 | if #available(iOS 11.0, *) {
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
| `- error: 'UIViewController' is unavailable in watchOS
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
/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/NavigationBarHelper/NavigationBarHelper.swift:281:17: error: 'UIViewController' is unavailable in watchOS
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
| `- error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:281:53: error: 'UIViewController' is unavailable in watchOS
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
| `- error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:281:114: error: 'UIViewController' is unavailable in watchOS
279 | try UIViewController.exchange(#selector(UIViewController.viewSafeAreaInsetsDidChange), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewSafeAreaInsetsDidChange))
280 | } else {
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
| `- error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:283:13: error: 'UIViewController' is unavailable in watchOS
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:283:49: error: 'UIViewController' is unavailable in watchOS
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:283:106: error: 'UIViewController' is unavailable in watchOS
281 | try UIViewController.exchange(#selector(UIViewController.viewWillLayoutSubviews), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillLayoutSubViews))
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:284:13: error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:284:49: error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:284:105: error: 'UIViewController' is unavailable in watchOS
282 | }
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
/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/NavigationBarHelper/NavigationBarHelper.swift:285:13: error: 'UIViewController' is unavailable in watchOS
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
287 | } catch {
/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/NavigationBarHelper/NavigationBarHelper.swift:285:49: error: 'UIViewController' is unavailable in watchOS
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
287 | } catch {
/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/NavigationBarHelper/NavigationBarHelper.swift:285:109: error: 'UIViewController' is unavailable in watchOS
283 | try UIViewController.exchange(#selector(UIViewController.viewWillAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillAppear(_:)))
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
| `- error: 'UIViewController' is unavailable in watchOS
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
287 | } catch {
/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/NavigationBarHelper/NavigationBarHelper.swift:286:13: error: 'UINavigationBar' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
| `- error: 'UINavigationBar' is unavailable in watchOS
287 | } catch {
288 | debugPrint(error)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:286:48: error: 'UINavigationBar' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
| `- error: 'UINavigationBar' is unavailable in watchOS
287 | } catch {
288 | debugPrint(error)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationBarHelper.swift
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:286:102: error: 'UINavigationBar' is unavailable in watchOS
284 | try UIViewController.exchange(#selector(UIViewController.viewDidAppear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewDidAppear(_:)))
285 | try UIViewController.exchange(#selector(UIViewController.viewWillDisappear(_:)), withSEL: #selector(UIViewController.jw_swizzling_UIViewController_viewWillDisappear(_:)))
286 | try UINavigationBar.exchange(#selector(UINavigationBar.hitTest(_:with:)), withSEL: #selector(UINavigationBar.jw_swizzling_UINavigationBar_hitTest(_:with:)))
| `- error: 'UINavigationBar' is unavailable in watchOS
287 | } catch {
288 | debugPrint(error)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:123:37: error: 'safeAreaInsets' is unavailable in watchOS
121 | var insetsTop = CGFloat(0)
122 | if #available(iOS 11.0, *) {
123 | insetsTop = max(vc.view.safeAreaInsets.top, vc.navigationController?.navigationBar.frame.size.height ?? 0)
| `- error: 'safeAreaInsets' is unavailable in watchOS
124 | } else {
125 | insetsTop = max(vc.topLayoutGuide.length, vc.navigationController?.navigationBar.frame.size.height ?? 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:293:45: note: 'safeAreaInsets' has been explicitly marked unavailable here
291 | - (void)layoutMarginsDidChange API_AVAILABLE(ios(8.0));
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaInsets' has been explicitly marked unavailable here
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
295 |
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper.swift:125:32: error: 'topLayoutGuide' is unavailable in watchOS
123 | insetsTop = max(vc.view.safeAreaInsets.top, vc.navigationController?.navigationBar.frame.size.height ?? 0)
124 | } else {
125 | insetsTop = max(vc.topLayoutGuide.length, vc.navigationController?.navigationBar.frame.size.height ?? 0)
| `- error: 'topLayoutGuide' is unavailable in watchOS
126 | }
127 | view?.frame = CGRect(x: 0, y: 0 + (view?.transform.ty ?? 0), width: view?.frame.size.width ?? 0, height: insetsTop)
/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:564:58: note: 'topLayoutGuide' has been explicitly marked unavailable here
562 | @interface UIViewController (UILayoutSupport)
563 | // These objects may be used as layout items in the NSLayoutConstraint API
564 | @property(nonatomic,readonly,strong) id<UILayoutSupport> topLayoutGuide API_DEPRECATED("Use view.safeAreaLayoutGuide.topAnchor instead of topLayoutGuide.bottomAnchor", ios(7.0, 11.0), tvos(7.0, 11.0)) API_UNAVAILABLE(visionos, watchos);
| `- note: 'topLayoutGuide' has been explicitly marked unavailable here
565 | @property(nonatomic,readonly,strong) id<UILayoutSupport> bottomLayoutGuide API_DEPRECATED("Use view.safeAreaLayoutGuide.bottomAnchor instead of bottomLayoutGuide.topAnchor", ios(7.0, 11.0)) API_UNAVAILABLE(visionos, watchos);
566 |
SwiftCompile normal arm64 Compiling\ Utilities.swift /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/Utilities.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/Utilities.swift:80:35: error: 'UIBlurEffect' is unavailable in watchOS
78 | }
79 |
80 | var defaultBlurEffectConfig: (UIBlurEffect.Style, UIColor) {
| `- error: 'UIBlurEffect' is unavailable in watchOS
81 | switch self {
82 | case .default:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:61:12: note: 'UIBlurEffect' has been explicitly marked unavailable here
59 | /* UIBlurEffect will provide a blur that appears to have been applied to the content layered behind the UIVisualEffectView. Views added to the contentView of a blur visual effect are not blurred themselves. */
60 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
61 | @interface UIBlurEffect : UIVisualEffect
| `- note: 'UIBlurEffect' has been explicitly marked unavailable here
62 |
63 | + (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/Utilities.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Utilities.swift
SwiftCompile normal arm64 Compiling\ NavigationBarBackgroundView.swift /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:40:37: error: 'UINavigationBar' is unavailable in watchOS
38 | }
39 |
40 | convenience init(navigationBar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
41 | self.init(frame: navigationBar.bounds)
42 | update(withNavigationBar: navigationBar)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:49:45: error: 'UINavigationBar' is unavailable in watchOS
47 | }
48 |
49 | open func update(withNavigationBar bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
50 | let backgroundImg = bar.backgroundImage(for: .default)
51 | frame = bar.bounds
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:62:49: error: 'UIBarStyle' is unavailable in watchOS
60 | barTintColor: UIColor?,
61 | isTranslucent: Bool,
62 | barStyle: UIBarStyle,
| `- error: 'UIBarStyle' is unavailable in watchOS
63 | shadowImage: UIImage?) {
64 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:18:28: note: 'UIBarStyle' has been explicitly marked unavailable here
16 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
17 |
18 | typedef NS_ENUM(NSInteger, UIBarStyle) {
| `- note: 'UIBarStyle' has been explicitly marked unavailable here
19 | UIBarStyleDefault = 0,
20 | UIBarStyleBlack = 1,
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:116:38: error: 'UIScreen' is unavailable in watchOS
114 | }
115 |
116 | private let shadowHeight = 1.0 / UIScreen.main.scale
| `- error: 'UIScreen' is unavailable in watchOS
117 |
118 | private let contentView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:116:47: error: 'main' is unavailable in watchOS
114 | }
115 |
116 | private let shadowHeight = 1.0 / UIScreen.main.scale
| `- error: 'main' is unavailable in watchOS
117 |
118 | private let contentView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:118:31: error: 'UIView' is unavailable in watchOS
116 | private let shadowHeight = 1.0 / UIScreen.main.scale
117 |
118 | private let contentView = UIView()
| `- error: 'UIView' is unavailable in watchOS
119 |
120 | private let shadowImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:118:31: error: 'init()' is unavailable in watchOS
116 | private let shadowHeight = 1.0 / UIScreen.main.scale
117 |
118 | private let contentView = UIView()
| `- error: 'init()' is unavailable in watchOS
119 |
120 | private let shadowImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:120:35: error: 'UIImageView' is unavailable in watchOS
118 | private let contentView = UIView()
119 |
120 | private let shadowImageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
121 |
122 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:120:35: error: 'init()' is unavailable in watchOS
118 | private let contentView = UIView()
119 |
120 | private let shadowImageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
121 |
122 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:26:41: error: 'UIView' is unavailable in watchOS
24 | import UIKit
25 |
26 | open class NavigationBarBackgroundView: UIView {
| `- error: 'UIView' is unavailable in watchOS
27 |
28 | public override init(frame: CGRect) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:72:36: error: 'UIVisualEffectView' is unavailable in watchOS
70 | if let barTintColor = barTintColor {
71 | if isTranslucent {
72 | let blurView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
| `- error: 'UIVisualEffectView' is unavailable in watchOS
73 | blurView.frame = contentView.bounds
74 | blurView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:72:63: error: 'UIBlurEffect' is unavailable in watchOS
70 | if let barTintColor = barTintColor {
71 | if isTranslucent {
72 | let blurView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
| `- error: 'UIBlurEffect' is unavailable in watchOS
73 | blurView.frame = contentView.bounds
74 | blurView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:61:12: note: 'UIBlurEffect' has been explicitly marked unavailable here
59 | /* UIBlurEffect will provide a blur that appears to have been applied to the content layered behind the UIVisualEffectView. Views added to the contentView of a blur visual effect are not blurred themselves. */
60 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
61 | @interface UIBlurEffect : UIVisualEffect
| `- note: 'UIBlurEffect' has been explicitly marked unavailable here
62 |
63 | + (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:78:41: error: 'UIView' is unavailable in watchOS
76 |
77 | blurView.contentView.backgroundColor = UIColor.init(white: 0.97, alpha: 0.5)
78 | let tintColorView = UIView(frame: blurView.bounds)
| `- error: 'UIView' is unavailable in watchOS
79 | tintColorView.backgroundColor = barTintColor
80 | tintColorView.alpha = 0.85
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:88:36: error: 'UIVisualEffectView' is unavailable in watchOS
86 | } else {
87 | if isTranslucent {
88 | let blurView = UIVisualEffectView(effect: UIBlurEffect(style: barStyle.defaultBlurEffectConfig.0))
| `- error: 'UIVisualEffectView' is unavailable in watchOS
89 | blurView.contentView.backgroundColor = barStyle.defaultBlurEffectConfig.1
90 | //It turns out that when the bar is dark, the contentView makes the backgroundView darker. So we remove it.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift:88:63: error: 'UIBlurEffect' is unavailable in watchOS
86 | } else {
87 | if isTranslucent {
88 | let blurView = UIVisualEffectView(effect: UIBlurEffect(style: barStyle.defaultBlurEffectConfig.0))
| `- error: 'UIBlurEffect' is unavailable in watchOS
89 | blurView.contentView.backgroundColor = barStyle.defaultBlurEffectConfig.1
90 | //It turns out that when the bar is dark, the contentView makes the backgroundView darker. So we remove it.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:61:12: note: 'UIBlurEffect' has been explicitly marked unavailable here
59 | /* UIBlurEffect will provide a blur that appears to have been applied to the content layered behind the UIVisualEffectView. Views added to the contentView of a blur visual effect are not blurred themselves. */
60 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
61 | @interface UIBlurEffect : UIVisualEffect
| `- note: 'UIBlurEffect' has been explicitly marked unavailable here
62 |
63 | + (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarBackgroundView.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationBarBackgroundView.swift
SwiftCompile normal arm64 Compiling\ NavigationBarHelper+AttrRestoration.swift /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:28:52: error: 'UIBarMetrics' is unavailable in watchOS
26 | public extension NavigationBarHelper {
27 |
28 | typealias BackgroundAttr = (backgroundImages: [UIBarMetrics: UIImage], shadowImage: UIImage?, barTintColor: UIColor?, isTranslucent: Bool)
| `- error: 'UIBarMetrics' is unavailable in watchOS
29 |
30 | typealias ForegroundAttr = (tintColor: UIColor?, barStyle: UIBarStyle, titleAttributes: [NSAttributedString.Key: Any]?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h:13:28: note: 'UIBarMetrics' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIBarMetrics) {
| `- note: 'UIBarMetrics' has been explicitly marked unavailable here
14 | UIBarMetricsDefault,
15 | UIBarMetricsCompact,
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:30:64: error: 'UIBarStyle' is unavailable in watchOS
28 | typealias BackgroundAttr = (backgroundImages: [UIBarMetrics: UIImage], shadowImage: UIImage?, barTintColor: UIColor?, isTranslucent: Bool)
29 |
30 | typealias ForegroundAttr = (tintColor: UIColor?, barStyle: UIBarStyle, titleAttributes: [NSAttributedString.Key: Any]?)
| `- error: 'UIBarStyle' is unavailable in watchOS
31 |
32 | func stashBackgroundAttr(for bar: UINavigationBar) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:18:28: note: 'UIBarStyle' has been explicitly marked unavailable here
16 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
17 |
18 | typedef NS_ENUM(NSInteger, UIBarStyle) {
| `- note: 'UIBarStyle' has been explicitly marked unavailable here
19 | UIBarStyleDefault = 0,
20 | UIBarStyleBlack = 1,
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:32:39: error: 'UINavigationBar' is unavailable in watchOS
30 | typealias ForegroundAttr = (tintColor: UIColor?, barStyle: UIBarStyle, titleAttributes: [NSAttributedString.Key: Any]?)
31 |
32 | func stashBackgroundAttr(for bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
33 | var backgroundImages = [UIBarMetrics: UIImage]()
34 | [UIBarMetrics.default, UIBarMetrics.compact, UIBarMetrics.defaultPrompt, UIBarMetrics.compactPrompt].forEach {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:44:41: error: 'UINavigationBar' is unavailable in watchOS
42 | }
43 |
44 | func restoreBackgroundAttr(for bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
45 | guard var attr = backgroundAttr else {
46 | 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/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:65:39: error: 'UINavigationBar' is unavailable in watchOS
63 | }
64 |
65 | func stashForegroundAttr(for bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
66 | foregroundAttr = (bar.tintColor, bar.barStyle, bar.titleTextAttributes)
67 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:69:41: error: 'UINavigationBar' is unavailable in watchOS
67 | }
68 |
69 | func restoreForegroundAttr(for bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
70 | guard var attr = foregroundAttr else {
71 | 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/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:85:51: error: 'UINavigationBar' is unavailable in watchOS
83 | }
84 |
85 | internal func fixNavigationTitleView(for bar: UINavigationBar) {
| `- error: 'UINavigationBar' is unavailable in watchOS
86 | //It turns out that when the transition is ongoing, the barStyle does not change the title label correctly.
87 | //So we have to change the title color manually when the titleAttributes are not 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/UINavigationBar.h:32:12: note: 'UINavigationBar' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UINavigationBar : UIView <NSCoding, UIBarPositioning>
| `- note: 'UINavigationBar' has been explicitly marked unavailable here
33 |
34 | @property(nonatomic,assign) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos);
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationBarHelper+AttrRestoration.swift
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:33:33: error: 'UIBarMetrics' is unavailable in watchOS
31 |
32 | func stashBackgroundAttr(for bar: UINavigationBar) {
33 | var backgroundImages = [UIBarMetrics: UIImage]()
| `- error: 'UIBarMetrics' is unavailable in watchOS
34 | [UIBarMetrics.default, UIBarMetrics.compact, UIBarMetrics.defaultPrompt, UIBarMetrics.compactPrompt].forEach {
35 | guard let img = bar.backgroundImage(for: $0) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h:13:28: note: 'UIBarMetrics' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIBarMetrics) {
| `- note: 'UIBarMetrics' has been explicitly marked unavailable here
14 | UIBarMetricsDefault,
15 | UIBarMetricsCompact,
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:34:10: error: 'UIBarMetrics' is unavailable in watchOS
32 | func stashBackgroundAttr(for bar: UINavigationBar) {
33 | var backgroundImages = [UIBarMetrics: UIImage]()
34 | [UIBarMetrics.default, UIBarMetrics.compact, UIBarMetrics.defaultPrompt, UIBarMetrics.compactPrompt].forEach {
| `- error: 'UIBarMetrics' is unavailable in watchOS
35 | guard let img = bar.backgroundImage(for: $0) else {
36 | 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/UIBarCommon.h:13:28: note: 'UIBarMetrics' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIBarMetrics) {
| `- note: 'UIBarMetrics' has been explicitly marked unavailable here
14 | UIBarMetricsDefault,
15 | UIBarMetricsCompact,
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:34:32: error: 'UIBarMetrics' is unavailable in watchOS
32 | func stashBackgroundAttr(for bar: UINavigationBar) {
33 | var backgroundImages = [UIBarMetrics: UIImage]()
34 | [UIBarMetrics.default, UIBarMetrics.compact, UIBarMetrics.defaultPrompt, UIBarMetrics.compactPrompt].forEach {
| `- error: 'UIBarMetrics' is unavailable in watchOS
35 | guard let img = bar.backgroundImage(for: $0) else {
36 | 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/UIBarCommon.h:13:28: note: 'UIBarMetrics' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIBarMetrics) {
| `- note: 'UIBarMetrics' has been explicitly marked unavailable here
14 | UIBarMetricsDefault,
15 | UIBarMetricsCompact,
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:34:54: error: 'UIBarMetrics' is unavailable in watchOS
32 | func stashBackgroundAttr(for bar: UINavigationBar) {
33 | var backgroundImages = [UIBarMetrics: UIImage]()
34 | [UIBarMetrics.default, UIBarMetrics.compact, UIBarMetrics.defaultPrompt, UIBarMetrics.compactPrompt].forEach {
| `- error: 'UIBarMetrics' is unavailable in watchOS
35 | guard let img = bar.backgroundImage(for: $0) else {
36 | 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/UIBarCommon.h:13:28: note: 'UIBarMetrics' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIBarMetrics) {
| `- note: 'UIBarMetrics' has been explicitly marked unavailable here
14 | UIBarMetricsDefault,
15 | UIBarMetricsCompact,
/Users/admin/builder/spi-builder-workspace/NavigationBarHelper/NavigationBarHelper+AttrRestoration.swift:34:82: error: 'UIBarMetrics' is unavailable in watchOS
32 | func stashBackgroundAttr(for bar: UINavigationBar) {
33 | var backgroundImages = [UIBarMetrics: UIImage]()
34 | [UIBarMetrics.default, UIBarMetrics.compact, UIBarMetrics.defaultPrompt, UIBarMetrics.compactPrompt].forEach {
| `- error: 'UIBarMetrics' is unavailable in watchOS
35 | guard let img = bar.backgroundImage(for: $0) else {
36 | 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/UIBarCommon.h:13:28: note: 'UIBarMetrics' has been explicitly marked unavailable here
11 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12 |
13 | typedef NS_ENUM(NSInteger, UIBarMetrics) {
| `- note: 'UIBarMetrics' has been explicitly marked unavailable here
14 | UIBarMetricsDefault,
15 | UIBarMetricsCompact,
SwiftCompile normal arm64_32 Compiling\ UIViewController+Swizzle.swift /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UIViewController+Swizzle.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/NavigationBarHelper/UIViewController+Swizzle.swift (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIViewController+Swizzle.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-16 09:01:44.730 xcodebuild[797:4880] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ NavigationBarHelper (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
SwiftEmitModule normal arm64 Emitting\ module\ for\ NavigationBarHelper (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
SwiftCompile normal arm64 (in target 'NavigationBarHelper' from project 'NavigationBarHelper')
Building workspace NavigationBarHelper with scheme NavigationBarHelper
(5 failures)
BUILD FAILURE 6.4 watchOS