Build Information
Failed to build ScalingHeaderScrollView, reference main (e56b0b), with Swift 6.4 for watchOS using Xcode 27.0 on 8 Nov 2026 16:10:20 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ScalingHeaderScrollView -destination generic/platform=watchOSBuild Log
119 | .frame(width: 2.5, height: thumbH)
120 | .position(x: geo.size.width - 4, y: thumbTop + thumbH / 2)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderCore.swift:136:13: error: 'UIView' is unavailable in watchOS
134 | await action()
135 | withAnimation(.easeOut(duration: 0.3)) { refreshSpinnerOpacity = 0 }
136 | UIView.animate(withDuration: 0.3) {
| `- error: 'UIView' is unavailable in watchOS
137 | sv?.contentInset.top = params.maxHeight
138 | sv?.contentOffset = CGPoint(x: 0, y: -params.maxHeight)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderCore.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScalingHeaderCore.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScalingHeaderScrollView (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/PetalSpinner.swift:19:17: warning: cannot use generic class 'Autoconnect' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
17 | @State private var headIndex = 0
18 |
19 | private let timer = Timer.publish(every: 0.1, on: .main, in: .common).autoconnect()
| `- warning: cannot use generic class 'Autoconnect' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
20 |
21 | var body: some View {
Combine.Publishers.Autoconnect:2:14: note: generic class declared here
1 | enum Publishers {
2 | public class Autoconnect<Upstream> : Publisher where Upstream : ConnectablePublisher {
| `- note: generic class declared here
3 | public typealias Output = Upstream.Output
4 | public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/PetalSpinner.swift:19:17: warning: cannot use enum 'Publishers' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
17 | @State private var headIndex = 0
18 |
19 | private let timer = Timer.publish(every: 0.1, on: .main, in: .common).autoconnect()
| `- warning: cannot use enum 'Publishers' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
20 |
21 | var body: some View {
Combine.Publishers:2:13: note: enum declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public enum Publishers {
| `- note: enum declared here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:14:29: error: 'UIScrollView' is unavailable in watchOS
12 | var minInset: CGFloat
13 | var initialOffset: CGFloat
14 | var onScrollViewReady: (UIScrollView) -> Void = { _ in }
| `- error: 'UIScrollView' is unavailable in watchOS
15 | var onOffsetChange: (CGFloat, Bool) -> Void
16 | var onDidInitialize: ((UIScrollView) -> Void)? = nil
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:16:28: error: 'UIScrollView' is unavailable in watchOS
14 | var onScrollViewReady: (UIScrollView) -> Void = { _ in }
15 | var onOffsetChange: (CGFloat, Bool) -> Void
16 | var onDidInitialize: ((UIScrollView) -> Void)? = nil
| `- error: 'UIScrollView' is unavailable in watchOS
17 | var onWillEndDragging: ((CGFloat) -> Void)? = nil
18 | var onEndDragging: (() -> Void)? = nil
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:26:40: error: cannot find type 'Context' in scope
24 | var content: () -> Content
25 |
26 | func makeUIViewController(context: Context) -> PageViewController<Content> {
| `- error: cannot find type 'Context' in scope
27 | let vc = PageViewController(topInset: topInset, minInset: minInset, initialOffset: initialOffset, content: content())
28 | vc.onScrollViewReady = onScrollViewReady
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:33:77: error: cannot find type 'Context' in scope
31 | }
32 |
33 | func updateUIViewController(_ vc: PageViewController<Content>, context: Context) {
| `- error: cannot find type 'Context' in scope
34 | vc.hostingController.rootView = content()
35 | configure(vc)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:9:39: error: cannot find type 'UIViewControllerRepresentable' in scope
7 | import UIKit
8 |
9 | struct PageScrollView<Content: View>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
10 |
11 | var topInset: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:55:22: error: 'UIScrollView' is unavailable in watchOS
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
54 |
55 | let scrollView = UIScrollView()
| `- error: 'UIScrollView' is unavailable in watchOS
56 | let hostingController: UIHostingController<Content>
57 |
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:55:22: error: 'init()' is unavailable in watchOS
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
54 |
55 | let scrollView = UIScrollView()
| `- error: 'init()' is unavailable in watchOS
56 | let hostingController: UIHostingController<Content>
57 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:56:28: error: cannot find type 'UIHostingController' in scope
54 |
55 | let scrollView = UIScrollView()
56 | let hostingController: UIHostingController<Content>
| `- error: cannot find type 'UIHostingController' in scope
57 |
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:58:30: error: 'UIScrollView' is unavailable in watchOS
56 | let hostingController: UIHostingController<Content>
57 |
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
| `- error: 'UIScrollView' is unavailable in watchOS
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:60:28: error: 'UIScrollView' is unavailable in watchOS
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
| `- error: 'UIScrollView' is unavailable in watchOS
61 | var onWillEndDragging: ((CGFloat) -> Void)?
62 | var onEndDragging: (() -> Void)?
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:153:41: error: 'UICollectionView' is unavailable in watchOS
151 | }
152 |
153 | private var ancestorCollectionView: UICollectionView? {
| `- error: 'UICollectionView' is unavailable in watchOS
154 | var current = view.superview
155 | while let candidate = current {
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:166:44: error: 'UIScrollView' is unavailable in watchOS
164 | // MARK: - UIScrollViewDelegate
165 |
166 | func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
167 | guard didInitialize else { return }
168 | let isUserInitiated = scrollView.isDragging || scrollView.isDecelerating
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:180:50: error: 'UIScrollView' is unavailable in watchOS
178 | }
179 |
180 | func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>) {
| `- error: 'UIScrollView' is unavailable in watchOS
181 | onWillEndDragging?(velocity.y)
182 |
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:197:49: error: 'UIScrollView' is unavailable in watchOS
195 | }
196 |
197 | func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) {
| `- error: 'UIScrollView' is unavailable in watchOS
198 | if scrollView.contentOffset.y < -(topInset + 60) {
199 | onPullToRefresh?()
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:208:56: error: 'UIScrollView' is unavailable in watchOS
206 | }
207 |
208 | func scrollViewWillBeginDecelerating(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
209 | onEndDragging?()
210 | }
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:212:53: error: 'UIScrollView' is unavailable in watchOS
210 | }
211 |
212 | func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
213 | onEndDecelerating?()
214 | }
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:53:48: error: 'UIViewController' is unavailable in watchOS
51 | // MARK: -
52 |
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
| `- error: 'UIViewController' is unavailable in watchOS
54 |
55 | let scrollView = UIScrollView()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:53:66: error: 'UIScrollViewDelegate' is unavailable in watchOS
51 | // MARK: -
52 |
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
| `- error: 'UIScrollViewDelegate' is unavailable in watchOS
54 |
55 | let scrollView = UIScrollView()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:312:11: note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
310 |
311 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
312 | @protocol UIScrollViewDelegate<NSObject>
| `- note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
313 |
314 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift:12:40: error: 'UIScrollView' is unavailable in watchOS
10 |
11 | @MainActor
12 | func snapScrollPosition(in scrollView: UIScrollView?, params: ScalingHeaderParameters) {
| `- error: 'UIScrollView' is unavailable in watchOS
13 | guard let sv = scrollView else { return }
14 | let extraSpace = params.maxHeight - params.minHeight
/Applications/Xcode-27.0.0.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/Helpers/Utils.swift:73:19: error: cannot override 'viewSafeAreaInsetsDidChange' which has been marked unavailable
71 | }
72 |
73 | override func viewSafeAreaInsetsDidChange() {
| |- error: cannot override 'viewSafeAreaInsetsDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'viewSafeAreaInsetsDidChange'
74 | super.viewSafeAreaInsetsDidChange()
75 | onChange?(view.window?.safeAreaInsets ?? .zero)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:585:1: note: 'viewSafeAreaInsetsDidChange()' has been explicitly marked unavailable here
583 |
584 | - (void)viewLayoutMarginsDidChange NS_REQUIRES_SUPER API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
585 | - (void)viewSafeAreaInsetsDidChange NS_REQUIRES_SUPER API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'viewSafeAreaInsetsDidChange()' has been explicitly marked unavailable here
586 |
587 | @end
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift:59:45: error: 'UIViewController' is unavailable in watchOS
57 | // after an early/premature first callback, freezing a stale window reading on devices where the
58 | // real value only settles after layout (unlike Duo, where the real top inset happens to be 0).
59 | final class SafeAreaTrackingViewController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
60 | var onChange: ((UIEdgeInsets) -> Void)?
61 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift:82:40: error: cannot find type 'Context' in scope
80 | var onChange: (UIEdgeInsets) -> Void
81 |
82 | func makeUIViewController(context: Context) -> SafeAreaTrackingViewController {
| `- error: cannot find type 'Context' in scope
83 | let controller = SafeAreaTrackingViewController()
84 | controller.onChange = onChange
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift:88:94: error: cannot find type 'Context' in scope
86 | }
87 |
88 | func updateUIViewController(_ uiViewController: SafeAreaTrackingViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
89 | uiViewController.onChange = onChange
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift:79:24: error: cannot find type 'UIViewControllerRepresentable' in scope
77 | }
78 |
79 | struct SafeAreaReader: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
80 | var onChange: (UIEdgeInsets) -> Void
81 |
/Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderCore.swift:21:36: error: 'UIScrollView' is unavailable in watchOS
19 | var headerHeight: CGFloat
20 | var scrollOffset: CGFloat
21 | var scrollViewProvider: (() -> UIScrollView?)? = nil
| `- error: 'UIScrollView' is unavailable in watchOS
22 |
23 | @State private var isLoading = false
/Applications/Xcode-27.0.0.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/ScalingHeaderParameters.swift:62:28: error: 'UIScrollView' is unavailable in watchOS
60 | final class ScalingHeaderScrollViewStore: ObservableObject {
61 | @Published var currentRawOffset: CGFloat
62 | weak var uiScrollView: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
63 |
64 | init(initialMaxHeight: CGFloat) {
/Applications/Xcode-27.0.0.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 (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ScalingHeaderParameters.swift /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderParameters.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderParameters.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScalingHeaderParameters.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-11-08 11:10:09.411 xcodebuild[628:3902] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ScalingHeaderScrollView (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
SwiftCompile normal arm64_32 (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
Building workspace ScalingHeaderScrollView with scheme ScalingHeaderScrollView
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
ScalingHeaderScrollView: /Users/admin/builder/spi-builder-workspace
resolved source packages: ScalingHeaderScrollView
2026-11-08 11:10:16.711 xcodebuild[837:4836] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "ScalingHeaderScrollView",
"name" : "ScalingHeaderScrollView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "ScalingHeaderScrollView",
"targets" : [
"ScalingHeaderScrollView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ScalingHeaderScrollView",
"module_type" : "SwiftTarget",
"name" : "ScalingHeaderScrollView",
"path" : "Sources",
"product_memberships" : [
"ScalingHeaderScrollView"
],
"sources" : [
"Helpers/PetalSpinner.swift",
"Helpers/ScrollPageView.swift",
"Helpers/Utils.swift",
"PublicAPI.swift",
"ScalingHeaderCore.swift",
"ScalingHeaderParameters.swift",
"ScalingHeaderScrollView.swift",
"ScalingHeaderTabView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "ScalingHeaderScrollView",
"schemes" : [
"ScalingHeaderScrollView"
]
}
}
2026-11-08 11:10:17.945 xcodebuild[845:4905] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ScalingHeaderScrollView -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme ScalingHeaderScrollView -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
ScalingHeaderScrollView: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'ScalingHeaderScrollView-product' in project 'ScalingHeaderScrollView'
➜ Explicit dependency on target 'ScalingHeaderScrollView' in project 'ScalingHeaderScrollView'
Target 'ScalingHeaderScrollView' in project 'ScalingHeaderScrollView' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
SwiftDriver ScalingHeaderScrollView normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name ScalingHeaderScrollView -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64_32/ScalingHeaderScrollView.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -enable-experimental-feature StrictConcurrency -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64_32/ScalingHeaderScrollView-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64_32/ScalingHeaderScrollView.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64_32/ScalingHeaderScrollView-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64_32/ScalingHeaderScrollView_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64_32/ScalingHeaderScrollView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver ScalingHeaderScrollView normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name ScalingHeaderScrollView -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64/ScalingHeaderScrollView.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -enable-experimental-feature StrictConcurrency -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64/ScalingHeaderScrollView-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64/ScalingHeaderScrollView.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64/ScalingHeaderScrollView-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64/ScalingHeaderScrollView_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64/ScalingHeaderScrollView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ PetalSpinner.swift /Users/admin/builder/spi-builder-workspace/Sources/Helpers/PetalSpinner.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Helpers/PetalSpinner.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PetalSpinner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/PetalSpinner.swift:19:17: warning: cannot use generic class 'Autoconnect' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
17 | @State private var headIndex = 0
18 |
19 | private let timer = Timer.publish(every: 0.1, on: .main, in: .common).autoconnect()
| `- warning: cannot use generic class 'Autoconnect' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
20 |
21 | var body: some View {
Combine.Publishers.Autoconnect:2:14: note: generic class declared here
1 | enum Publishers {
2 | public class Autoconnect<Upstream> : Publisher where Upstream : ConnectablePublisher {
| `- note: generic class declared here
3 | public typealias Output = Upstream.Output
4 | public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/PetalSpinner.swift:19:17: warning: cannot use enum 'Publishers' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
17 | @State private var headIndex = 0
18 |
19 | private let timer = Timer.publish(every: 0.1, on: .main, in: .common).autoconnect()
| `- warning: cannot use enum 'Publishers' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
20 |
21 | var body: some View {
Combine.Publishers:2:13: note: enum declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public enum Publishers {
| `- note: enum declared here
3 | }
SwiftCompile normal arm64 Compiling\ ScrollPageView.swift /Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:14:29: error: 'UIScrollView' is unavailable in watchOS
12 | var minInset: CGFloat
13 | var initialOffset: CGFloat
14 | var onScrollViewReady: (UIScrollView) -> Void = { _ in }
| `- error: 'UIScrollView' is unavailable in watchOS
15 | var onOffsetChange: (CGFloat, Bool) -> Void
16 | var onDidInitialize: ((UIScrollView) -> Void)? = nil
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:16:28: error: 'UIScrollView' is unavailable in watchOS
14 | var onScrollViewReady: (UIScrollView) -> Void = { _ in }
15 | var onOffsetChange: (CGFloat, Bool) -> Void
16 | var onDidInitialize: ((UIScrollView) -> Void)? = nil
| `- error: 'UIScrollView' is unavailable in watchOS
17 | var onWillEndDragging: ((CGFloat) -> Void)? = nil
18 | var onEndDragging: (() -> Void)? = nil
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:26:40: error: cannot find type 'Context' in scope
24 | var content: () -> Content
25 |
26 | func makeUIViewController(context: Context) -> PageViewController<Content> {
| `- error: cannot find type 'Context' in scope
27 | let vc = PageViewController(topInset: topInset, minInset: minInset, initialOffset: initialOffset, content: content())
28 | vc.onScrollViewReady = onScrollViewReady
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:33:77: error: cannot find type 'Context' in scope
31 | }
32 |
33 | func updateUIViewController(_ vc: PageViewController<Content>, context: Context) {
| `- error: cannot find type 'Context' in scope
34 | vc.hostingController.rootView = content()
35 | configure(vc)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:9:39: error: cannot find type 'UIViewControllerRepresentable' in scope
7 | import UIKit
8 |
9 | struct PageScrollView<Content: View>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
10 |
11 | var topInset: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:55:22: error: 'UIScrollView' is unavailable in watchOS
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
54 |
55 | let scrollView = UIScrollView()
| `- error: 'UIScrollView' is unavailable in watchOS
56 | let hostingController: UIHostingController<Content>
57 |
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:55:22: error: 'init()' is unavailable in watchOS
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
54 |
55 | let scrollView = UIScrollView()
| `- error: 'init()' is unavailable in watchOS
56 | let hostingController: UIHostingController<Content>
57 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:56:28: error: cannot find type 'UIHostingController' in scope
54 |
55 | let scrollView = UIScrollView()
56 | let hostingController: UIHostingController<Content>
| `- error: cannot find type 'UIHostingController' in scope
57 |
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:58:30: error: 'UIScrollView' is unavailable in watchOS
56 | let hostingController: UIHostingController<Content>
57 |
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
| `- error: 'UIScrollView' is unavailable in watchOS
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:60:28: error: 'UIScrollView' is unavailable in watchOS
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
| `- error: 'UIScrollView' is unavailable in watchOS
61 | var onWillEndDragging: ((CGFloat) -> Void)?
62 | var onEndDragging: (() -> Void)?
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:153:41: error: 'UICollectionView' is unavailable in watchOS
151 | }
152 |
153 | private var ancestorCollectionView: UICollectionView? {
| `- error: 'UICollectionView' is unavailable in watchOS
154 | var current = view.superview
155 | while let candidate = current {
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:166:44: error: 'UIScrollView' is unavailable in watchOS
164 | // MARK: - UIScrollViewDelegate
165 |
166 | func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
167 | guard didInitialize else { return }
168 | let isUserInitiated = scrollView.isDragging || scrollView.isDecelerating
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:180:50: error: 'UIScrollView' is unavailable in watchOS
178 | }
179 |
180 | func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>) {
| `- error: 'UIScrollView' is unavailable in watchOS
181 | onWillEndDragging?(velocity.y)
182 |
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:197:49: error: 'UIScrollView' is unavailable in watchOS
195 | }
196 |
197 | func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) {
| `- error: 'UIScrollView' is unavailable in watchOS
198 | if scrollView.contentOffset.y < -(topInset + 60) {
199 | onPullToRefresh?()
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:208:56: error: 'UIScrollView' is unavailable in watchOS
206 | }
207 |
208 | func scrollViewWillBeginDecelerating(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
209 | onEndDragging?()
210 | }
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:212:53: error: 'UIScrollView' is unavailable in watchOS
210 | }
211 |
212 | func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
213 | onEndDecelerating?()
214 | }
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:53:48: error: 'UIViewController' is unavailable in watchOS
51 | // MARK: -
52 |
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
| `- error: 'UIViewController' is unavailable in watchOS
54 |
55 | let scrollView = UIScrollView()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:53:66: error: 'UIScrollViewDelegate' is unavailable in watchOS
51 | // MARK: -
52 |
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
| `- error: 'UIScrollViewDelegate' is unavailable in watchOS
54 |
55 | let scrollView = UIScrollView()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:312:11: note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
310 |
311 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
312 | @protocol UIScrollViewDelegate<NSObject>
| `- note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
313 |
314 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:27:18: warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
25 |
26 | func makeUIViewController(context: Context) -> PageViewController<Content> {
27 | let vc = PageViewController(topInset: topInset, minInset: minInset, initialOffset: initialOffset, content: content())
| `- warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
28 | vc.onScrollViewReady = onScrollViewReady
29 | configure(vc)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:27:18: warning: call to main actor-isolated initializer 'init(topInset:minInset:initialOffset:content:)' in a synchronous nonisolated context [#ActorIsolatedCall]
24 | var content: () -> Content
25 |
26 | func makeUIViewController(context: Context) -> PageViewController<Content> {
| `- note: add '@MainActor' to make instance method 'makeUIViewController(context:)' part of global actor 'MainActor'
27 | let vc = PageViewController(topInset: topInset, minInset: minInset, initialOffset: initialOffset, content: content())
| `- warning: call to main actor-isolated initializer 'init(topInset:minInset:initialOffset:content:)' in a synchronous nonisolated context [#ActorIsolatedCall]
28 | vc.onScrollViewReady = onScrollViewReady
29 | configure(vc)
:
72 | private var didInitialize = false
73 |
74 | init(topInset: CGFloat, minInset: CGFloat, initialOffset: CGFloat, content: Content) {
| |- note: calls to initializer 'init(topInset:minInset:initialOffset:content:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIViewController'
75 | self.topInset = topInset
76 | self.minInset = minInset
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:28:12: warning: main actor-isolated property 'onScrollViewReady' can not be mutated from a nonisolated context
24 | var content: () -> Content
25 |
26 | func makeUIViewController(context: Context) -> PageViewController<Content> {
| `- note: add '@MainActor' to make instance method 'makeUIViewController(context:)' part of global actor 'MainActor'
27 | let vc = PageViewController(topInset: topInset, minInset: minInset, initialOffset: initialOffset, content: content())
28 | vc.onScrollViewReady = onScrollViewReady
| `- warning: main actor-isolated property 'onScrollViewReady' can not be mutated from a nonisolated context
29 | configure(vc)
30 | return vc
:
56 | let hostingController: UIHostingController<Content>
57 |
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
| `- note: mutation of this property is only permitted within the actor
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:39:12: warning: main actor-isolated property 'onOffsetChange' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
| `- warning: main actor-isolated property 'onOffsetChange' can not be mutated from a nonisolated context
40 | vc.onDidInitialize = onDidInitialize
41 | vc.onWillEndDragging = onWillEndDragging
:
57 |
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
| `- note: mutation of this property is only permitted within the actor
60 | var onDidInitialize: ((UIScrollView) -> Void)?
61 | var onWillEndDragging: ((CGFloat) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:40:12: warning: main actor-isolated property 'onDidInitialize' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
| `- warning: main actor-isolated property 'onDidInitialize' can not be mutated from a nonisolated context
41 | vc.onWillEndDragging = onWillEndDragging
42 | vc.onEndDragging = onEndDragging
:
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
| `- note: mutation of this property is only permitted within the actor
61 | var onWillEndDragging: ((CGFloat) -> Void)?
62 | var onEndDragging: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:41:12: warning: main actor-isolated property 'onWillEndDragging' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
41 | vc.onWillEndDragging = onWillEndDragging
| `- warning: main actor-isolated property 'onWillEndDragging' can not be mutated from a nonisolated context
42 | vc.onEndDragging = onEndDragging
43 | vc.onEndDecelerating = onEndDecelerating
:
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
61 | var onWillEndDragging: ((CGFloat) -> Void)?
| `- note: mutation of this property is only permitted within the actor
62 | var onEndDragging: (() -> Void)?
63 | var onEndDecelerating: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:42:12: warning: main actor-isolated property 'onEndDragging' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
41 | vc.onWillEndDragging = onWillEndDragging
42 | vc.onEndDragging = onEndDragging
| `- warning: main actor-isolated property 'onEndDragging' can not be mutated from a nonisolated context
43 | vc.onEndDecelerating = onEndDecelerating
44 | vc.onReachBottom = onReachBottom
:
60 | var onDidInitialize: ((UIScrollView) -> Void)?
61 | var onWillEndDragging: ((CGFloat) -> Void)?
62 | var onEndDragging: (() -> Void)?
| `- note: mutation of this property is only permitted within the actor
63 | var onEndDecelerating: (() -> Void)?
64 | var onReachBottom: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:43:12: warning: main actor-isolated property 'onEndDecelerating' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
41 | vc.onWillEndDragging = onWillEndDragging
42 | vc.onEndDragging = onEndDragging
43 | vc.onEndDecelerating = onEndDecelerating
| `- warning: main actor-isolated property 'onEndDecelerating' can not be mutated from a nonisolated context
44 | vc.onReachBottom = onReachBottom
45 | vc.onPullToRefresh = onPullToRefresh
:
61 | var onWillEndDragging: ((CGFloat) -> Void)?
62 | var onEndDragging: (() -> Void)?
63 | var onEndDecelerating: (() -> Void)?
| `- note: mutation of this property is only permitted within the actor
64 | var onReachBottom: (() -> Void)?
65 | var onPullToRefresh: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:44:12: warning: main actor-isolated property 'onReachBottom' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
:
42 | vc.onEndDragging = onEndDragging
43 | vc.onEndDecelerating = onEndDecelerating
44 | vc.onReachBottom = onReachBottom
| `- warning: main actor-isolated property 'onReachBottom' can not be mutated from a nonisolated context
45 | vc.onPullToRefresh = onPullToRefresh
46 | vc.onPullToLoadMore = onPullToLoadMore
:
62 | var onEndDragging: (() -> Void)?
63 | var onEndDecelerating: (() -> Void)?
64 | var onReachBottom: (() -> Void)?
| `- note: mutation of this property is only permitted within the actor
65 | var onPullToRefresh: (() -> Void)?
66 | var onPullToLoadMore: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:45:12: warning: main actor-isolated property 'onPullToRefresh' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
:
43 | vc.onEndDecelerating = onEndDecelerating
44 | vc.onReachBottom = onReachBottom
45 | vc.onPullToRefresh = onPullToRefresh
| `- warning: main actor-isolated property 'onPullToRefresh' can not be mutated from a nonisolated context
46 | vc.onPullToLoadMore = onPullToLoadMore
47 | vc.onDragProgress = onDragProgress
:
63 | var onEndDecelerating: (() -> Void)?
64 | var onReachBottom: (() -> Void)?
65 | var onPullToRefresh: (() -> Void)?
| `- note: mutation of this property is only permitted within the actor
66 | var onPullToLoadMore: (() -> Void)?
67 | var onDragProgress: ((CGFloat, CGFloat) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:46:12: warning: main actor-isolated property 'onPullToLoadMore' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
:
44 | vc.onReachBottom = onReachBottom
45 | vc.onPullToRefresh = onPullToRefresh
46 | vc.onPullToLoadMore = onPullToLoadMore
| `- warning: main actor-isolated property 'onPullToLoadMore' can not be mutated from a nonisolated context
47 | vc.onDragProgress = onDragProgress
48 | }
:
64 | var onReachBottom: (() -> Void)?
65 | var onPullToRefresh: (() -> Void)?
66 | var onPullToLoadMore: (() -> Void)?
| `- note: mutation of this property is only permitted within the actor
67 | var onDragProgress: ((CGFloat, CGFloat) -> Void)?
68 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:47:12: warning: main actor-isolated property 'onDragProgress' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
:
45 | vc.onPullToRefresh = onPullToRefresh
46 | vc.onPullToLoadMore = onPullToLoadMore
47 | vc.onDragProgress = onDragProgress
| `- warning: main actor-isolated property 'onDragProgress' can not be mutated from a nonisolated context
48 | }
49 | }
:
65 | var onPullToRefresh: (() -> Void)?
66 | var onPullToLoadMore: (() -> Void)?
67 | var onDragProgress: ((CGFloat, CGFloat) -> Void)?
| `- note: mutation of this property is only permitted within the actor
68 |
69 | private let topInset: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:78:34: error: cannot find 'UIHostingController' in scope
76 | self.minInset = minInset
77 | self.initialOffset = initialOffset
78 | self.hostingController = UIHostingController(rootView: content)
| `- error: cannot find 'UIHostingController' in scope
79 | if #available(iOS 16.0, *) {
80 | self.hostingController.sizingOptions = [.intrinsicContentSize]
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:80:54: error: reference to member 'intrinsicContentSize' cannot be resolved without a contextual type
78 | self.hostingController = UIHostingController(rootView: content)
79 | if #available(iOS 16.0, *) {
80 | self.hostingController.sizingOptions = [.intrinsicContentSize]
| `- error: reference to member 'intrinsicContentSize' cannot be resolved without a contextual type
81 | }
82 | if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:96:20: error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
94 | scrollView.translatesAutoresizingMaskIntoConstraints = false
95 | scrollView.contentInset = UIEdgeInsets(top: topInset, left: 0, bottom: 0, right: 0)
96 | scrollView.contentInsetAdjustmentBehavior = .never
| `- error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
97 | scrollView.automaticallyAdjustsScrollIndicatorInsets = false
98 | scrollView.alwaysBounceVertical = true
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:110:65: note: 'contentInsetAdjustmentBehavior' has been explicitly marked unavailable here
108 | Default is UIScrollViewContentInsetAdjustmentAutomatic.
109 | */
110 | @property(nonatomic) UIScrollViewContentInsetAdjustmentBehavior contentInsetAdjustmentBehavior API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'contentInsetAdjustmentBehavior' has been explicitly marked unavailable here
111 |
112 | /* Configures whether the scroll indicator insets are automatically adjusted by the system.
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:97:20: error: 'automaticallyAdjustsScrollIndicatorInsets' is unavailable in watchOS
95 | scrollView.contentInset = UIEdgeInsets(top: topInset, left: 0, bottom: 0, right: 0)
96 | scrollView.contentInsetAdjustmentBehavior = .never
97 | scrollView.automaticallyAdjustsScrollIndicatorInsets = false
| `- error: 'automaticallyAdjustsScrollIndicatorInsets' is unavailable in watchOS
98 | scrollView.alwaysBounceVertical = true
99 | scrollView.showsVerticalScrollIndicator = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:115:27: note: 'automaticallyAdjustsScrollIndicatorInsets' has been explicitly marked unavailable here
113 | Default is YES.
114 | */
115 | @property(nonatomic) BOOL automaticallyAdjustsScrollIndicatorInsets API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'automaticallyAdjustsScrollIndicatorInsets' has been explicitly marked unavailable here
116 |
117 | /* contentLayoutGuide anchors (e.g., contentLayoutGuide.centerXAnchor, etc.) refer to
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:103:9: error: 'NSLayoutConstraint' is unavailable in watchOS
101 | view.addSubview(scrollView)
102 |
103 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
104 | scrollView.leadingAnchor.constraint(equalTo: view.leadingAnchor),
105 | scrollView.trailingAnchor.constraint(equalTo: view.trailingAnchor),
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:113:51: error: cannot infer contextual base in reference to member 'clear'
111 | // insets into the SwiftUI content, which would add invisible top padding.
112 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
113 | hostingController.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
114 | scrollView.addSubview(hostingController.view)
115 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:144:19: error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
142 | // the offset back to the current page boundary ourselves.
143 | if let pager = ancestorCollectionView {
144 | pager.contentInsetAdjustmentBehavior = .never
| `- error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
145 | let pageWidth = pager.bounds.width
146 | if pageWidth > 0 {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:110:65: note: 'contentInsetAdjustmentBehavior' has been explicitly marked unavailable here
108 | Default is UIScrollViewContentInsetAdjustmentAutomatic.
109 | */
110 | @property(nonatomic) UIScrollViewContentInsetAdjustmentBehavior contentInsetAdjustmentBehavior API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'contentInsetAdjustmentBehavior' has been explicitly marked unavailable here
111 |
112 | /* Configures whether the scroll indicator insets are automatically adjusted by the system.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScrollPageView.swift
SwiftCompile normal arm64 Compiling\ ScalingHeaderCore.swift /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderCore.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
/Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderCore.swift:21:36: error: 'UIScrollView' is unavailable in watchOS
19 | var headerHeight: CGFloat
20 | var scrollOffset: CGFloat
21 | var scrollViewProvider: (() -> UIScrollView?)? = nil
| `- error: 'UIScrollView' is unavailable in watchOS
22 |
23 | @State private var isLoading = false
/Applications/Xcode-27.0.0.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/ScalingHeaderCore.swift:91:14: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'SafeAreaReader' conform to 'ShapeStyle'
89 | .animation(params.headerAnimation, value: params.shouldSnapTo.wrappedValue)
90 | }
91 | .background(SafeAreaReader { windowSafeAreaInsets = EdgeInsets($0) })
| `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'SafeAreaReader' conform to 'ShapeStyle'
92 | .environment(\.scalingHeaderSafeAreaInsets, windowSafeAreaInsets)
93 | }
SwiftUI.View.background:2:36: note: where 'S' = 'SafeAreaReader'
1 | protocol View {
2 | @inlinable nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
| `- note: where 'S' = 'SafeAreaReader'
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderCore.swift:118:41: error: 'label' is unavailable in watchOS
116 |
117 | RoundedRectangle(cornerRadius: 1.5)
118 | .fill(Color(UIColor.label).opacity(0.35))
| `- error: 'label' is unavailable in watchOS
119 | .frame(width: 2.5, height: thumbH)
120 | .position(x: geo.size.width - 4, y: thumbTop + thumbH / 2)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderCore.swift:136:13: error: 'UIView' is unavailable in watchOS
134 | await action()
135 | withAnimation(.easeOut(duration: 0.3)) { refreshSpinnerOpacity = 0 }
136 | UIView.animate(withDuration: 0.3) {
| `- error: 'UIView' is unavailable in watchOS
137 | sv?.contentInset.top = params.maxHeight
138 | sv?.contentOffset = CGPoint(x: 0, y: -params.maxHeight)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderCore.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScalingHeaderCore.swift
SwiftCompile normal arm64 Compiling\ ScalingHeaderParameters.swift /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderParameters.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
/Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderParameters.swift:62:28: error: 'UIScrollView' is unavailable in watchOS
60 | final class ScalingHeaderScrollViewStore: ObservableObject {
61 | @Published var currentRawOffset: CGFloat
62 | weak var uiScrollView: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
63 |
64 | init(initialMaxHeight: CGFloat) {
/Applications/Xcode-27.0.0.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 /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderParameters.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScalingHeaderParameters.swift
SwiftCompile normal arm64 Compiling\ ScalingHeaderScrollView.swift /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderScrollView.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderScrollView.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScalingHeaderScrollView.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScalingHeaderScrollView (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/PetalSpinner.swift:19:17: warning: cannot use generic class 'Autoconnect' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
17 | @State private var headIndex = 0
18 |
19 | private let timer = Timer.publish(every: 0.1, on: .main, in: .common).autoconnect()
| `- warning: cannot use generic class 'Autoconnect' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
20 |
21 | var body: some View {
Combine.Publishers.Autoconnect:2:14: note: generic class declared here
1 | enum Publishers {
2 | public class Autoconnect<Upstream> : Publisher where Upstream : ConnectablePublisher {
| `- note: generic class declared here
3 | public typealias Output = Upstream.Output
4 | public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/PetalSpinner.swift:19:17: warning: cannot use enum 'Publishers' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
17 | @State private var headIndex = 0
18 |
19 | private let timer = Timer.publish(every: 0.1, on: .main, in: .common).autoconnect()
| `- warning: cannot use enum 'Publishers' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
20 |
21 | var body: some View {
Combine.Publishers:2:13: note: enum declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public enum Publishers {
| `- note: enum declared here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:14:29: error: 'UIScrollView' is unavailable in watchOS
12 | var minInset: CGFloat
13 | var initialOffset: CGFloat
14 | var onScrollViewReady: (UIScrollView) -> Void = { _ in }
| `- error: 'UIScrollView' is unavailable in watchOS
15 | var onOffsetChange: (CGFloat, Bool) -> Void
16 | var onDidInitialize: ((UIScrollView) -> Void)? = nil
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:16:28: error: 'UIScrollView' is unavailable in watchOS
14 | var onScrollViewReady: (UIScrollView) -> Void = { _ in }
15 | var onOffsetChange: (CGFloat, Bool) -> Void
16 | var onDidInitialize: ((UIScrollView) -> Void)? = nil
| `- error: 'UIScrollView' is unavailable in watchOS
17 | var onWillEndDragging: ((CGFloat) -> Void)? = nil
18 | var onEndDragging: (() -> Void)? = nil
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:26:40: error: cannot find type 'Context' in scope
24 | var content: () -> Content
25 |
26 | func makeUIViewController(context: Context) -> PageViewController<Content> {
| `- error: cannot find type 'Context' in scope
27 | let vc = PageViewController(topInset: topInset, minInset: minInset, initialOffset: initialOffset, content: content())
28 | vc.onScrollViewReady = onScrollViewReady
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:33:77: error: cannot find type 'Context' in scope
31 | }
32 |
33 | func updateUIViewController(_ vc: PageViewController<Content>, context: Context) {
| `- error: cannot find type 'Context' in scope
34 | vc.hostingController.rootView = content()
35 | configure(vc)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:9:39: error: cannot find type 'UIViewControllerRepresentable' in scope
7 | import UIKit
8 |
9 | struct PageScrollView<Content: View>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
10 |
11 | var topInset: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:55:22: error: 'UIScrollView' is unavailable in watchOS
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
54 |
55 | let scrollView = UIScrollView()
| `- error: 'UIScrollView' is unavailable in watchOS
56 | let hostingController: UIHostingController<Content>
57 |
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:55:22: error: 'init()' is unavailable in watchOS
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
54 |
55 | let scrollView = UIScrollView()
| `- error: 'init()' is unavailable in watchOS
56 | let hostingController: UIHostingController<Content>
57 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:56:28: error: cannot find type 'UIHostingController' in scope
54 |
55 | let scrollView = UIScrollView()
56 | let hostingController: UIHostingController<Content>
| `- error: cannot find type 'UIHostingController' in scope
57 |
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:58:30: error: 'UIScrollView' is unavailable in watchOS
56 | let hostingController: UIHostingController<Content>
57 |
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
| `- error: 'UIScrollView' is unavailable in watchOS
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:60:28: error: 'UIScrollView' is unavailable in watchOS
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
| `- error: 'UIScrollView' is unavailable in watchOS
61 | var onWillEndDragging: ((CGFloat) -> Void)?
62 | var onEndDragging: (() -> Void)?
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:153:41: error: 'UICollectionView' is unavailable in watchOS
151 | }
152 |
153 | private var ancestorCollectionView: UICollectionView? {
| `- error: 'UICollectionView' is unavailable in watchOS
154 | var current = view.superview
155 | while let candidate = current {
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:166:44: error: 'UIScrollView' is unavailable in watchOS
164 | // MARK: - UIScrollViewDelegate
165 |
166 | func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
167 | guard didInitialize else { return }
168 | let isUserInitiated = scrollView.isDragging || scrollView.isDecelerating
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:180:50: error: 'UIScrollView' is unavailable in watchOS
178 | }
179 |
180 | func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>) {
| `- error: 'UIScrollView' is unavailable in watchOS
181 | onWillEndDragging?(velocity.y)
182 |
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:197:49: error: 'UIScrollView' is unavailable in watchOS
195 | }
196 |
197 | func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) {
| `- error: 'UIScrollView' is unavailable in watchOS
198 | if scrollView.contentOffset.y < -(topInset + 60) {
199 | onPullToRefresh?()
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:208:56: error: 'UIScrollView' is unavailable in watchOS
206 | }
207 |
208 | func scrollViewWillBeginDecelerating(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
209 | onEndDragging?()
210 | }
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:212:53: error: 'UIScrollView' is unavailable in watchOS
210 | }
211 |
212 | func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
213 | onEndDecelerating?()
214 | }
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:53:48: error: 'UIViewController' is unavailable in watchOS
51 | // MARK: -
52 |
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
| `- error: 'UIViewController' is unavailable in watchOS
54 |
55 | let scrollView = UIScrollView()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:53:66: error: 'UIScrollViewDelegate' is unavailable in watchOS
51 | // MARK: -
52 |
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
| `- error: 'UIScrollViewDelegate' is unavailable in watchOS
54 |
55 | let scrollView = UIScrollView()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:312:11: note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
310 |
311 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
312 | @protocol UIScrollViewDelegate<NSObject>
| `- note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
313 |
314 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift:12:40: error: 'UIScrollView' is unavailable in watchOS
10 |
11 | @MainActor
12 | func snapScrollPosition(in scrollView: UIScrollView?, params: ScalingHeaderParameters) {
| `- error: 'UIScrollView' is unavailable in watchOS
13 | guard let sv = scrollView else { return }
14 | let extraSpace = params.maxHeight - params.minHeight
/Applications/Xcode-27.0.0.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/Helpers/Utils.swift:73:19: error: cannot override 'viewSafeAreaInsetsDidChange' which has been marked unavailable
71 | }
72 |
73 | override func viewSafeAreaInsetsDidChange() {
| |- error: cannot override 'viewSafeAreaInsetsDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'viewSafeAreaInsetsDidChange'
74 | super.viewSafeAreaInsetsDidChange()
75 | onChange?(view.window?.safeAreaInsets ?? .zero)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:585:1: note: 'viewSafeAreaInsetsDidChange()' has been explicitly marked unavailable here
583 |
584 | - (void)viewLayoutMarginsDidChange NS_REQUIRES_SUPER API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
585 | - (void)viewSafeAreaInsetsDidChange NS_REQUIRES_SUPER API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'viewSafeAreaInsetsDidChange()' has been explicitly marked unavailable here
586 |
587 | @end
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift:59:45: error: 'UIViewController' is unavailable in watchOS
57 | // after an early/premature first callback, freezing a stale window reading on devices where the
58 | // real value only settles after layout (unlike Duo, where the real top inset happens to be 0).
59 | final class SafeAreaTrackingViewController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
60 | var onChange: ((UIEdgeInsets) -> Void)?
61 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift:82:40: error: cannot find type 'Context' in scope
80 | var onChange: (UIEdgeInsets) -> Void
81 |
82 | func makeUIViewController(context: Context) -> SafeAreaTrackingViewController {
| `- error: cannot find type 'Context' in scope
83 | let controller = SafeAreaTrackingViewController()
84 | controller.onChange = onChange
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift:88:94: error: cannot find type 'Context' in scope
86 | }
87 |
88 | func updateUIViewController(_ uiViewController: SafeAreaTrackingViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
89 | uiViewController.onChange = onChange
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift:79:24: error: cannot find type 'UIViewControllerRepresentable' in scope
77 | }
78 |
79 | struct SafeAreaReader: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
80 | var onChange: (UIEdgeInsets) -> Void
81 |
/Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderCore.swift:21:36: error: 'UIScrollView' is unavailable in watchOS
19 | var headerHeight: CGFloat
20 | var scrollOffset: CGFloat
21 | var scrollViewProvider: (() -> UIScrollView?)? = nil
| `- error: 'UIScrollView' is unavailable in watchOS
22 |
23 | @State private var isLoading = false
/Applications/Xcode-27.0.0.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/ScalingHeaderParameters.swift:62:28: error: 'UIScrollView' is unavailable in watchOS
60 | final class ScalingHeaderScrollViewStore: ObservableObject {
61 | @Published var currentRawOffset: CGFloat
62 | weak var uiScrollView: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
63 |
64 | init(initialMaxHeight: CGFloat) {
/Applications/Xcode-27.0.0.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/ScalingHeaderParameters.swift:70:21: error: 'UIScrollView' is unavailable in watchOS
68 |
69 | struct TabScrollState {
70 | var scrollView: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
71 | var offset: CGFloat?
72 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
Failed frontend command:
/Applications/Xcode-27.0.0.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/Helpers/PetalSpinner.swift /Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift /Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift /Users/admin/builder/spi-builder-workspace/Sources/PublicAPI.swift /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderCore.swift /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderParameters.swift /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderScrollView.swift /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderTabView.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64/ScalingHeaderScrollView-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScalingHeaderScrollView -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64/ScalingHeaderScrollView_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64/ScalingHeaderScrollView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64/ScalingHeaderScrollView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64/ScalingHeaderScrollView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64/ScalingHeaderScrollView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64/ScalingHeaderScrollView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64/ScalingHeaderScrollView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64/ScalingHeaderScrollView.abi.json
SwiftCompile normal arm64 (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ScalingHeaderScrollView (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/PetalSpinner.swift:19:17: warning: cannot use generic class 'Autoconnect' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
17 | @State private var headIndex = 0
18 |
19 | private let timer = Timer.publish(every: 0.1, on: .main, in: .common).autoconnect()
| `- warning: cannot use generic class 'Autoconnect' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
20 |
21 | var body: some View {
Combine.Publishers.Autoconnect:2:14: note: generic class declared here
1 | enum Publishers {
2 | public class Autoconnect<Upstream> : Publisher where Upstream : ConnectablePublisher {
| `- note: generic class declared here
3 | public typealias Output = Upstream.Output
4 | public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/PetalSpinner.swift:19:17: warning: cannot use enum 'Publishers' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
17 | @State private var headIndex = 0
18 |
19 | private let timer = Timer.publish(every: 0.1, on: .main, in: .common).autoconnect()
| `- warning: cannot use enum 'Publishers' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
20 |
21 | var body: some View {
Combine.Publishers:2:13: note: enum declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public enum Publishers {
| `- note: enum declared here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:14:29: error: 'UIScrollView' is unavailable in watchOS
12 | var minInset: CGFloat
13 | var initialOffset: CGFloat
14 | var onScrollViewReady: (UIScrollView) -> Void = { _ in }
| `- error: 'UIScrollView' is unavailable in watchOS
15 | var onOffsetChange: (CGFloat, Bool) -> Void
16 | var onDidInitialize: ((UIScrollView) -> Void)? = nil
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:16:28: error: 'UIScrollView' is unavailable in watchOS
14 | var onScrollViewReady: (UIScrollView) -> Void = { _ in }
15 | var onOffsetChange: (CGFloat, Bool) -> Void
16 | var onDidInitialize: ((UIScrollView) -> Void)? = nil
| `- error: 'UIScrollView' is unavailable in watchOS
17 | var onWillEndDragging: ((CGFloat) -> Void)? = nil
18 | var onEndDragging: (() -> Void)? = nil
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:26:40: error: cannot find type 'Context' in scope
24 | var content: () -> Content
25 |
26 | func makeUIViewController(context: Context) -> PageViewController<Content> {
| `- error: cannot find type 'Context' in scope
27 | let vc = PageViewController(topInset: topInset, minInset: minInset, initialOffset: initialOffset, content: content())
28 | vc.onScrollViewReady = onScrollViewReady
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:33:77: error: cannot find type 'Context' in scope
31 | }
32 |
33 | func updateUIViewController(_ vc: PageViewController<Content>, context: Context) {
| `- error: cannot find type 'Context' in scope
34 | vc.hostingController.rootView = content()
35 | configure(vc)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:9:39: error: cannot find type 'UIViewControllerRepresentable' in scope
7 | import UIKit
8 |
9 | struct PageScrollView<Content: View>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
10 |
11 | var topInset: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:55:22: error: 'UIScrollView' is unavailable in watchOS
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
54 |
55 | let scrollView = UIScrollView()
| `- error: 'UIScrollView' is unavailable in watchOS
56 | let hostingController: UIHostingController<Content>
57 |
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:55:22: error: 'init()' is unavailable in watchOS
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
54 |
55 | let scrollView = UIScrollView()
| `- error: 'init()' is unavailable in watchOS
56 | let hostingController: UIHostingController<Content>
57 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:56:28: error: cannot find type 'UIHostingController' in scope
54 |
55 | let scrollView = UIScrollView()
56 | let hostingController: UIHostingController<Content>
| `- error: cannot find type 'UIHostingController' in scope
57 |
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:58:30: error: 'UIScrollView' is unavailable in watchOS
56 | let hostingController: UIHostingController<Content>
57 |
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
| `- error: 'UIScrollView' is unavailable in watchOS
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:60:28: error: 'UIScrollView' is unavailable in watchOS
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
| `- error: 'UIScrollView' is unavailable in watchOS
61 | var onWillEndDragging: ((CGFloat) -> Void)?
62 | var onEndDragging: (() -> Void)?
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:153:41: error: 'UICollectionView' is unavailable in watchOS
151 | }
152 |
153 | private var ancestorCollectionView: UICollectionView? {
| `- error: 'UICollectionView' is unavailable in watchOS
154 | var current = view.superview
155 | while let candidate = current {
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:166:44: error: 'UIScrollView' is unavailable in watchOS
164 | // MARK: - UIScrollViewDelegate
165 |
166 | func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
167 | guard didInitialize else { return }
168 | let isUserInitiated = scrollView.isDragging || scrollView.isDecelerating
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:180:50: error: 'UIScrollView' is unavailable in watchOS
178 | }
179 |
180 | func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>) {
| `- error: 'UIScrollView' is unavailable in watchOS
181 | onWillEndDragging?(velocity.y)
182 |
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:197:49: error: 'UIScrollView' is unavailable in watchOS
195 | }
196 |
197 | func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) {
| `- error: 'UIScrollView' is unavailable in watchOS
198 | if scrollView.contentOffset.y < -(topInset + 60) {
199 | onPullToRefresh?()
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:208:56: error: 'UIScrollView' is unavailable in watchOS
206 | }
207 |
208 | func scrollViewWillBeginDecelerating(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
209 | onEndDragging?()
210 | }
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:212:53: error: 'UIScrollView' is unavailable in watchOS
210 | }
211 |
212 | func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
213 | onEndDecelerating?()
214 | }
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:53:48: error: 'UIViewController' is unavailable in watchOS
51 | // MARK: -
52 |
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
| `- error: 'UIViewController' is unavailable in watchOS
54 |
55 | let scrollView = UIScrollView()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:53:66: error: 'UIScrollViewDelegate' is unavailable in watchOS
51 | // MARK: -
52 |
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
| `- error: 'UIScrollViewDelegate' is unavailable in watchOS
54 |
55 | let scrollView = UIScrollView()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:312:11: note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
310 |
311 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
312 | @protocol UIScrollViewDelegate<NSObject>
| `- note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
313 |
314 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift:12:40: error: 'UIScrollView' is unavailable in watchOS
10 |
11 | @MainActor
12 | func snapScrollPosition(in scrollView: UIScrollView?, params: ScalingHeaderParameters) {
| `- error: 'UIScrollView' is unavailable in watchOS
13 | guard let sv = scrollView else { return }
14 | let extraSpace = params.maxHeight - params.minHeight
/Applications/Xcode-27.0.0.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/Helpers/Utils.swift:73:19: error: cannot override 'viewSafeAreaInsetsDidChange' which has been marked unavailable
71 | }
72 |
73 | override func viewSafeAreaInsetsDidChange() {
| |- error: cannot override 'viewSafeAreaInsetsDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'viewSafeAreaInsetsDidChange'
74 | super.viewSafeAreaInsetsDidChange()
75 | onChange?(view.window?.safeAreaInsets ?? .zero)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:585:1: note: 'viewSafeAreaInsetsDidChange()' has been explicitly marked unavailable here
583 |
584 | - (void)viewLayoutMarginsDidChange NS_REQUIRES_SUPER API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
585 | - (void)viewSafeAreaInsetsDidChange NS_REQUIRES_SUPER API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'viewSafeAreaInsetsDidChange()' has been explicitly marked unavailable here
586 |
587 | @end
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift:59:45: error: 'UIViewController' is unavailable in watchOS
57 | // after an early/premature first callback, freezing a stale window reading on devices where the
58 | // real value only settles after layout (unlike Duo, where the real top inset happens to be 0).
59 | final class SafeAreaTrackingViewController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
60 | var onChange: ((UIEdgeInsets) -> Void)?
61 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift:82:40: error: cannot find type 'Context' in scope
80 | var onChange: (UIEdgeInsets) -> Void
81 |
82 | func makeUIViewController(context: Context) -> SafeAreaTrackingViewController {
| `- error: cannot find type 'Context' in scope
83 | let controller = SafeAreaTrackingViewController()
84 | controller.onChange = onChange
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift:88:94: error: cannot find type 'Context' in scope
86 | }
87 |
88 | func updateUIViewController(_ uiViewController: SafeAreaTrackingViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
89 | uiViewController.onChange = onChange
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift:79:24: error: cannot find type 'UIViewControllerRepresentable' in scope
77 | }
78 |
79 | struct SafeAreaReader: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
80 | var onChange: (UIEdgeInsets) -> Void
81 |
/Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderCore.swift:21:36: error: 'UIScrollView' is unavailable in watchOS
19 | var headerHeight: CGFloat
20 | var scrollOffset: CGFloat
21 | var scrollViewProvider: (() -> UIScrollView?)? = nil
| `- error: 'UIScrollView' is unavailable in watchOS
22 |
23 | @State private var isLoading = false
/Applications/Xcode-27.0.0.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/ScalingHeaderParameters.swift:62:28: error: 'UIScrollView' is unavailable in watchOS
60 | final class ScalingHeaderScrollViewStore: ObservableObject {
61 | @Published var currentRawOffset: CGFloat
62 | weak var uiScrollView: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
63 |
64 | init(initialMaxHeight: CGFloat) {
/Applications/Xcode-27.0.0.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/ScalingHeaderParameters.swift:70:21: error: 'UIScrollView' is unavailable in watchOS
68 |
69 | struct TabScrollState {
70 | var scrollView: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
71 | var offset: CGFloat?
72 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
Failed frontend command:
/Applications/Xcode-27.0.0.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/Helpers/PetalSpinner.swift /Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift /Users/admin/builder/spi-builder-workspace/Sources/Helpers/Utils.swift /Users/admin/builder/spi-builder-workspace/Sources/PublicAPI.swift /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderCore.swift /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderParameters.swift /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderScrollView.swift /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderTabView.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64_32/ScalingHeaderScrollView-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ScalingHeaderScrollView -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64_32/ScalingHeaderScrollView_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64_32/ScalingHeaderScrollView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64_32/ScalingHeaderScrollView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64_32/ScalingHeaderScrollView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64_32/ScalingHeaderScrollView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64_32/ScalingHeaderScrollView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64_32/ScalingHeaderScrollView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ScalingHeaderScrollView.build/Debug-watchos/ScalingHeaderScrollView-t.build/Objects-normal/arm64_32/ScalingHeaderScrollView.abi.json
SwiftCompile normal arm64_32 (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ PublicAPI.swift /Users/admin/builder/spi-builder-workspace/Sources/PublicAPI.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PublicAPI.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PublicAPI.swift
SwiftCompile normal arm64_32 Compiling\ ScalingHeaderScrollView.swift /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderScrollView.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderScrollView.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScalingHeaderScrollView.swift
SwiftCompile normal arm64_32 Compiling\ ScrollPageView.swift /Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:14:29: error: 'UIScrollView' is unavailable in watchOS
12 | var minInset: CGFloat
13 | var initialOffset: CGFloat
14 | var onScrollViewReady: (UIScrollView) -> Void = { _ in }
| `- error: 'UIScrollView' is unavailable in watchOS
15 | var onOffsetChange: (CGFloat, Bool) -> Void
16 | var onDidInitialize: ((UIScrollView) -> Void)? = nil
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:16:28: error: 'UIScrollView' is unavailable in watchOS
14 | var onScrollViewReady: (UIScrollView) -> Void = { _ in }
15 | var onOffsetChange: (CGFloat, Bool) -> Void
16 | var onDidInitialize: ((UIScrollView) -> Void)? = nil
| `- error: 'UIScrollView' is unavailable in watchOS
17 | var onWillEndDragging: ((CGFloat) -> Void)? = nil
18 | var onEndDragging: (() -> Void)? = nil
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:26:40: error: cannot find type 'Context' in scope
24 | var content: () -> Content
25 |
26 | func makeUIViewController(context: Context) -> PageViewController<Content> {
| `- error: cannot find type 'Context' in scope
27 | let vc = PageViewController(topInset: topInset, minInset: minInset, initialOffset: initialOffset, content: content())
28 | vc.onScrollViewReady = onScrollViewReady
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:33:77: error: cannot find type 'Context' in scope
31 | }
32 |
33 | func updateUIViewController(_ vc: PageViewController<Content>, context: Context) {
| `- error: cannot find type 'Context' in scope
34 | vc.hostingController.rootView = content()
35 | configure(vc)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:9:39: error: cannot find type 'UIViewControllerRepresentable' in scope
7 | import UIKit
8 |
9 | struct PageScrollView<Content: View>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
10 |
11 | var topInset: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:55:22: error: 'UIScrollView' is unavailable in watchOS
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
54 |
55 | let scrollView = UIScrollView()
| `- error: 'UIScrollView' is unavailable in watchOS
56 | let hostingController: UIHostingController<Content>
57 |
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:55:22: error: 'init()' is unavailable in watchOS
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
54 |
55 | let scrollView = UIScrollView()
| `- error: 'init()' is unavailable in watchOS
56 | let hostingController: UIHostingController<Content>
57 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:56:28: error: cannot find type 'UIHostingController' in scope
54 |
55 | let scrollView = UIScrollView()
56 | let hostingController: UIHostingController<Content>
| `- error: cannot find type 'UIHostingController' in scope
57 |
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:58:30: error: 'UIScrollView' is unavailable in watchOS
56 | let hostingController: UIHostingController<Content>
57 |
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
| `- error: 'UIScrollView' is unavailable in watchOS
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:60:28: error: 'UIScrollView' is unavailable in watchOS
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
| `- error: 'UIScrollView' is unavailable in watchOS
61 | var onWillEndDragging: ((CGFloat) -> Void)?
62 | var onEndDragging: (() -> Void)?
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:153:41: error: 'UICollectionView' is unavailable in watchOS
151 | }
152 |
153 | private var ancestorCollectionView: UICollectionView? {
| `- error: 'UICollectionView' is unavailable in watchOS
154 | var current = view.superview
155 | while let candidate = current {
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:166:44: error: 'UIScrollView' is unavailable in watchOS
164 | // MARK: - UIScrollViewDelegate
165 |
166 | func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
167 | guard didInitialize else { return }
168 | let isUserInitiated = scrollView.isDragging || scrollView.isDecelerating
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:180:50: error: 'UIScrollView' is unavailable in watchOS
178 | }
179 |
180 | func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>) {
| `- error: 'UIScrollView' is unavailable in watchOS
181 | onWillEndDragging?(velocity.y)
182 |
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:197:49: error: 'UIScrollView' is unavailable in watchOS
195 | }
196 |
197 | func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) {
| `- error: 'UIScrollView' is unavailable in watchOS
198 | if scrollView.contentOffset.y < -(topInset + 60) {
199 | onPullToRefresh?()
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:208:56: error: 'UIScrollView' is unavailable in watchOS
206 | }
207 |
208 | func scrollViewWillBeginDecelerating(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
209 | onEndDragging?()
210 | }
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:212:53: error: 'UIScrollView' is unavailable in watchOS
210 | }
211 |
212 | func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
213 | onEndDecelerating?()
214 | }
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:53:48: error: 'UIViewController' is unavailable in watchOS
51 | // MARK: -
52 |
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
| `- error: 'UIViewController' is unavailable in watchOS
54 |
55 | let scrollView = UIScrollView()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:53:66: error: 'UIScrollViewDelegate' is unavailable in watchOS
51 | // MARK: -
52 |
53 | final class PageViewController<Content: View>: UIViewController, UIScrollViewDelegate {
| `- error: 'UIScrollViewDelegate' is unavailable in watchOS
54 |
55 | let scrollView = UIScrollView()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:312:11: note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
310 |
311 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
312 | @protocol UIScrollViewDelegate<NSObject>
| `- note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
313 |
314 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:27:18: warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
25 |
26 | func makeUIViewController(context: Context) -> PageViewController<Content> {
27 | let vc = PageViewController(topInset: topInset, minInset: minInset, initialOffset: initialOffset, content: content())
| `- warning: conformance of 'Content' to protocol 'View' may be isolated and cannot be passed to main actor-isolated context [#IsolatedConformances]
28 | vc.onScrollViewReady = onScrollViewReady
29 | configure(vc)
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:27:18: warning: call to main actor-isolated initializer 'init(topInset:minInset:initialOffset:content:)' in a synchronous nonisolated context [#ActorIsolatedCall]
24 | var content: () -> Content
25 |
26 | func makeUIViewController(context: Context) -> PageViewController<Content> {
| `- note: add '@MainActor' to make instance method 'makeUIViewController(context:)' part of global actor 'MainActor'
27 | let vc = PageViewController(topInset: topInset, minInset: minInset, initialOffset: initialOffset, content: content())
| `- warning: call to main actor-isolated initializer 'init(topInset:minInset:initialOffset:content:)' in a synchronous nonisolated context [#ActorIsolatedCall]
28 | vc.onScrollViewReady = onScrollViewReady
29 | configure(vc)
:
72 | private var didInitialize = false
73 |
74 | init(topInset: CGFloat, minInset: CGFloat, initialOffset: CGFloat, content: Content) {
| |- note: calls to initializer 'init(topInset:minInset:initialOffset:content:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIViewController'
75 | self.topInset = topInset
76 | self.minInset = minInset
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:28:12: warning: main actor-isolated property 'onScrollViewReady' can not be mutated from a nonisolated context
24 | var content: () -> Content
25 |
26 | func makeUIViewController(context: Context) -> PageViewController<Content> {
| `- note: add '@MainActor' to make instance method 'makeUIViewController(context:)' part of global actor 'MainActor'
27 | let vc = PageViewController(topInset: topInset, minInset: minInset, initialOffset: initialOffset, content: content())
28 | vc.onScrollViewReady = onScrollViewReady
| `- warning: main actor-isolated property 'onScrollViewReady' can not be mutated from a nonisolated context
29 | configure(vc)
30 | return vc
:
56 | let hostingController: UIHostingController<Content>
57 |
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
| `- note: mutation of this property is only permitted within the actor
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:39:12: warning: main actor-isolated property 'onOffsetChange' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
| `- warning: main actor-isolated property 'onOffsetChange' can not be mutated from a nonisolated context
40 | vc.onDidInitialize = onDidInitialize
41 | vc.onWillEndDragging = onWillEndDragging
:
57 |
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
| `- note: mutation of this property is only permitted within the actor
60 | var onDidInitialize: ((UIScrollView) -> Void)?
61 | var onWillEndDragging: ((CGFloat) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:40:12: warning: main actor-isolated property 'onDidInitialize' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
| `- warning: main actor-isolated property 'onDidInitialize' can not be mutated from a nonisolated context
41 | vc.onWillEndDragging = onWillEndDragging
42 | vc.onEndDragging = onEndDragging
:
58 | var onScrollViewReady: ((UIScrollView) -> Void)?
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
| `- note: mutation of this property is only permitted within the actor
61 | var onWillEndDragging: ((CGFloat) -> Void)?
62 | var onEndDragging: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:41:12: warning: main actor-isolated property 'onWillEndDragging' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
41 | vc.onWillEndDragging = onWillEndDragging
| `- warning: main actor-isolated property 'onWillEndDragging' can not be mutated from a nonisolated context
42 | vc.onEndDragging = onEndDragging
43 | vc.onEndDecelerating = onEndDecelerating
:
59 | var onOffsetChange: ((CGFloat, Bool) -> Void)?
60 | var onDidInitialize: ((UIScrollView) -> Void)?
61 | var onWillEndDragging: ((CGFloat) -> Void)?
| `- note: mutation of this property is only permitted within the actor
62 | var onEndDragging: (() -> Void)?
63 | var onEndDecelerating: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:42:12: warning: main actor-isolated property 'onEndDragging' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
41 | vc.onWillEndDragging = onWillEndDragging
42 | vc.onEndDragging = onEndDragging
| `- warning: main actor-isolated property 'onEndDragging' can not be mutated from a nonisolated context
43 | vc.onEndDecelerating = onEndDecelerating
44 | vc.onReachBottom = onReachBottom
:
60 | var onDidInitialize: ((UIScrollView) -> Void)?
61 | var onWillEndDragging: ((CGFloat) -> Void)?
62 | var onEndDragging: (() -> Void)?
| `- note: mutation of this property is only permitted within the actor
63 | var onEndDecelerating: (() -> Void)?
64 | var onReachBottom: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:43:12: warning: main actor-isolated property 'onEndDecelerating' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
41 | vc.onWillEndDragging = onWillEndDragging
42 | vc.onEndDragging = onEndDragging
43 | vc.onEndDecelerating = onEndDecelerating
| `- warning: main actor-isolated property 'onEndDecelerating' can not be mutated from a nonisolated context
44 | vc.onReachBottom = onReachBottom
45 | vc.onPullToRefresh = onPullToRefresh
:
61 | var onWillEndDragging: ((CGFloat) -> Void)?
62 | var onEndDragging: (() -> Void)?
63 | var onEndDecelerating: (() -> Void)?
| `- note: mutation of this property is only permitted within the actor
64 | var onReachBottom: (() -> Void)?
65 | var onPullToRefresh: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:44:12: warning: main actor-isolated property 'onReachBottom' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
:
42 | vc.onEndDragging = onEndDragging
43 | vc.onEndDecelerating = onEndDecelerating
44 | vc.onReachBottom = onReachBottom
| `- warning: main actor-isolated property 'onReachBottom' can not be mutated from a nonisolated context
45 | vc.onPullToRefresh = onPullToRefresh
46 | vc.onPullToLoadMore = onPullToLoadMore
:
62 | var onEndDragging: (() -> Void)?
63 | var onEndDecelerating: (() -> Void)?
64 | var onReachBottom: (() -> Void)?
| `- note: mutation of this property is only permitted within the actor
65 | var onPullToRefresh: (() -> Void)?
66 | var onPullToLoadMore: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:45:12: warning: main actor-isolated property 'onPullToRefresh' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
:
43 | vc.onEndDecelerating = onEndDecelerating
44 | vc.onReachBottom = onReachBottom
45 | vc.onPullToRefresh = onPullToRefresh
| `- warning: main actor-isolated property 'onPullToRefresh' can not be mutated from a nonisolated context
46 | vc.onPullToLoadMore = onPullToLoadMore
47 | vc.onDragProgress = onDragProgress
:
63 | var onEndDecelerating: (() -> Void)?
64 | var onReachBottom: (() -> Void)?
65 | var onPullToRefresh: (() -> Void)?
| `- note: mutation of this property is only permitted within the actor
66 | var onPullToLoadMore: (() -> Void)?
67 | var onDragProgress: ((CGFloat, CGFloat) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:46:12: warning: main actor-isolated property 'onPullToLoadMore' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
:
44 | vc.onReachBottom = onReachBottom
45 | vc.onPullToRefresh = onPullToRefresh
46 | vc.onPullToLoadMore = onPullToLoadMore
| `- warning: main actor-isolated property 'onPullToLoadMore' can not be mutated from a nonisolated context
47 | vc.onDragProgress = onDragProgress
48 | }
:
64 | var onReachBottom: (() -> Void)?
65 | var onPullToRefresh: (() -> Void)?
66 | var onPullToLoadMore: (() -> Void)?
| `- note: mutation of this property is only permitted within the actor
67 | var onDragProgress: ((CGFloat, CGFloat) -> Void)?
68 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:47:12: warning: main actor-isolated property 'onDragProgress' can not be mutated from a nonisolated context
36 | }
37 |
38 | private func configure(_ vc: PageViewController<Content>) {
| `- note: add '@MainActor' to make instance method 'configure' part of global actor 'MainActor'
39 | vc.onOffsetChange = onOffsetChange
40 | vc.onDidInitialize = onDidInitialize
:
45 | vc.onPullToRefresh = onPullToRefresh
46 | vc.onPullToLoadMore = onPullToLoadMore
47 | vc.onDragProgress = onDragProgress
| `- warning: main actor-isolated property 'onDragProgress' can not be mutated from a nonisolated context
48 | }
49 | }
:
65 | var onPullToRefresh: (() -> Void)?
66 | var onPullToLoadMore: (() -> Void)?
67 | var onDragProgress: ((CGFloat, CGFloat) -> Void)?
| `- note: mutation of this property is only permitted within the actor
68 |
69 | private let topInset: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:78:34: error: cannot find 'UIHostingController' in scope
76 | self.minInset = minInset
77 | self.initialOffset = initialOffset
78 | self.hostingController = UIHostingController(rootView: content)
| `- error: cannot find 'UIHostingController' in scope
79 | if #available(iOS 16.0, *) {
80 | self.hostingController.sizingOptions = [.intrinsicContentSize]
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:80:54: error: reference to member 'intrinsicContentSize' cannot be resolved without a contextual type
78 | self.hostingController = UIHostingController(rootView: content)
79 | if #available(iOS 16.0, *) {
80 | self.hostingController.sizingOptions = [.intrinsicContentSize]
| `- error: reference to member 'intrinsicContentSize' cannot be resolved without a contextual type
81 | }
82 | if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:96:20: error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
94 | scrollView.translatesAutoresizingMaskIntoConstraints = false
95 | scrollView.contentInset = UIEdgeInsets(top: topInset, left: 0, bottom: 0, right: 0)
96 | scrollView.contentInsetAdjustmentBehavior = .never
| `- error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
97 | scrollView.automaticallyAdjustsScrollIndicatorInsets = false
98 | scrollView.alwaysBounceVertical = true
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:110:65: note: 'contentInsetAdjustmentBehavior' has been explicitly marked unavailable here
108 | Default is UIScrollViewContentInsetAdjustmentAutomatic.
109 | */
110 | @property(nonatomic) UIScrollViewContentInsetAdjustmentBehavior contentInsetAdjustmentBehavior API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'contentInsetAdjustmentBehavior' has been explicitly marked unavailable here
111 |
112 | /* Configures whether the scroll indicator insets are automatically adjusted by the system.
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:97:20: error: 'automaticallyAdjustsScrollIndicatorInsets' is unavailable in watchOS
95 | scrollView.contentInset = UIEdgeInsets(top: topInset, left: 0, bottom: 0, right: 0)
96 | scrollView.contentInsetAdjustmentBehavior = .never
97 | scrollView.automaticallyAdjustsScrollIndicatorInsets = false
| `- error: 'automaticallyAdjustsScrollIndicatorInsets' is unavailable in watchOS
98 | scrollView.alwaysBounceVertical = true
99 | scrollView.showsVerticalScrollIndicator = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:115:27: note: 'automaticallyAdjustsScrollIndicatorInsets' has been explicitly marked unavailable here
113 | Default is YES.
114 | */
115 | @property(nonatomic) BOOL automaticallyAdjustsScrollIndicatorInsets API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'automaticallyAdjustsScrollIndicatorInsets' has been explicitly marked unavailable here
116 |
117 | /* contentLayoutGuide anchors (e.g., contentLayoutGuide.centerXAnchor, etc.) refer to
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:103:9: error: 'NSLayoutConstraint' is unavailable in watchOS
101 | view.addSubview(scrollView)
102 |
103 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
104 | scrollView.leadingAnchor.constraint(equalTo: view.leadingAnchor),
105 | scrollView.trailingAnchor.constraint(equalTo: view.trailingAnchor),
/Applications/Xcode-27.0.0.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/Helpers/ScrollPageView.swift:113:51: error: cannot infer contextual base in reference to member 'clear'
111 | // insets into the SwiftUI content, which would add invisible top padding.
112 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
113 | hostingController.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
114 | scrollView.addSubview(hostingController.view)
115 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift:144:19: error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
142 | // the offset back to the current page boundary ourselves.
143 | if let pager = ancestorCollectionView {
144 | pager.contentInsetAdjustmentBehavior = .never
| `- error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
145 | let pageWidth = pager.bounds.width
146 | if pageWidth > 0 {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:110:65: note: 'contentInsetAdjustmentBehavior' has been explicitly marked unavailable here
108 | Default is UIScrollViewContentInsetAdjustmentAutomatic.
109 | */
110 | @property(nonatomic) UIScrollViewContentInsetAdjustmentBehavior contentInsetAdjustmentBehavior API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'contentInsetAdjustmentBehavior' has been explicitly marked unavailable here
111 |
112 | /* Configures whether the scroll indicator insets are automatically adjusted by the system.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Helpers/ScrollPageView.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScrollPageView.swift
SwiftCompile normal arm64_32 Compiling\ ScalingHeaderTabView.swift /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderTabView.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ScalingHeaderTabView.swift (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScalingHeaderTabView.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-11-08 11:10:18.920 xcodebuild[846:4928] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ ScalingHeaderScrollView (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
SwiftCompile normal arm64 (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ScalingHeaderScrollView (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
SwiftCompile normal arm64_32 (in target 'ScalingHeaderScrollView' from project 'ScalingHeaderScrollView')
Building workspace ScalingHeaderScrollView with scheme ScalingHeaderScrollView
(5 failures)
BUILD FAILURE 6.4 watchOS