Build Information
Failed to build ScrollViewObserver, reference 1.0.1 (5498dc), with Swift 6.4 for watchOS using Xcode 27.0 on 22 Sep 2026 04:07:19 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 ScrollViewObserver -destination generic/platform=watchOSBuild Log
132 | }
/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/ScrollViewVisibilityToggler.swift:35:28: error: 'UIView' is unavailable in watchOS
33 | /// the view to use as a treshold. When this view is scrolled out of view,
34 | /// we'll hide `viewToToggle`.
35 | public var viewToMonitor: UIView? {didSet {updateForChanges(animated: false)}}
| `- error: 'UIView' is unavailable in watchOS
36 |
37 | /// The view to toggle the visibility of. Can be the same as `viewToMonitor`.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:38:27: error: 'UIView' is unavailable in watchOS
36 |
37 | /// The view to toggle the visibility of. Can be the same as `viewToMonitor`.
38 | public var viewToToggle: UIView? {didSet {updateForChanges(animated: false)}}
| `- error: 'UIView' is unavailable in watchOS
39 | public var monitor: ScrollViewOffsetMonitor
40 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:57:55: error: 'UIView' is unavailable in watchOS
55 |
56 | /// Callback used to do custom toggling
57 | public typealias VisibilityUpdateCallback = (_ view: UIView, _ shouldBeVisible: Bool, _ animated: Bool) -> Void
| `- error: 'UIView' is unavailable in watchOS
58 |
59 | /// callback that will be called to toggle the view from visible to hidden
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:63:30: error: 'UIScrollView' is unavailable in watchOS
61 |
62 | /// the scrollview we are monitoring
63 | public weak var scrollView: UIScrollView? {
| `- error: 'UIScrollView' is unavailable in watchOS
64 | return monitor.scrollView
65 | }
/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/ScrollViewVisibilityToggler.swift:76:26: error: 'UIScrollView' is unavailable in watchOS
74 | /// - style: **optional** the style that determines when to show/hide the `viewToToggle`, defaults to `.showWhenPastTreshold`
75 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
76 | public init(scrollView: UIScrollView,
| `- error: 'UIScrollView' is unavailable in watchOS
77 | viewToMonitor: UIView? = nil,
78 | rectEdge: UIRectEdge = .bottom,
/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/ScrollViewVisibilityToggler.swift:77:20: error: 'UIView' is unavailable in watchOS
75 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
76 | public init(scrollView: UIScrollView,
77 | viewToMonitor: UIView? = nil,
| `- error: 'UIView' is unavailable in watchOS
78 | rectEdge: UIRectEdge = .bottom,
79 | viewToToggle: UIView? = 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:79:19: error: 'UIView' is unavailable in watchOS
77 | viewToMonitor: UIView? = nil,
78 | rectEdge: UIRectEdge = .bottom,
79 | viewToToggle: UIView? = nil,
| `- error: 'UIView' is unavailable in watchOS
80 | style: Style = .showWhenPastTreshold,
81 | visibilityUpdateCallback: VisibilityUpdateCallback? = 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:115:38: error: 'UIScrollView' is unavailable in watchOS
113 | /// - tresholdProvider: the callback that provides the treshold when to hide `viewToToggle`
114 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
115 | public convenience init(scrollView: UIScrollView,
| `- error: 'UIScrollView' is unavailable in watchOS
116 | viewToToggle: UIView? = nil,
117 | style: Style = .showWhenPastTreshold,
/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/ScrollViewVisibilityToggler.swift:116:22: error: 'UIView' is unavailable in watchOS
114 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
115 | public convenience init(scrollView: UIScrollView,
116 | viewToToggle: UIView? = nil,
| `- error: 'UIView' is unavailable in watchOS
117 | style: Style = .showWhenPastTreshold,
118 | tresholdProvider: @escaping ScrollViewOffsetMonitor.OffsetProvider,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:133:42: error: 'UICollectionView' is unavailable in watchOS
131 | /// - indexPath: the index path to use as treshold
132 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
133 | public convenience init(collectionView: UICollectionView,
| `- error: 'UICollectionView' is unavailable in watchOS
134 | viewToToggle: UIView? = nil,
135 | style: Style = .showWhenPastTreshold,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:134:22: error: 'UIView' is unavailable in watchOS
132 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
133 | public convenience init(collectionView: UICollectionView,
134 | viewToToggle: UIView? = nil,
| `- error: 'UIView' is unavailable in watchOS
135 | style: Style = .showWhenPastTreshold,
136 | indexPath: IndexPath,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:155:37: error: 'UITableView' is unavailable in watchOS
153 | /// - indexPath: the index path to use as treshold
154 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
155 | public convenience init(tableView: UITableView,
| `- error: 'UITableView' is unavailable in watchOS
156 | viewToToggle: UIView? = nil,
157 | style: Style = .showWhenPastTreshold,
/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/ScrollViewVisibilityToggler.swift:156:22: error: 'UIView' is unavailable in watchOS
154 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
155 | public convenience init(tableView: UITableView,
156 | viewToToggle: UIView? = nil,
| `- error: 'UIView' is unavailable in watchOS
157 | style: Style = .showWhenPastTreshold,
158 | indexPath: IndexPath,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:185:55: error: 'UIView' is unavailable in watchOS
183 | /// - shouldBeVisible: if true, we'll set the alpha to 1, otherwise 0
184 | /// - animated: if true, changes will be animated
185 | public static func defaultViewVisibilityUpdate(view: UIView, shouldBeVisible: Bool, animated: Bool) {
| `- error: 'UIView' is unavailable in watchOS
186 | let updates = {
187 | view.alpha = (shouldBeVisible == true ? 1 : 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:202:42: error: 'UIVisualEffect' is unavailable in watchOS
200 | /// - visible: the effect to show when visible
201 | /// - hidden: **optional** the effect to show when hidden, defaults to non
202 | public static func blurToggler(visible: UIVisualEffect?, hidden: UIVisualEffect? = nil) -> VisibilityUpdateCallback {
| `- error: 'UIVisualEffect' is unavailable in watchOS
203 | return { view, shouldBeVisible, animated in
204 | guard let view = view as? UIVisualEffectView else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h:15:12: note: 'UIVisualEffect' has been explicitly marked unavailable here
13 |
14 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
15 | @interface UIVisualEffect : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UIVisualEffect' has been explicitly marked unavailable here
16 |
17 | @end
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:202:67: error: 'UIVisualEffect' is unavailable in watchOS
200 | /// - visible: the effect to show when visible
201 | /// - hidden: **optional** the effect to show when hidden, defaults to non
202 | public static func blurToggler(visible: UIVisualEffect?, hidden: UIVisualEffect? = nil) -> VisibilityUpdateCallback {
| `- error: 'UIVisualEffect' is unavailable in watchOS
203 | return { view, shouldBeVisible, animated in
204 | guard let view = view as? UIVisualEffectView else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h:15:12: note: 'UIVisualEffect' has been explicitly marked unavailable here
13 |
14 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
15 | @interface UIVisualEffect : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UIVisualEffect' has been explicitly marked unavailable here
16 |
17 | @end
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:243:23: error: 'UICollectionView' is unavailable in watchOS
241 |
242 |
243 | fileprivate extension UICollectionView {
| `- error: 'UICollectionView' is unavailable in watchOS
244 | func isValidIndexPath(_ indexPath: IndexPath) -> Bool {
245 | return indexPath.section < numberOfSections && indexPath.row < numberOfItems(inSection: indexPath.section)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:250:23: error: 'UITableView' is unavailable in watchOS
248 |
249 |
250 | fileprivate extension UITableView {
| `- error: 'UITableView' is unavailable in watchOS
251 | func isValidIndexPath(_ indexPath: IndexPath) -> Bool {
252 | return indexPath.section < numberOfSections && indexPath.row < numberOfRows(inSection: indexPath.section)
/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/UINavigationItem+CustomTitle.swift:15:23: error: 'UIView' is unavailable in watchOS
13 | /// our changing the customTitleView set by the user, which is under user control
14 | private class CustomTitleWrapperView: UIView {
15 | let transformView = UIView()
| `- error: 'UIView' is unavailable in watchOS
16 |
17 | var view: UIView? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:15:23: error: 'init()' is unavailable in watchOS
13 | /// our changing the customTitleView set by the user, which is under user control
14 | private class CustomTitleWrapperView: UIView {
15 | let transformView = UIView()
| `- error: 'init()' is unavailable in watchOS
16 |
17 | var view: UIView? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:27:6: error: 'NSLayoutConstraint' is unavailable in watchOS
25 | transformView.addSubview(view)
26 |
27 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
28 | transformView.leadingAnchor.constraint(equalTo: view.leadingAnchor),
29 | transformView.trailingAnchor.constraint(equalTo: view.trailingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:17:13: error: 'UIView' is unavailable in watchOS
15 | let transformView = UIView()
16 |
17 | var view: UIView? {
| `- error: 'UIView' is unavailable in watchOS
18 | didSet {
19 | guard view !== oldValue else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:14:40: error: 'UIView' is unavailable in watchOS
12 | /// of the intermediate wrapperView without changing the titleView, which is under control of the navigation bar
13 | /// our changing the customTitleView set by the user, which is under user control
14 | private class CustomTitleWrapperView: UIView {
| `- error: 'UIView' is unavailable in watchOS
15 | let transformView = UIView()
16 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:79:15: error: 'UILabel' is unavailable in watchOS
77 |
78 | private class CustomTitleLabelWrapperView: CustomTitleWrapperView {
79 | let label = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
80 |
81 | weak var viewToMonitor: UIView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:79:15: error: 'init()' is unavailable in watchOS
77 |
78 | private class CustomTitleLabelWrapperView: CustomTitleWrapperView {
79 | let label = UILabel()
| `- error: 'init()' is unavailable in watchOS
80 |
81 | weak var viewToMonitor: UIView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:81:27: error: 'UIView' is unavailable in watchOS
79 | let label = UILabel()
80 |
81 | weak var viewToMonitor: UIView?
| `- error: 'UIView' is unavailable in watchOS
82 | weak var scrollView: UIView?
83 | var cancellable: ScrollViewObserverCancellable?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:82:24: error: 'UIView' is unavailable in watchOS
80 |
81 | weak var viewToMonitor: UIView?
82 | weak var scrollView: UIView?
| `- error: 'UIView' is unavailable in watchOS
83 | var cancellable: ScrollViewObserverCancellable?
84 | var indexPath: IndexPath?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:114:16: error: 'UIView' is unavailable in watchOS
112 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
113 | @discardableResult public func showCustomTitleView(
114 | _ titleView: UIView,
| `- error: 'UIView' is unavailable in watchOS
115 | whenScrollingPast viewToMonitor: UIView,
116 | in scrollView: UIScrollView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:115:36: error: 'UIView' is unavailable in watchOS
113 | @discardableResult public func showCustomTitleView(
114 | _ titleView: UIView,
115 | whenScrollingPast viewToMonitor: UIView,
| `- error: 'UIView' is unavailable in watchOS
116 | in scrollView: UIScrollView
117 | ) -> ScrollViewObserverCancellable {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:116:18: error: 'UIScrollView' is unavailable in watchOS
114 | _ titleView: UIView,
115 | whenScrollingPast viewToMonitor: UIView,
116 | in scrollView: UIScrollView
| `- error: 'UIScrollView' is unavailable in watchOS
117 | ) -> ScrollViewObserverCancellable {
118 | let wrapperView = customTitleWrapperView(with: titleView)
/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/UINavigationItem+CustomTitle.swift:132:16: error: 'UIView' is unavailable in watchOS
130 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
131 | @discardableResult public func showCustomTitleView(
132 | _ titleView: UIView,
| `- error: 'UIView' is unavailable in watchOS
133 | whenScrollingPast indexPath: IndexPath,
134 | in tableView: UITableView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:134:17: error: 'UITableView' is unavailable in watchOS
132 | _ titleView: UIView,
133 | whenScrollingPast indexPath: IndexPath,
134 | in tableView: UITableView
| `- error: 'UITableView' is unavailable in watchOS
135 | ) -> ScrollViewObserverCancellable {
136 | let wrapperView = customTitleWrapperView(with: titleView)
/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/UINavigationItem+CustomTitle.swift:150:16: error: 'UIView' is unavailable in watchOS
148 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
149 | @discardableResult public func showCustomTitleView(
150 | _ titleView: UIView,
| `- error: 'UIView' is unavailable in watchOS
151 | whenScrollingPast indexPath: IndexPath,
152 | in collectionView: UICollectionView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:152:22: error: 'UICollectionView' is unavailable in watchOS
150 | _ titleView: UIView,
151 | whenScrollingPast indexPath: IndexPath,
152 | in collectionView: UICollectionView
| `- error: 'UICollectionView' is unavailable in watchOS
153 | ) -> ScrollViewObserverCancellable {
154 | let wrapperView = customTitleWrapperView(with: titleView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:170:36: error: 'UIView' is unavailable in watchOS
168 | @discardableResult public func showCustomTitle(
169 | _ title: String?,
170 | whenScrollingPast viewToMonitor: UIView,
| `- error: 'UIView' is unavailable in watchOS
171 | in scrollView: UIScrollView
172 | ) -> ScrollViewObserverCancellable {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:171:18: error: 'UIScrollView' is unavailable in watchOS
169 | _ title: String?,
170 | whenScrollingPast viewToMonitor: UIView,
171 | in scrollView: UIScrollView
| `- error: 'UIScrollView' is unavailable in watchOS
172 | ) -> ScrollViewObserverCancellable {
173 | return customTitleLabelView(with: title, viewToMonitor: viewToMonitor, indexPath: nil, scrollView: scrollView) { wrapperView in
/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/UINavigationItem+CustomTitle.swift:190:17: error: 'UITableView' is unavailable in watchOS
188 | _ title: String?,
189 | whenScrollingPast indexPath: IndexPath,
190 | in tableView: UITableView
| `- error: 'UITableView' is unavailable in watchOS
191 | ) -> ScrollViewObserverCancellable {
192 | return customTitleLabelView(with: title, viewToMonitor: nil, indexPath: indexPath, scrollView: tableView) { wrapperView in
/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/UINavigationItem+CustomTitle.swift:209:22: error: 'UICollectionView' is unavailable in watchOS
207 | _ title: String?,
208 | whenScrollingPast indexPath: IndexPath,
209 | in collectionView: UICollectionView
| `- error: 'UICollectionView' is unavailable in watchOS
210 | ) -> ScrollViewObserverCancellable {
211 | return customTitleLabelView(with: title, viewToMonitor: nil, indexPath: indexPath, scrollView: collectionView) { wrapperView in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:240:60: error: 'UIView' is unavailable in watchOS
238 |
239 | /// Sets up a title view and returns the created wrapper view
240 | private func customTitleWrapperView(with customTitleView: UIView) -> CustomTitleWrapperView {
| `- error: 'UIView' is unavailable in watchOS
241 | let wrapperView: CustomTitleWrapperView
242 | if let titleView = titleView as? CustomTitleWrapperView, (titleView is CustomTitleLabelWrapperView) == 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:254:72: error: 'UIView' is unavailable in watchOS
252 |
253 | /// Sets up a title and returns the created titlewrapperview
254 | private func customTitleLabelView(with title: String?, viewToMonitor: UIView?, indexPath: IndexPath?, scrollView: UIScrollView, creation: (CustomTitleLabelWrapperView) -> ScrollViewObserverCancellable) -> ScrollViewObserverCancellable {
| `- error: 'UIView' is unavailable in watchOS
255 | let wrapperView = (titleView as? CustomTitleLabelWrapperView) ?? CustomTitleLabelWrapperView()
256 | wrapperView.label.text = title
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:254:116: error: 'UIScrollView' is unavailable in watchOS
252 |
253 | /// Sets up a title and returns the created titlewrapperview
254 | private func customTitleLabelView(with title: String?, viewToMonitor: UIView?, indexPath: IndexPath?, scrollView: UIScrollView, creation: (CustomTitleLabelWrapperView) -> ScrollViewObserverCancellable) -> ScrollViewObserverCancellable {
| `- error: 'UIScrollView' is unavailable in watchOS
255 | let wrapperView = (titleView as? CustomTitleLabelWrapperView) ?? CustomTitleLabelWrapperView()
256 | wrapperView.label.text = title
/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/UINavigationItem+CustomTitle.swift:10:11: error: 'UINavigationItem' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UINavigationItem {
| `- error: 'UINavigationItem' is unavailable in watchOS
11 | /// This view is used to wrap our Custom TitleView, so we can properly transform and change the opacity
12 | /// of the intermediate wrapperView without changing the titleView, which is under control of the navigation bar
/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/UINavigationItem+CustomTitle.swift:279:23: error: 'UILayoutPriority' is unavailable in watchOS
277 | }
278 |
279 | fileprivate extension UILayoutPriority {
| `- error: 'UILayoutPriority' is unavailable in watchOS
280 | static let navigationBarSpacing = Self(rawValue: 700)
281 | static let navigationBarCustomTitleView = Self(rawValue: Self.navigationBarSpacing.rawValue - 1)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+MonitorHelpers.swift:10:11: error: 'UIScrollView' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UIScrollView {
| `- error: 'UIScrollView' is unavailable in watchOS
11 | /// Monitors the offset in a UIScrollView and calls a block when it goes over a specific treshold.
12 | ///
/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/UIScrollView+ObserverHelpers.swift:36:84: error: 'UIScrollView' is unavailable in watchOS
34 | ///
35 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop observing.
36 | @discardableResult public func observeContentOffsetChanges(_ callback: @escaping (UIScrollView) -> Void) -> ScrollViewObserverCancellable {
| `- error: 'UIScrollView' is unavailable in watchOS
37 | let observer = ScrollViewObserver(scrollView: self, callback: callback)
38 |
/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/UIScrollView+ObserverHelpers.swift:11:11: error: 'UIScrollView' is unavailable in watchOS
9 | import ObjectiveC.runtime
10 |
11 | extension UIScrollView {
| `- error: 'UIScrollView' is unavailable in watchOS
12 | /// Observes content offset changes by calling the callback when the content offset changes.
13 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/UIScrollView+VisibilityToggler.swift:22:20: error: 'UIView' is unavailable in watchOS
20 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
21 | @discardableResult public func toggleVisibility(
22 | of viewToToggle: UIView,
| `- error: 'UIView' is unavailable in watchOS
23 | style: ScrollViewVisibilityToggler.Style = .showWhenPastTreshold,
24 | whenScrollingPast viewToMonitor: UIView,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift:24:36: error: 'UIView' is unavailable in watchOS
22 | of viewToToggle: UIView,
23 | style: ScrollViewVisibilityToggler.Style = .showWhenPastTreshold,
24 | whenScrollingPast viewToMonitor: UIView,
| `- error: 'UIView' is unavailable in watchOS
25 | edge: UIRectEdge = .bottom,
26 | visibilityUpdateCallback: ScrollViewVisibilityToggler.VisibilityUpdateCallback? = nil) -> ScrollViewObserverCancellable {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift:41:20: error: 'UIView' is unavailable in watchOS
39 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
40 | @discardableResult public func toggleVisibility(
41 | of viewToToggle: UIView,
| `- error: 'UIView' is unavailable in watchOS
42 | style: ScrollViewVisibilityToggler.Style = .showWhenPastTreshold,
43 | tresholdProvider: @escaping ScrollViewOffsetMonitor.OffsetProvider,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift:58:20: error: 'UIView' is unavailable in watchOS
56 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
57 | @discardableResult public func toggleVisibility(
58 | of viewToToggle: UIView,
| `- error: 'UIView' is unavailable in watchOS
59 | style: ScrollViewVisibilityToggler.Style = .showWhenPastTreshold,
60 | visibilityUpdateCallback: ScrollViewVisibilityToggler.VisibilityUpdateCallback? = nil) -> ScrollViewObserverCancellable {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift:10:11: error: 'UIScrollView' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UIScrollView {
| `- error: 'UIScrollView' is unavailable in watchOS
11 | /// Toggles the visibility of a view when scrolling past another view.
12 | ///
/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/UIScrollView+VisibilityToggler.swift:98:20: error: 'UIView' is unavailable in watchOS
96 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
97 | @discardableResult public func toggleVisibility(
98 | of viewToToggle: UIView,
| `- error: 'UIView' is unavailable in watchOS
99 | style: ScrollViewVisibilityToggler.Style = .showWhenPastTreshold,
100 | whenScrollingPast indexPath: IndexPath,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift:87:11: error: 'UICollectionView' is unavailable in watchOS
85 | }
86 |
87 | extension UICollectionView {
| `- error: 'UICollectionView' is unavailable in watchOS
88 | /// Toggles the visibility of a view when scrolling past an index path
89 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift:118:20: error: 'UIView' is unavailable in watchOS
116 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
117 | @discardableResult public func toggleVisibility(
118 | of viewToToggle: UIView,
| `- error: 'UIView' is unavailable in watchOS
119 | style: ScrollViewVisibilityToggler.Style = .showWhenPastTreshold,
120 | whenScrollingPast indexPath: IndexPath,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift:107:11: error: 'UITableView' is unavailable in watchOS
105 | }
106 |
107 | extension UITableView {
| `- error: 'UITableView' is unavailable in watchOS
108 | /// Toggles the visibility of a view when scrolling past an index path
109 | ///
/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
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
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/ScrollViewObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollViewObserverCancellable.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollViewOffsetMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift /Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift /Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+MonitorHelpers.swift /Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+ObserverHelpers.swift /Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.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/ScrollViewObserver.build/Debug-watchos/ScrollViewObserver-t.build/Objects-normal/arm64_32/ScrollViewObserver-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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/ScrollViewObserver.build/Debug-watchos/ScrollViewObserver-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollViewObserver.build/Debug-watchos/ScrollViewObserver-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollViewObserver.build/Debug-watchos/ScrollViewObserver-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScrollViewObserver -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollViewObserver.build/Debug-watchos/ScrollViewObserver-t.build/Objects-normal/arm64_32/ScrollViewObserver_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/ScrollViewObserver.build/Debug-watchos/ScrollViewObserver-t.build/Objects-normal/arm64_32/ScrollViewObserver.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollViewObserver.build/Debug-watchos/ScrollViewObserver-t.build/Objects-normal/arm64_32/ScrollViewObserver.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollViewObserver.build/Debug-watchos/ScrollViewObserver-t.build/Objects-normal/arm64_32/ScrollViewObserver-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollViewObserver.build/Debug-watchos/ScrollViewObserver-t.build/Objects-normal/arm64_32/ScrollViewObserver-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollViewObserver.build/Debug-watchos/ScrollViewObserver-t.build/Objects-normal/arm64_32/ScrollViewObserver-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollViewObserver.build/Debug-watchos/ScrollViewObserver-t.build/Objects-normal/arm64_32/ScrollViewObserver.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScrollViewObserver.build/Debug-watchos/ScrollViewObserver-t.build/Objects-normal/arm64_32/ScrollViewObserver.abi.json
SwiftCompile normal arm64_32 Compiling\ ScrollViewOffsetMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollViewOffsetMonitor.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewOffsetMonitor.swift:45:30: error: 'UIScrollView' is unavailable in watchOS
43 |
44 | /// the scroll view we are monitoring
45 | public weak var scrollView: UIScrollView? {
| `- error: 'UIScrollView' is unavailable in watchOS
46 | return observer.scrollView
47 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ScrollViewOffsetMonitor.swift:51:51: error: 'UIScrollView' is unavailable in watchOS
49 | private var observer: ScrollViewObserver
50 |
51 | public typealias OffsetProvider = (_ scrollView: UIScrollView) -> CGFloat
| `- error: 'UIScrollView' is unavailable in watchOS
52 | public typealias Callback = (_ isOverTreshold: Bool) -> Void
53 | public typealias VisibilityProvider = (_ scrollView: UIScrollView) -> Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ScrollViewOffsetMonitor.swift:53:55: error: 'UIScrollView' is unavailable in watchOS
51 | public typealias OffsetProvider = (_ scrollView: UIScrollView) -> CGFloat
52 | public typealias Callback = (_ isOverTreshold: Bool) -> Void
53 | public typealias VisibilityProvider = (_ scrollView: UIScrollView) -> Bool
| `- error: 'UIScrollView' is unavailable in watchOS
54 |
55 | /// Creates an monitor
/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/ScrollViewOffsetMonitor.swift:63:26: error: 'UIScrollView' is unavailable in watchOS
61 | /// - visibilityProvider: **optional** custom visibility provider for the monitor
62 | /// - callback: **optional** the callback that will be called when crossing the treshold
63 | public init(scrollView: UIScrollView,
| `- error: 'UIScrollView' is unavailable in watchOS
64 | scrollViewOffsetProvider: OffsetProvider? = nil,
65 | tresholdProvider: OffsetProvider? = 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/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/ScrollViewOffsetMonitor.swift:105:45: error: 'UIScrollView' is unavailable in watchOS
103 |
104 | /// Default treshold provider, you can call this from a custom callback to dynamically override behavior
105 | public func defaultTreshold(in scrollView: UIScrollView) -> CGFloat {
| `- error: 'UIScrollView' is unavailable in watchOS
106 | guard let tableView = scrollView as? UITableView, tableView.numberOfSections > 0 && tableView.tableHeaderView == nil else {
107 | return -scrollView.adjustedContentInset.top
/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/ScrollViewOffsetMonitor.swift:113:43: error: 'UIScrollView' is unavailable in watchOS
111 |
112 | /// Default offset provider, you can call this from a custom callback to dynamically override behavior
113 | public func defaultOffset(in scrollView: UIScrollView) -> CGFloat {
| `- error: 'UIScrollView' is unavailable in watchOS
114 | scrollView.contentOffset.y + scrollView.adjustedContentInset.top
115 | }
/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/ScrollViewOffsetMonitor.swift:118:53: error: 'UIScrollView' is unavailable in watchOS
116 |
117 | /// Default should be visible, you can call this from a custom callback to dynamically override behavior
118 | public func defaultShouldBeVisibile(in scrollView: UIScrollView) -> Bool {
| `- error: 'UIScrollView' is unavailable in watchOS
119 | return scrollViewOffset(in: scrollView) > treshold(in: scrollView)
120 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ScrollViewOffsetMonitor.swift:123:47: error: 'UIScrollView' is unavailable in watchOS
121 |
122 | // MARK: - Private
123 | private func scrollViewOffset(in scrollView: UIScrollView) -> CGFloat {
| `- error: 'UIScrollView' is unavailable in watchOS
124 | return scrollViewOffsetProvider?(scrollView) ?? defaultOffset(in: scrollView)
125 | }
/Applications/Xcode-27.0.0-Release.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ScrollViewOffsetMonitor.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScrollViewOffsetMonitor.swift
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/ScrollViewOffsetMonitor.swift:126:39: error: 'UIScrollView' is unavailable in watchOS
124 | return scrollViewOffsetProvider?(scrollView) ?? defaultOffset(in: scrollView)
125 | }
126 | private func treshold(in scrollView: UIScrollView) -> CGFloat {
| `- error: 'UIScrollView' is unavailable in watchOS
127 | tresholdProvider?(scrollView) ?? defaultTreshold(in: scrollView)
128 | }
/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/ScrollViewOffsetMonitor.swift:130:46: error: 'UIScrollView' is unavailable in watchOS
128 | }
129 |
130 | private func shouldBeVisible(in scrollView: UIScrollView) -> Bool {
| `- error: 'UIScrollView' is unavailable in watchOS
131 | return visibilityProvider?(scrollView) ?? defaultShouldBeVisibile(in: scrollView)
132 | }
/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/ScrollViewOffsetMonitor.swift:106:40: error: 'UITableView' is unavailable in watchOS
104 | /// Default treshold provider, you can call this from a custom callback to dynamically override behavior
105 | public func defaultTreshold(in scrollView: UIScrollView) -> CGFloat {
106 | guard let tableView = scrollView as? UITableView, tableView.numberOfSections > 0 && tableView.tableHeaderView == nil else {
| `- error: 'UITableView' is unavailable in watchOS
107 | return -scrollView.adjustedContentInset.top
108 | }
/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/ScrollViewOffsetMonitor.swift:107:23: error: 'adjustedContentInset' is unavailable in watchOS
105 | public func defaultTreshold(in scrollView: UIScrollView) -> CGFloat {
106 | guard let tableView = scrollView as? UITableView, tableView.numberOfSections > 0 && tableView.tableHeaderView == nil else {
107 | return -scrollView.adjustedContentInset.top
| `- error: 'adjustedContentInset' is unavailable in watchOS
108 | }
109 | return tableView.rect(forSection: 0).minY
/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:101:45: note: 'adjustedContentInset' has been explicitly marked unavailable here
99 | its safeAreaInsets into the adjustedContentInset.
100 | */
101 | @property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'adjustedContentInset' has been explicitly marked unavailable here
102 |
103 | /* Also see -scrollViewDidChangeAdjustedContentInset: in the UIScrollViewDelegate protocol.
SwiftCompile normal arm64_32 Compiling\ ScrollViewVisibilityToggler.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:35:28: error: 'UIView' is unavailable in watchOS
33 | /// the view to use as a treshold. When this view is scrolled out of view,
34 | /// we'll hide `viewToToggle`.
35 | public var viewToMonitor: UIView? {didSet {updateForChanges(animated: false)}}
| `- error: 'UIView' is unavailable in watchOS
36 |
37 | /// The view to toggle the visibility of. Can be the same as `viewToMonitor`.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:38:27: error: 'UIView' is unavailable in watchOS
36 |
37 | /// The view to toggle the visibility of. Can be the same as `viewToMonitor`.
38 | public var viewToToggle: UIView? {didSet {updateForChanges(animated: false)}}
| `- error: 'UIView' is unavailable in watchOS
39 | public var monitor: ScrollViewOffsetMonitor
40 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:57:55: error: 'UIView' is unavailable in watchOS
55 |
56 | /// Callback used to do custom toggling
57 | public typealias VisibilityUpdateCallback = (_ view: UIView, _ shouldBeVisible: Bool, _ animated: Bool) -> Void
| `- error: 'UIView' is unavailable in watchOS
58 |
59 | /// callback that will be called to toggle the view from visible to hidden
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:63:30: error: 'UIScrollView' is unavailable in watchOS
61 |
62 | /// the scrollview we are monitoring
63 | public weak var scrollView: UIScrollView? {
| `- error: 'UIScrollView' is unavailable in watchOS
64 | return monitor.scrollView
65 | }
/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/ScrollViewVisibilityToggler.swift:76:26: error: 'UIScrollView' is unavailable in watchOS
74 | /// - style: **optional** the style that determines when to show/hide the `viewToToggle`, defaults to `.showWhenPastTreshold`
75 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
76 | public init(scrollView: UIScrollView,
| `- error: 'UIScrollView' is unavailable in watchOS
77 | viewToMonitor: UIView? = nil,
78 | rectEdge: UIRectEdge = .bottom,
/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/ScrollViewVisibilityToggler.swift:77:20: error: 'UIView' is unavailable in watchOS
75 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
76 | public init(scrollView: UIScrollView,
77 | viewToMonitor: UIView? = nil,
| `- error: 'UIView' is unavailable in watchOS
78 | rectEdge: UIRectEdge = .bottom,
79 | viewToToggle: UIView? = 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:79:19: error: 'UIView' is unavailable in watchOS
77 | viewToMonitor: UIView? = nil,
78 | rectEdge: UIRectEdge = .bottom,
79 | viewToToggle: UIView? = nil,
| `- error: 'UIView' is unavailable in watchOS
80 | style: Style = .showWhenPastTreshold,
81 | visibilityUpdateCallback: VisibilityUpdateCallback? = 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:115:38: error: 'UIScrollView' is unavailable in watchOS
113 | /// - tresholdProvider: the callback that provides the treshold when to hide `viewToToggle`
114 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
115 | public convenience init(scrollView: UIScrollView,
| `- error: 'UIScrollView' is unavailable in watchOS
116 | viewToToggle: UIView? = nil,
117 | style: Style = .showWhenPastTreshold,
/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/ScrollViewVisibilityToggler.swift:116:22: error: 'UIView' is unavailable in watchOS
114 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
115 | public convenience init(scrollView: UIScrollView,
116 | viewToToggle: UIView? = nil,
| `- error: 'UIView' is unavailable in watchOS
117 | style: Style = .showWhenPastTreshold,
118 | tresholdProvider: @escaping ScrollViewOffsetMonitor.OffsetProvider,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:133:42: error: 'UICollectionView' is unavailable in watchOS
131 | /// - indexPath: the index path to use as treshold
132 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
133 | public convenience init(collectionView: UICollectionView,
| `- error: 'UICollectionView' is unavailable in watchOS
134 | viewToToggle: UIView? = nil,
135 | style: Style = .showWhenPastTreshold,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:134:22: error: 'UIView' is unavailable in watchOS
132 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
133 | public convenience init(collectionView: UICollectionView,
134 | viewToToggle: UIView? = nil,
| `- error: 'UIView' is unavailable in watchOS
135 | style: Style = .showWhenPastTreshold,
136 | indexPath: IndexPath,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:155:37: error: 'UITableView' is unavailable in watchOS
153 | /// - indexPath: the index path to use as treshold
154 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
155 | public convenience init(tableView: UITableView,
| `- error: 'UITableView' is unavailable in watchOS
156 | viewToToggle: UIView? = nil,
157 | style: Style = .showWhenPastTreshold,
/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/ScrollViewVisibilityToggler.swift:156:22: error: 'UIView' is unavailable in watchOS
154 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
155 | public convenience init(tableView: UITableView,
156 | viewToToggle: UIView? = nil,
| `- error: 'UIView' is unavailable in watchOS
157 | style: Style = .showWhenPastTreshold,
158 | indexPath: IndexPath,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:185:55: error: 'UIView' is unavailable in watchOS
183 | /// - shouldBeVisible: if true, we'll set the alpha to 1, otherwise 0
184 | /// - animated: if true, changes will be animated
185 | public static func defaultViewVisibilityUpdate(view: UIView, shouldBeVisible: Bool, animated: Bool) {
| `- error: 'UIView' is unavailable in watchOS
186 | let updates = {
187 | view.alpha = (shouldBeVisible == true ? 1 : 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:202:42: error: 'UIVisualEffect' is unavailable in watchOS
200 | /// - visible: the effect to show when visible
201 | /// - hidden: **optional** the effect to show when hidden, defaults to non
202 | public static func blurToggler(visible: UIVisualEffect?, hidden: UIVisualEffect? = nil) -> VisibilityUpdateCallback {
| `- error: 'UIVisualEffect' is unavailable in watchOS
203 | return { view, shouldBeVisible, animated in
204 | guard let view = view as? UIVisualEffectView else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h:15:12: note: 'UIVisualEffect' has been explicitly marked unavailable here
13 |
14 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
15 | @interface UIVisualEffect : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UIVisualEffect' has been explicitly marked unavailable here
16 |
17 | @end
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:202:67: error: 'UIVisualEffect' is unavailable in watchOS
200 | /// - visible: the effect to show when visible
201 | /// - hidden: **optional** the effect to show when hidden, defaults to non
202 | public static func blurToggler(visible: UIVisualEffect?, hidden: UIVisualEffect? = nil) -> VisibilityUpdateCallback {
| `- error: 'UIVisualEffect' is unavailable in watchOS
203 | return { view, shouldBeVisible, animated in
204 | guard let view = view as? UIVisualEffectView else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h:15:12: note: 'UIVisualEffect' has been explicitly marked unavailable here
13 |
14 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
15 | @interface UIVisualEffect : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UIVisualEffect' has been explicitly marked unavailable here
16 |
17 | @end
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:243:23: error: 'UICollectionView' is unavailable in watchOS
241 |
242 |
243 | fileprivate extension UICollectionView {
| `- error: 'UICollectionView' is unavailable in watchOS
244 | func isValidIndexPath(_ indexPath: IndexPath) -> Bool {
245 | return indexPath.section < numberOfSections && indexPath.row < numberOfItems(inSection: indexPath.section)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:250:23: error: 'UITableView' is unavailable in watchOS
248 |
249 |
250 | fileprivate extension UITableView {
| `- error: 'UITableView' is unavailable in watchOS
251 | func isValidIndexPath(_ indexPath: IndexPath) -> Bool {
252 | return indexPath.section < numberOfSections && indexPath.row < numberOfRows(inSection: indexPath.section)
/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/ScrollViewVisibilityToggler.swift:191:4: error: 'UIView' is unavailable in watchOS
189 |
190 | if animated == true {
191 | UIView.animate(withDuration: 0.25, delay: 0, options: [.beginFromCurrentState, .allowUserInteraction], animations: updates)
| `- error: 'UIView' is unavailable in watchOS
192 | } else {
193 | updates()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:204:30: error: 'UIVisualEffectView' is unavailable in watchOS
202 | public static func blurToggler(visible: UIVisualEffect?, hidden: UIVisualEffect? = nil) -> VisibilityUpdateCallback {
203 | return { view, shouldBeVisible, animated in
204 | guard let view = view as? UIVisualEffectView else { return }
| `- error: 'UIVisualEffectView' is unavailable in watchOS
205 | let updates = {
206 | view.effect = shouldBeVisible ? visible: hidden
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScrollViewVisibilityToggler.swift
SwiftCompile normal arm64_32 Compiling\ UINavigationItem+CustomTitle.swift /Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:15:23: error: 'UIView' is unavailable in watchOS
13 | /// our changing the customTitleView set by the user, which is under user control
14 | private class CustomTitleWrapperView: UIView {
15 | let transformView = UIView()
| `- error: 'UIView' is unavailable in watchOS
16 |
17 | var view: UIView? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:15:23: error: 'init()' is unavailable in watchOS
13 | /// our changing the customTitleView set by the user, which is under user control
14 | private class CustomTitleWrapperView: UIView {
15 | let transformView = UIView()
| `- error: 'init()' is unavailable in watchOS
16 |
17 | var view: UIView? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:27:6: error: 'NSLayoutConstraint' is unavailable in watchOS
25 | transformView.addSubview(view)
26 |
27 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
28 | transformView.leadingAnchor.constraint(equalTo: view.leadingAnchor),
29 | transformView.trailingAnchor.constraint(equalTo: view.trailingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:17:13: error: 'UIView' is unavailable in watchOS
15 | let transformView = UIView()
16 |
17 | var view: UIView? {
| `- error: 'UIView' is unavailable in watchOS
18 | didSet {
19 | guard view !== oldValue else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:14:40: error: 'UIView' is unavailable in watchOS
12 | /// of the intermediate wrapperView without changing the titleView, which is under control of the navigation bar
13 | /// our changing the customTitleView set by the user, which is under user control
14 | private class CustomTitleWrapperView: UIView {
| `- error: 'UIView' is unavailable in watchOS
15 | let transformView = UIView()
16 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:79:15: error: 'UILabel' is unavailable in watchOS
77 |
78 | private class CustomTitleLabelWrapperView: CustomTitleWrapperView {
79 | let label = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
80 |
81 | weak var viewToMonitor: UIView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:79:15: error: 'init()' is unavailable in watchOS
77 |
78 | private class CustomTitleLabelWrapperView: CustomTitleWrapperView {
79 | let label = UILabel()
| `- error: 'init()' is unavailable in watchOS
80 |
81 | weak var viewToMonitor: UIView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:81:27: error: 'UIView' is unavailable in watchOS
79 | let label = UILabel()
80 |
81 | weak var viewToMonitor: UIView?
| `- error: 'UIView' is unavailable in watchOS
82 | weak var scrollView: UIView?
83 | var cancellable: ScrollViewObserverCancellable?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:82:24: error: 'UIView' is unavailable in watchOS
80 |
81 | weak var viewToMonitor: UIView?
82 | weak var scrollView: UIView?
| `- error: 'UIView' is unavailable in watchOS
83 | var cancellable: ScrollViewObserverCancellable?
84 | var indexPath: IndexPath?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:114:16: error: 'UIView' is unavailable in watchOS
112 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
113 | @discardableResult public func showCustomTitleView(
114 | _ titleView: UIView,
| `- error: 'UIView' is unavailable in watchOS
115 | whenScrollingPast viewToMonitor: UIView,
116 | in scrollView: UIScrollView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:115:36: error: 'UIView' is unavailable in watchOS
113 | @discardableResult public func showCustomTitleView(
114 | _ titleView: UIView,
115 | whenScrollingPast viewToMonitor: UIView,
| `- error: 'UIView' is unavailable in watchOS
116 | in scrollView: UIScrollView
117 | ) -> ScrollViewObserverCancellable {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:116:18: error: 'UIScrollView' is unavailable in watchOS
114 | _ titleView: UIView,
115 | whenScrollingPast viewToMonitor: UIView,
116 | in scrollView: UIScrollView
| `- error: 'UIScrollView' is unavailable in watchOS
117 | ) -> ScrollViewObserverCancellable {
118 | let wrapperView = customTitleWrapperView(with: titleView)
/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/UINavigationItem+CustomTitle.swift:132:16: error: 'UIView' is unavailable in watchOS
130 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
131 | @discardableResult public func showCustomTitleView(
132 | _ titleView: UIView,
| `- error: 'UIView' is unavailable in watchOS
133 | whenScrollingPast indexPath: IndexPath,
134 | in tableView: UITableView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:134:17: error: 'UITableView' is unavailable in watchOS
132 | _ titleView: UIView,
133 | whenScrollingPast indexPath: IndexPath,
134 | in tableView: UITableView
| `- error: 'UITableView' is unavailable in watchOS
135 | ) -> ScrollViewObserverCancellable {
136 | let wrapperView = customTitleWrapperView(with: titleView)
/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/UINavigationItem+CustomTitle.swift:150:16: error: 'UIView' is unavailable in watchOS
148 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
149 | @discardableResult public func showCustomTitleView(
150 | _ titleView: UIView,
| `- error: 'UIView' is unavailable in watchOS
151 | whenScrollingPast indexPath: IndexPath,
152 | in collectionView: UICollectionView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:152:22: error: 'UICollectionView' is unavailable in watchOS
150 | _ titleView: UIView,
151 | whenScrollingPast indexPath: IndexPath,
152 | in collectionView: UICollectionView
| `- error: 'UICollectionView' is unavailable in watchOS
153 | ) -> ScrollViewObserverCancellable {
154 | let wrapperView = customTitleWrapperView(with: titleView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:170:36: error: 'UIView' is unavailable in watchOS
168 | @discardableResult public func showCustomTitle(
169 | _ title: String?,
170 | whenScrollingPast viewToMonitor: UIView,
| `- error: 'UIView' is unavailable in watchOS
171 | in scrollView: UIScrollView
172 | ) -> ScrollViewObserverCancellable {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:171:18: error: 'UIScrollView' is unavailable in watchOS
169 | _ title: String?,
170 | whenScrollingPast viewToMonitor: UIView,
171 | in scrollView: UIScrollView
| `- error: 'UIScrollView' is unavailable in watchOS
172 | ) -> ScrollViewObserverCancellable {
173 | return customTitleLabelView(with: title, viewToMonitor: viewToMonitor, indexPath: nil, scrollView: scrollView) { wrapperView in
/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/UINavigationItem+CustomTitle.swift:190:17: error: 'UITableView' is unavailable in watchOS
188 | _ title: String?,
189 | whenScrollingPast indexPath: IndexPath,
190 | in tableView: UITableView
| `- error: 'UITableView' is unavailable in watchOS
191 | ) -> ScrollViewObserverCancellable {
192 | return customTitleLabelView(with: title, viewToMonitor: nil, indexPath: indexPath, scrollView: tableView) { wrapperView in
/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/UINavigationItem+CustomTitle.swift:209:22: error: 'UICollectionView' is unavailable in watchOS
207 | _ title: String?,
208 | whenScrollingPast indexPath: IndexPath,
209 | in collectionView: UICollectionView
| `- error: 'UICollectionView' is unavailable in watchOS
210 | ) -> ScrollViewObserverCancellable {
211 | return customTitleLabelView(with: title, viewToMonitor: nil, indexPath: indexPath, scrollView: collectionView) { wrapperView in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:240:60: error: 'UIView' is unavailable in watchOS
238 |
239 | /// Sets up a title view and returns the created wrapper view
240 | private func customTitleWrapperView(with customTitleView: UIView) -> CustomTitleWrapperView {
| `- error: 'UIView' is unavailable in watchOS
241 | let wrapperView: CustomTitleWrapperView
242 | if let titleView = titleView as? CustomTitleWrapperView, (titleView is CustomTitleLabelWrapperView) == 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:254:72: error: 'UIView' is unavailable in watchOS
252 |
253 | /// Sets up a title and returns the created titlewrapperview
254 | private func customTitleLabelView(with title: String?, viewToMonitor: UIView?, indexPath: IndexPath?, scrollView: UIScrollView, creation: (CustomTitleLabelWrapperView) -> ScrollViewObserverCancellable) -> ScrollViewObserverCancellable {
| `- error: 'UIView' is unavailable in watchOS
255 | let wrapperView = (titleView as? CustomTitleLabelWrapperView) ?? CustomTitleLabelWrapperView()
256 | wrapperView.label.text = title
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:254:116: error: 'UIScrollView' is unavailable in watchOS
252 |
253 | /// Sets up a title and returns the created titlewrapperview
254 | private func customTitleLabelView(with title: String?, viewToMonitor: UIView?, indexPath: IndexPath?, scrollView: UIScrollView, creation: (CustomTitleLabelWrapperView) -> ScrollViewObserverCancellable) -> ScrollViewObserverCancellable {
| `- error: 'UIScrollView' is unavailable in watchOS
255 | let wrapperView = (titleView as? CustomTitleLabelWrapperView) ?? CustomTitleLabelWrapperView()
256 | wrapperView.label.text = title
/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/UINavigationItem+CustomTitle.swift:10:11: error: 'UINavigationItem' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UINavigationItem {
| `- error: 'UINavigationItem' is unavailable in watchOS
11 | /// This view is used to wrap our Custom TitleView, so we can properly transform and change the opacity
12 | /// of the intermediate wrapperView without changing the titleView, which is under control of the navigation bar
/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/UINavigationItem+CustomTitle.swift:279:23: error: 'UILayoutPriority' is unavailable in watchOS
277 | }
278 |
279 | fileprivate extension UILayoutPriority {
| `- error: 'UILayoutPriority' is unavailable in watchOS
280 | static let navigationBarSpacing = Self(rawValue: 700)
281 | static let navigationBarCustomTitleView = Self(rawValue: Self.navigationBarSpacing.rawValue - 1)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:52:6: error: 'UIView' is unavailable in watchOS
50 |
51 | if animated == true {
52 | UIView.animate(withDuration: 0.25, delay: 0, options: [.beginFromCurrentState, .allowUserInteraction], animations: updates)
| `- error: 'UIView' is unavailable in watchOS
53 | } else {
54 | updates()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:64:4: error: 'NSLayoutConstraint' is unavailable in watchOS
62 | transformView.translatesAutoresizingMaskIntoConstraints = false
63 | addSubview(transformView)
64 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
65 | leadingAnchor.constraint(equalTo: transformView.leadingAnchor),
66 | trailingAnchor.constraint(equalTo: transformView.trailingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:91:11: error: 'minimumContentSizeCategory' is unavailable in watchOS
89 | label.adjustsFontForContentSizeCategory = true
90 | if #available(iOS 15, *) {
91 | label.minimumContentSizeCategory = .large
| `- error: 'minimumContentSizeCategory' is unavailable in watchOS
92 | label.maximumContentSizeCategory = .extraExtraLarge
93 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:727:61: note: 'minimumContentSizeCategory' has been explicitly marked unavailable here
725 | /// view.maximumContentSizeCategory = UIContentSizeCategoryAccessibilityExtraLarge;
726 |
727 | @property (nonatomic, copy, nullable) UIContentSizeCategory minimumContentSizeCategory API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
| `- note: 'minimumContentSizeCategory' has been explicitly marked unavailable here
728 | @property (nonatomic, copy, nullable) UIContentSizeCategory maximumContentSizeCategory API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
729 |
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:91:41: error: 'large' is unavailable in watchOS
89 | label.adjustsFontForContentSizeCategory = true
90 | if #available(iOS 15, *) {
91 | label.minimumContentSizeCategory = .large
| `- error: 'large' is unavailable in watchOS
92 | label.maximumContentSizeCategory = .extraExtraLarge
93 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h:22:42: note: 'large' has been explicitly marked unavailable here
20 | UIKIT_EXTERN UIContentSizeCategory const UIContentSizeCategorySmall API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
21 | UIKIT_EXTERN UIContentSizeCategory const UIContentSizeCategoryMedium API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
22 | UIKIT_EXTERN UIContentSizeCategory const UIContentSizeCategoryLarge API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
| `- note: 'large' has been explicitly marked unavailable here
23 | UIKIT_EXTERN UIContentSizeCategory const UIContentSizeCategoryExtraLarge API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
24 | UIKIT_EXTERN UIContentSizeCategory const UIContentSizeCategoryExtraExtraLarge API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:92:11: error: 'maximumContentSizeCategory' is unavailable in watchOS
90 | if #available(iOS 15, *) {
91 | label.minimumContentSizeCategory = .large
92 | label.maximumContentSizeCategory = .extraExtraLarge
| `- error: 'maximumContentSizeCategory' is unavailable in watchOS
93 | }
94 | label.font = UIFont.preferredFont(forTextStyle: .headline)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:728:61: note: 'maximumContentSizeCategory' has been explicitly marked unavailable here
726 |
727 | @property (nonatomic, copy, nullable) UIContentSizeCategory minimumContentSizeCategory API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
728 | @property (nonatomic, copy, nullable) UIContentSizeCategory maximumContentSizeCategory API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
| `- note: 'maximumContentSizeCategory' has been explicitly marked unavailable here
729 |
730 | /// Will return a string with a log of all the superviews of this view, alongside with what
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:92:41: error: 'extraExtraLarge' is unavailable in watchOS
90 | if #available(iOS 15, *) {
91 | label.minimumContentSizeCategory = .large
92 | label.maximumContentSizeCategory = .extraExtraLarge
| `- error: 'extraExtraLarge' is unavailable in watchOS
93 | }
94 | label.font = UIFont.preferredFont(forTextStyle: .headline)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h:24:42: note: 'extraExtraLarge' has been explicitly marked unavailable here
22 | UIKIT_EXTERN UIContentSizeCategory const UIContentSizeCategoryLarge API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
23 | UIKIT_EXTERN UIContentSizeCategory const UIContentSizeCategoryExtraLarge API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
24 | UIKIT_EXTERN UIContentSizeCategory const UIContentSizeCategoryExtraExtraLarge API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
| `- note: 'extraExtraLarge' has been explicitly marked unavailable here
25 | UIKIT_EXTERN UIContentSizeCategory const UIContentSizeCategoryExtraExtraExtraLarge API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
26 |
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:231:4: error: 'UIView' is unavailable in watchOS
229 | self.title = title
230 | if animated == true && wrapperView.label.text != title {
231 | UIView.transition(with: wrapperView.label, duration: 0.25, options: [.beginFromCurrentState, .allowUserInteraction], animations: {
| `- error: 'UIView' is unavailable in watchOS
232 | wrapperView.label.text = title
233 | })
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift:245:18: error: 'init()' is unavailable in watchOS
243 | wrapperView = titleView
244 | } else {
245 | wrapperView = CustomTitleWrapperView()
| `- error: 'init()' is unavailable in watchOS
246 | }
247 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UINavigationItem+CustomTitle.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UINavigationItem+CustomTitle.swift
SwiftCompile normal arm64_32 Compiling\ ScrollViewObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollViewObserver.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewObserver.swift:15:43: error: 'UIScrollView' is unavailable in watchOS
13 | public class ScrollViewObserver: NSObject {
14 | /// the scroll view we are observing
15 | public private(set) weak var scrollView: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
16 |
17 | /// true if we are observing
/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/ScrollViewObserver.swift:22:31: error: 'UIScrollView' is unavailable in watchOS
20 | private var context = 0
21 |
22 | public typealias Callback = (UIScrollView) -> Void
| `- error: 'UIScrollView' is unavailable in watchOS
23 |
24 | /// The callback to call when the scrollview scrolled
/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 /Users/admin/builder/spi-builder-workspace/Sources/ScrollViewObserver.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScrollViewObserver.swift
SwiftCompile normal arm64_32 Compiling\ UIScrollView+MonitorHelpers.swift /Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+MonitorHelpers.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+MonitorHelpers.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIScrollView+MonitorHelpers.swift
SwiftCompile normal arm64_32 Compiling\ ScrollViewObserverCancellable.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollViewObserverCancellable.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ScrollViewObserverCancellable.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScrollViewObserverCancellable.swift
SwiftCompile normal arm64_32 Compiling\ UIScrollView+VisibilityToggler.swift /Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift:22:20: error: 'UIView' is unavailable in watchOS
20 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
21 | @discardableResult public func toggleVisibility(
22 | of viewToToggle: UIView,
| `- error: 'UIView' is unavailable in watchOS
23 | style: ScrollViewVisibilityToggler.Style = .showWhenPastTreshold,
24 | whenScrollingPast viewToMonitor: UIView,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift:24:36: error: 'UIView' is unavailable in watchOS
22 | of viewToToggle: UIView,
23 | style: ScrollViewVisibilityToggler.Style = .showWhenPastTreshold,
24 | whenScrollingPast viewToMonitor: UIView,
| `- error: 'UIView' is unavailable in watchOS
25 | edge: UIRectEdge = .bottom,
26 | visibilityUpdateCallback: ScrollViewVisibilityToggler.VisibilityUpdateCallback? = nil) -> ScrollViewObserverCancellable {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift:41:20: error: 'UIView' is unavailable in watchOS
39 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
40 | @discardableResult public func toggleVisibility(
41 | of viewToToggle: UIView,
| `- error: 'UIView' is unavailable in watchOS
42 | style: ScrollViewVisibilityToggler.Style = .showWhenPastTreshold,
43 | tresholdProvider: @escaping ScrollViewOffsetMonitor.OffsetProvider,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift:58:20: error: 'UIView' is unavailable in watchOS
56 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
57 | @discardableResult public func toggleVisibility(
58 | of viewToToggle: UIView,
| `- error: 'UIView' is unavailable in watchOS
59 | style: ScrollViewVisibilityToggler.Style = .showWhenPastTreshold,
60 | visibilityUpdateCallback: ScrollViewVisibilityToggler.VisibilityUpdateCallback? = nil) -> ScrollViewObserverCancellable {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift:10:11: error: 'UIScrollView' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UIScrollView {
| `- error: 'UIScrollView' is unavailable in watchOS
11 | /// Toggles the visibility of a view when scrolling past another view.
12 | ///
/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/UIScrollView+VisibilityToggler.swift:98:20: error: 'UIView' is unavailable in watchOS
96 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
97 | @discardableResult public func toggleVisibility(
98 | of viewToToggle: UIView,
| `- error: 'UIView' is unavailable in watchOS
99 | style: ScrollViewVisibilityToggler.Style = .showWhenPastTreshold,
100 | whenScrollingPast indexPath: IndexPath,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift:87:11: error: 'UICollectionView' is unavailable in watchOS
85 | }
86 |
87 | extension UICollectionView {
| `- error: 'UICollectionView' is unavailable in watchOS
88 | /// Toggles the visibility of a view when scrolling past an index path
89 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift:118:20: error: 'UIView' is unavailable in watchOS
116 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop toggling.
117 | @discardableResult public func toggleVisibility(
118 | of viewToToggle: UIView,
| `- error: 'UIView' is unavailable in watchOS
119 | style: ScrollViewVisibilityToggler.Style = .showWhenPastTreshold,
120 | whenScrollingPast indexPath: IndexPath,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+VisibilityToggler.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIScrollView+VisibilityToggler.swift
SwiftCompile normal arm64_32 Compiling\ UIScrollView+ObserverHelpers.swift /Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+ObserverHelpers.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
/Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+ObserverHelpers.swift:36:84: error: 'UIScrollView' is unavailable in watchOS
34 | ///
35 | /// - Returns: a `ScrollViewObserverCancellable` that can be used to stop observing.
36 | @discardableResult public func observeContentOffsetChanges(_ callback: @escaping (UIScrollView) -> Void) -> ScrollViewObserverCancellable {
| `- error: 'UIScrollView' is unavailable in watchOS
37 | let observer = ScrollViewObserver(scrollView: self, callback: callback)
38 |
/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 /Users/admin/builder/spi-builder-workspace/Sources/UIScrollView+ObserverHelpers.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIScrollView+ObserverHelpers.swift
SwiftCompile normal arm64 Compiling\ ScrollViewVisibilityToggler.swift /Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:35:28: error: 'UIView' is unavailable in watchOS
33 | /// the view to use as a treshold. When this view is scrolled out of view,
34 | /// we'll hide `viewToToggle`.
35 | public var viewToMonitor: UIView? {didSet {updateForChanges(animated: false)}}
| `- error: 'UIView' is unavailable in watchOS
36 |
37 | /// The view to toggle the visibility of. Can be the same as `viewToMonitor`.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:38:27: error: 'UIView' is unavailable in watchOS
36 |
37 | /// The view to toggle the visibility of. Can be the same as `viewToMonitor`.
38 | public var viewToToggle: UIView? {didSet {updateForChanges(animated: false)}}
| `- error: 'UIView' is unavailable in watchOS
39 | public var monitor: ScrollViewOffsetMonitor
40 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:57:55: error: 'UIView' is unavailable in watchOS
55 |
56 | /// Callback used to do custom toggling
57 | public typealias VisibilityUpdateCallback = (_ view: UIView, _ shouldBeVisible: Bool, _ animated: Bool) -> Void
| `- error: 'UIView' is unavailable in watchOS
58 |
59 | /// callback that will be called to toggle the view from visible to hidden
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:63:30: error: 'UIScrollView' is unavailable in watchOS
61 |
62 | /// the scrollview we are monitoring
63 | public weak var scrollView: UIScrollView? {
| `- error: 'UIScrollView' is unavailable in watchOS
64 | return monitor.scrollView
65 | }
/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/ScrollViewVisibilityToggler.swift:76:26: error: 'UIScrollView' is unavailable in watchOS
74 | /// - style: **optional** the style that determines when to show/hide the `viewToToggle`, defaults to `.showWhenPastTreshold`
75 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
76 | public init(scrollView: UIScrollView,
| `- error: 'UIScrollView' is unavailable in watchOS
77 | viewToMonitor: UIView? = nil,
78 | rectEdge: UIRectEdge = .bottom,
/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/ScrollViewVisibilityToggler.swift:77:20: error: 'UIView' is unavailable in watchOS
75 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
76 | public init(scrollView: UIScrollView,
77 | viewToMonitor: UIView? = nil,
| `- error: 'UIView' is unavailable in watchOS
78 | rectEdge: UIRectEdge = .bottom,
79 | viewToToggle: UIView? = 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:79:19: error: 'UIView' is unavailable in watchOS
77 | viewToMonitor: UIView? = nil,
78 | rectEdge: UIRectEdge = .bottom,
79 | viewToToggle: UIView? = nil,
| `- error: 'UIView' is unavailable in watchOS
80 | style: Style = .showWhenPastTreshold,
81 | visibilityUpdateCallback: VisibilityUpdateCallback? = 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/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:115:38: error: 'UIScrollView' is unavailable in watchOS
113 | /// - tresholdProvider: the callback that provides the treshold when to hide `viewToToggle`
114 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
115 | public convenience init(scrollView: UIScrollView,
| `- error: 'UIScrollView' is unavailable in watchOS
116 | viewToToggle: UIView? = nil,
117 | style: Style = .showWhenPastTreshold,
/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/ScrollViewVisibilityToggler.swift:116:22: error: 'UIView' is unavailable in watchOS
114 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
115 | public convenience init(scrollView: UIScrollView,
116 | viewToToggle: UIView? = nil,
| `- error: 'UIView' is unavailable in watchOS
117 | style: Style = .showWhenPastTreshold,
118 | tresholdProvider: @escaping ScrollViewOffsetMonitor.OffsetProvider,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:133:42: error: 'UICollectionView' is unavailable in watchOS
131 | /// - indexPath: the index path to use as treshold
132 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
133 | public convenience init(collectionView: UICollectionView,
| `- error: 'UICollectionView' is unavailable in watchOS
134 | viewToToggle: UIView? = nil,
135 | style: Style = .showWhenPastTreshold,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:134:22: error: 'UIView' is unavailable in watchOS
132 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
133 | public convenience init(collectionView: UICollectionView,
134 | viewToToggle: UIView? = nil,
| `- error: 'UIView' is unavailable in watchOS
135 | style: Style = .showWhenPastTreshold,
136 | indexPath: IndexPath,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:155:37: error: 'UITableView' is unavailable in watchOS
153 | /// - indexPath: the index path to use as treshold
154 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
155 | public convenience init(tableView: UITableView,
| `- error: 'UITableView' is unavailable in watchOS
156 | viewToToggle: UIView? = nil,
157 | style: Style = .showWhenPastTreshold,
/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/ScrollViewVisibilityToggler.swift:156:22: error: 'UIView' is unavailable in watchOS
154 | /// - visibilityUpdateCallback: **optional** callback that will be called to toggle the view's visibility - if not set, default will be used which changes alpha
155 | public convenience init(tableView: UITableView,
156 | viewToToggle: UIView? = nil,
| `- error: 'UIView' is unavailable in watchOS
157 | style: Style = .showWhenPastTreshold,
158 | indexPath: IndexPath,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:185:55: error: 'UIView' is unavailable in watchOS
183 | /// - shouldBeVisible: if true, we'll set the alpha to 1, otherwise 0
184 | /// - animated: if true, changes will be animated
185 | public static func defaultViewVisibilityUpdate(view: UIView, shouldBeVisible: Bool, animated: Bool) {
| `- error: 'UIView' is unavailable in watchOS
186 | let updates = {
187 | view.alpha = (shouldBeVisible == true ? 1 : 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:202:42: error: 'UIVisualEffect' is unavailable in watchOS
200 | /// - visible: the effect to show when visible
201 | /// - hidden: **optional** the effect to show when hidden, defaults to non
202 | public static func blurToggler(visible: UIVisualEffect?, hidden: UIVisualEffect? = nil) -> VisibilityUpdateCallback {
| `- error: 'UIVisualEffect' is unavailable in watchOS
203 | return { view, shouldBeVisible, animated in
204 | guard let view = view as? UIVisualEffectView else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h:15:12: note: 'UIVisualEffect' has been explicitly marked unavailable here
13 |
14 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
15 | @interface UIVisualEffect : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UIVisualEffect' has been explicitly marked unavailable here
16 |
17 | @end
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:202:67: error: 'UIVisualEffect' is unavailable in watchOS
200 | /// - visible: the effect to show when visible
201 | /// - hidden: **optional** the effect to show when hidden, defaults to non
202 | public static func blurToggler(visible: UIVisualEffect?, hidden: UIVisualEffect? = nil) -> VisibilityUpdateCallback {
| `- error: 'UIVisualEffect' is unavailable in watchOS
203 | return { view, shouldBeVisible, animated in
204 | guard let view = view as? UIVisualEffectView else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h:15:12: note: 'UIVisualEffect' has been explicitly marked unavailable here
13 |
14 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
15 | @interface UIVisualEffect : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UIVisualEffect' has been explicitly marked unavailable here
16 |
17 | @end
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:243:23: error: 'UICollectionView' is unavailable in watchOS
241 |
242 |
243 | fileprivate extension UICollectionView {
| `- error: 'UICollectionView' is unavailable in watchOS
244 | func isValidIndexPath(_ indexPath: IndexPath) -> Bool {
245 | return indexPath.section < numberOfSections && indexPath.row < numberOfItems(inSection: indexPath.section)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:250:23: error: 'UITableView' is unavailable in watchOS
248 |
249 |
250 | fileprivate extension UITableView {
| `- error: 'UITableView' is unavailable in watchOS
251 | func isValidIndexPath(_ indexPath: IndexPath) -> Bool {
252 | return indexPath.section < numberOfSections && indexPath.row < numberOfRows(inSection: indexPath.section)
/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/ScrollViewVisibilityToggler.swift:191:4: error: 'UIView' is unavailable in watchOS
189 |
190 | if animated == true {
191 | UIView.animate(withDuration: 0.25, delay: 0, options: [.beginFromCurrentState, .allowUserInteraction], animations: updates)
| `- error: 'UIView' is unavailable in watchOS
192 | } else {
193 | updates()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift:204:30: error: 'UIVisualEffectView' is unavailable in watchOS
202 | public static func blurToggler(visible: UIVisualEffect?, hidden: UIVisualEffect? = nil) -> VisibilityUpdateCallback {
203 | return { view, shouldBeVisible, animated in
204 | guard let view = view as? UIVisualEffectView else { return }
| `- error: 'UIVisualEffectView' is unavailable in watchOS
205 | let updates = {
206 | view.effect = shouldBeVisible ? visible: hidden
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScrollViewVisibilityToggler.swift (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScrollViewVisibilityToggler.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-22 00:07:17.598 xcodebuild[787:4810] [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 'ScrollViewObserver' from project 'ScrollViewObserver')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ScrollViewObserver (in target 'ScrollViewObserver' from project 'ScrollViewObserver')
Building workspace ScrollViewObserver with scheme ScrollViewObserver
(3 failures)
BUILD FAILURE 6.4 watchOS