Build Information
Failed to build SwipeMenuViewController, reference main (5bb159), with Swift 6.4 for watchOS using Xcode 27.0 on 26 Sep 2026 02:37:10 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwipeMenuViewController -destination generic/platform=watchOSBuild Log
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:46:41: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
44 | @State private var progress: CGFloat
45 |
46 | @State private var contentPosition: ScrollPosition
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| `- note: add '@available' attribute to enclosing property
47 |
48 | /// The index a tap- or binding-driven move started from, kept until the scroll
macro expansion @State:1:49: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:46:55: note: expanded code originates here
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
44 | @State private var progress: CGFloat
45 |
46 | @State private var contentPosition: ScrollPosition
| `- note: in expansion of macro 'State' on property 'contentPosition' here
+--- macro expansion @State ----------------------------------------
|1 | private var _contentPosition: SwiftUICore.State<ScrollPosition>
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
|2 |
|3 | private var $contentPosition: SwiftUICore.Binding<ScrollPosition> {
+-------------------------------------------------------------------
47 |
48 | /// The index a tap- or binding-driven move started from, kept until the scroll
macro expansion @State:3:51: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:46:55: note: expanded code originates here
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
44 | @State private var progress: CGFloat
45 |
46 | @State private var contentPosition: ScrollPosition
| `- note: in expansion of macro 'State' on property 'contentPosition' here
+--- macro expansion @State ----------------------------------------
|1 | private var _contentPosition: SwiftUICore.State<ScrollPosition>
|2 |
|3 | private var $contentPosition: SwiftUICore.Binding<ScrollPosition> {
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
|4 | _contentPosition.projectedValue
|5 | }
+-------------------------------------------------------------------
47 |
48 | /// The index a tap- or binding-driven move started from, kept until the scroll
macro expansion @State:2:9: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __barPosition = SwiftUICore.State._makeStorage({
| 2 | ScrollPosition()
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| 3 | })
| 4 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:2:9: error: 'init(idType:)' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __barPosition = SwiftUICore.State._makeStorage({
| 2 | ScrollPosition()
| | `- error: 'init(idType:)' is only available in watchOS 11.0 or newer
| 3 | })
| 4 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:7:41: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyM1N3aXBlTWVudVZpZXdDb250cm9sbGVyMEE2VGFiQmFyVjExYmFyUG9zaXRpb24zM182RkZFQTIxQjgzNDVDRjI1RTVEQjY2MERBRkQxMjkyNkxMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
| 6 | private var _barPosition: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: ScrollPosition())
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| 8 | })
| 9 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:7:41: error: 'init(idType:)' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyM1N3aXBlTWVudVZpZXdDb250cm9sbGVyMEE2VGFiQmFyVjExYmFyUG9zaXRpb24zM182RkZFQTIxQjgzNDVDRjI1RTVEQjY2MERBRkQxMjkyNkxMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
| 6 | private var _barPosition: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: ScrollPosition())
| | `- error: 'init(idType:)' is only available in watchOS 11.0 or newer
| 8 | })
| 9 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:38: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| `- note: add '@available' attribute to enclosing property
46 | @State private var barMetrics = ScrollMetrics()
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:38: error: 'init(idType:)' is only available in watchOS 11.0 or newer
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| | `- error: 'init(idType:)' is only available in watchOS 11.0 or newer
| `- note: add '@available' attribute to enclosing property
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:11:60: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 9 |
|10 | @SwiftUICore._StateProjectedValue
|11 | private var $barPosition = SwiftUICore.State(initialValue: ScrollPosition()).projectedValue
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgU2Nyb2xsUG9zaXRpb24oKSB9KQ==")
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:11:60: error: 'init(idType:)' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 9 |
|10 | @SwiftUICore._StateProjectedValue
|11 | private var $barPosition = SwiftUICore.State(initialValue: ScrollPosition()).projectedValue
| | `- error: 'init(idType:)' is only available in watchOS 11.0 or newer
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgU2Nyb2xsUG9zaXRpb24oKSB9KQ==")
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:14:192: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgU2Nyb2xsUG9zaXRpb24oKSB9KQ==")
|14 | private static var $s23SwipeMenuViewController0A6TabBarV11barPosition33_6FFEA21B8345CF25E5DB660DAFD12926LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: ScrollPosition()))
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:14:192: error: 'init(idType:)' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgU2Nyb2xsUG9zaXRpb24oKSB9KQ==")
|14 | private static var $s23SwipeMenuViewController0A6TabBarV11barPosition33_6FFEA21B8345CF25E5DB660DAFD12926LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: ScrollPosition()))
| | `- error: 'init(idType:)' is only available in watchOS 11.0 or newer
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuView.swift:71:95: error: 'UIViewController' is unavailable in watchOS
69 | /// - index: The index of the page.
70 | /// - Returns: The view controller for the page at `index`.
71 | func swipeMenuView(_ swipeMenuView: SwipeMenuView, viewControllerForPageAt index: Int) -> UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
72 | }
73 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuView.swift:85:27: error: 'UIView' is unavailable in watchOS
83 | /// ``reloadData(options:default:isOrientationChange:)`` to rebuild the pages after the
84 | /// data source changes.
85 | open class SwipeMenuView: UIView {
| `- error: 'UIView' is unavailable in watchOS
86 |
87 | /// The delegate that receives ``SwipeMenuView`` setup and paging events.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuView.swift:392:51: error: 'UIScrollView' is unavailable in watchOS
390 | extension SwipeMenuView: UIScrollViewDelegate {
391 |
392 | public func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
393 |
394 | if isJumping || isLayoutingSubviews { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwipeMenuViewController/SwipeMenuView.swift:406:66: error: 'UIScrollView' is unavailable in watchOS
404 | }
405 |
406 | public func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
407 |
408 | if isJumping || isLayoutingSubviews {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuView.swift:423:51: error: 'UIScrollView' is unavailable in watchOS
421 |
422 | /// Moves the tab bar's indicator view (underline/circle) to track the content scroll position.
423 | private func moveIndicatorView(by scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
424 |
425 | guard let tabView, let contentScrollView else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwipeMenuViewController/SwipeMenuView.swift:390:26: error: 'UIScrollViewDelegate' is unavailable in watchOS
388 | // MARK: - UIScrollViewDelegate
389 |
390 | extension SwipeMenuView: UIScrollViewDelegate {
| `- error: 'UIScrollViewDelegate' is unavailable in watchOS
391 |
392 | public func scrollViewDidScroll(_ scrollView: UIScrollView) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwipeMenuViewController/SwipeMenuView.swift:442:104: error: 'UIView' is unavailable in watchOS
440 | }
441 |
442 | public func contentScrollView(_ contentScrollView: ContentScrollView, viewForPageAt index: Int) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
443 | return dataSource?.swipeMenuView(self, viewControllerForPageAt: index).view
444 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuViewController.swift:29:78: error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
27 | }
28 |
29 | open override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
| `- error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
30 | super.viewWillTransition(to: size, with: coordinator)
31 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:81:11: note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
79 |
80 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @protocol UIViewControllerTransitionCoordinator <UIViewControllerTransitionCoordinatorContext>
| `- note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
82 |
83 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuViewController.swift:89:100: error: 'UIViewController' is unavailable in watchOS
87 | /// of range it asserts in debug builds and returns an empty placeholder view controller rather
88 | /// than crashing. Override to provide pages that are not backed by `children`.
89 | open func swipeMenuView(_ swipeMenuView: SwipeMenuView, viewControllerForPageAt index: Int) -> UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
90 | guard children.indices.contains(index) else {
91 | assertionFailure(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuViewController.swift:14:37: error: 'UIViewController' is unavailable in watchOS
12 | /// methods (``numberOfPages(in:)``, ``swipeMenuView(_:titleForPageAt:)``,
13 | /// ``swipeMenuView(_:viewControllerForPageAt:)``) instead of relying on `children`.
14 | open class SwipeMenuViewController: UIViewController, SwipeMenuViewDelegate, SwipeMenuViewDataSource {
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | /// The swipe menu view managed by this controller. Created in ``viewDidLoad()``.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuViewOptions.swift:71:43: error: 'CACornerMask' is unavailable in watchOS
69 | /// The corners rounded by `cornerRadius` when the indicator is `.circle`.
70 | /// Defaults to `nil`, which rounds all four corners.
71 | public var maskedCorners: CACornerMask?
| `- error: 'CACornerMask' is unavailable in watchOS
72 | }
73 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:106:33: note: 'CACornerMask' has been explicitly marked unavailable here
104 | /* Bit definitions for `maskedCorners' property. */
105 |
106 | typedef NS_OPTIONS (NSUInteger, CACornerMask)
| `- note: 'CACornerMask' has been explicitly marked unavailable here
107 | {
108 | kCALayerMinXMinYCorner = 1U << 0,
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabItemView.swift:7:22: error: 'UILabel' is unavailable in watchOS
5 |
6 | /// The label that displays the tab's title.
7 | let titleLabel = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
8 |
9 | /// The title color used when the item is not selected.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabItemView.swift:7:22: error: 'init()' is unavailable in watchOS
5 |
6 | /// The label that displays the tab's title.
7 | let titleLabel = UILabel()
| `- error: 'init()' is unavailable in watchOS
8 |
9 | /// The title color used when the item is not selected.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabItemView.swift:4:26: error: 'UIView' is unavailable in watchOS
2 |
3 | /// A single tab item that displays a centered title and reflects its selected state.
4 | final class TabItemView: UIView {
| `- error: 'UIView' is unavailable in watchOS
5 |
6 | /// The label that displays the tab's title.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:66:33: error: 'UIStackView' is unavailable in watchOS
64 | var itemViews: [TabItemView] = []
65 |
66 | private let containerView = UIStackView()
| `- error: 'UIStackView' is unavailable in watchOS
67 |
68 | private var indicatorView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:66:33: error: 'init()' is unavailable in watchOS
64 | var itemViews: [TabItemView] = []
65 |
66 | private let containerView = UIStackView()
| `- error: 'init()' is unavailable in watchOS
67 |
68 | private var indicatorView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:68:33: error: 'UIView' is unavailable in watchOS
66 | private let containerView = UIStackView()
67 |
68 | private var indicatorView = UIView()
| `- error: 'UIView' is unavailable in watchOS
69 |
70 | private var currentIndex: Int = 0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:68:33: error: 'init()' is unavailable in watchOS
66 | private let containerView = UIStackView()
67 |
68 | private var indicatorView = UIView()
| `- error: 'init()' is unavailable in watchOS
69 |
70 | private var currentIndex: Int = 0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/SwipeMenuViewController/TabView.swift:74:39: error: 'NSLayoutConstraint' is unavailable in watchOS
72 | private(set) var options: SwipeMenuViewOptions.TabView = SwipeMenuViewOptions.TabView()
73 |
74 | private var leftMarginConstraint: NSLayoutConstraint = .init()
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
75 | private var widthConstraint: NSLayoutConstraint = .init()
76 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:75:34: error: 'NSLayoutConstraint' is unavailable in watchOS
73 |
74 | private var leftMarginConstraint: NSLayoutConstraint = .init()
75 | private var widthConstraint: NSLayoutConstraint = .init()
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
76 |
77 | /// The safe-area insets the layout honors: the view's real insets when
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:107:24: error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
105 | }
106 |
107 | open override func safeAreaInsetsDidChange() {
| |- error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'safeAreaInsetsDidChange'
108 | super.safeAreaInsetsDidChange()
109 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:294:1: note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
295 |
296 | /* The edges of this guide are constrained to equal the edges of the view inset by the layoutMargins
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:124:35: error: 'UIView' is unavailable in watchOS
122 | }
123 |
124 | private func focus(on target: UIView, animated: Bool = true) {
| `- error: 'UIView' is unavailable in watchOS
125 |
126 | if options.style == .segmented { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:303:40: error: 'UIView' is unavailable in watchOS
301 | }
302 |
303 | private func layout(containerView: UIView, containerWidth: CGFloat) {
| `- error: 'UIView' is unavailable in watchOS
304 |
305 | containerView.frame.size.width = containerWidth
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:56:21: error: 'UIScrollView' is unavailable in watchOS
54 | /// managed by ``SwipeMenuView``; you normally configure it through the options rather than
55 | /// instantiating it directly.
56 | open class TabView: UIScrollView {
| `- error: 'UIScrollView' is unavailable in watchOS
57 |
58 | /// The delegate that receives tab selection events.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:533:48: error: 'UITapGestureRecognizer' is unavailable in watchOS
531 | extension TabView {
532 |
533 | private func makeTapGestureRecognizer() -> UITapGestureRecognizer {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
534 | let gestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(tapItemView(_:)))
535 | gestureRecognizer.numberOfTapsRequired = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:546:50: error: 'UITapGestureRecognizer' is unavailable in watchOS
544 | }
545 |
546 | @objc private func tapItemView(_ recognizer: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
547 | guard let itemView = recognizer.view as? TabItemView,
548 | let index: Int = itemViews.firstIndex(of: itemView),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenuGeometry.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenuOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuViewOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabItemView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/UIColorExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/UIEdgeInsetsExtension.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwipeMenuViewController.build/Debug-watchos/SwipeMenuViewController-t.build/Objects-normal/arm64_32/SwipeMenuViewController-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -default-isolation MainActor -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwipeMenuViewController.build/Debug-watchos/SwipeMenuViewController-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwipeMenuViewController.build/Debug-watchos/SwipeMenuViewController-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwipeMenuViewController.build/Debug-watchos/SwipeMenuViewController-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwipeMenuViewController -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwipeMenuViewController.build/Debug-watchos/SwipeMenuViewController-t.build/Objects-normal/arm64_32/SwipeMenuViewController_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwipeMenuViewController.build/Debug-watchos/SwipeMenuViewController-t.build/Objects-normal/arm64_32/SwipeMenuViewController.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwipeMenuViewController.build/Debug-watchos/SwipeMenuViewController-t.build/Objects-normal/arm64_32/SwipeMenuViewController.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwipeMenuViewController.build/Debug-watchos/SwipeMenuViewController-t.build/Objects-normal/arm64_32/SwipeMenuViewController-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwipeMenuViewController.build/Debug-watchos/SwipeMenuViewController-t.build/Objects-normal/arm64_32/SwipeMenuViewController-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwipeMenuViewController.build/Debug-watchos/SwipeMenuViewController-t.build/Objects-normal/arm64_32/SwipeMenuViewController-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwipeMenuViewController.build/Debug-watchos/SwipeMenuViewController-t.build/Objects-normal/arm64_32/SwipeMenuViewController.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwipeMenuViewController.build/Debug-watchos/SwipeMenuViewController-t.build/Objects-normal/arm64_32/SwipeMenuViewController.abi.json
SwiftCompile normal arm64_32 Compiling\ UIColorExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/UIColorExtension.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/UIColorExtension.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIColorExtension.swift
SwiftCompile normal arm64_32 Compiling\ SwipeMenuView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuView.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuView.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwipeMenuView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuView.swift:71:95: error: 'UIViewController' is unavailable in watchOS
69 | /// - index: The index of the page.
70 | /// - Returns: The view controller for the page at `index`.
71 | func swipeMenuView(_ swipeMenuView: SwipeMenuView, viewControllerForPageAt index: Int) -> UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
72 | }
73 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuView.swift:85:27: error: 'UIView' is unavailable in watchOS
83 | /// ``reloadData(options:default:isOrientationChange:)`` to rebuild the pages after the
84 | /// data source changes.
85 | open class SwipeMenuView: UIView {
| `- error: 'UIView' is unavailable in watchOS
86 |
87 | /// The delegate that receives ``SwipeMenuView`` setup and paging events.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuView.swift:392:51: error: 'UIScrollView' is unavailable in watchOS
390 | extension SwipeMenuView: UIScrollViewDelegate {
391 |
392 | public func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
393 |
394 | if isJumping || isLayoutingSubviews { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwipeMenuViewController/SwipeMenuView.swift:406:66: error: 'UIScrollView' is unavailable in watchOS
404 | }
405 |
406 | public func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
407 |
408 | if isJumping || isLayoutingSubviews {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuView.swift:423:51: error: 'UIScrollView' is unavailable in watchOS
421 |
422 | /// Moves the tab bar's indicator view (underline/circle) to track the content scroll position.
423 | private func moveIndicatorView(by scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
424 |
425 | guard let tabView, let contentScrollView else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwipeMenuViewController/SwipeMenuView.swift:390:26: error: 'UIScrollViewDelegate' is unavailable in watchOS
388 | // MARK: - UIScrollViewDelegate
389 |
390 | extension SwipeMenuView: UIScrollViewDelegate {
| `- error: 'UIScrollViewDelegate' is unavailable in watchOS
391 |
392 | public func scrollViewDidScroll(_ scrollView: UIScrollView) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwipeMenuViewController/SwipeMenuView.swift:442:104: error: 'UIView' is unavailable in watchOS
440 | }
441 |
442 | public func contentScrollView(_ contentScrollView: ContentScrollView, viewForPageAt index: Int) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
443 | return dataSource?.swipeMenuView(self, viewControllerForPageAt: index).view
444 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuView.swift:321:9: error: 'NSLayoutConstraint' is unavailable in watchOS
319 | tabView.translatesAutoresizingMaskIntoConstraints = false
320 |
321 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
322 | tabView.topAnchor.constraint(equalTo: self.topAnchor),
323 | tabView.leadingAnchor.constraint(equalTo: self.leadingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
SwiftCompile normal arm64_32 Compiling\ TabView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:66:33: error: 'UIStackView' is unavailable in watchOS
64 | var itemViews: [TabItemView] = []
65 |
66 | private let containerView = UIStackView()
| `- error: 'UIStackView' is unavailable in watchOS
67 |
68 | private var indicatorView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:66:33: error: 'init()' is unavailable in watchOS
64 | var itemViews: [TabItemView] = []
65 |
66 | private let containerView = UIStackView()
| `- error: 'init()' is unavailable in watchOS
67 |
68 | private var indicatorView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:68:33: error: 'UIView' is unavailable in watchOS
66 | private let containerView = UIStackView()
67 |
68 | private var indicatorView = UIView()
| `- error: 'UIView' is unavailable in watchOS
69 |
70 | private var currentIndex: Int = 0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:68:33: error: 'init()' is unavailable in watchOS
66 | private let containerView = UIStackView()
67 |
68 | private var indicatorView = UIView()
| `- error: 'init()' is unavailable in watchOS
69 |
70 | private var currentIndex: Int = 0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/SwipeMenuViewController/TabView.swift:74:39: error: 'NSLayoutConstraint' is unavailable in watchOS
72 | private(set) var options: SwipeMenuViewOptions.TabView = SwipeMenuViewOptions.TabView()
73 |
74 | private var leftMarginConstraint: NSLayoutConstraint = .init()
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
75 | private var widthConstraint: NSLayoutConstraint = .init()
76 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:75:34: error: 'NSLayoutConstraint' is unavailable in watchOS
73 |
74 | private var leftMarginConstraint: NSLayoutConstraint = .init()
75 | private var widthConstraint: NSLayoutConstraint = .init()
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
76 |
77 | /// The safe-area insets the layout honors: the view's real insets when
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:107:24: error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
105 | }
106 |
107 | open override func safeAreaInsetsDidChange() {
| |- error: cannot override 'safeAreaInsetsDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'safeAreaInsetsDidChange'
108 | super.safeAreaInsetsDidChange()
109 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:294:1: note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
295 |
296 | /* The edges of this guide are constrained to equal the edges of the view inset by the layoutMargins
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:124:35: error: 'UIView' is unavailable in watchOS
122 | }
123 |
124 | private func focus(on target: UIView, animated: Bool = true) {
| `- error: 'UIView' is unavailable in watchOS
125 |
126 | if options.style == .segmented { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:303:40: error: 'UIView' is unavailable in watchOS
301 | }
302 |
303 | private func layout(containerView: UIView, containerWidth: CGFloat) {
| `- error: 'UIView' is unavailable in watchOS
304 |
305 | containerView.frame.size.width = containerWidth
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:56:21: error: 'UIScrollView' is unavailable in watchOS
54 | /// managed by ``SwipeMenuView``; you normally configure it through the options rather than
55 | /// instantiating it directly.
56 | open class TabView: UIScrollView {
| `- error: 'UIScrollView' is unavailable in watchOS
57 |
58 | /// The delegate that receives tab selection events.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:533:48: error: 'UITapGestureRecognizer' is unavailable in watchOS
531 | extension TabView {
532 |
533 | private func makeTapGestureRecognizer() -> UITapGestureRecognizer {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
534 | let gestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(tapItemView(_:)))
535 | gestureRecognizer.numberOfTapsRequired = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:546:50: error: 'UITapGestureRecognizer' is unavailable in watchOS
544 | }
545 |
546 | @objc private func tapItemView(_ recognizer: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
547 | guard let itemView = recognizer.view as? TabItemView,
548 | let index: Int = itemViews.firstIndex(of: itemView),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:80:44: error: 'safeAreaInsets' is unavailable in watchOS
78 | /// safe-area layout is enabled through the options, `.zero` otherwise.
79 | private var layoutSafeAreaInsets: UIEdgeInsets {
80 | return options.isSafeAreaEnabled ? safeAreaInsets : .zero
| `- error: 'safeAreaInsets' is unavailable in watchOS
81 | }
82 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:293:45: note: 'safeAreaInsets' has been explicitly marked unavailable here
291 | - (void)layoutMarginsDidChange API_AVAILABLE(ios(8.0));
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaInsets' has been explicitly marked unavailable here
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:108:15: error: 'safeAreaInsetsDidChange()' is unavailable in watchOS
106 |
107 | open override func safeAreaInsetsDidChange() {
108 | super.safeAreaInsetsDidChange()
| `- error: 'safeAreaInsetsDidChange()' is unavailable in watchOS
109 |
110 | // Respect `isSafeAreaEnabled`: when safe-area layout is turned off, a
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:294:1: note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaInsetsDidChange()' has been explicitly marked unavailable here
295 |
296 | /* The edges of this guide are constrained to equal the edges of the view inset by the layoutMargins
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:116:58: error: 'safeAreaInsets' is unavailable in watchOS
114 | guard options.isSafeAreaEnabled else { return }
115 |
116 | leftMarginConstraint.constant = options.margin + safeAreaInsets.left
| `- error: 'safeAreaInsets' is unavailable in watchOS
117 | if options.style == .segmented {
118 | widthConstraint.constant = -(options.margin * 2 + safeAreaInsets.left + safeAreaInsets.right)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:293:45: note: 'safeAreaInsets' has been explicitly marked unavailable here
291 | - (void)layoutMarginsDidChange API_AVAILABLE(ios(8.0));
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaInsets' has been explicitly marked unavailable here
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:118:63: error: 'safeAreaInsets' is unavailable in watchOS
116 | leftMarginConstraint.constant = options.margin + safeAreaInsets.left
117 | if options.style == .segmented {
118 | widthConstraint.constant = -(options.margin * 2 + safeAreaInsets.left + safeAreaInsets.right)
| `- error: 'safeAreaInsets' is unavailable in watchOS
119 | }
120 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:293:45: note: 'safeAreaInsets' has been explicitly marked unavailable here
291 | - (void)layoutMarginsDidChange API_AVAILABLE(ios(8.0));
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaInsets' has been explicitly marked unavailable here
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:118:85: error: 'safeAreaInsets' is unavailable in watchOS
116 | leftMarginConstraint.constant = options.margin + safeAreaInsets.left
117 | if options.style == .segmented {
118 | widthConstraint.constant = -(options.margin * 2 + safeAreaInsets.left + safeAreaInsets.right)
| `- error: 'safeAreaInsets' is unavailable in watchOS
119 | }
120 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:293:45: note: 'safeAreaInsets' has been explicitly marked unavailable here
291 | - (void)layoutMarginsDidChange API_AVAILABLE(ios(8.0));
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaInsets' has been explicitly marked unavailable here
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabItemView.swift:7:22: error: 'UILabel' is unavailable in watchOS
5 |
6 | /// The label that displays the tab's title.
7 | let titleLabel = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
8 |
9 | /// The title color used when the item is not selected.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabItemView.swift:7:22: error: 'init()' is unavailable in watchOS
5 |
6 | /// The label that displays the tab's title.
7 | let titleLabel = UILabel()
| `- error: 'init()' is unavailable in watchOS
8 |
9 | /// The title color used when the item is not selected.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:273:17: error: 'NSLayoutConstraint' is unavailable in watchOS
271 | containerView.addArrangedSubview(tabItemView)
272 |
273 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
274 | tabItemView.widthAnchor.constraint(equalToConstant: tabItemView.frame.width)
275 | ])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:290:13: error: 'NSLayoutConstraint' is unavailable in watchOS
288 | itemViews.append(tabItemView)
289 |
290 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
291 | tabItemView.topAnchor.constraint(equalTo: containerView.topAnchor),
292 | tabItemView.bottomAnchor.constraint(equalTo: containerView.bottomAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:308:31: error: 'NSLayoutConstraint' is unavailable in watchOS
306 | containerView.translatesAutoresizingMaskIntoConstraints = false
307 |
308 | let heightConstraint: NSLayoutConstraint
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
309 | switch options.indicator {
310 | case .underline:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:322:13: error: 'NSLayoutConstraint' is unavailable in watchOS
320 | switch options.style {
321 | case .flexible:
322 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
323 | containerView.topAnchor.constraint(equalTo: self.topAnchor),
324 | leftMarginConstraint,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:331:13: error: 'NSLayoutConstraint' is unavailable in watchOS
329 | case .segmented:
330 | widthConstraint = containerView.widthAnchor.constraint(equalTo: self.widthAnchor, constant: -(options.margin * 2 + inset.horizontal))
331 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
332 | containerView.topAnchor.constraint(equalTo: self.topAnchor),
333 | leftMarginConstraint,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:368:29: error: 'UIView' is unavailable in watchOS
366 | let itemView = itemViews[currentIndex]
367 | let padding = options.indicatorView.padding
368 | indicatorView = UIView(
| `- error: 'UIView' is unavailable in watchOS
369 | frame: CGRect(
370 | x: itemView.frame.origin.x + padding.left,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:380:29: error: 'UIView' is unavailable in watchOS
378 | let itemView = itemViews[currentIndex]
379 | let padding = options.indicatorView.padding
380 | indicatorView = UIView(
| `- error: 'UIView' is unavailable in watchOS
381 | frame: CGRect(
382 | x: itemView.frame.origin.x + padding.left,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:391:37: error: 'maskedCorners' is unavailable in watchOS
389 |
390 | if let maskedCorners = options.indicatorView.circle.maskedCorners {
391 | indicatorView.layer.maskedCorners = maskedCorners
| `- error: 'maskedCorners' is unavailable in watchOS
392 | }
393 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:601:24: note: 'maskedCorners' has been explicitly marked unavailable here
599 | * `cornerRadius' property. Defaults to all four corners. */
600 |
601 | @property CACornerMask maskedCorners
| `- note: 'maskedCorners' has been explicitly marked unavailable here
602 | API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
603 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift:438:13: error: 'UIView' is unavailable in watchOS
436 |
437 | if animated {
438 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
439 | withDuration: options.indicatorView.animationDuration,
440 | animations: {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabView.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TabView.swift
SwiftCompile normal arm64_32 Compiling\ ContentScrollView.swift,\ SwipeMenu.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift:18:97: error: 'UIView' is unavailable in watchOS
16 | /// - index: The index of the page.
17 | /// - Returns: The view for the page at `index`, or `nil` if none is available.
18 | func contentScrollView(_ contentScrollView: ContentScrollView, viewForPageAt index: Int) -> UIView?
| `- error: 'UIView' is unavailable in watchOS
19 | }
20 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift:31:29: error: 'UIView' is unavailable in watchOS
29 | open weak var dataSource: ContentScrollViewDataSource?
30 |
31 | private var pageViews: [UIView] = []
| `- error: 'UIView' is unavailable in watchOS
32 |
33 | private var currentIndex: Int = 0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift:26:31: error: 'UIScrollView' is unavailable in watchOS
24 | /// between them. It is created and managed by ``SwipeMenuView``; you normally do not
25 | /// instantiate it directly.
26 | open class ContentScrollView: UIScrollView {
| `- error: 'UIScrollView' is unavailable in watchOS
27 |
28 | /// The data source that provides the page views.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift:155:22: error: 'UIView' is unavailable in watchOS
153 | extension ContentScrollView {
154 |
155 | var currentPage: UIView? {
| `- error: 'UIView' is unavailable in watchOS
156 | return pageViews.indices.contains(currentIndex) ? pageViews[currentIndex] : nil
157 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift:159:19: error: 'UIView' is unavailable in watchOS
157 | }
158 |
159 | var nextPage: UIView? {
| `- error: 'UIView' is unavailable in watchOS
160 | guard currentIndex < pageViews.count - 1 else { return nil }
161 | return pageViews[currentIndex + 1]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift:164:23: error: 'UIView' is unavailable in watchOS
162 | }
163 |
164 | var previousPage: UIView? {
| `- error: 'UIView' is unavailable in watchOS
165 | guard currentIndex > 0 else { return nil }
166 | return pageViews[currentIndex - 1]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift:47:14: error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
45 | currentIndex = defaultIndex
46 |
47 | self.contentInsetAdjustmentBehavior = .never
| `- error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
48 |
49 | if let options {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h: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/SwipeMenuViewController/ContentScrollView.swift:143:13: error: 'NSLayoutConstraint' is unavailable in watchOS
141 | let leadingAnchor = index > 0 ? pageViews[index - 1].trailingAnchor : self.leadingAnchor
142 | pageView.translatesAutoresizingMaskIntoConstraints = false
143 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
144 | pageView.topAnchor.constraint(equalTo: self.topAnchor),
145 | pageView.widthAnchor.constraint(equalTo: self.widthAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:46:41: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
44 | @State private var progress: CGFloat
45 |
46 | @State private var contentPosition: ScrollPosition
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| `- note: add '@available' attribute to enclosing property
47 |
48 | /// The index a tap- or binding-driven move started from, kept until the scroll
macro expansion @State:1:49: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:46:55: note: expanded code originates here
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
44 | @State private var progress: CGFloat
45 |
46 | @State private var contentPosition: ScrollPosition
| `- note: in expansion of macro 'State' on property 'contentPosition' here
+--- macro expansion @State ----------------------------------------
|1 | private var _contentPosition: SwiftUICore.State<ScrollPosition>
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
|2 |
|3 | private var $contentPosition: SwiftUICore.Binding<ScrollPosition> {
+-------------------------------------------------------------------
47 |
48 | /// The index a tap- or binding-driven move started from, kept until the scroll
macro expansion @State:3:51: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:46:55: note: expanded code originates here
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
44 | @State private var progress: CGFloat
45 |
46 | @State private var contentPosition: ScrollPosition
| `- note: in expansion of macro 'State' on property 'contentPosition' here
+--- macro expansion @State ----------------------------------------
|1 | private var _contentPosition: SwiftUICore.State<ScrollPosition>
|2 |
|3 | private var $contentPosition: SwiftUICore.Binding<ScrollPosition> {
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
|4 | _contentPosition.projectedValue
|5 | }
+-------------------------------------------------------------------
47 |
48 | /// The index a tap- or binding-driven move started from, kept until the scroll
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:77:53: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
60 | /// previous and current indices.
61 | /// - page: A view builder that returns the content for the page at an index.
62 | public init(
| `- note: add '@available' attribute to enclosing initializer
63 | selection: Binding<Int>,
64 | titles: [String],
:
75 | self.page = page
76 | self._progress = State(initialValue: CGFloat(selection.wrappedValue))
77 | self._contentPosition = State(initialValue: ScrollPosition(id: selection.wrappedValue))
| |- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:77:53: error: 'init(id:anchor:)' is only available in watchOS 11.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
60 | /// previous and current indices.
61 | /// - page: A view builder that returns the content for the page at an index.
62 | public init(
| `- note: add '@available' attribute to enclosing initializer
63 | selection: Binding<Int>,
64 | titles: [String],
:
75 | self.page = page
76 | self._progress = State(initialValue: CGFloat(selection.wrappedValue))
77 | self._contentPosition = State(initialValue: ScrollPosition(id: selection.wrappedValue))
| |- error: 'init(id:anchor:)' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
78 | }
79 |
macro expansion @State:2:9: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __barPosition = SwiftUICore.State._makeStorage({
| 2 | ScrollPosition()
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| 3 | })
| 4 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:2:9: error: 'init(idType:)' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __barPosition = SwiftUICore.State._makeStorage({
| 2 | ScrollPosition()
| | `- error: 'init(idType:)' is only available in watchOS 11.0 or newer
| 3 | })
| 4 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:7:41: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyM1N3aXBlTWVudVZpZXdDb250cm9sbGVyMEE2VGFiQmFyVjExYmFyUG9zaXRpb24zM182RkZFQTIxQjgzNDVDRjI1RTVEQjY2MERBRkQxMjkyNkxMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
| 6 | private var _barPosition: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: ScrollPosition())
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| 8 | })
| 9 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:7:41: error: 'init(idType:)' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyM1N3aXBlTWVudVZpZXdDb250cm9sbGVyMEE2VGFiQmFyVjExYmFyUG9zaXRpb24zM182RkZFQTIxQjgzNDVDRjI1RTVEQjY2MERBRkQxMjkyNkxMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
| 6 | private var _barPosition: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: ScrollPosition())
| | `- error: 'init(idType:)' is only available in watchOS 11.0 or newer
| 8 | })
| 9 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:94:10: error: 'onChange(of:initial:_:)' is only available in watchOS 10.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
78 | }
79 |
80 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
81 | VStack(spacing: 0) {
82 | SwipeTabBar(
:
92 | pager
93 | }
94 | .onChange(of: selection) { oldValue, newValue in
| |- error: 'onChange(of:initial:_:)' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
95 | guard oldValue != newValue else { return }
96 | // A selection committed by a swipe settling is already at the target
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:108:33: error: 'scrollTo(id:anchor:)' is only available in watchOS 11.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
78 | }
79 |
80 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
81 | VStack(spacing: 0) {
82 | SwipeTabBar(
:
106 | pendingFromIndex = oldValue
107 | withAnimation(.easeInOut(duration: options.tabView.indicatorView.animationDuration)) {
108 | contentPosition.scrollTo(id: newValue)
| |- error: 'scrollTo(id:anchor:)' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:120:26: error: 'containerRelativeFrame(_:alignment:)' is only available in watchOS 10.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
113 | // MARK: - Content
114 |
115 | private var pager: some View {
| `- note: add '@available' attribute to enclosing property
116 | ScrollView(.horizontal) {
117 | LazyHStack(spacing: 0) {
118 | ForEach(titles.indices, id: \.self) { index in
119 | page(index)
120 | .containerRelativeFrame([.horizontal, .vertical])
| |- error: 'containerRelativeFrame(_:alignment:)' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
121 | }
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:123:14: error: 'scrollTargetLayout(isEnabled:)' is only available in watchOS 10.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
113 | // MARK: - Content
114 |
115 | private var pager: some View {
| `- note: add '@available' attribute to enclosing property
116 | ScrollView(.horizontal) {
117 | LazyHStack(spacing: 0) {
:
121 | }
122 | }
123 | .scrollTargetLayout()
| |- error: 'scrollTargetLayout(isEnabled:)' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
124 | }
125 | .scrollTargetBehavior(.paging)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:125:10: error: 'scrollTargetBehavior' is only available in watchOS 10.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
113 | // MARK: - Content
114 |
115 | private var pager: some View {
| `- note: add '@available' attribute to enclosing property
116 | ScrollView(.horizontal) {
117 | LazyHStack(spacing: 0) {
:
123 | .scrollTargetLayout()
124 | }
125 | .scrollTargetBehavior(.paging)
| |- error: 'scrollTargetBehavior' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
126 | .scrollPosition($contentPosition)
127 | .scrollIndicators(.hidden)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:125:32: error: 'paging' is only available in watchOS 10.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
113 | // MARK: - Content
114 |
115 | private var pager: some View {
| `- note: add '@available' attribute to enclosing property
116 | ScrollView(.horizontal) {
117 | LazyHStack(spacing: 0) {
:
123 | .scrollTargetLayout()
124 | }
125 | .scrollTargetBehavior(.paging)
| |- error: 'paging' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
126 | .scrollPosition($contentPosition)
127 | .scrollIndicators(.hidden)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:126:10: error: 'scrollPosition(_:anchor:)' is only available in watchOS 11.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
113 | // MARK: - Content
114 |
115 | private var pager: some View {
| `- note: add '@available' attribute to enclosing property
116 | ScrollView(.horizontal) {
117 | LazyHStack(spacing: 0) {
:
124 | }
125 | .scrollTargetBehavior(.paging)
126 | .scrollPosition($contentPosition)
| |- error: 'scrollPosition(_:anchor:)' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
127 | .scrollIndicators(.hidden)
128 | .scrollDisabled(!options.contentScrollView.isScrollEnabled)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:129:10: error: 'onScrollGeometryChange(for:of:action:)' is only available in watchOS 11.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
113 | // MARK: - Content
114 |
115 | private var pager: some View {
| `- note: add '@available' attribute to enclosing property
116 | ScrollView(.horizontal) {
117 | LazyHStack(spacing: 0) {
:
127 | .scrollIndicators(.hidden)
128 | .scrollDisabled(!options.contentScrollView.isScrollEnabled)
129 | .onScrollGeometryChange(for: CGFloat.self) { geometry in
| |- error: 'onScrollGeometryChange(for:of:action:)' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
130 | guard geometry.containerSize.width > 0 else { return 0 }
131 | return geometry.contentOffset.x / geometry.containerSize.width
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ContentScrollView.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwipeMenu.swift
SwiftCompile normal arm64_32 Compiling\ SwipeTabBar.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
macro expansion @State:2:9: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __barPosition = SwiftUICore.State._makeStorage({
| 2 | ScrollPosition()
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| 3 | })
| 4 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:2:9: error: 'init(idType:)' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __barPosition = SwiftUICore.State._makeStorage({
| 2 | ScrollPosition()
| | `- error: 'init(idType:)' is only available in watchOS 11.0 or newer
| 3 | })
| 4 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:7:41: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyM1N3aXBlTWVudVZpZXdDb250cm9sbGVyMEE2VGFiQmFyVjExYmFyUG9zaXRpb24zM182RkZFQTIxQjgzNDVDRjI1RTVEQjY2MERBRkQxMjkyNkxMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
| 6 | private var _barPosition: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: ScrollPosition())
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| 8 | })
| 9 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:7:41: error: 'init(idType:)' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyM1N3aXBlTWVudVZpZXdDb250cm9sbGVyMEE2VGFiQmFyVjExYmFyUG9zaXRpb24zM182RkZFQTIxQjgzNDVDRjI1RTVEQjY2MERBRkQxMjkyNkxMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
| 6 | private var _barPosition: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: ScrollPosition())
| | `- error: 'init(idType:)' is only available in watchOS 11.0 or newer
| 8 | })
| 9 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:38: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| `- note: add '@available' attribute to enclosing property
46 | @State private var barMetrics = ScrollMetrics()
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:38: error: 'init(idType:)' is only available in watchOS 11.0 or newer
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| | `- error: 'init(idType:)' is only available in watchOS 11.0 or newer
| `- note: add '@available' attribute to enclosing property
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:11:60: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 9 |
|10 | @SwiftUICore._StateProjectedValue
|11 | private var $barPosition = SwiftUICore.State(initialValue: ScrollPosition()).projectedValue
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgU2Nyb2xsUG9zaXRpb24oKSB9KQ==")
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:11:60: error: 'init(idType:)' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 9 |
|10 | @SwiftUICore._StateProjectedValue
|11 | private var $barPosition = SwiftUICore.State(initialValue: ScrollPosition()).projectedValue
| | `- error: 'init(idType:)' is only available in watchOS 11.0 or newer
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgU2Nyb2xsUG9zaXRpb24oKSB9KQ==")
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:14:192: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgU2Nyb2xsUG9zaXRpb24oKSB9KQ==")
|14 | private static var $s23SwipeMenuViewController0A6TabBarV11barPosition33_6FFEA21B8345CF25E5DB660DAFD12926LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: ScrollPosition()))
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:14:192: error: 'init(idType:)' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgU2Nyb2xsUG9zaXRpb24oKSB9KQ==")
|14 | private static var $s23SwipeMenuViewController0A6TabBarV11barPosition33_6FFEA21B8345CF25E5DB660DAFD12926LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: ScrollPosition()))
| | `- error: 'init(idType:)' is only available in watchOS 11.0 or newer
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @_StateInitialStoredValue:4:17: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| |- note: in expansion of macro 'State' on property 'barPosition' here
| |- note: in expansion of macro 'State' on property 'barPosition' here
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
|11 | private var $barPosition = SwiftUICore.State(initialValue: ScrollPosition()).projectedValue
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgU2Nyb2xsUG9zaXRpb24oKSB9KQ==")
| | |- note: in expansion of macro '_StateInitialStoredValue' on static property '$s23SwipeMenuViewController0A6TabBarV11barPosition33_6FFEA21B8345CF25E5DB660DAFD12926LL5StatefMp_20_initialStoredValue_fMu_' here
| | `- note: in expansion of macro '_StateInitialStoredValue' on static property '$s23SwipeMenuViewController0A6TabBarV11barPosition33_6FFEA21B8345CF25E5DB660DAFD12926LL5StatefMp_20_initialStoredValue_fMu_' here
|14 | private static var $s23SwipeMenuViewController0A6TabBarV11barPosition33_6FFEA21B8345CF25E5DB660DAFD12926LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: ScrollPosition()))
| | `- note: add '@available' attribute to enclosing static property
| +--- macro expansion @_StateInitialStoredValue -----------------
| |2 | get {
| |3 | SwiftUICore.State._makeStorage({
| |4 | ScrollPosition()
| | | |- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| | | `- note: add 'if #available' version check
| |5 | })
| |6 | }
| +---------------------------------------------------------------
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @_StateInitialStoredValue:4:17: error: 'init(idType:)' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| |- note: in expansion of macro 'State' on property 'barPosition' here
| |- note: in expansion of macro 'State' on property 'barPosition' here
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
|11 | private var $barPosition = SwiftUICore.State(initialValue: ScrollPosition()).projectedValue
|12 |
|13 | @SwiftUICore._StateInitialStoredValue("U3dpZnRVSUNvcmUuU3RhdGUuX21ha2VTdG9yYWdlKHsgU2Nyb2xsUG9zaXRpb24oKSB9KQ==")
| | |- note: in expansion of macro '_StateInitialStoredValue' on static property '$s23SwipeMenuViewController0A6TabBarV11barPosition33_6FFEA21B8345CF25E5DB660DAFD12926LL5StatefMp_20_initialStoredValue_fMu_' here
| | `- note: in expansion of macro '_StateInitialStoredValue' on static property '$s23SwipeMenuViewController0A6TabBarV11barPosition33_6FFEA21B8345CF25E5DB660DAFD12926LL5StatefMp_20_initialStoredValue_fMu_' here
|14 | private static var $s23SwipeMenuViewController0A6TabBarV11barPosition33_6FFEA21B8345CF25E5DB660DAFD12926LL5StatefMp_20_initialStoredValue_fMu_ = (SwiftUICore.State._makeStorage(initialValue: ScrollPosition()))
| | `- note: add '@available' attribute to enclosing static property
| +--- macro expansion @_StateInitialStoredValue -----------------
| |2 | get {
| |3 | SwiftUICore.State._makeStorage({
| |4 | ScrollPosition()
| | | |- error: 'init(idType:)' is only available in watchOS 11.0 or newer
| | | `- note: add 'if #available' version check
| |5 | })
| |6 | }
| +---------------------------------------------------------------
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:68:10: error: 'scrollPosition(_:anchor:)' is only available in watchOS 11.0 or newer
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
60 | }
61 |
62 | private var flexibleBar: some View {
| `- note: add '@available' attribute to enclosing property
63 | ScrollView(.horizontal) {
64 | container
:
66 | }
67 | .scrollIndicators(.hidden)
68 | .scrollPosition($barPosition)
| |- error: 'scrollPosition(_:anchor:)' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
69 | .onScrollGeometryChange(for: ScrollMetrics.self) { geometry in
70 | ScrollMetrics(
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:69:10: error: 'onScrollGeometryChange(for:of:action:)' is only available in watchOS 11.0 or newer
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
60 | }
61 |
62 | private var flexibleBar: some View {
| `- note: add '@available' attribute to enclosing property
63 | ScrollView(.horizontal) {
64 | container
:
67 | .scrollIndicators(.hidden)
68 | .scrollPosition($barPosition)
69 | .onScrollGeometryChange(for: ScrollMetrics.self) { geometry in
| |- error: 'onScrollGeometryChange(for:of:action:)' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
70 | ScrollMetrics(
71 | containerWidth: geometry.containerSize.width,
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:76:10: error: 'onChange(of:initial:_:)' is only available in watchOS 10.0 or newer
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
60 | }
61 |
62 | private var flexibleBar: some View {
| `- note: add '@available' attribute to enclosing property
63 | ScrollView(.horizontal) {
64 | container
:
74 | barMetrics = newValue
75 | }
76 | .onChange(of: focusTargetX) { _, newValue in
| |- error: 'onChange(of:initial:_:)' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
77 | guard let newValue else { return }
78 | if options.indicatorView.isAnimationOnSwipeEnabled {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:81:29: error: 'scrollTo(x:)' is only available in watchOS 11.0 or newer
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
60 | }
61 |
62 | private var flexibleBar: some View {
| `- note: add '@available' attribute to enclosing property
63 | ScrollView(.horizontal) {
64 | container
:
79 | // The swipe (or the tap-driven paging animation) moves the target a
80 | // little each frame, so following it unanimated tracks the finger.
81 | barPosition.scrollTo(x: newValue)
| |- error: 'scrollTo(x:)' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
82 | } else {
83 | withAnimation(.easeInOut(duration: options.indicatorView.animationDuration)) {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:84:33: error: 'scrollTo(x:)' is only available in watchOS 11.0 or newer
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
60 | }
61 |
62 | private var flexibleBar: some View {
| `- note: add '@available' attribute to enclosing property
63 | ScrollView(.horizontal) {
64 | container
:
82 | } else {
83 | withAnimation(.easeInOut(duration: options.indicatorView.animationDuration)) {
84 | barPosition.scrollTo(x: newValue)
| |- error: 'scrollTo(x:)' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:106:10: error: 'coordinateSpace' is only available in watchOS 10.0 or newer
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
88 | }
89 |
90 | private var container: some View {
| `- note: add '@available' attribute to enclosing property
91 | ZStack(alignment: .topLeading) {
92 | if options.indicator == .circle {
:
104 | }
105 | .frame(height: options.height, alignment: .topLeading)
106 | .coordinateSpace(.named(Self.coordinateSpaceName))
| |- error: 'coordinateSpace' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
107 | }
108 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:106:27: error: 'named' is only available in watchOS 10.0 or newer
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
88 | }
89 |
90 | private var container: some View {
| `- note: add '@available' attribute to enclosing property
91 | ZStack(alignment: .topLeading) {
92 | if options.indicator == .circle {
:
104 | }
105 | .frame(height: options.height, alignment: .topLeading)
106 | .coordinateSpace(.named(Self.coordinateSpaceName))
| |- error: 'named' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
107 | }
108 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwipeTabBar.swift
SwiftCompile normal arm64_32 Compiling\ TabItemView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabItemView.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabItemView.swift:7:22: error: 'UILabel' is unavailable in watchOS
5 |
6 | /// The label that displays the tab's title.
7 | let titleLabel = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
8 |
9 | /// The title color used when the item is not selected.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabItemView.swift:7:22: error: 'init()' is unavailable in watchOS
5 |
6 | /// The label that displays the tab's title.
7 | let titleLabel = UILabel()
| `- error: 'init()' is unavailable in watchOS
8 |
9 | /// The title color used when the item is not selected.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabItemView.swift:4:26: error: 'UIView' is unavailable in watchOS
2 |
3 | /// A single tab item that displays a centered title and reflects its selected state.
4 | final class TabItemView: UIView {
| `- error: 'UIView' is unavailable in watchOS
5 |
6 | /// The label that displays the tab's title.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/TabItemView.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TabItemView.swift
SwiftCompile normal arm64_32 Compiling\ SwipeMenuViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuViewController.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuViewController.swift:29:78: error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
27 | }
28 |
29 | open override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
| `- error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
30 | super.viewWillTransition(to: size, with: coordinator)
31 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:81:11: note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
79 |
80 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @protocol UIViewControllerTransitionCoordinator <UIViewControllerTransitionCoordinatorContext>
| `- note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
82 |
83 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuViewController.swift:89:100: error: 'UIViewController' is unavailable in watchOS
87 | /// of range it asserts in debug builds and returns an empty placeholder view controller rather
88 | /// than crashing. Override to provide pages that are not backed by `children`.
89 | open func swipeMenuView(_ swipeMenuView: SwipeMenuView, viewControllerForPageAt index: Int) -> UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
90 | guard children.indices.contains(index) else {
91 | assertionFailure(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuViewController.swift:14:37: error: 'UIViewController' is unavailable in watchOS
12 | /// methods (``numberOfPages(in:)``, ``swipeMenuView(_:titleForPageAt:)``,
13 | /// ``swipeMenuView(_:viewControllerForPageAt:)``) instead of relying on `children`.
14 | open class SwipeMenuViewController: UIViewController, SwipeMenuViewDelegate, SwipeMenuViewDataSource {
| `- error: 'UIViewController' is unavailable in watchOS
15 |
16 | /// The swipe menu view managed by this controller. Created in ``viewDidLoad()``.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuViewController.swift:44:20: error: 'safeAreaLayoutGuide' is unavailable in watchOS
42 | let topAnchor =
43 | swipeMenuView.options.tabView.isSafeAreaEnabled
44 | ? view.safeAreaLayoutGuide.topAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
45 | : view.topAnchor
46 | NSLayoutConstraint.activate([
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwipeMenuViewController.swift:46:9: error: 'NSLayoutConstraint' is unavailable in watchOS
44 | ? view.safeAreaLayoutGuide.topAnchor
45 | : view.topAnchor
46 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
47 | swipeMenuView.topAnchor.constraint(equalTo: topAnchor),
48 | swipeMenuView.leadingAnchor.constraint(equalTo: view.leadingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
SwiftCompile normal arm64_32 (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ContentScrollView.swift,\ SwipeMenu.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift:18:97: error: 'UIView' is unavailable in watchOS
16 | /// - index: The index of the page.
17 | /// - Returns: The view for the page at `index`, or `nil` if none is available.
18 | func contentScrollView(_ contentScrollView: ContentScrollView, viewForPageAt index: Int) -> UIView?
| `- error: 'UIView' is unavailable in watchOS
19 | }
20 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift:31:29: error: 'UIView' is unavailable in watchOS
29 | open weak var dataSource: ContentScrollViewDataSource?
30 |
31 | private var pageViews: [UIView] = []
| `- error: 'UIView' is unavailable in watchOS
32 |
33 | private var currentIndex: Int = 0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift:26:31: error: 'UIScrollView' is unavailable in watchOS
24 | /// between them. It is created and managed by ``SwipeMenuView``; you normally do not
25 | /// instantiate it directly.
26 | open class ContentScrollView: UIScrollView {
| `- error: 'UIScrollView' is unavailable in watchOS
27 |
28 | /// The data source that provides the page views.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift:155:22: error: 'UIView' is unavailable in watchOS
153 | extension ContentScrollView {
154 |
155 | var currentPage: UIView? {
| `- error: 'UIView' is unavailable in watchOS
156 | return pageViews.indices.contains(currentIndex) ? pageViews[currentIndex] : nil
157 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift:159:19: error: 'UIView' is unavailable in watchOS
157 | }
158 |
159 | var nextPage: UIView? {
| `- error: 'UIView' is unavailable in watchOS
160 | guard currentIndex < pageViews.count - 1 else { return nil }
161 | return pageViews[currentIndex + 1]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift:164:23: error: 'UIView' is unavailable in watchOS
162 | }
163 |
164 | var previousPage: UIView? {
| `- error: 'UIView' is unavailable in watchOS
165 | guard currentIndex > 0 else { return nil }
166 | return pageViews[currentIndex - 1]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift:47:14: error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
45 | currentIndex = defaultIndex
46 |
47 | self.contentInsetAdjustmentBehavior = .never
| `- error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
48 |
49 | if let options {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h: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/SwipeMenuViewController/ContentScrollView.swift:143:13: error: 'NSLayoutConstraint' is unavailable in watchOS
141 | let leadingAnchor = index > 0 ? pageViews[index - 1].trailingAnchor : self.leadingAnchor
142 | pageView.translatesAutoresizingMaskIntoConstraints = false
143 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
144 | pageView.topAnchor.constraint(equalTo: self.topAnchor),
145 | pageView.widthAnchor.constraint(equalTo: self.widthAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:46:41: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
44 | @State private var progress: CGFloat
45 |
46 | @State private var contentPosition: ScrollPosition
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| `- note: add '@available' attribute to enclosing property
47 |
48 | /// The index a tap- or binding-driven move started from, kept until the scroll
macro expansion @State:1:49: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:46:55: note: expanded code originates here
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
44 | @State private var progress: CGFloat
45 |
46 | @State private var contentPosition: ScrollPosition
| `- note: in expansion of macro 'State' on property 'contentPosition' here
+--- macro expansion @State ----------------------------------------
|1 | private var _contentPosition: SwiftUICore.State<ScrollPosition>
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
|2 |
|3 | private var $contentPosition: SwiftUICore.Binding<ScrollPosition> {
+-------------------------------------------------------------------
47 |
48 | /// The index a tap- or binding-driven move started from, kept until the scroll
macro expansion @State:3:51: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:46:55: note: expanded code originates here
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
44 | @State private var progress: CGFloat
45 |
46 | @State private var contentPosition: ScrollPosition
| `- note: in expansion of macro 'State' on property 'contentPosition' here
+--- macro expansion @State ----------------------------------------
|1 | private var _contentPosition: SwiftUICore.State<ScrollPosition>
|2 |
|3 | private var $contentPosition: SwiftUICore.Binding<ScrollPosition> {
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
|4 | _contentPosition.projectedValue
|5 | }
+-------------------------------------------------------------------
47 |
48 | /// The index a tap- or binding-driven move started from, kept until the scroll
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:77:53: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
60 | /// previous and current indices.
61 | /// - page: A view builder that returns the content for the page at an index.
62 | public init(
| `- note: add '@available' attribute to enclosing initializer
63 | selection: Binding<Int>,
64 | titles: [String],
:
75 | self.page = page
76 | self._progress = State(initialValue: CGFloat(selection.wrappedValue))
77 | self._contentPosition = State(initialValue: ScrollPosition(id: selection.wrappedValue))
| |- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:77:53: error: 'init(id:anchor:)' is only available in watchOS 11.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
60 | /// previous and current indices.
61 | /// - page: A view builder that returns the content for the page at an index.
62 | public init(
| `- note: add '@available' attribute to enclosing initializer
63 | selection: Binding<Int>,
64 | titles: [String],
:
75 | self.page = page
76 | self._progress = State(initialValue: CGFloat(selection.wrappedValue))
77 | self._contentPosition = State(initialValue: ScrollPosition(id: selection.wrappedValue))
| |- error: 'init(id:anchor:)' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
78 | }
79 |
macro expansion @State:2:9: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __barPosition = SwiftUICore.State._makeStorage({
| 2 | ScrollPosition()
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| 3 | })
| 4 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:2:9: error: 'init(idType:)' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 1 | private var __barPosition = SwiftUICore.State._makeStorage({
| 2 | ScrollPosition()
| | `- error: 'init(idType:)' is only available in watchOS 11.0 or newer
| 3 | })
| 4 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:7:41: error: 'ScrollPosition' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyM1N3aXBlTWVudVZpZXdDb250cm9sbGVyMEE2VGFiQmFyVjExYmFyUG9zaXRpb24zM182RkZFQTIxQjgzNDVDRjI1RTVEQjY2MERBRkQxMjkyNkxMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
| 6 | private var _barPosition: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: ScrollPosition())
| | `- error: 'ScrollPosition' is only available in watchOS 11.0 or newer
| 8 | })
| 9 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
macro expansion @State:7:41: error: 'init(idType:)' is only available in watchOS 11.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeTabBar.swift:45:54: note: expanded code originates here
12 | /// ``SwipeMenuGeometry`` so it can be unit tested.
13 | @available(iOS 18.0, *)
14 | struct SwipeTabBar: View {
| `- note: add '@available' attribute to enclosing struct
15 |
16 | /// The container/content widths of the bar's scroll view, measured so the
:
43 | @State private var itemFrames: [Int: CGRect] = [:]
44 |
45 | @State private var barPosition = ScrollPosition()
| `- note: in expansion of macro 'State' on property 'barPosition' here
+--- macro expansion @State ----------------------------------------
| 5 | @SwiftUICore._StatePropertyWrapperStorage(initialValue: "JHMyM1N3aXBlTWVudVZpZXdDb250cm9sbGVyMEE2VGFiQmFyVjExYmFyUG9zaXRpb24zM182RkZFQTIxQjgzNDVDRjI1RTVEQjY2MERBRkQxMjkyNkxMNVN0YXRlZk1wXzIwX2luaXRpYWxTdG9yZWRWYWx1ZV9mTXVf")
| 6 | private var _barPosition: SwiftUICore.State<_>! = SwiftUICore._stateNil(of: {
| 7 | SwiftUICore.State(initialValue: ScrollPosition())
| | `- error: 'init(idType:)' is only available in watchOS 11.0 or newer
| 8 | })
| 9 |
+-------------------------------------------------------------------
46 | @State private var barMetrics = ScrollMetrics()
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:94:10: error: 'onChange(of:initial:_:)' is only available in watchOS 10.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
78 | }
79 |
80 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
81 | VStack(spacing: 0) {
82 | SwipeTabBar(
:
92 | pager
93 | }
94 | .onChange(of: selection) { oldValue, newValue in
| |- error: 'onChange(of:initial:_:)' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
95 | guard oldValue != newValue else { return }
96 | // A selection committed by a swipe settling is already at the target
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:108:33: error: 'scrollTo(id:anchor:)' is only available in watchOS 11.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
78 | }
79 |
80 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
81 | VStack(spacing: 0) {
82 | SwipeTabBar(
:
106 | pendingFromIndex = oldValue
107 | withAnimation(.easeInOut(duration: options.tabView.indicatorView.animationDuration)) {
108 | contentPosition.scrollTo(id: newValue)
| |- error: 'scrollTo(id:anchor:)' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:120:26: error: 'containerRelativeFrame(_:alignment:)' is only available in watchOS 10.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
113 | // MARK: - Content
114 |
115 | private var pager: some View {
| `- note: add '@available' attribute to enclosing property
116 | ScrollView(.horizontal) {
117 | LazyHStack(spacing: 0) {
118 | ForEach(titles.indices, id: \.self) { index in
119 | page(index)
120 | .containerRelativeFrame([.horizontal, .vertical])
| |- error: 'containerRelativeFrame(_:alignment:)' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
121 | }
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:123:14: error: 'scrollTargetLayout(isEnabled:)' is only available in watchOS 10.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
113 | // MARK: - Content
114 |
115 | private var pager: some View {
| `- note: add '@available' attribute to enclosing property
116 | ScrollView(.horizontal) {
117 | LazyHStack(spacing: 0) {
:
121 | }
122 | }
123 | .scrollTargetLayout()
| |- error: 'scrollTargetLayout(isEnabled:)' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
124 | }
125 | .scrollTargetBehavior(.paging)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:125:10: error: 'scrollTargetBehavior' is only available in watchOS 10.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
113 | // MARK: - Content
114 |
115 | private var pager: some View {
| `- note: add '@available' attribute to enclosing property
116 | ScrollView(.horizontal) {
117 | LazyHStack(spacing: 0) {
:
123 | .scrollTargetLayout()
124 | }
125 | .scrollTargetBehavior(.paging)
| |- error: 'scrollTargetBehavior' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
126 | .scrollPosition($contentPosition)
127 | .scrollIndicators(.hidden)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:125:32: error: 'paging' is only available in watchOS 10.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
113 | // MARK: - Content
114 |
115 | private var pager: some View {
| `- note: add '@available' attribute to enclosing property
116 | ScrollView(.horizontal) {
117 | LazyHStack(spacing: 0) {
:
123 | .scrollTargetLayout()
124 | }
125 | .scrollTargetBehavior(.paging)
| |- error: 'paging' is only available in watchOS 10.0 or newer
| `- note: add 'if #available' version check
126 | .scrollPosition($contentPosition)
127 | .scrollIndicators(.hidden)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:126:10: error: 'scrollPosition(_:anchor:)' is only available in watchOS 11.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
113 | // MARK: - Content
114 |
115 | private var pager: some View {
| `- note: add '@available' attribute to enclosing property
116 | ScrollView(.horizontal) {
117 | LazyHStack(spacing: 0) {
:
124 | }
125 | .scrollTargetBehavior(.paging)
126 | .scrollPosition($contentPosition)
| |- error: 'scrollPosition(_:anchor:)' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
127 | .scrollIndicators(.hidden)
128 | .scrollDisabled(!options.contentScrollView.isScrollEnabled)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift:129:10: error: 'onScrollGeometryChange(for:of:action:)' is only available in watchOS 11.0 or newer
29 | /// `options` updates the menu in place.
30 | @available(iOS 18.0, *)
31 | public struct SwipeMenu<Page: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
32 |
33 | @Binding private var selection: Int
:
113 | // MARK: - Content
114 |
115 | private var pager: some View {
| `- note: add '@available' attribute to enclosing property
116 | ScrollView(.horizontal) {
117 | LazyHStack(spacing: 0) {
:
127 | .scrollIndicators(.hidden)
128 | .scrollDisabled(!options.contentScrollView.isScrollEnabled)
129 | .onScrollGeometryChange(for: CGFloat.self) { geometry in
| |- error: 'onScrollGeometryChange(for:of:action:)' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
130 | guard geometry.containerSize.width > 0 else { return 0 }
131 | return geometry.contentOffset.x / geometry.containerSize.width
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/ContentScrollView.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ContentScrollView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/SwiftUI/SwipeMenu.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwipeMenu.swift
SwiftCompile normal arm64_32 Compiling\ UIEdgeInsetsExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/UIEdgeInsetsExtension.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwipeMenuViewController/UIEdgeInsetsExtension.swift (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIEdgeInsetsExtension.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwipeMenuViewController (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
SwiftCompile normal arm64 (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-25 22:37:08.787 xcodebuild[807:4747] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwipeMenuViewController (in target 'SwipeMenuViewController' from project 'SwipeMenuViewController')
Building workspace SwipeMenuViewController with scheme SwipeMenuViewController
(3 failures)
BUILD FAILURE 6.4 watchOS