Build Information
Failed to build NavigationbarBackgroundHider, reference 1.0.0 (53e499), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Sep 2026 07:52:15 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 NavigationbarBackgroundHider -destination generic/platform=watchOSBuild Log
66 | public func makeNavigationBarBackgroundTransparent(in navigationBar: UINavigationBar? = nil) {
| `- error: 'UINavigationBar' is unavailable in watchOS
67 | configureForBarHiding(in: navigationBar)
68 | standardAppearance?.configureWithTransparentBackground()
/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/Sources/NavigationBarBackgroundHider.swift:76:54: error: 'UINavigationBar' is unavailable in watchOS
74 | /// - Parameters:
75 | /// - navigationBar: if defined, will be used to set the `appearance`s of this item when they are not yet defined
76 | public func configureForBarHiding(in navigationBar: UINavigationBar?) {
| `- error: 'UINavigationBar' is unavailable in watchOS
77 | if standardAppearance == nil {
78 | standardAppearance = navigationBar?.standardAppearance ?? UINavigationBarAppearance()
/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/Sources/NavigationBarBackgroundHider.swift:87:57: error: 'UINavigationItem' is unavailable in watchOS
85 |
86 | /// Handler to update the navigation item
87 | public typealias BarUpdateHandler = (_ navigationItem: UINavigationItem) -> Void
| `- error: 'UINavigationItem' is unavailable in watchOS
88 |
89 | /// Default handler to update the navigation bar background
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:99:33: error: 'UINavigationBar' is unavailable in watchOS
97 | /// - makeTransparentHandler: **optional** if defined, this will be called to make the background transparent. If nil, the default handler will be used.
98 | public func updateNavigationBarBackgroundVisibility(shouldBeVisible: Bool,
99 | in navigationBar: UINavigationBar?,
| `- error: 'UINavigationBar' is unavailable in watchOS
100 | animated: Bool,
101 | animateAlongSide: (() -> Void)? = nil,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Sources/NavigationBarBackgroundHider.swift:51:11: error: 'UINavigationItem' is unavailable in watchOS
49 | }
50 |
51 | extension UINavigationItem {
| `- error: 'UINavigationItem' is unavailable in watchOS
52 | /// Configures this navigation item to have a default background
53 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:147:34: error: 'UIViewController' is unavailable in watchOS
145 |
146 | /// the view controller this hider is handling
147 | public weak var viewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
148 |
149 | /// the default bar hiding style
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:194:38: error: 'UINavigationItem' is unavailable in watchOS
192 |
193 | /// the handler for making the bar background visible/hidden
194 | public typealias BarUpdateHandler = UINavigationItem.BarUpdateHandler
| `- error: 'UINavigationItem' is unavailable in watchOS
195 |
196 | /// handler that will be used to make the bar transparent in `defaultUpdateHandler`.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:211:39: error: 'UIScrollView' is unavailable in watchOS
209 |
210 | /// the scrollview we are observing
211 | private weak var observedScrollView: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
212 | private var scrollViewObserverKey: UInt = 0
213 | private var ignoreScrollChanges = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:219:46: error: 'UIScrollView' is unavailable in watchOS
217 |
218 | /// Offset provider. Used to provide the offset in a scrollview where we should show the bar
219 | public typealias OffsetForHidingProvider = (UIScrollView) -> CGFloat
| `- error: 'UIScrollView' is unavailable in watchOS
220 |
221 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:224:40: error: 'UITableView' is unavailable in watchOS
222 | /// the default offset provider: will make the bar visible if the first section scrolls behind the navigation bar in a UITableView.
223 | public let defaultOffsetForHidingProvider: OffsetForHidingProvider = { scrollView -> CGFloat in
224 | guard let tableView = scrollView as? UITableView, tableView.numberOfSections > 0 && tableView.tableHeaderView == nil else {return CGFloat(0)}
| `- error: 'UITableView' is unavailable in watchOS
225 | return tableView.rect(forSection: 0).minY
226 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h:347:12: note: 'UITableView' has been explicitly marked unavailable here
345 |
346 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
347 | @interface UITableView : UIScrollView <NSCoding, UIDataSourceTranslating>
| `- note: 'UITableView' has been explicitly marked unavailable here
348 |
349 | - (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style NS_DESIGNATED_INITIALIZER; // must specify style at creation. -initWithFrame: calls this with UITableViewStylePlain
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:237:30: error: 'UIViewController' is unavailable in watchOS
235 | /// - viewController: the view controller to change the navigation bar background for
236 | /// - scrollView: the scrollview to observe for scroll changes
237 | public init(viewController: UIViewController, scrollView: UIScrollView? = nil) {
| `- error: 'UIViewController' is unavailable in watchOS
238 | self.viewController = viewController
239 | self.observedScrollView = scrollView ?? viewController.mainContentScrollViewForNavigationBarHiding
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:237:60: error: 'UIScrollView' is unavailable in watchOS
235 | /// - viewController: the view controller to change the navigation bar background for
236 | /// - scrollView: the scrollview to observe for scroll changes
237 | public init(viewController: UIViewController, scrollView: UIScrollView? = nil) {
| `- error: 'UIScrollView' is unavailable in watchOS
238 | self.viewController = viewController
239 | self.observedScrollView = scrollView ?? viewController.mainContentScrollViewForNavigationBarHiding
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:261:53: error: 'UIViewController' is unavailable in watchOS
259 |
260 | // MARK: - Private
261 | private func actualHidingStyle(for viewController: UIViewController) -> NavigationBarHidingStyle {
| `- error: 'UIViewController' is unavailable in watchOS
262 | let style = viewController.navigationBarHidingStyle
263 | switch style {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:269:60: error: 'UIScrollView' is unavailable in watchOS
267 | }
268 |
269 | private func shouldBarBackgroundBeVisible(for scrollView: UIScrollView, in viewController: UIViewController) -> Bool {
| `- error: 'UIScrollView' is unavailable in watchOS
270 | switch actualHidingStyle(for: viewController) {
271 | case .alwaysHidden: return false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:269:93: error: 'UIViewController' is unavailable in watchOS
267 | }
268 |
269 | private func shouldBarBackgroundBeVisible(for scrollView: UIScrollView, in viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
270 | switch actualHidingStyle(for: viewController) {
271 | case .alwaysHidden: return false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:280:66: error: 'UIScrollView' is unavailable in watchOS
278 | }
279 |
280 | private func scrollOffsetForHidingNavigationBar(for scrollView: UIScrollView) -> CGFloat {
| `- error: 'UIScrollView' is unavailable in watchOS
281 | return offsetForHidingProvider?(scrollView) ?? defaultOffsetForHidingProvider(scrollView)
282 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:19:27: error: 'UIScrollView' is unavailable in watchOS
17 | /// The main content UIScrollView to use for navigation bar hiding
18 | @objc var mainContentScrollViewForNavigationBarHiding: UIScrollView? {
19 | return viewIfLoaded as? UIScrollView ?? view.subviews.first as? UIScrollView
| `- error: 'UIScrollView' is unavailable in watchOS
20 | }
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:19:67: error: 'UIScrollView' is unavailable in watchOS
17 | /// The main content UIScrollView to use for navigation bar hiding
18 | @objc var mainContentScrollViewForNavigationBarHiding: UIScrollView? {
19 | return viewIfLoaded as? UIScrollView ?? view.subviews.first as? UIScrollView
| `- error: 'UIScrollView' is unavailable in watchOS
20 | }
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:58:3: error: 'standardAppearance' is unavailable in watchOS
56 | public func makeNavigationBarBackgroundVisible(in navigationBar: UINavigationBar? = nil) {
57 | configureForBarHiding(in: navigationBar)
58 | standardAppearance?.configureWithDefaultBackground()
| `- error: 'standardAppearance' is unavailable in watchOS
59 | compactAppearance?.configureWithDefaultBackground()
60 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:266:77: note: 'standardAppearance' has been explicitly marked unavailable here
264 |
265 | /// When set and this item is topmost, overrides the hosting navigation bar's standardAppearance. See UINavigationBar.standardAppearance for further details.
266 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *standardAppearance API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'standardAppearance' has been explicitly marked unavailable here
267 | /// When set and this item is topmost, overrides the hosting navigation bar's compactAppearance. See UINavigationBar.compactAppearance for further details.
268 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *compactAppearance API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:59:3: error: 'compactAppearance' is unavailable in watchOS
57 | configureForBarHiding(in: navigationBar)
58 | standardAppearance?.configureWithDefaultBackground()
59 | compactAppearance?.configureWithDefaultBackground()
| `- error: 'compactAppearance' is unavailable in watchOS
60 | }
61 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:268:77: note: 'compactAppearance' has been explicitly marked unavailable here
266 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *standardAppearance API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
267 | /// When set and this item is topmost, overrides the hosting navigation bar's compactAppearance. See UINavigationBar.compactAppearance for further details.
268 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *compactAppearance API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'compactAppearance' has been explicitly marked unavailable here
269 | /// When set and this item is topmost, overrides the hosting navigation bar's scrollEdgeAppearance. See UINavigationBar.scrollEdgeAppearance for further details.
270 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *scrollEdgeAppearance API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationBarBackgroundHider.swift
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:68:3: error: 'standardAppearance' is unavailable in watchOS
66 | public func makeNavigationBarBackgroundTransparent(in navigationBar: UINavigationBar? = nil) {
67 | configureForBarHiding(in: navigationBar)
68 | standardAppearance?.configureWithTransparentBackground()
| `- error: 'standardAppearance' is unavailable in watchOS
69 | compactAppearance?.configureWithTransparentBackground()
70 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:266:77: note: 'standardAppearance' has been explicitly marked unavailable here
264 |
265 | /// When set and this item is topmost, overrides the hosting navigation bar's standardAppearance. See UINavigationBar.standardAppearance for further details.
266 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *standardAppearance API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'standardAppearance' has been explicitly marked unavailable here
267 | /// When set and this item is topmost, overrides the hosting navigation bar's compactAppearance. See UINavigationBar.compactAppearance for further details.
268 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *compactAppearance API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:69:3: error: 'compactAppearance' is unavailable in watchOS
67 | configureForBarHiding(in: navigationBar)
68 | standardAppearance?.configureWithTransparentBackground()
69 | compactAppearance?.configureWithTransparentBackground()
| `- error: 'compactAppearance' is unavailable in watchOS
70 | }
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:268:77: note: 'compactAppearance' has been explicitly marked unavailable here
266 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *standardAppearance API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
267 | /// When set and this item is topmost, overrides the hosting navigation bar's compactAppearance. See UINavigationBar.compactAppearance for further details.
268 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *compactAppearance API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'compactAppearance' has been explicitly marked unavailable here
269 | /// When set and this item is topmost, overrides the hosting navigation bar's scrollEdgeAppearance. See UINavigationBar.scrollEdgeAppearance for further details.
270 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *scrollEdgeAppearance API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ NavigationbarBackgroundHider (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:18:57: error: 'UIScrollView' is unavailable in watchOS
16 |
17 | /// The main content UIScrollView to use for navigation bar hiding
18 | @objc var mainContentScrollViewForNavigationBarHiding: UIScrollView? {
| `- error: 'UIScrollView' is unavailable in watchOS
19 | return viewIfLoaded as? UIScrollView ?? view.subviews.first as? UIScrollView
20 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:38:86: error: 'UIScrollView' is unavailable in watchOS
36 | /// - offsetForHidingProvider: **optional** a block that provides the offset for when to make the bar visible again. Can be nil.
37 | /// - Returns: the created NavigationBarBackgroundHider
38 | @discardableResult public func enableNavigationBarBackgroundHiding(with scrollView: UIScrollView? = nil, offsetForHidingProvider: NavigationBarBackgroundHider.OffsetForHidingProvider? = nil) -> NavigationBarBackgroundHider {
| `- error: 'UIScrollView' is unavailable in watchOS
39 | let hider = NavigationBarBackgroundHider(viewController: self, scrollView: scrollView)
40 | hider.offsetForHidingProvider = offsetForHidingProvider
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:11:11: error: 'UIViewController' is unavailable in watchOS
9 | import ObjectiveC.runtime
10 |
11 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
12 | /// UIViewController subclasses can override this to automatically get an appropriate hiding style
13 | @objc public var navigationBarHidingStyle: NavigationBarBackgroundHider.NavigationBarHidingStyle {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:56:67: error: 'UINavigationBar' is unavailable in watchOS
54 | /// - Parameters:
55 | /// - navigationBar: **optional** if defined, will be used to set the `appearance`s of this item when they are not yet defined
56 | public func makeNavigationBarBackgroundVisible(in navigationBar: UINavigationBar? = nil) {
| `- error: 'UINavigationBar' is unavailable in watchOS
57 | configureForBarHiding(in: navigationBar)
58 | standardAppearance?.configureWithDefaultBackground()
/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/Sources/NavigationBarBackgroundHider.swift:66:71: error: 'UINavigationBar' is unavailable in watchOS
64 | /// - Parameters:
65 | /// - navigationBar: **optional** if defined, will be used to set the `appearance`s of this item when they are not yet defined
66 | public func makeNavigationBarBackgroundTransparent(in navigationBar: UINavigationBar? = nil) {
| `- error: 'UINavigationBar' is unavailable in watchOS
67 | configureForBarHiding(in: navigationBar)
68 | standardAppearance?.configureWithTransparentBackground()
/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/Sources/NavigationBarBackgroundHider.swift:76:54: error: 'UINavigationBar' is unavailable in watchOS
74 | /// - Parameters:
75 | /// - navigationBar: if defined, will be used to set the `appearance`s of this item when they are not yet defined
76 | public func configureForBarHiding(in navigationBar: UINavigationBar?) {
| `- error: 'UINavigationBar' is unavailable in watchOS
77 | if standardAppearance == nil {
78 | standardAppearance = navigationBar?.standardAppearance ?? UINavigationBarAppearance()
/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/Sources/NavigationBarBackgroundHider.swift:87:57: error: 'UINavigationItem' is unavailable in watchOS
85 |
86 | /// Handler to update the navigation item
87 | public typealias BarUpdateHandler = (_ navigationItem: UINavigationItem) -> Void
| `- error: 'UINavigationItem' is unavailable in watchOS
88 |
89 | /// Default handler to update the navigation bar background
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:99:33: error: 'UINavigationBar' is unavailable in watchOS
97 | /// - makeTransparentHandler: **optional** if defined, this will be called to make the background transparent. If nil, the default handler will be used.
98 | public func updateNavigationBarBackgroundVisibility(shouldBeVisible: Bool,
99 | in navigationBar: UINavigationBar?,
| `- error: 'UINavigationBar' is unavailable in watchOS
100 | animated: Bool,
101 | animateAlongSide: (() -> Void)? = nil,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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 (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:51:11: error: 'UINavigationItem' is unavailable in watchOS
49 | }
50 |
51 | extension UINavigationItem {
| `- error: 'UINavigationItem' is unavailable in watchOS
52 | /// Configures this navigation item to have a default background
53 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:147:34: error: 'UIViewController' is unavailable in watchOS
145 |
146 | /// the view controller this hider is handling
147 | public weak var viewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
148 |
149 | /// the default bar hiding style
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:194:38: error: 'UINavigationItem' is unavailable in watchOS
192 |
193 | /// the handler for making the bar background visible/hidden
194 | public typealias BarUpdateHandler = UINavigationItem.BarUpdateHandler
| `- error: 'UINavigationItem' is unavailable in watchOS
195 |
196 | /// handler that will be used to make the bar transparent in `defaultUpdateHandler`.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:211:39: error: 'UIScrollView' is unavailable in watchOS
209 |
210 | /// the scrollview we are observing
211 | private weak var observedScrollView: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
212 | private var scrollViewObserverKey: UInt = 0
213 | private var ignoreScrollChanges = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:219:46: error: 'UIScrollView' is unavailable in watchOS
217 |
218 | /// Offset provider. Used to provide the offset in a scrollview where we should show the bar
219 | public typealias OffsetForHidingProvider = (UIScrollView) -> CGFloat
| `- error: 'UIScrollView' is unavailable in watchOS
220 |
221 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
SwiftCompile normal arm64_32 Compiling\ NavigationBarBackgroundHider.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:18:57: error: 'UIScrollView' is unavailable in watchOS
16 |
17 | /// The main content UIScrollView to use for navigation bar hiding
18 | @objc var mainContentScrollViewForNavigationBarHiding: UIScrollView? {
| `- error: 'UIScrollView' is unavailable in watchOS
19 | return viewIfLoaded as? UIScrollView ?? view.subviews.first as? UIScrollView
20 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:38:86: error: 'UIScrollView' is unavailable in watchOS
36 | /// - offsetForHidingProvider: **optional** a block that provides the offset for when to make the bar visible again. Can be nil.
37 | /// - Returns: the created NavigationBarBackgroundHider
38 | @discardableResult public func enableNavigationBarBackgroundHiding(with scrollView: UIScrollView? = nil, offsetForHidingProvider: NavigationBarBackgroundHider.OffsetForHidingProvider? = nil) -> NavigationBarBackgroundHider {
| `- error: 'UIScrollView' is unavailable in watchOS
39 | let hider = NavigationBarBackgroundHider(viewController: self, scrollView: scrollView)
40 | hider.offsetForHidingProvider = offsetForHidingProvider
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:11:11: error: 'UIViewController' is unavailable in watchOS
9 | import ObjectiveC.runtime
10 |
11 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
12 | /// UIViewController subclasses can override this to automatically get an appropriate hiding style
13 | @objc public var navigationBarHidingStyle: NavigationBarBackgroundHider.NavigationBarHidingStyle {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:56:67: error: 'UINavigationBar' is unavailable in watchOS
54 | /// - Parameters:
55 | /// - navigationBar: **optional** if defined, will be used to set the `appearance`s of this item when they are not yet defined
56 | public func makeNavigationBarBackgroundVisible(in navigationBar: UINavigationBar? = nil) {
| `- error: 'UINavigationBar' is unavailable in watchOS
57 | configureForBarHiding(in: navigationBar)
58 | standardAppearance?.configureWithDefaultBackground()
/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/Sources/NavigationBarBackgroundHider.swift:66:71: error: 'UINavigationBar' is unavailable in watchOS
64 | /// - Parameters:
65 | /// - navigationBar: **optional** if defined, will be used to set the `appearance`s of this item when they are not yet defined
66 | public func makeNavigationBarBackgroundTransparent(in navigationBar: UINavigationBar? = nil) {
| `- error: 'UINavigationBar' is unavailable in watchOS
67 | configureForBarHiding(in: navigationBar)
68 | standardAppearance?.configureWithTransparentBackground()
/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/Sources/NavigationBarBackgroundHider.swift:76:54: error: 'UINavigationBar' is unavailable in watchOS
74 | /// - Parameters:
75 | /// - navigationBar: if defined, will be used to set the `appearance`s of this item when they are not yet defined
76 | public func configureForBarHiding(in navigationBar: UINavigationBar?) {
| `- error: 'UINavigationBar' is unavailable in watchOS
77 | if standardAppearance == nil {
78 | standardAppearance = navigationBar?.standardAppearance ?? UINavigationBarAppearance()
/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/Sources/NavigationBarBackgroundHider.swift:87:57: error: 'UINavigationItem' is unavailable in watchOS
85 |
86 | /// Handler to update the navigation item
87 | public typealias BarUpdateHandler = (_ navigationItem: UINavigationItem) -> Void
| `- error: 'UINavigationItem' is unavailable in watchOS
88 |
89 | /// Default handler to update the navigation bar background
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:99:33: error: 'UINavigationBar' is unavailable in watchOS
97 | /// - makeTransparentHandler: **optional** if defined, this will be called to make the background transparent. If nil, the default handler will be used.
98 | public func updateNavigationBarBackgroundVisibility(shouldBeVisible: Bool,
99 | in navigationBar: UINavigationBar?,
| `- error: 'UINavigationBar' is unavailable in watchOS
100 | animated: Bool,
101 | animateAlongSide: (() -> Void)? = nil,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Sources/NavigationBarBackgroundHider.swift (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationBarBackgroundHider.swift
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:51:11: error: 'UINavigationItem' is unavailable in watchOS
49 | }
50 |
51 | extension UINavigationItem {
| `- error: 'UINavigationItem' is unavailable in watchOS
52 | /// Configures this navigation item to have a default background
53 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:147:34: error: 'UIViewController' is unavailable in watchOS
145 |
146 | /// the view controller this hider is handling
147 | public weak var viewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
148 |
149 | /// the default bar hiding style
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:194:38: error: 'UINavigationItem' is unavailable in watchOS
192 |
193 | /// the handler for making the bar background visible/hidden
194 | public typealias BarUpdateHandler = UINavigationItem.BarUpdateHandler
| `- error: 'UINavigationItem' is unavailable in watchOS
195 |
196 | /// handler that will be used to make the bar transparent in `defaultUpdateHandler`.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:211:39: error: 'UIScrollView' is unavailable in watchOS
209 |
210 | /// the scrollview we are observing
211 | private weak var observedScrollView: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
212 | private var scrollViewObserverKey: UInt = 0
213 | private var ignoreScrollChanges = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:219:46: error: 'UIScrollView' is unavailable in watchOS
217 |
218 | /// Offset provider. Used to provide the offset in a scrollview where we should show the bar
219 | public typealias OffsetForHidingProvider = (UIScrollView) -> CGFloat
| `- error: 'UIScrollView' is unavailable in watchOS
220 |
221 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-18 03:52:05.101 xcodebuild[623:3979] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
SwiftEmitModule normal arm64 Emitting\ module\ for\ NavigationbarBackgroundHider (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
Building workspace NavigationbarBackgroundHider with scheme NavigationbarBackgroundHider
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
NavigationbarBackgroundHider: /Users/admin/builder/spi-builder-workspace
resolved source packages: NavigationbarBackgroundHider
2026-09-18 03:52:11.773 xcodebuild[772:4630] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "NavigationbarBackgroundHider",
"name" : "NavigationbarBackgroundHider",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "NavigationbarBackgroundHider",
"targets" : [
"NavigationbarBackgroundHider"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NavigationbarBackgroundHider",
"module_type" : "SwiftTarget",
"name" : "NavigationbarBackgroundHider",
"path" : "Sources",
"product_memberships" : [
"NavigationbarBackgroundHider"
],
"sources" : [
"NavigationBarBackgroundHider.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
{
"workspace" : {
"name" : "NavigationbarBackgroundHider",
"schemes" : [
"NavigationbarBackgroundHider"
]
}
}
2026-09-18 03:52:13.000 xcodebuild[780:4703] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NavigationbarBackgroundHider -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme NavigationbarBackgroundHider -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
NavigationbarBackgroundHider: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'NavigationbarBackgroundHider-product' in project 'NavigationbarBackgroundHider'
➜ Explicit dependency on target 'NavigationbarBackgroundHider' in project 'NavigationbarBackgroundHider'
Target 'NavigationbarBackgroundHider' in project 'NavigationbarBackgroundHider' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver NavigationbarBackgroundHider normal arm64 com.apple.xcode.tools.swift.compiler (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name NavigationbarBackgroundHider -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64/NavigationbarBackgroundHider.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64/NavigationbarBackgroundHider-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64/NavigationbarBackgroundHider.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64/NavigationbarBackgroundHider-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64/NavigationbarBackgroundHider_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64/NavigationbarBackgroundHider-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver NavigationbarBackgroundHider normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name NavigationbarBackgroundHider -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64_32/NavigationbarBackgroundHider.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64_32/NavigationbarBackgroundHider-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64_32/NavigationbarBackgroundHider.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64_32/NavigationbarBackgroundHider-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64_32/NavigationbarBackgroundHider_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64_32/NavigationbarBackgroundHider-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ NavigationbarBackgroundHider (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:18:57: error: 'UIScrollView' is unavailable in watchOS
16 |
17 | /// The main content UIScrollView to use for navigation bar hiding
18 | @objc var mainContentScrollViewForNavigationBarHiding: UIScrollView? {
| `- error: 'UIScrollView' is unavailable in watchOS
19 | return viewIfLoaded as? UIScrollView ?? view.subviews.first as? UIScrollView
20 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:38:86: error: 'UIScrollView' is unavailable in watchOS
36 | /// - offsetForHidingProvider: **optional** a block that provides the offset for when to make the bar visible again. Can be nil.
37 | /// - Returns: the created NavigationBarBackgroundHider
38 | @discardableResult public func enableNavigationBarBackgroundHiding(with scrollView: UIScrollView? = nil, offsetForHidingProvider: NavigationBarBackgroundHider.OffsetForHidingProvider? = nil) -> NavigationBarBackgroundHider {
| `- error: 'UIScrollView' is unavailable in watchOS
39 | let hider = NavigationBarBackgroundHider(viewController: self, scrollView: scrollView)
40 | hider.offsetForHidingProvider = offsetForHidingProvider
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:11:11: error: 'UIViewController' is unavailable in watchOS
9 | import ObjectiveC.runtime
10 |
11 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
12 | /// UIViewController subclasses can override this to automatically get an appropriate hiding style
13 | @objc public var navigationBarHidingStyle: NavigationBarBackgroundHider.NavigationBarHidingStyle {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:56:67: error: 'UINavigationBar' is unavailable in watchOS
54 | /// - Parameters:
55 | /// - navigationBar: **optional** if defined, will be used to set the `appearance`s of this item when they are not yet defined
56 | public func makeNavigationBarBackgroundVisible(in navigationBar: UINavigationBar? = nil) {
| `- error: 'UINavigationBar' is unavailable in watchOS
57 | configureForBarHiding(in: navigationBar)
58 | standardAppearance?.configureWithDefaultBackground()
/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/Sources/NavigationBarBackgroundHider.swift:66:71: error: 'UINavigationBar' is unavailable in watchOS
64 | /// - Parameters:
65 | /// - navigationBar: **optional** if defined, will be used to set the `appearance`s of this item when they are not yet defined
66 | public func makeNavigationBarBackgroundTransparent(in navigationBar: UINavigationBar? = nil) {
| `- error: 'UINavigationBar' is unavailable in watchOS
67 | configureForBarHiding(in: navigationBar)
68 | standardAppearance?.configureWithTransparentBackground()
/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/Sources/NavigationBarBackgroundHider.swift:76:54: error: 'UINavigationBar' is unavailable in watchOS
74 | /// - Parameters:
75 | /// - navigationBar: if defined, will be used to set the `appearance`s of this item when they are not yet defined
76 | public func configureForBarHiding(in navigationBar: UINavigationBar?) {
| `- error: 'UINavigationBar' is unavailable in watchOS
77 | if standardAppearance == nil {
78 | standardAppearance = navigationBar?.standardAppearance ?? UINavigationBarAppearance()
/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/Sources/NavigationBarBackgroundHider.swift:87:57: error: 'UINavigationItem' is unavailable in watchOS
85 |
86 | /// Handler to update the navigation item
87 | public typealias BarUpdateHandler = (_ navigationItem: UINavigationItem) -> Void
| `- error: 'UINavigationItem' is unavailable in watchOS
88 |
89 | /// Default handler to update the navigation bar background
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:99:33: error: 'UINavigationBar' is unavailable in watchOS
97 | /// - makeTransparentHandler: **optional** if defined, this will be called to make the background transparent. If nil, the default handler will be used.
98 | public func updateNavigationBarBackgroundVisibility(shouldBeVisible: Bool,
99 | in navigationBar: UINavigationBar?,
| `- error: 'UINavigationBar' is unavailable in watchOS
100 | animated: Bool,
101 | animateAlongSide: (() -> Void)? = nil,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Sources/NavigationBarBackgroundHider.swift:51:11: error: 'UINavigationItem' is unavailable in watchOS
49 | }
50 |
51 | extension UINavigationItem {
| `- error: 'UINavigationItem' is unavailable in watchOS
52 | /// Configures this navigation item to have a default background
53 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:147:34: error: 'UIViewController' is unavailable in watchOS
145 |
146 | /// the view controller this hider is handling
147 | public weak var viewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
148 |
149 | /// the default bar hiding style
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:194:38: error: 'UINavigationItem' is unavailable in watchOS
192 |
193 | /// the handler for making the bar background visible/hidden
194 | public typealias BarUpdateHandler = UINavigationItem.BarUpdateHandler
| `- error: 'UINavigationItem' is unavailable in watchOS
195 |
196 | /// handler that will be used to make the bar transparent in `defaultUpdateHandler`.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:211:39: error: 'UIScrollView' is unavailable in watchOS
209 |
210 | /// the scrollview we are observing
211 | private weak var observedScrollView: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
212 | private var scrollViewObserverKey: UInt = 0
213 | private var ignoreScrollChanges = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:219:46: error: 'UIScrollView' is unavailable in watchOS
217 |
218 | /// Offset provider. Used to provide the offset in a scrollview where we should show the bar
219 | public typealias OffsetForHidingProvider = (UIScrollView) -> CGFloat
| `- error: 'UIScrollView' is unavailable in watchOS
220 |
221 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:224:40: error: 'UITableView' is unavailable in watchOS
222 | /// the default offset provider: will make the bar visible if the first section scrolls behind the navigation bar in a UITableView.
223 | public let defaultOffsetForHidingProvider: OffsetForHidingProvider = { scrollView -> CGFloat in
224 | guard let tableView = scrollView as? UITableView, tableView.numberOfSections > 0 && tableView.tableHeaderView == nil else {return CGFloat(0)}
| `- error: 'UITableView' is unavailable in watchOS
225 | return tableView.rect(forSection: 0).minY
226 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h:347:12: note: 'UITableView' has been explicitly marked unavailable here
345 |
346 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
347 | @interface UITableView : UIScrollView <NSCoding, UIDataSourceTranslating>
| `- note: 'UITableView' has been explicitly marked unavailable here
348 |
349 | - (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style NS_DESIGNATED_INITIALIZER; // must specify style at creation. -initWithFrame: calls this with UITableViewStylePlain
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:237:30: error: 'UIViewController' is unavailable in watchOS
235 | /// - viewController: the view controller to change the navigation bar background for
236 | /// - scrollView: the scrollview to observe for scroll changes
237 | public init(viewController: UIViewController, scrollView: UIScrollView? = nil) {
| `- error: 'UIViewController' is unavailable in watchOS
238 | self.viewController = viewController
239 | self.observedScrollView = scrollView ?? viewController.mainContentScrollViewForNavigationBarHiding
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:237:60: error: 'UIScrollView' is unavailable in watchOS
235 | /// - viewController: the view controller to change the navigation bar background for
236 | /// - scrollView: the scrollview to observe for scroll changes
237 | public init(viewController: UIViewController, scrollView: UIScrollView? = nil) {
| `- error: 'UIScrollView' is unavailable in watchOS
238 | self.viewController = viewController
239 | self.observedScrollView = scrollView ?? viewController.mainContentScrollViewForNavigationBarHiding
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:261:53: error: 'UIViewController' is unavailable in watchOS
259 |
260 | // MARK: - Private
261 | private func actualHidingStyle(for viewController: UIViewController) -> NavigationBarHidingStyle {
| `- error: 'UIViewController' is unavailable in watchOS
262 | let style = viewController.navigationBarHidingStyle
263 | switch style {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:269:60: error: 'UIScrollView' is unavailable in watchOS
267 | }
268 |
269 | private func shouldBarBackgroundBeVisible(for scrollView: UIScrollView, in viewController: UIViewController) -> Bool {
| `- error: 'UIScrollView' is unavailable in watchOS
270 | switch actualHidingStyle(for: viewController) {
271 | case .alwaysHidden: return false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:269:93: error: 'UIViewController' is unavailable in watchOS
267 | }
268 |
269 | private func shouldBarBackgroundBeVisible(for scrollView: UIScrollView, in viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
270 | switch actualHidingStyle(for: viewController) {
271 | case .alwaysHidden: return false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:280:66: error: 'UIScrollView' is unavailable in watchOS
278 | }
279 |
280 | private func scrollOffsetForHidingNavigationBar(for scrollView: UIScrollView) -> CGFloat {
| `- error: 'UIScrollView' is unavailable in watchOS
281 | return offsetForHidingProvider?(scrollView) ?? defaultOffsetForHidingProvider(scrollView)
282 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64_32/NavigationbarBackgroundHider-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NavigationbarBackgroundHider -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64_32/NavigationbarBackgroundHider_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64_32/NavigationbarBackgroundHider.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64_32/NavigationbarBackgroundHider.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64_32/NavigationbarBackgroundHider-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64_32/NavigationbarBackgroundHider-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64_32/NavigationbarBackgroundHider-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64_32/NavigationbarBackgroundHider.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64_32/NavigationbarBackgroundHider.abi.json
SwiftEmitModule normal arm64 Emitting\ module\ for\ NavigationbarBackgroundHider (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:18:57: error: 'UIScrollView' is unavailable in watchOS
16 |
17 | /// The main content UIScrollView to use for navigation bar hiding
18 | @objc var mainContentScrollViewForNavigationBarHiding: UIScrollView? {
| `- error: 'UIScrollView' is unavailable in watchOS
19 | return viewIfLoaded as? UIScrollView ?? view.subviews.first as? UIScrollView
20 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:38:86: error: 'UIScrollView' is unavailable in watchOS
36 | /// - offsetForHidingProvider: **optional** a block that provides the offset for when to make the bar visible again. Can be nil.
37 | /// - Returns: the created NavigationBarBackgroundHider
38 | @discardableResult public func enableNavigationBarBackgroundHiding(with scrollView: UIScrollView? = nil, offsetForHidingProvider: NavigationBarBackgroundHider.OffsetForHidingProvider? = nil) -> NavigationBarBackgroundHider {
| `- error: 'UIScrollView' is unavailable in watchOS
39 | let hider = NavigationBarBackgroundHider(viewController: self, scrollView: scrollView)
40 | hider.offsetForHidingProvider = offsetForHidingProvider
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:11:11: error: 'UIViewController' is unavailable in watchOS
9 | import ObjectiveC.runtime
10 |
11 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
12 | /// UIViewController subclasses can override this to automatically get an appropriate hiding style
13 | @objc public var navigationBarHidingStyle: NavigationBarBackgroundHider.NavigationBarHidingStyle {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:56:67: error: 'UINavigationBar' is unavailable in watchOS
54 | /// - Parameters:
55 | /// - navigationBar: **optional** if defined, will be used to set the `appearance`s of this item when they are not yet defined
56 | public func makeNavigationBarBackgroundVisible(in navigationBar: UINavigationBar? = nil) {
| `- error: 'UINavigationBar' is unavailable in watchOS
57 | configureForBarHiding(in: navigationBar)
58 | standardAppearance?.configureWithDefaultBackground()
/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/Sources/NavigationBarBackgroundHider.swift:66:71: error: 'UINavigationBar' is unavailable in watchOS
64 | /// - Parameters:
65 | /// - navigationBar: **optional** if defined, will be used to set the `appearance`s of this item when they are not yet defined
66 | public func makeNavigationBarBackgroundTransparent(in navigationBar: UINavigationBar? = nil) {
| `- error: 'UINavigationBar' is unavailable in watchOS
67 | configureForBarHiding(in: navigationBar)
68 | standardAppearance?.configureWithTransparentBackground()
/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/Sources/NavigationBarBackgroundHider.swift:76:54: error: 'UINavigationBar' is unavailable in watchOS
74 | /// - Parameters:
75 | /// - navigationBar: if defined, will be used to set the `appearance`s of this item when they are not yet defined
76 | public func configureForBarHiding(in navigationBar: UINavigationBar?) {
| `- error: 'UINavigationBar' is unavailable in watchOS
77 | if standardAppearance == nil {
78 | standardAppearance = navigationBar?.standardAppearance ?? UINavigationBarAppearance()
/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/Sources/NavigationBarBackgroundHider.swift:87:57: error: 'UINavigationItem' is unavailable in watchOS
85 |
86 | /// Handler to update the navigation item
87 | public typealias BarUpdateHandler = (_ navigationItem: UINavigationItem) -> Void
| `- error: 'UINavigationItem' is unavailable in watchOS
88 |
89 | /// Default handler to update the navigation bar background
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:99:33: error: 'UINavigationBar' is unavailable in watchOS
97 | /// - makeTransparentHandler: **optional** if defined, this will be called to make the background transparent. If nil, the default handler will be used.
98 | public func updateNavigationBarBackgroundVisibility(shouldBeVisible: Bool,
99 | in navigationBar: UINavigationBar?,
| `- error: 'UINavigationBar' is unavailable in watchOS
100 | animated: Bool,
101 | animateAlongSide: (() -> Void)? = nil,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Sources/NavigationBarBackgroundHider.swift:51:11: error: 'UINavigationItem' is unavailable in watchOS
49 | }
50 |
51 | extension UINavigationItem {
| `- error: 'UINavigationItem' is unavailable in watchOS
52 | /// Configures this navigation item to have a default background
53 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:147:34: error: 'UIViewController' is unavailable in watchOS
145 |
146 | /// the view controller this hider is handling
147 | public weak var viewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
148 |
149 | /// the default bar hiding style
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:194:38: error: 'UINavigationItem' is unavailable in watchOS
192 |
193 | /// the handler for making the bar background visible/hidden
194 | public typealias BarUpdateHandler = UINavigationItem.BarUpdateHandler
| `- error: 'UINavigationItem' is unavailable in watchOS
195 |
196 | /// handler that will be used to make the bar transparent in `defaultUpdateHandler`.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:211:39: error: 'UIScrollView' is unavailable in watchOS
209 |
210 | /// the scrollview we are observing
211 | private weak var observedScrollView: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
212 | private var scrollViewObserverKey: UInt = 0
213 | private var ignoreScrollChanges = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:219:46: error: 'UIScrollView' is unavailable in watchOS
217 |
218 | /// Offset provider. Used to provide the offset in a scrollview where we should show the bar
219 | public typealias OffsetForHidingProvider = (UIScrollView) -> CGFloat
| `- error: 'UIScrollView' is unavailable in watchOS
220 |
221 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:224:40: error: 'UITableView' is unavailable in watchOS
222 | /// the default offset provider: will make the bar visible if the first section scrolls behind the navigation bar in a UITableView.
223 | public let defaultOffsetForHidingProvider: OffsetForHidingProvider = { scrollView -> CGFloat in
224 | guard let tableView = scrollView as? UITableView, tableView.numberOfSections > 0 && tableView.tableHeaderView == nil else {return CGFloat(0)}
| `- error: 'UITableView' is unavailable in watchOS
225 | return tableView.rect(forSection: 0).minY
226 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h:347:12: note: 'UITableView' has been explicitly marked unavailable here
345 |
346 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
347 | @interface UITableView : UIScrollView <NSCoding, UIDataSourceTranslating>
| `- note: 'UITableView' has been explicitly marked unavailable here
348 |
349 | - (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style NS_DESIGNATED_INITIALIZER; // must specify style at creation. -initWithFrame: calls this with UITableViewStylePlain
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:237:30: error: 'UIViewController' is unavailable in watchOS
235 | /// - viewController: the view controller to change the navigation bar background for
236 | /// - scrollView: the scrollview to observe for scroll changes
237 | public init(viewController: UIViewController, scrollView: UIScrollView? = nil) {
| `- error: 'UIViewController' is unavailable in watchOS
238 | self.viewController = viewController
239 | self.observedScrollView = scrollView ?? viewController.mainContentScrollViewForNavigationBarHiding
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:237:60: error: 'UIScrollView' is unavailable in watchOS
235 | /// - viewController: the view controller to change the navigation bar background for
236 | /// - scrollView: the scrollview to observe for scroll changes
237 | public init(viewController: UIViewController, scrollView: UIScrollView? = nil) {
| `- error: 'UIScrollView' is unavailable in watchOS
238 | self.viewController = viewController
239 | self.observedScrollView = scrollView ?? viewController.mainContentScrollViewForNavigationBarHiding
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:261:53: error: 'UIViewController' is unavailable in watchOS
259 |
260 | // MARK: - Private
261 | private func actualHidingStyle(for viewController: UIViewController) -> NavigationBarHidingStyle {
| `- error: 'UIViewController' is unavailable in watchOS
262 | let style = viewController.navigationBarHidingStyle
263 | switch style {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:269:60: error: 'UIScrollView' is unavailable in watchOS
267 | }
268 |
269 | private func shouldBarBackgroundBeVisible(for scrollView: UIScrollView, in viewController: UIViewController) -> Bool {
| `- error: 'UIScrollView' is unavailable in watchOS
270 | switch actualHidingStyle(for: viewController) {
271 | case .alwaysHidden: return false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:269:93: error: 'UIViewController' is unavailable in watchOS
267 | }
268 |
269 | private func shouldBarBackgroundBeVisible(for scrollView: UIScrollView, in viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
270 | switch actualHidingStyle(for: viewController) {
271 | case .alwaysHidden: return false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:280:66: error: 'UIScrollView' is unavailable in watchOS
278 | }
279 |
280 | private func scrollOffsetForHidingNavigationBar(for scrollView: UIScrollView) -> CGFloat {
| `- error: 'UIScrollView' is unavailable in watchOS
281 | return offsetForHidingProvider?(scrollView) ?? defaultOffsetForHidingProvider(scrollView)
282 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.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/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64/NavigationbarBackgroundHider-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/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NavigationbarBackgroundHider -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64/NavigationbarBackgroundHider_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/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64/NavigationbarBackgroundHider.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64/NavigationbarBackgroundHider.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64/NavigationbarBackgroundHider-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64/NavigationbarBackgroundHider-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64/NavigationbarBackgroundHider-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64/NavigationbarBackgroundHider.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NavigationbarBackgroundHider.build/Debug-watchos/NavigationbarBackgroundHider-t.build/Objects-normal/arm64/NavigationbarBackgroundHider.abi.json
SwiftCompile normal arm64 (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ NavigationBarBackgroundHider.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:18:57: error: 'UIScrollView' is unavailable in watchOS
16 |
17 | /// The main content UIScrollView to use for navigation bar hiding
18 | @objc var mainContentScrollViewForNavigationBarHiding: UIScrollView? {
| `- error: 'UIScrollView' is unavailable in watchOS
19 | return viewIfLoaded as? UIScrollView ?? view.subviews.first as? UIScrollView
20 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:38:86: error: 'UIScrollView' is unavailable in watchOS
36 | /// - offsetForHidingProvider: **optional** a block that provides the offset for when to make the bar visible again. Can be nil.
37 | /// - Returns: the created NavigationBarBackgroundHider
38 | @discardableResult public func enableNavigationBarBackgroundHiding(with scrollView: UIScrollView? = nil, offsetForHidingProvider: NavigationBarBackgroundHider.OffsetForHidingProvider? = nil) -> NavigationBarBackgroundHider {
| `- error: 'UIScrollView' is unavailable in watchOS
39 | let hider = NavigationBarBackgroundHider(viewController: self, scrollView: scrollView)
40 | hider.offsetForHidingProvider = offsetForHidingProvider
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:11:11: error: 'UIViewController' is unavailable in watchOS
9 | import ObjectiveC.runtime
10 |
11 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
12 | /// UIViewController subclasses can override this to automatically get an appropriate hiding style
13 | @objc public var navigationBarHidingStyle: NavigationBarBackgroundHider.NavigationBarHidingStyle {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:56:67: error: 'UINavigationBar' is unavailable in watchOS
54 | /// - Parameters:
55 | /// - navigationBar: **optional** if defined, will be used to set the `appearance`s of this item when they are not yet defined
56 | public func makeNavigationBarBackgroundVisible(in navigationBar: UINavigationBar? = nil) {
| `- error: 'UINavigationBar' is unavailable in watchOS
57 | configureForBarHiding(in: navigationBar)
58 | standardAppearance?.configureWithDefaultBackground()
/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/Sources/NavigationBarBackgroundHider.swift:66:71: error: 'UINavigationBar' is unavailable in watchOS
64 | /// - Parameters:
65 | /// - navigationBar: **optional** if defined, will be used to set the `appearance`s of this item when they are not yet defined
66 | public func makeNavigationBarBackgroundTransparent(in navigationBar: UINavigationBar? = nil) {
| `- error: 'UINavigationBar' is unavailable in watchOS
67 | configureForBarHiding(in: navigationBar)
68 | standardAppearance?.configureWithTransparentBackground()
/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/Sources/NavigationBarBackgroundHider.swift:76:54: error: 'UINavigationBar' is unavailable in watchOS
74 | /// - Parameters:
75 | /// - navigationBar: if defined, will be used to set the `appearance`s of this item when they are not yet defined
76 | public func configureForBarHiding(in navigationBar: UINavigationBar?) {
| `- error: 'UINavigationBar' is unavailable in watchOS
77 | if standardAppearance == nil {
78 | standardAppearance = navigationBar?.standardAppearance ?? UINavigationBarAppearance()
/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/Sources/NavigationBarBackgroundHider.swift:87:57: error: 'UINavigationItem' is unavailable in watchOS
85 |
86 | /// Handler to update the navigation item
87 | public typealias BarUpdateHandler = (_ navigationItem: UINavigationItem) -> Void
| `- error: 'UINavigationItem' is unavailable in watchOS
88 |
89 | /// Default handler to update the navigation bar background
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:99:33: error: 'UINavigationBar' is unavailable in watchOS
97 | /// - makeTransparentHandler: **optional** if defined, this will be called to make the background transparent. If nil, the default handler will be used.
98 | public func updateNavigationBarBackgroundVisibility(shouldBeVisible: Bool,
99 | in navigationBar: UINavigationBar?,
| `- error: 'UINavigationBar' is unavailable in watchOS
100 | animated: Bool,
101 | animateAlongSide: (() -> Void)? = nil,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Sources/NavigationBarBackgroundHider.swift:51:11: error: 'UINavigationItem' is unavailable in watchOS
49 | }
50 |
51 | extension UINavigationItem {
| `- error: 'UINavigationItem' is unavailable in watchOS
52 | /// Configures this navigation item to have a default background
53 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:147:34: error: 'UIViewController' is unavailable in watchOS
145 |
146 | /// the view controller this hider is handling
147 | public weak var viewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
148 |
149 | /// the default bar hiding style
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:194:38: error: 'UINavigationItem' is unavailable in watchOS
192 |
193 | /// the handler for making the bar background visible/hidden
194 | public typealias BarUpdateHandler = UINavigationItem.BarUpdateHandler
| `- error: 'UINavigationItem' is unavailable in watchOS
195 |
196 | /// handler that will be used to make the bar transparent in `defaultUpdateHandler`.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:211:39: error: 'UIScrollView' is unavailable in watchOS
209 |
210 | /// the scrollview we are observing
211 | private weak var observedScrollView: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
212 | private var scrollViewObserverKey: UInt = 0
213 | private var ignoreScrollChanges = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:219:46: error: 'UIScrollView' is unavailable in watchOS
217 |
218 | /// Offset provider. Used to provide the offset in a scrollview where we should show the bar
219 | public typealias OffsetForHidingProvider = (UIScrollView) -> CGFloat
| `- error: 'UIScrollView' is unavailable in watchOS
220 |
221 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:224:40: error: 'UITableView' is unavailable in watchOS
222 | /// the default offset provider: will make the bar visible if the first section scrolls behind the navigation bar in a UITableView.
223 | public let defaultOffsetForHidingProvider: OffsetForHidingProvider = { scrollView -> CGFloat in
224 | guard let tableView = scrollView as? UITableView, tableView.numberOfSections > 0 && tableView.tableHeaderView == nil else {return CGFloat(0)}
| `- error: 'UITableView' is unavailable in watchOS
225 | return tableView.rect(forSection: 0).minY
226 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h:347:12: note: 'UITableView' has been explicitly marked unavailable here
345 |
346 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
347 | @interface UITableView : UIScrollView <NSCoding, UIDataSourceTranslating>
| `- note: 'UITableView' has been explicitly marked unavailable here
348 |
349 | - (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style NS_DESIGNATED_INITIALIZER; // must specify style at creation. -initWithFrame: calls this with UITableViewStylePlain
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:237:30: error: 'UIViewController' is unavailable in watchOS
235 | /// - viewController: the view controller to change the navigation bar background for
236 | /// - scrollView: the scrollview to observe for scroll changes
237 | public init(viewController: UIViewController, scrollView: UIScrollView? = nil) {
| `- error: 'UIViewController' is unavailable in watchOS
238 | self.viewController = viewController
239 | self.observedScrollView = scrollView ?? viewController.mainContentScrollViewForNavigationBarHiding
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:237:60: error: 'UIScrollView' is unavailable in watchOS
235 | /// - viewController: the view controller to change the navigation bar background for
236 | /// - scrollView: the scrollview to observe for scroll changes
237 | public init(viewController: UIViewController, scrollView: UIScrollView? = nil) {
| `- error: 'UIScrollView' is unavailable in watchOS
238 | self.viewController = viewController
239 | self.observedScrollView = scrollView ?? viewController.mainContentScrollViewForNavigationBarHiding
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:261:53: error: 'UIViewController' is unavailable in watchOS
259 |
260 | // MARK: - Private
261 | private func actualHidingStyle(for viewController: UIViewController) -> NavigationBarHidingStyle {
| `- error: 'UIViewController' is unavailable in watchOS
262 | let style = viewController.navigationBarHidingStyle
263 | switch style {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:269:60: error: 'UIScrollView' is unavailable in watchOS
267 | }
268 |
269 | private func shouldBarBackgroundBeVisible(for scrollView: UIScrollView, in viewController: UIViewController) -> Bool {
| `- error: 'UIScrollView' is unavailable in watchOS
270 | switch actualHidingStyle(for: viewController) {
271 | case .alwaysHidden: return false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:269:93: error: 'UIViewController' is unavailable in watchOS
267 | }
268 |
269 | private func shouldBarBackgroundBeVisible(for scrollView: UIScrollView, in viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
270 | switch actualHidingStyle(for: viewController) {
271 | case .alwaysHidden: return false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:280:66: error: 'UIScrollView' is unavailable in watchOS
278 | }
279 |
280 | private func scrollOffsetForHidingNavigationBar(for scrollView: UIScrollView) -> CGFloat {
| `- error: 'UIScrollView' is unavailable in watchOS
281 | return offsetForHidingProvider?(scrollView) ?? defaultOffsetForHidingProvider(scrollView)
282 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:19:27: error: 'UIScrollView' is unavailable in watchOS
17 | /// The main content UIScrollView to use for navigation bar hiding
18 | @objc var mainContentScrollViewForNavigationBarHiding: UIScrollView? {
19 | return viewIfLoaded as? UIScrollView ?? view.subviews.first as? UIScrollView
| `- error: 'UIScrollView' is unavailable in watchOS
20 | }
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:19:67: error: 'UIScrollView' is unavailable in watchOS
17 | /// The main content UIScrollView to use for navigation bar hiding
18 | @objc var mainContentScrollViewForNavigationBarHiding: UIScrollView? {
19 | return viewIfLoaded as? UIScrollView ?? view.subviews.first as? UIScrollView
| `- error: 'UIScrollView' is unavailable in watchOS
20 | }
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:58:3: error: 'standardAppearance' is unavailable in watchOS
56 | public func makeNavigationBarBackgroundVisible(in navigationBar: UINavigationBar? = nil) {
57 | configureForBarHiding(in: navigationBar)
58 | standardAppearance?.configureWithDefaultBackground()
| `- error: 'standardAppearance' is unavailable in watchOS
59 | compactAppearance?.configureWithDefaultBackground()
60 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:266:77: note: 'standardAppearance' has been explicitly marked unavailable here
264 |
265 | /// When set and this item is topmost, overrides the hosting navigation bar's standardAppearance. See UINavigationBar.standardAppearance for further details.
266 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *standardAppearance API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'standardAppearance' has been explicitly marked unavailable here
267 | /// When set and this item is topmost, overrides the hosting navigation bar's compactAppearance. See UINavigationBar.compactAppearance for further details.
268 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *compactAppearance API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:59:3: error: 'compactAppearance' is unavailable in watchOS
57 | configureForBarHiding(in: navigationBar)
58 | standardAppearance?.configureWithDefaultBackground()
59 | compactAppearance?.configureWithDefaultBackground()
| `- error: 'compactAppearance' is unavailable in watchOS
60 | }
61 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:268:77: note: 'compactAppearance' has been explicitly marked unavailable here
266 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *standardAppearance API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
267 | /// When set and this item is topmost, overrides the hosting navigation bar's compactAppearance. See UINavigationBar.compactAppearance for further details.
268 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *compactAppearance API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'compactAppearance' has been explicitly marked unavailable here
269 | /// When set and this item is topmost, overrides the hosting navigation bar's scrollEdgeAppearance. See UINavigationBar.scrollEdgeAppearance for further details.
270 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *scrollEdgeAppearance API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationBarBackgroundHider.swift
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:68:3: error: 'standardAppearance' is unavailable in watchOS
66 | public func makeNavigationBarBackgroundTransparent(in navigationBar: UINavigationBar? = nil) {
67 | configureForBarHiding(in: navigationBar)
68 | standardAppearance?.configureWithTransparentBackground()
| `- error: 'standardAppearance' is unavailable in watchOS
69 | compactAppearance?.configureWithTransparentBackground()
70 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:266:77: note: 'standardAppearance' has been explicitly marked unavailable here
264 |
265 | /// When set and this item is topmost, overrides the hosting navigation bar's standardAppearance. See UINavigationBar.standardAppearance for further details.
266 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *standardAppearance API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'standardAppearance' has been explicitly marked unavailable here
267 | /// When set and this item is topmost, overrides the hosting navigation bar's compactAppearance. See UINavigationBar.compactAppearance for further details.
268 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *compactAppearance API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64 Compiling\ NavigationBarBackgroundHider.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:18:57: error: 'UIScrollView' is unavailable in watchOS
16 |
17 | /// The main content UIScrollView to use for navigation bar hiding
18 | @objc var mainContentScrollViewForNavigationBarHiding: UIScrollView? {
| `- error: 'UIScrollView' is unavailable in watchOS
19 | return viewIfLoaded as? UIScrollView ?? view.subviews.first as? UIScrollView
20 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:38:86: error: 'UIScrollView' is unavailable in watchOS
36 | /// - offsetForHidingProvider: **optional** a block that provides the offset for when to make the bar visible again. Can be nil.
37 | /// - Returns: the created NavigationBarBackgroundHider
38 | @discardableResult public func enableNavigationBarBackgroundHiding(with scrollView: UIScrollView? = nil, offsetForHidingProvider: NavigationBarBackgroundHider.OffsetForHidingProvider? = nil) -> NavigationBarBackgroundHider {
| `- error: 'UIScrollView' is unavailable in watchOS
39 | let hider = NavigationBarBackgroundHider(viewController: self, scrollView: scrollView)
40 | hider.offsetForHidingProvider = offsetForHidingProvider
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:11:11: error: 'UIViewController' is unavailable in watchOS
9 | import ObjectiveC.runtime
10 |
11 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
12 | /// UIViewController subclasses can override this to automatically get an appropriate hiding style
13 | @objc public var navigationBarHidingStyle: NavigationBarBackgroundHider.NavigationBarHidingStyle {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:56:67: error: 'UINavigationBar' is unavailable in watchOS
54 | /// - Parameters:
55 | /// - navigationBar: **optional** if defined, will be used to set the `appearance`s of this item when they are not yet defined
56 | public func makeNavigationBarBackgroundVisible(in navigationBar: UINavigationBar? = nil) {
| `- error: 'UINavigationBar' is unavailable in watchOS
57 | configureForBarHiding(in: navigationBar)
58 | standardAppearance?.configureWithDefaultBackground()
/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/Sources/NavigationBarBackgroundHider.swift:66:71: error: 'UINavigationBar' is unavailable in watchOS
64 | /// - Parameters:
65 | /// - navigationBar: **optional** if defined, will be used to set the `appearance`s of this item when they are not yet defined
66 | public func makeNavigationBarBackgroundTransparent(in navigationBar: UINavigationBar? = nil) {
| `- error: 'UINavigationBar' is unavailable in watchOS
67 | configureForBarHiding(in: navigationBar)
68 | standardAppearance?.configureWithTransparentBackground()
/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/Sources/NavigationBarBackgroundHider.swift:76:54: error: 'UINavigationBar' is unavailable in watchOS
74 | /// - Parameters:
75 | /// - navigationBar: if defined, will be used to set the `appearance`s of this item when they are not yet defined
76 | public func configureForBarHiding(in navigationBar: UINavigationBar?) {
| `- error: 'UINavigationBar' is unavailable in watchOS
77 | if standardAppearance == nil {
78 | standardAppearance = navigationBar?.standardAppearance ?? UINavigationBarAppearance()
/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/Sources/NavigationBarBackgroundHider.swift:87:57: error: 'UINavigationItem' is unavailable in watchOS
85 |
86 | /// Handler to update the navigation item
87 | public typealias BarUpdateHandler = (_ navigationItem: UINavigationItem) -> Void
| `- error: 'UINavigationItem' is unavailable in watchOS
88 |
89 | /// Default handler to update the navigation bar background
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:99:33: error: 'UINavigationBar' is unavailable in watchOS
97 | /// - makeTransparentHandler: **optional** if defined, this will be called to make the background transparent. If nil, the default handler will be used.
98 | public func updateNavigationBarBackgroundVisibility(shouldBeVisible: Bool,
99 | in navigationBar: UINavigationBar?,
| `- error: 'UINavigationBar' is unavailable in watchOS
100 | animated: Bool,
101 | animateAlongSide: (() -> Void)? = nil,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Sources/NavigationBarBackgroundHider.swift:51:11: error: 'UINavigationItem' is unavailable in watchOS
49 | }
50 |
51 | extension UINavigationItem {
| `- error: 'UINavigationItem' is unavailable in watchOS
52 | /// Configures this navigation item to have a default background
53 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:147:34: error: 'UIViewController' is unavailable in watchOS
145 |
146 | /// the view controller this hider is handling
147 | public weak var viewController: UIViewController?
| `- error: 'UIViewController' is unavailable in watchOS
148 |
149 | /// the default bar hiding style
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:194:38: error: 'UINavigationItem' is unavailable in watchOS
192 |
193 | /// the handler for making the bar background visible/hidden
194 | public typealias BarUpdateHandler = UINavigationItem.BarUpdateHandler
| `- error: 'UINavigationItem' is unavailable in watchOS
195 |
196 | /// handler that will be used to make the bar transparent in `defaultUpdateHandler`.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:92:12: note: 'UINavigationItem' has been explicitly marked unavailable here
90 |
91 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
92 | @interface UINavigationItem : NSObject <NSCoding>
| `- note: 'UINavigationItem' has been explicitly marked unavailable here
93 |
94 | - (instancetype)initWithTitle:(NSString *)title NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:211:39: error: 'UIScrollView' is unavailable in watchOS
209 |
210 | /// the scrollview we are observing
211 | private weak var observedScrollView: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
212 | private var scrollViewObserverKey: UInt = 0
213 | private var ignoreScrollChanges = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:219:46: error: 'UIScrollView' is unavailable in watchOS
217 |
218 | /// Offset provider. Used to provide the offset in a scrollview where we should show the bar
219 | public typealias OffsetForHidingProvider = (UIScrollView) -> CGFloat
| `- error: 'UIScrollView' is unavailable in watchOS
220 |
221 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:224:40: error: 'UITableView' is unavailable in watchOS
222 | /// the default offset provider: will make the bar visible if the first section scrolls behind the navigation bar in a UITableView.
223 | public let defaultOffsetForHidingProvider: OffsetForHidingProvider = { scrollView -> CGFloat in
224 | guard let tableView = scrollView as? UITableView, tableView.numberOfSections > 0 && tableView.tableHeaderView == nil else {return CGFloat(0)}
| `- error: 'UITableView' is unavailable in watchOS
225 | return tableView.rect(forSection: 0).minY
226 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h:347:12: note: 'UITableView' has been explicitly marked unavailable here
345 |
346 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
347 | @interface UITableView : UIScrollView <NSCoding, UIDataSourceTranslating>
| `- note: 'UITableView' has been explicitly marked unavailable here
348 |
349 | - (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style NS_DESIGNATED_INITIALIZER; // must specify style at creation. -initWithFrame: calls this with UITableViewStylePlain
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:237:30: error: 'UIViewController' is unavailable in watchOS
235 | /// - viewController: the view controller to change the navigation bar background for
236 | /// - scrollView: the scrollview to observe for scroll changes
237 | public init(viewController: UIViewController, scrollView: UIScrollView? = nil) {
| `- error: 'UIViewController' is unavailable in watchOS
238 | self.viewController = viewController
239 | self.observedScrollView = scrollView ?? viewController.mainContentScrollViewForNavigationBarHiding
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:237:60: error: 'UIScrollView' is unavailable in watchOS
235 | /// - viewController: the view controller to change the navigation bar background for
236 | /// - scrollView: the scrollview to observe for scroll changes
237 | public init(viewController: UIViewController, scrollView: UIScrollView? = nil) {
| `- error: 'UIScrollView' is unavailable in watchOS
238 | self.viewController = viewController
239 | self.observedScrollView = scrollView ?? viewController.mainContentScrollViewForNavigationBarHiding
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:261:53: error: 'UIViewController' is unavailable in watchOS
259 |
260 | // MARK: - Private
261 | private func actualHidingStyle(for viewController: UIViewController) -> NavigationBarHidingStyle {
| `- error: 'UIViewController' is unavailable in watchOS
262 | let style = viewController.navigationBarHidingStyle
263 | switch style {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:269:60: error: 'UIScrollView' is unavailable in watchOS
267 | }
268 |
269 | private func shouldBarBackgroundBeVisible(for scrollView: UIScrollView, in viewController: UIViewController) -> Bool {
| `- error: 'UIScrollView' is unavailable in watchOS
270 | switch actualHidingStyle(for: viewController) {
271 | case .alwaysHidden: return false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:269:93: error: 'UIViewController' is unavailable in watchOS
267 | }
268 |
269 | private func shouldBarBackgroundBeVisible(for scrollView: UIScrollView, in viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
270 | switch actualHidingStyle(for: viewController) {
271 | case .alwaysHidden: return false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:280:66: error: 'UIScrollView' is unavailable in watchOS
278 | }
279 |
280 | private func scrollOffsetForHidingNavigationBar(for scrollView: UIScrollView) -> CGFloat {
| `- error: 'UIScrollView' is unavailable in watchOS
281 | return offsetForHidingProvider?(scrollView) ?? defaultOffsetForHidingProvider(scrollView)
282 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:19:27: error: 'UIScrollView' is unavailable in watchOS
17 | /// The main content UIScrollView to use for navigation bar hiding
18 | @objc var mainContentScrollViewForNavigationBarHiding: UIScrollView? {
19 | return viewIfLoaded as? UIScrollView ?? view.subviews.first as? UIScrollView
| `- error: 'UIScrollView' is unavailable in watchOS
20 | }
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:19:67: error: 'UIScrollView' is unavailable in watchOS
17 | /// The main content UIScrollView to use for navigation bar hiding
18 | @objc var mainContentScrollViewForNavigationBarHiding: UIScrollView? {
19 | return viewIfLoaded as? UIScrollView ?? view.subviews.first as? UIScrollView
| `- error: 'UIScrollView' is unavailable in watchOS
20 | }
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:58:3: error: 'standardAppearance' is unavailable in watchOS
56 | public func makeNavigationBarBackgroundVisible(in navigationBar: UINavigationBar? = nil) {
57 | configureForBarHiding(in: navigationBar)
58 | standardAppearance?.configureWithDefaultBackground()
| `- error: 'standardAppearance' is unavailable in watchOS
59 | compactAppearance?.configureWithDefaultBackground()
60 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:266:77: note: 'standardAppearance' has been explicitly marked unavailable here
264 |
265 | /// When set and this item is topmost, overrides the hosting navigation bar's standardAppearance. See UINavigationBar.standardAppearance for further details.
266 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *standardAppearance API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'standardAppearance' has been explicitly marked unavailable here
267 | /// When set and this item is topmost, overrides the hosting navigation bar's compactAppearance. See UINavigationBar.compactAppearance for further details.
268 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *compactAppearance API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:59:3: error: 'compactAppearance' is unavailable in watchOS
57 | configureForBarHiding(in: navigationBar)
58 | standardAppearance?.configureWithDefaultBackground()
59 | compactAppearance?.configureWithDefaultBackground()
| `- error: 'compactAppearance' is unavailable in watchOS
60 | }
61 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:268:77: note: 'compactAppearance' has been explicitly marked unavailable here
266 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *standardAppearance API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
267 | /// When set and this item is topmost, overrides the hosting navigation bar's compactAppearance. See UINavigationBar.compactAppearance for further details.
268 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *compactAppearance API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'compactAppearance' has been explicitly marked unavailable here
269 | /// When set and this item is topmost, overrides the hosting navigation bar's scrollEdgeAppearance. See UINavigationBar.scrollEdgeAppearance for further details.
270 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *scrollEdgeAppearance API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NavigationBarBackgroundHider.swift
/Users/admin/builder/spi-builder-workspace/Sources/NavigationBarBackgroundHider.swift:68:3: error: 'standardAppearance' is unavailable in watchOS
66 | public func makeNavigationBarBackgroundTransparent(in navigationBar: UINavigationBar? = nil) {
67 | configureForBarHiding(in: navigationBar)
68 | standardAppearance?.configureWithTransparentBackground()
| `- error: 'standardAppearance' is unavailable in watchOS
69 | compactAppearance?.configureWithTransparentBackground()
70 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h:266:77: note: 'standardAppearance' has been explicitly marked unavailable here
264 |
265 | /// When set and this item is topmost, overrides the hosting navigation bar's standardAppearance. See UINavigationBar.standardAppearance for further details.
266 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *standardAppearance API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'standardAppearance' has been explicitly marked unavailable here
267 | /// When set and this item is topmost, overrides the hosting navigation bar's compactAppearance. See UINavigationBar.compactAppearance for further details.
268 | @property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *compactAppearance API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-18 03:52:13.954 xcodebuild[781:4732] [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 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ NavigationbarBackgroundHider (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
SwiftEmitModule normal arm64 Emitting\ module\ for\ NavigationbarBackgroundHider (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
SwiftCompile normal arm64 (in target 'NavigationbarBackgroundHider' from project 'NavigationbarBackgroundHider')
Building workspace NavigationbarBackgroundHider with scheme NavigationbarBackgroundHider
(5 failures)
BUILD FAILURE 6.4 watchOS