Build Information
Failed to build StackedItemsCarousel, reference main (9998c7), with Swift 6.4 for watchOS using Xcode 27.0 on 22 Sep 2026 10:02:54 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 StackedItemsCarousel -destination generic/platform=watchOSBuild Log
68 |
69 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
70 | @protocol UIDragSession <UIDragDropSession>
| `- note: 'UIDragSession' has been explicitly marked unavailable here
71 |
72 | /* Use `localContext` to attach additional information to this drag session,
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:172:137: error: 'UIDragItem' is unavailable in watchOS
170 | }
171 |
172 | public func dragInteraction(_ interaction: UIDragInteraction, itemsForAddingTo session: UIDragSession, withTouchAt point: CGPoint) -> [UIDragItem] {
| `- error: 'UIDragItem' is unavailable in watchOS
173 | guard collectionView.indexPathForItem(at: collectionView.convert(point, from: self))?.row == currentlyFocusedItemIndex else { return [] }
174 | return dragItemsProvider?(items[currentlyFocusedItemIndex], currentlyFocusedItemIndex, session) ?? []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:177:45: error: 'UIDragInteraction' is unavailable in watchOS
175 | }
176 |
177 | public func dragInteraction(_ interaction: UIDragInteraction, previewForLifting item: UIDragItem, session: UIDragSession) -> UITargetedDragPreview? {
| `- error: 'UIDragInteraction' is unavailable in watchOS
178 | return targetedDragPreviewForCurrentCell
179 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:46:12: note: 'UIDragInteraction' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
46 | @interface UIDragInteraction : NSObject <UIInteraction>
| `- note: 'UIDragInteraction' has been explicitly marked unavailable here
47 |
48 | /// The object managing the delegate for the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:177:88: error: 'UIDragItem' is unavailable in watchOS
175 | }
176 |
177 | public func dragInteraction(_ interaction: UIDragInteraction, previewForLifting item: UIDragItem, session: UIDragSession) -> UITargetedDragPreview? {
| `- error: 'UIDragItem' is unavailable in watchOS
178 | return targetedDragPreviewForCurrentCell
179 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:177:109: error: 'UIDragSession' is unavailable in watchOS
175 | }
176 |
177 | public func dragInteraction(_ interaction: UIDragInteraction, previewForLifting item: UIDragItem, session: UIDragSession) -> UITargetedDragPreview? {
| `- error: 'UIDragSession' is unavailable in watchOS
178 | return targetedDragPreviewForCurrentCell
179 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h:70:11: note: 'UIDragSession' has been explicitly marked unavailable here
68 |
69 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
70 | @protocol UIDragSession <UIDragDropSession>
| `- note: 'UIDragSession' has been explicitly marked unavailable here
71 |
72 | /* Use `localContext` to attach additional information to this drag session,
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:177:127: error: 'UITargetedDragPreview' is unavailable in watchOS
175 | }
176 |
177 | public func dragInteraction(_ interaction: UIDragInteraction, previewForLifting item: UIDragItem, session: UIDragSession) -> UITargetedDragPreview? {
| `- error: 'UITargetedDragPreview' is unavailable in watchOS
178 | return targetedDragPreviewForCurrentCell
179 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h:20:12: note: 'UITargetedDragPreview' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
20 | @interface UITargetedDragPreview : UITargetedPreview
| `- note: 'UITargetedDragPreview' has been explicitly marked unavailable here
21 |
22 | /* Returns a preview with the same view and parameters, but a new target.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:181:45: error: 'UIDragInteraction' is unavailable in watchOS
179 | }
180 |
181 | public func dragInteraction(_ interaction: UIDragInteraction, previewForCancelling item: UIDragItem, withDefault defaultPreview: UITargetedDragPreview) -> UITargetedDragPreview? {
| `- error: 'UIDragInteraction' is unavailable in watchOS
182 | return targetedDragPreviewForCurrentCell
183 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:46:12: note: 'UIDragInteraction' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
46 | @interface UIDragInteraction : NSObject <UIInteraction>
| `- note: 'UIDragInteraction' has been explicitly marked unavailable here
47 |
48 | /// The object managing the delegate for the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:181:91: error: 'UIDragItem' is unavailable in watchOS
179 | }
180 |
181 | public func dragInteraction(_ interaction: UIDragInteraction, previewForCancelling item: UIDragItem, withDefault defaultPreview: UITargetedDragPreview) -> UITargetedDragPreview? {
| `- error: 'UIDragItem' is unavailable in watchOS
182 | return targetedDragPreviewForCurrentCell
183 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:181:131: error: 'UITargetedDragPreview' is unavailable in watchOS
179 | }
180 |
181 | public func dragInteraction(_ interaction: UIDragInteraction, previewForCancelling item: UIDragItem, withDefault defaultPreview: UITargetedDragPreview) -> UITargetedDragPreview? {
| `- error: 'UITargetedDragPreview' is unavailable in watchOS
182 | return targetedDragPreviewForCurrentCell
183 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h:20:12: note: 'UITargetedDragPreview' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
20 | @interface UITargetedDragPreview : UITargetedPreview
| `- note: 'UITargetedDragPreview' has been explicitly marked unavailable here
21 |
22 | /* Returns a preview with the same view and parameters, but a new target.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:181:157: error: 'UITargetedDragPreview' is unavailable in watchOS
179 | }
180 |
181 | public func dragInteraction(_ interaction: UIDragInteraction, previewForCancelling item: UIDragItem, withDefault defaultPreview: UITargetedDragPreview) -> UITargetedDragPreview? {
| `- error: 'UITargetedDragPreview' is unavailable in watchOS
182 | return targetedDragPreviewForCurrentCell
183 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h:20:12: note: 'UITargetedDragPreview' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
20 | @interface UITargetedDragPreview : UITargetedPreview
| `- note: 'UITargetedDragPreview' has been explicitly marked unavailable here
21 |
22 | /* Returns a preview with the same view and parameters, but a new target.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:185:45: error: 'UIDragInteraction' is unavailable in watchOS
183 | }
184 |
185 | public func dragInteraction(_ interaction: UIDragInteraction, item: UIDragItem, willAnimateCancelWith animator: UIDragAnimating) {
| `- error: 'UIDragInteraction' is unavailable in watchOS
186 | animator.addCompletion { _ in
187 | self.stackedItemsLayout.invalidateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:46:12: note: 'UIDragInteraction' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
46 | @interface UIDragInteraction : NSObject <UIInteraction>
| `- note: 'UIDragInteraction' has been explicitly marked unavailable here
47 |
48 | /// The object managing the delegate for the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:185:70: error: 'UIDragItem' is unavailable in watchOS
183 | }
184 |
185 | public func dragInteraction(_ interaction: UIDragInteraction, item: UIDragItem, willAnimateCancelWith animator: UIDragAnimating) {
| `- error: 'UIDragItem' is unavailable in watchOS
186 | animator.addCompletion { _ in
187 | self.stackedItemsLayout.invalidateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:185:114: error: 'UIDragAnimating' is unavailable in watchOS
183 | }
184 |
185 | public func dragInteraction(_ interaction: UIDragInteraction, item: UIDragItem, willAnimateCancelWith animator: UIDragAnimating) {
| `- error: 'UIDragAnimating' is unavailable in watchOS
186 | animator.addCompletion { _ in
187 | self.stackedItemsLayout.invalidateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:21:11: note: 'UIDragAnimating' has been explicitly marked unavailable here
19 |
20 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
21 | @protocol UIDragAnimating <NSObject>
| `- note: 'UIDragAnimating' has been explicitly marked unavailable here
22 |
23 | /* Instances of UIDragAnimating provide you a way to animate your own changes
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:193:48: error: 'UIScrollView' is unavailable in watchOS
191 | // MARK: - UIScrollViewDelegate
192 |
193 | public func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
194 | if scrollView.isTracking == true {
195 | // WORKAROUND(iOS 13, *) This is a workaround for UIContextMenuInteraction
/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/StackedItemsView.swift:228:49: error: 'UITargetedDragPreview' is unavailable in watchOS
226 | }
227 |
228 | private var targetedDragPreviewForCurrentCell: UITargetedDragPreview? {
| `- error: 'UITargetedDragPreview' is unavailable in watchOS
229 | guard let cell = cell(at: currentlyFocusedItemIndex) else { return nil }
230 | let parameters = UIDragPreviewParameters()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h:20:12: note: 'UITargetedDragPreview' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
20 | @interface UITargetedDragPreview : UITargetedPreview
| `- note: 'UITargetedDragPreview' has been explicitly marked unavailable here
21 |
22 | /* Returns a preview with the same view and parameters, but a new target.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:11:62: error: 'UICollectionViewCell' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h:65:12: note: 'UICollectionViewCell' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UICollectionViewCell : UICollectionReusableView
| `- note: 'UICollectionViewCell' has been explicitly marked unavailable here
66 |
67 | /// Returns the current configuration state for the cell.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:11:85: error: 'UIView' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/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/StackedItemsView.swift:11:93: error: 'UICollectionViewDataSource' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UICollectionViewDataSource' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:73:11: note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
71 |
72 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
73 | @protocol UICollectionViewDataSource <NSObject>
| `- note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
74 | @required
75 |
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:11:121: error: 'UICollectionViewDelegate' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UICollectionViewDelegate' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:114:11: note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
112 |
113 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
114 | @protocol UICollectionViewDelegate <UIScrollViewDelegate>
| `- note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
115 | @optional
116 |
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:11:147: error: 'UIContextMenuInteractionDelegate' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UIContextMenuInteractionDelegate' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:99:11: note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
97 |
98 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
99 | @protocol UIContextMenuInteractionDelegate <NSObject>
| `- note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
100 |
101 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:11:181: error: 'UIDragInteractionDelegate' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UIDragInteractionDelegate' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:88:11: note: 'UIDragInteractionDelegate' has been explicitly marked unavailable here
86 |
87 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
88 | @protocol UIDragInteractionDelegate <NSObject>
| `- note: 'UIDragInteractionDelegate' has been explicitly marked unavailable here
89 |
90 | @required
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:90:50: error: 'adjustedContentInset' is unavailable in watchOS
88 | public func scrollToItem(at index: Int, animated: Bool) {
89 | let xOffset = collectionView.bounds.width * CGFloat(index)
90 | let contentOffset = CGPoint(x: -collectionView.adjustedContentInset.left + xOffset, y: -collectionView.adjustedContentInset.top)
| `- error: 'adjustedContentInset' is unavailable in watchOS
91 | collectionView.setContentOffset(contentOffset, animated: animated)
92 | if animated == false {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:101:45: note: 'adjustedContentInset' has been explicitly marked unavailable here
99 | its safeAreaInsets into the adjustedContentInset.
100 | */
101 | @property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'adjustedContentInset' has been explicitly marked unavailable here
102 |
103 | /* Also see -scrollViewDidChangeAdjustedContentInset: in the UIScrollViewDelegate protocol.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:90:106: error: 'adjustedContentInset' is unavailable in watchOS
88 | public func scrollToItem(at index: Int, animated: Bool) {
89 | let xOffset = collectionView.bounds.width * CGFloat(index)
90 | let contentOffset = CGPoint(x: -collectionView.adjustedContentInset.left + xOffset, y: -collectionView.adjustedContentInset.top)
| `- error: 'adjustedContentInset' is unavailable in watchOS
91 | collectionView.setContentOffset(contentOffset, animated: animated)
92 | if animated == false {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:101:45: note: 'adjustedContentInset' has been explicitly marked unavailable here
99 | its safeAreaInsets into the adjustedContentInset.
100 | */
101 | @property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'adjustedContentInset' has been explicitly marked unavailable here
102 |
103 | /* Also see -scrollViewDidChangeAdjustedContentInset: in the UIScrollViewDelegate protocol.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift (in target 'StackedItemsCarousel' from project 'StackedItemsCarousel')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StackedItemsView.swift
SwiftCompile normal arm64_32 Compiling\ StackedItemsLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift (in target 'StackedItemsCarousel' from project 'StackedItemsCarousel')
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:44:67: error: 'UICollectionView' is unavailable in watchOS
42 | case trailing
43 |
44 | fileprivate func xPosition(itemSize: CGSize, in collectionView: UICollectionView, offset: CGFloat) -> CGFloat {
| `- error: 'UICollectionView' is unavailable in watchOS
45 | let width = collectionView.bounds.inset(by: collectionView.adjustedContentInset).width
46 | switch self {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:59:67: error: 'UICollectionView' is unavailable in watchOS
57 | case bottom
58 |
59 | fileprivate func yPosition(itemSize: CGSize, in collectionView: UICollectionView) -> CGFloat {
| `- error: 'UICollectionView' is unavailable in watchOS
60 | let height = collectionView.bounds.inset(by: collectionView.adjustedContentInset).height
61 | switch self {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:81:23: error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
79 |
80 | /// Our cached item
81 | private var items = [UICollectionViewLayoutAttributes]()
| `- error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
82 | private let perItemRotationRadians = CGFloat(2 * CGFloat.pi / 180)
83 | private let perItemScale = CGFloat(0.9)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:43:12: note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UICollectionViewLayoutAttributes : NSObject <NSCopying, UIDynamicItem>
| `- note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
44 |
45 | @property (nonatomic) CGRect frame;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:111:20: error: 'CATransform3D' is unavailable in watchOS
109 | var scale: CGFloat
110 |
111 | var transform3D: CATransform3D {
| `- error: 'CATransform3D' is unavailable in watchOS
112 | var transform = CATransform3DIdentity
113 | transform = CATransform3DTranslate(transform, horizontalOffset, 0, 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:17:8: note: 'CATransform3D' has been explicitly marked unavailable here
15 | /* Homogeneous three-dimensional transforms. */
16 |
17 | struct CATransform3D
| `- note: 'CATransform3D' has been explicitly marked unavailable here
18 | {
19 | CGFloat m11, m12, m13, m14;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:298:72: error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
296 | }
297 |
298 | public override func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? {
| `- error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
299 | return items.filter { $0.frame.intersects(rect) }
300 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:43:12: note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UICollectionViewLayoutAttributes : NSObject <NSCopying, UIDynamicItem>
| `- note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
44 |
45 | @property (nonatomic) CGRect frame;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:302:75: error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
300 | }
301 |
302 | public override func layoutAttributesForItem(at indexPath: IndexPath) -> UICollectionViewLayoutAttributes? {
| `- error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
303 | return items[indexPath.item]
304 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:43:12: note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UICollectionViewLayoutAttributes : NSObject <NSCopying, UIDynamicItem>
| `- note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
44 |
45 | @property (nonatomic) CGRect frame;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:14:34: error: 'UICollectionViewLayout' is unavailable in watchOS
12 | /// are completely driven by scrolling the collection view.
13 | /// Only the items in the first section are used.
14 | public class StackedItemsLayout: UICollectionViewLayout {
| `- error: 'UICollectionViewLayout' is unavailable in watchOS
15 | /// The size of each item
16 | public var itemSize = CGSize(width: 200, height: 260) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:89:12: note: 'UICollectionViewLayout' has been explicitly marked unavailable here
87 |
88 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
89 | @interface UICollectionViewLayout : NSObject <NSCoding>
| `- note: 'UICollectionViewLayout' has been explicitly marked unavailable here
90 |
91 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:45:63: error: 'adjustedContentInset' is unavailable in watchOS
43 |
44 | fileprivate func xPosition(itemSize: CGSize, in collectionView: UICollectionView, offset: CGFloat) -> CGFloat {
45 | let width = collectionView.bounds.inset(by: collectionView.adjustedContentInset).width
| `- error: 'adjustedContentInset' is unavailable in watchOS
46 | switch self {
47 | case .leading: return offset + collectionView.adjustedContentInset.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/UIScrollView.h:101:45: note: 'adjustedContentInset' has been explicitly marked unavailable here
99 | its safeAreaInsets into the adjustedContentInset.
100 | */
101 | @property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'adjustedContentInset' has been explicitly marked unavailable here
102 |
103 | /* Also see -scrollViewDidChangeAdjustedContentInset: in the UIScrollViewDelegate protocol.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:47:51: error: 'adjustedContentInset' is unavailable in watchOS
45 | let width = collectionView.bounds.inset(by: collectionView.adjustedContentInset).width
46 | switch self {
47 | case .leading: return offset + collectionView.adjustedContentInset.left
| `- error: 'adjustedContentInset' is unavailable in watchOS
48 | case .middle: return width * 0.5 - itemSize.width * 0.5 + collectionView.adjustedContentInset.left
49 | case .trailing: return width - offset - collectionView.adjustedContentInset.right - itemSize.width
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:101:45: note: 'adjustedContentInset' has been explicitly marked unavailable here
99 | its safeAreaInsets into the adjustedContentInset.
100 | */
101 | @property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'adjustedContentInset' has been explicitly marked unavailable here
102 |
103 | /* Also see -scrollViewDidChangeAdjustedContentInset: in the UIScrollViewDelegate protocol.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:48:78: error: 'adjustedContentInset' is unavailable in watchOS
46 | switch self {
47 | case .leading: return offset + collectionView.adjustedContentInset.left
48 | case .middle: return width * 0.5 - itemSize.width * 0.5 + collectionView.adjustedContentInset.left
| `- error: 'adjustedContentInset' is unavailable in watchOS
49 | case .trailing: return width - offset - collectionView.adjustedContentInset.right - itemSize.width
50 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:101:45: note: 'adjustedContentInset' has been explicitly marked unavailable here
99 | its safeAreaInsets into the adjustedContentInset.
100 | */
101 | @property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'adjustedContentInset' has been explicitly marked unavailable here
102 |
103 | /* Also see -scrollViewDidChangeAdjustedContentInset: in the UIScrollViewDelegate protocol.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:49:60: error: 'adjustedContentInset' is unavailable in watchOS
47 | case .leading: return offset + collectionView.adjustedContentInset.left
48 | case .middle: return width * 0.5 - itemSize.width * 0.5 + collectionView.adjustedContentInset.left
49 | case .trailing: return width - offset - collectionView.adjustedContentInset.right - itemSize.width
| `- error: 'adjustedContentInset' is unavailable in watchOS
50 | }
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:101:45: note: 'adjustedContentInset' has been explicitly marked unavailable here
99 | its safeAreaInsets into the adjustedContentInset.
100 | */
101 | @property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'adjustedContentInset' has been explicitly marked unavailable here
102 |
103 | /* Also see -scrollViewDidChangeAdjustedContentInset: in the UIScrollViewDelegate protocol.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:60:64: error: 'adjustedContentInset' is unavailable in watchOS
58 |
59 | fileprivate func yPosition(itemSize: CGSize, in collectionView: UICollectionView) -> CGFloat {
60 | let height = collectionView.bounds.inset(by: collectionView.adjustedContentInset).height
| `- error: 'adjustedContentInset' is unavailable in watchOS
61 | switch self {
62 | case .top: return collectionView.adjustedContentInset.top
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:101:45: note: 'adjustedContentInset' has been explicitly marked unavailable here
99 | its safeAreaInsets into the adjustedContentInset.
100 | */
101 | @property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'adjustedContentInset' has been explicitly marked unavailable here
102 |
103 | /* Also see -scrollViewDidChangeAdjustedContentInset: in the UIScrollViewDelegate protocol.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:62:38: error: 'adjustedContentInset' is unavailable in watchOS
60 | let height = collectionView.bounds.inset(by: collectionView.adjustedContentInset).height
61 | switch self {
62 | case .top: return collectionView.adjustedContentInset.top
| `- error: 'adjustedContentInset' is unavailable in watchOS
63 | case .middle: return height * 0.5 - itemSize.height * 0.5 + collectionView.adjustedContentInset.top
64 | case .bottom: return height - collectionView.adjustedContentInset.bottom - itemSize.height
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:101:45: note: 'adjustedContentInset' has been explicitly marked unavailable here
99 | its safeAreaInsets into the adjustedContentInset.
100 | */
101 | @property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'adjustedContentInset' has been explicitly marked unavailable here
102 |
103 | /* Also see -scrollViewDidChangeAdjustedContentInset: in the UIScrollViewDelegate protocol.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:63:80: error: 'adjustedContentInset' is unavailable in watchOS
61 | switch self {
62 | case .top: return collectionView.adjustedContentInset.top
63 | case .middle: return height * 0.5 - itemSize.height * 0.5 + collectionView.adjustedContentInset.top
| `- error: 'adjustedContentInset' is unavailable in watchOS
64 | case .bottom: return height - collectionView.adjustedContentInset.bottom - itemSize.height
65 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:101:45: note: 'adjustedContentInset' has been explicitly marked unavailable here
99 | its safeAreaInsets into the adjustedContentInset.
100 | */
101 | @property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'adjustedContentInset' has been explicitly marked unavailable here
102 |
103 | /* Also see -scrollViewDidChangeAdjustedContentInset: in the UIScrollViewDelegate protocol.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:64:50: error: 'adjustedContentInset' is unavailable in watchOS
62 | case .top: return collectionView.adjustedContentInset.top
63 | case .middle: return height * 0.5 - itemSize.height * 0.5 + collectionView.adjustedContentInset.top
64 | case .bottom: return height - collectionView.adjustedContentInset.bottom - itemSize.height
| `- error: 'adjustedContentInset' is unavailable in watchOS
65 | }
66 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:101:45: note: 'adjustedContentInset' has been explicitly marked unavailable here
99 | its safeAreaInsets into the adjustedContentInset.
100 | */
101 | @property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'adjustedContentInset' has been explicitly marked unavailable here
102 |
103 | /* Also see -scrollViewDidChangeAdjustedContentInset: in the UIScrollViewDelegate protocol.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:112:20: error: 'CATransform3DIdentity' is unavailable in watchOS
110 |
111 | var transform3D: CATransform3D {
112 | var transform = CATransform3DIdentity
| `- error: 'CATransform3DIdentity' is unavailable in watchOS
113 | transform = CATransform3DTranslate(transform, horizontalOffset, 0, 0)
114 | transform = CATransform3DRotate(transform, rotation, 0, 0, 1)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:31:31: note: 'CATransform3DIdentity' has been explicitly marked unavailable here
29 | /* The identity transform: [1 0 0 0; 0 1 0 0; 0 0 1 0; 0 0 0 1]. */
30 |
31 | CA_EXTERN const CATransform3D CATransform3DIdentity
| `- note: 'CATransform3DIdentity' has been explicitly marked unavailable here
32 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
33 |
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:113:16: error: 'CATransform3DTranslate' is unavailable in watchOS
111 | var transform3D: CATransform3D {
112 | var transform = CATransform3DIdentity
113 | transform = CATransform3DTranslate(transform, horizontalOffset, 0, 0)
| `- error: 'CATransform3DTranslate' is unavailable in watchOS
114 | transform = CATransform3DRotate(transform, rotation, 0, 0, 1)
115 | transform = CATransform3DScale(transform, 1 + scale, 1 + scale, 1)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:70:25: note: 'CATransform3DTranslate' has been explicitly marked unavailable here
68 | * t' = translate(tx, ty, tz) * t. */
69 |
70 | CA_EXTERN CATransform3D CATransform3DTranslate (CATransform3D t, CGFloat tx,
| `- note: 'CATransform3DTranslate' has been explicitly marked unavailable here
71 | CGFloat ty, CGFloat tz)
72 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:114:16: error: 'CATransform3DRotate' is unavailable in watchOS
112 | var transform = CATransform3DIdentity
113 | transform = CATransform3DTranslate(transform, horizontalOffset, 0, 0)
114 | transform = CATransform3DRotate(transform, rotation, 0, 0, 1)
| `- error: 'CATransform3DRotate' is unavailable in watchOS
115 | transform = CATransform3DScale(transform, 1 + scale, 1 + scale, 1)
116 | return transform
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:85:25: note: 'CATransform3DRotate' has been explicitly marked unavailable here
83 | * t' = rotation(angle, x, y, z) * t. */
84 |
85 | CA_EXTERN CATransform3D CATransform3DRotate (CATransform3D t, CGFloat angle,
| `- note: 'CATransform3DRotate' has been explicitly marked unavailable here
86 | CGFloat x, CGFloat y, CGFloat z)
87 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:115:16: error: 'CATransform3DScale' is unavailable in watchOS
113 | transform = CATransform3DTranslate(transform, horizontalOffset, 0, 0)
114 | transform = CATransform3DRotate(transform, rotation, 0, 0, 1)
115 | transform = CATransform3DScale(transform, 1 + scale, 1 + scale, 1)
| `- error: 'CATransform3DScale' is unavailable in watchOS
116 | return transform
117 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:77:25: note: 'CATransform3DScale' has been explicitly marked unavailable here
75 | * t' = scale(sx, sy, sz) * t. */
76 |
77 | CA_EXTERN CATransform3D CATransform3DScale (CATransform3D t, CGFloat sx,
| `- note: 'CATransform3DScale' has been explicitly marked unavailable here
78 | CGFloat sy, CGFloat sz)
79 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:210:15: error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
208 | /// cache all items
209 | items = (0..<numberOfItems).map { index in
210 | let item = UICollectionViewLayoutAttributes(forCellWith: IndexPath(item: index, section: 0))
| `- error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
211 |
212 | /// the frame of each item is the same, adjusted for the current content offset so our items do not scroll
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:43:12: note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UICollectionViewLayoutAttributes : NSObject <NSCopying, UIDynamicItem>
| `- note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
44 |
45 | @property (nonatomic) CGRect frame;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift (in target 'StackedItemsCarousel' from project 'StackedItemsCarousel')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StackedItemsLayout.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ StackedItemsCarousel (in target 'StackedItemsCarousel' from project 'StackedItemsCarousel')
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:44:67: error: 'UICollectionView' is unavailable in watchOS
42 | case trailing
43 |
44 | fileprivate func xPosition(itemSize: CGSize, in collectionView: UICollectionView, offset: CGFloat) -> CGFloat {
| `- error: 'UICollectionView' is unavailable in watchOS
45 | let width = collectionView.bounds.inset(by: collectionView.adjustedContentInset).width
46 | switch self {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:59:67: error: 'UICollectionView' is unavailable in watchOS
57 | case bottom
58 |
59 | fileprivate func yPosition(itemSize: CGSize, in collectionView: UICollectionView) -> CGFloat {
| `- error: 'UICollectionView' is unavailable in watchOS
60 | let height = collectionView.bounds.inset(by: collectionView.adjustedContentInset).height
61 | switch self {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:81:23: error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
79 |
80 | /// Our cached item
81 | private var items = [UICollectionViewLayoutAttributes]()
| `- error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
82 | private let perItemRotationRadians = CGFloat(2 * CGFloat.pi / 180)
83 | private let perItemScale = CGFloat(0.9)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:43:12: note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UICollectionViewLayoutAttributes : NSObject <NSCopying, UIDynamicItem>
| `- note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
44 |
45 | @property (nonatomic) CGRect frame;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:111:20: error: 'CATransform3D' is unavailable in watchOS
109 | var scale: CGFloat
110 |
111 | var transform3D: CATransform3D {
| `- error: 'CATransform3D' is unavailable in watchOS
112 | var transform = CATransform3DIdentity
113 | transform = CATransform3DTranslate(transform, horizontalOffset, 0, 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:17:8: note: 'CATransform3D' has been explicitly marked unavailable here
15 | /* Homogeneous three-dimensional transforms. */
16 |
17 | struct CATransform3D
| `- note: 'CATransform3D' has been explicitly marked unavailable here
18 | {
19 | CGFloat m11, m12, m13, m14;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:298:72: error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
296 | }
297 |
298 | public override func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? {
| `- error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
299 | return items.filter { $0.frame.intersects(rect) }
300 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:43:12: note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UICollectionViewLayoutAttributes : NSObject <NSCopying, UIDynamicItem>
| `- note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
44 |
45 | @property (nonatomic) CGRect frame;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:302:75: error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
300 | }
301 |
302 | public override func layoutAttributesForItem(at indexPath: IndexPath) -> UICollectionViewLayoutAttributes? {
| `- error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
303 | return items[indexPath.item]
304 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:43:12: note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UICollectionViewLayoutAttributes : NSObject <NSCopying, UIDynamicItem>
| `- note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
44 |
45 | @property (nonatomic) CGRect frame;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift:14:34: error: 'UICollectionViewLayout' is unavailable in watchOS
12 | /// are completely driven by scrolling the collection view.
13 | /// Only the items in the first section are used.
14 | public class StackedItemsLayout: UICollectionViewLayout {
| `- error: 'UICollectionViewLayout' is unavailable in watchOS
15 | /// The size of each item
16 | public var itemSize = CGSize(width: 200, height: 260) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:89:12: note: 'UICollectionViewLayout' has been explicitly marked unavailable here
87 |
88 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
89 | @interface UICollectionViewLayout : NSObject <NSCoding>
| `- note: 'UICollectionViewLayout' has been explicitly marked unavailable here
90 |
91 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:13:30: error: 'UICollectionView' is unavailable in watchOS
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
| `- error: 'UICollectionView' is unavailable in watchOS
14 | private var lastIndexOfContextMenu: Int?
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:158:14: error: cannot override 'collectionView' which has been marked unavailable
156 | }
157 |
158 | public func collectionView(_ collectionView: UICollectionView, previewForDismissingContextMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
| `- error: cannot override 'collectionView' which has been marked unavailable
159 | return targetedDragPreviewForCurrentCell
160 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:357:1: note: 'collectionView(_:previewForDismissingContextMenuWithConfiguration:)' has been explicitly marked unavailable here
355 | * @param configuration The configuration of the menu displayed by this interaction.
356 | */
357 | - (nullable UITargetedPreview *)collectionView:(UICollectionView *)collectionView previewForDismissingContextMenuWithConfiguration:(UIContextMenuConfiguration *)configuration API_DEPRECATED_WITH_REPLACEMENT("collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath:", ios(13.0, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos, tvos);
| `- note: 'collectionView(_:previewForDismissingContextMenuWithConfiguration:)' has been explicitly marked unavailable here
358 |
359 | @end
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:26:55: error: 'UIDragSession' is unavailable in watchOS
24 | /// this will be called when an item is dragged
25 | public var dragItemsProvider: DragItemsProvider?
26 | public typealias DragItemsProvider = (ItemType, Int, UIDragSession) -> [UIDragItem]
| `- error: 'UIDragSession' is unavailable in watchOS
27 |
28 | /// this will be called when the context menu is needed for an item
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h:70:11: note: 'UIDragSession' has been explicitly marked unavailable here
68 |
69 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
70 | @protocol UIDragSession <UIDragDropSession>
| `- note: 'UIDragSession' has been explicitly marked unavailable here
71 |
72 | /* Use `localContext` to attach additional information to this drag session,
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:26:74: error: 'UIDragItem' is unavailable in watchOS
24 | /// this will be called when an item is dragged
25 | public var dragItemsProvider: DragItemsProvider?
26 | public typealias DragItemsProvider = (ItemType, Int, UIDragSession) -> [UIDragItem]
| `- error: 'UIDragItem' is unavailable in watchOS
27 |
28 | /// this will be called when the context menu is needed for an item
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:30:73: error: 'UIContextMenuConfiguration' is unavailable in watchOS
28 | /// this will be called when the context menu is needed for an item
29 | public var contextMenuConfigurationProvider: ContextMenuConfigurationProvider?
30 | public typealias ContextMenuConfigurationProvider = (ItemType, Int) -> UIContextMenuConfiguration?
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
31 |
32 | /// this will be called when the preview of a context menu is committed
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
37 |
38 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
39 | @interface UIContextMenuConfiguration : NSObject
| `- note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
40 |
41 | /// This configuration's identifier. When representing multiple items in your app, this identifier
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:34:54: error: 'UIContextMenuConfiguration' is unavailable in watchOS
32 | /// this will be called when the preview of a context menu is committed
33 | public var commitContextMenuPreviewHandler: CommitContextMenuPreviewHandler?
34 | public typealias CommitContextMenuPreviewHandler = (UIContextMenuConfiguration, UIContextMenuInteractionCommitAnimating) -> Void
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
35 |
36 | /// The items this view displays
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
37 |
38 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
39 | @interface UIContextMenuConfiguration : NSObject
| `- note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
40 |
41 | /// This configuration's identifier. When representing multiple items in your app, this identifier
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:34:82: error: 'UIContextMenuInteractionCommitAnimating' is unavailable in watchOS
32 | /// this will be called when the preview of a context menu is committed
33 | public var commitContextMenuPreviewHandler: CommitContextMenuPreviewHandler?
34 | public typealias CommitContextMenuPreviewHandler = (UIContextMenuConfiguration, UIContextMenuInteractionCommitAnimating) -> Void
| `- error: 'UIContextMenuInteractionCommitAnimating' is unavailable in watchOS
35 |
36 | /// The items this view displays
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:90:11: note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
88 |
89 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
90 | @protocol UIContextMenuInteractionCommitAnimating <UIContextMenuInteractionAnimating>
| `- note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
91 |
92 | /// Preferred animation style for the menu's commit action. Triggered when the user taps the preview.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:83:35: error: 'UIPanGestureRecognizer' is unavailable in watchOS
81 |
82 | /// the pan gesture recognizer for the collection view
83 | public var panGestureRecognizer: UIPanGestureRecognizer {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
84 | collectionView.panGestureRecognizer
85 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:104:47: error: 'UICollectionView' is unavailable in watchOS
102 |
103 | // MARK: UICollectionViewDataSource
104 | public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
| `- error: 'UICollectionView' is unavailable in watchOS
105 | return items.count
106 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:108:47: error: 'UICollectionView' is unavailable in watchOS
106 | }
107 |
108 | public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: 'UICollectionView' is unavailable in watchOS
109 | let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "Cell", for: indexPath)
110 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:108:104: error: 'UICollectionViewCell' is unavailable in watchOS
106 | }
107 |
108 | public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
109 | let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "Cell", for: indexPath)
110 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h:65:12: note: 'UICollectionViewCell' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UICollectionViewCell : UICollectionReusableView
| `- note: 'UICollectionViewCell' has been explicitly marked unavailable here
66 |
67 | /// Returns the current configuration state for the cell.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:130:47: error: 'UICollectionView' is unavailable in watchOS
128 |
129 | // MARK: UICollectionViewDelegate
130 | public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
| `- error: 'UICollectionView' is unavailable in watchOS
131 | if indexPath.row == currentlyFocusedItemIndex {
132 | collectionView.deselectItem(at: indexPath, animated: true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:141:47: error: 'UICollectionView' is unavailable in watchOS
139 | }
140 |
141 | public func collectionView(_ collectionView: UICollectionView, didUpdateFocusIn context: UICollectionViewFocusUpdateContext, with coordinator: UIFocusAnimationCoordinator) {
| `- error: 'UICollectionView' is unavailable in watchOS
142 | guard let index = context.nextFocusedIndexPath?.row else { return }
143 | scrollToItem(at: index, animated: true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:141:91: error: 'UICollectionViewFocusUpdateContext' is unavailable in watchOS
139 | }
140 |
141 | public func collectionView(_ collectionView: UICollectionView, didUpdateFocusIn context: UICollectionViewFocusUpdateContext, with coordinator: UIFocusAnimationCoordinator) {
| `- error: 'UICollectionViewFocusUpdateContext' is unavailable in watchOS
142 | guard let index = context.nextFocusedIndexPath?.row else { return }
143 | scrollToItem(at: index, animated: true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:65:12: note: 'UICollectionViewFocusUpdateContext' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UICollectionViewFocusUpdateContext : UIFocusUpdateContext
| `- note: 'UICollectionViewFocusUpdateContext' has been explicitly marked unavailable here
66 |
67 | @property (nonatomic, strong, readonly, nullable) NSIndexPath *previouslyFocusedIndexPath;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:141:145: error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
139 | }
140 |
141 | public func collectionView(_ collectionView: UICollectionView, didUpdateFocusIn context: UICollectionViewFocusUpdateContext, with coordinator: UIFocusAnimationCoordinator) {
| `- error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
142 | guard let index = context.nextFocusedIndexPath?.row else { return }
143 | scrollToItem(at: index, animated: true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h:26:12: note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
24 | /// UIFocusAnimationCoordinator is used to coordinate disparate animations that are related to a focus update.
25 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
26 | @interface UIFocusAnimationCoordinator : NSObject
| `- note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
27 |
28 | /**
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:147:52: error: 'UIContextMenuInteraction' is unavailable in watchOS
145 |
146 | // MARK: - UIContextMenuInteractionDelegate
147 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration? {
| `- error: 'UIContextMenuInteraction' is unavailable in watchOS
148 | guard collectionView.indexPathForItem(at: collectionView.convert(location, from: self))?.row == currentlyFocusedItemIndex else { return nil }
149 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| `- note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
33 |
34 | /// The interaction's delegate.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:147:131: error: 'UIContextMenuConfiguration' is unavailable in watchOS
145 |
146 | // MARK: - UIContextMenuInteractionDelegate
147 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
148 | guard collectionView.indexPathForItem(at: collectionView.convert(location, from: self))?.row == currentlyFocusedItemIndex else { return nil }
149 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
37 |
38 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
39 | @interface UIContextMenuConfiguration : NSObject
| `- note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
40 |
41 | /// This configuration's identifier. When representing multiple items in your app, this identifier
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:154:52: error: 'UIContextMenuInteraction' is unavailable in watchOS
152 | }
153 |
154 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, previewForHighlightingMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
| `- error: 'UIContextMenuInteraction' is unavailable in watchOS
155 | return targetedDragPreviewForCurrentCell
156 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| `- note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
33 |
34 | /// The interaction's delegate.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:154:137: error: 'UIContextMenuConfiguration' is unavailable in watchOS
152 | }
153 |
154 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, previewForHighlightingMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
155 | return targetedDragPreviewForCurrentCell
156 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
37 |
38 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
39 | @interface UIContextMenuConfiguration : NSObject
| `- note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
40 |
41 | /// This configuration's identifier. When representing multiple items in your app, this identifier
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:154:168: error: 'UITargetedPreview' is unavailable in watchOS
152 | }
153 |
154 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, previewForHighlightingMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
| `- error: 'UITargetedPreview' is unavailable in watchOS
155 | return targetedDragPreviewForCurrentCell
156 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been explicitly marked unavailable here
43 |
44 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
45 | @interface UITargetedPreview : NSObject <NSCopying>
| `- note: 'UITargetedPreview' has been explicitly marked unavailable here
46 |
47 | /* UITargetedPreview is a preview used during an interaction's animations.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:158:47: error: 'UICollectionView' is unavailable in watchOS
156 | }
157 |
158 | public func collectionView(_ collectionView: UICollectionView, previewForDismissingContextMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
| `- error: 'UICollectionView' is unavailable in watchOS
159 | return targetedDragPreviewForCurrentCell
160 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:158:129: error: 'UIContextMenuConfiguration' is unavailable in watchOS
156 | }
157 |
158 | public func collectionView(_ collectionView: UICollectionView, previewForDismissingContextMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
159 | return targetedDragPreviewForCurrentCell
160 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
37 |
38 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
39 | @interface UIContextMenuConfiguration : NSObject
| `- note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
40 |
41 | /// This configuration's identifier. When representing multiple items in your app, this identifier
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:158:160: error: 'UITargetedPreview' is unavailable in watchOS
156 | }
157 |
158 | public func collectionView(_ collectionView: UICollectionView, previewForDismissingContextMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
| `- error: 'UITargetedPreview' is unavailable in watchOS
159 | return targetedDragPreviewForCurrentCell
160 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been explicitly marked unavailable here
43 |
44 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
45 | @interface UITargetedPreview : NSObject <NSCopying>
| `- note: 'UITargetedPreview' has been explicitly marked unavailable here
46 |
47 | /* UITargetedPreview is a preview used during an interaction's animations.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:162:52: error: 'UIContextMenuInteraction' is unavailable in watchOS
160 | }
161 |
162 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, willPerformPreviewActionForMenuWith configuration: UIContextMenuConfiguration, animator: UIContextMenuInteractionCommitAnimating) {
| `- error: 'UIContextMenuInteraction' is unavailable in watchOS
163 | commitContextMenuPreviewHandler?(configuration, animator)
164 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| `- note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
33 |
34 | /// The interaction's delegate.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:162:129: error: 'UIContextMenuConfiguration' is unavailable in watchOS
160 | }
161 |
162 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, willPerformPreviewActionForMenuWith configuration: UIContextMenuConfiguration, animator: UIContextMenuInteractionCommitAnimating) {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
163 | commitContextMenuPreviewHandler?(configuration, animator)
164 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
37 |
38 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
39 | @interface UIContextMenuConfiguration : NSObject
| `- note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
40 |
41 | /// This configuration's identifier. When representing multiple items in your app, this identifier
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:162:167: error: 'UIContextMenuInteractionCommitAnimating' is unavailable in watchOS
160 | }
161 |
162 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, willPerformPreviewActionForMenuWith configuration: UIContextMenuConfiguration, animator: UIContextMenuInteractionCommitAnimating) {
| `- error: 'UIContextMenuInteractionCommitAnimating' is unavailable in watchOS
163 | commitContextMenuPreviewHandler?(configuration, animator)
164 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:90:11: note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
88 |
89 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
90 | @protocol UIContextMenuInteractionCommitAnimating <UIContextMenuInteractionAnimating>
| `- note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
91 |
92 | /// Preferred animation style for the menu's commit action. Triggered when the user taps the preview.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:167:45: error: 'UIDragInteraction' is unavailable in watchOS
165 |
166 | // MARK: - UIDragInteractionDelegate
167 | public func dragInteraction(_ interaction: UIDragInteraction, itemsForBeginning session: UIDragSession) -> [UIDragItem] {
| `- error: 'UIDragInteraction' is unavailable in watchOS
168 | guard collectionView.indexPathForItem(at: session.location(in: collectionView))?.row == currentlyFocusedItemIndex else { return [] }
169 | return dragItemsProvider?(items[currentlyFocusedItemIndex], currentlyFocusedItemIndex, session) ?? []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:46:12: note: 'UIDragInteraction' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
46 | @interface UIDragInteraction : NSObject <UIInteraction>
| `- note: 'UIDragInteraction' has been explicitly marked unavailable here
47 |
48 | /// The object managing the delegate for the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:167:91: error: 'UIDragSession' is unavailable in watchOS
165 |
166 | // MARK: - UIDragInteractionDelegate
167 | public func dragInteraction(_ interaction: UIDragInteraction, itemsForBeginning session: UIDragSession) -> [UIDragItem] {
| `- error: 'UIDragSession' is unavailable in watchOS
168 | guard collectionView.indexPathForItem(at: session.location(in: collectionView))?.row == currentlyFocusedItemIndex else { return [] }
169 | return dragItemsProvider?(items[currentlyFocusedItemIndex], currentlyFocusedItemIndex, session) ?? []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h:70:11: note: 'UIDragSession' has been explicitly marked unavailable here
68 |
69 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
70 | @protocol UIDragSession <UIDragDropSession>
| `- note: 'UIDragSession' has been explicitly marked unavailable here
71 |
72 | /* Use `localContext` to attach additional information to this drag session,
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:167:110: error: 'UIDragItem' is unavailable in watchOS
165 |
166 | // MARK: - UIDragInteractionDelegate
167 | public func dragInteraction(_ interaction: UIDragInteraction, itemsForBeginning session: UIDragSession) -> [UIDragItem] {
| `- error: 'UIDragItem' is unavailable in watchOS
168 | guard collectionView.indexPathForItem(at: session.location(in: collectionView))?.row == currentlyFocusedItemIndex else { return [] }
169 | return dragItemsProvider?(items[currentlyFocusedItemIndex], currentlyFocusedItemIndex, session) ?? []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:172:45: error: 'UIDragInteraction' is unavailable in watchOS
170 | }
171 |
172 | public func dragInteraction(_ interaction: UIDragInteraction, itemsForAddingTo session: UIDragSession, withTouchAt point: CGPoint) -> [UIDragItem] {
| `- error: 'UIDragInteraction' is unavailable in watchOS
173 | guard collectionView.indexPathForItem(at: collectionView.convert(point, from: self))?.row == currentlyFocusedItemIndex else { return [] }
174 | return dragItemsProvider?(items[currentlyFocusedItemIndex], currentlyFocusedItemIndex, session) ?? []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:46:12: note: 'UIDragInteraction' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
46 | @interface UIDragInteraction : NSObject <UIInteraction>
| `- note: 'UIDragInteraction' has been explicitly marked unavailable here
47 |
48 | /// The object managing the delegate for the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:172:90: error: 'UIDragSession' is unavailable in watchOS
170 | }
171 |
172 | public func dragInteraction(_ interaction: UIDragInteraction, itemsForAddingTo session: UIDragSession, withTouchAt point: CGPoint) -> [UIDragItem] {
| `- error: 'UIDragSession' is unavailable in watchOS
173 | guard collectionView.indexPathForItem(at: collectionView.convert(point, from: self))?.row == currentlyFocusedItemIndex else { return [] }
174 | return dragItemsProvider?(items[currentlyFocusedItemIndex], currentlyFocusedItemIndex, session) ?? []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h:70:11: note: 'UIDragSession' has been explicitly marked unavailable here
68 |
69 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
70 | @protocol UIDragSession <UIDragDropSession>
| `- note: 'UIDragSession' has been explicitly marked unavailable here
71 |
72 | /* Use `localContext` to attach additional information to this drag session,
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:172:137: error: 'UIDragItem' is unavailable in watchOS
170 | }
171 |
172 | public func dragInteraction(_ interaction: UIDragInteraction, itemsForAddingTo session: UIDragSession, withTouchAt point: CGPoint) -> [UIDragItem] {
| `- error: 'UIDragItem' is unavailable in watchOS
173 | guard collectionView.indexPathForItem(at: collectionView.convert(point, from: self))?.row == currentlyFocusedItemIndex else { return [] }
174 | return dragItemsProvider?(items[currentlyFocusedItemIndex], currentlyFocusedItemIndex, session) ?? []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:177:45: error: 'UIDragInteraction' is unavailable in watchOS
175 | }
176 |
177 | public func dragInteraction(_ interaction: UIDragInteraction, previewForLifting item: UIDragItem, session: UIDragSession) -> UITargetedDragPreview? {
| `- error: 'UIDragInteraction' is unavailable in watchOS
178 | return targetedDragPreviewForCurrentCell
179 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:46:12: note: 'UIDragInteraction' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
46 | @interface UIDragInteraction : NSObject <UIInteraction>
| `- note: 'UIDragInteraction' has been explicitly marked unavailable here
47 |
48 | /// The object managing the delegate for the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:177:88: error: 'UIDragItem' is unavailable in watchOS
175 | }
176 |
177 | public func dragInteraction(_ interaction: UIDragInteraction, previewForLifting item: UIDragItem, session: UIDragSession) -> UITargetedDragPreview? {
| `- error: 'UIDragItem' is unavailable in watchOS
178 | return targetedDragPreviewForCurrentCell
179 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:177:109: error: 'UIDragSession' is unavailable in watchOS
175 | }
176 |
177 | public func dragInteraction(_ interaction: UIDragInteraction, previewForLifting item: UIDragItem, session: UIDragSession) -> UITargetedDragPreview? {
| `- error: 'UIDragSession' is unavailable in watchOS
178 | return targetedDragPreviewForCurrentCell
179 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h:70:11: note: 'UIDragSession' has been explicitly marked unavailable here
68 |
69 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
70 | @protocol UIDragSession <UIDragDropSession>
| `- note: 'UIDragSession' has been explicitly marked unavailable here
71 |
72 | /* Use `localContext` to attach additional information to this drag session,
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:177:127: error: 'UITargetedDragPreview' is unavailable in watchOS
175 | }
176 |
177 | public func dragInteraction(_ interaction: UIDragInteraction, previewForLifting item: UIDragItem, session: UIDragSession) -> UITargetedDragPreview? {
| `- error: 'UITargetedDragPreview' is unavailable in watchOS
178 | return targetedDragPreviewForCurrentCell
179 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h:20:12: note: 'UITargetedDragPreview' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
20 | @interface UITargetedDragPreview : UITargetedPreview
| `- note: 'UITargetedDragPreview' has been explicitly marked unavailable here
21 |
22 | /* Returns a preview with the same view and parameters, but a new target.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:181:45: error: 'UIDragInteraction' is unavailable in watchOS
179 | }
180 |
181 | public func dragInteraction(_ interaction: UIDragInteraction, previewForCancelling item: UIDragItem, withDefault defaultPreview: UITargetedDragPreview) -> UITargetedDragPreview? {
| `- error: 'UIDragInteraction' is unavailable in watchOS
182 | return targetedDragPreviewForCurrentCell
183 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:46:12: note: 'UIDragInteraction' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
46 | @interface UIDragInteraction : NSObject <UIInteraction>
| `- note: 'UIDragInteraction' has been explicitly marked unavailable here
47 |
48 | /// The object managing the delegate for the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:181:91: error: 'UIDragItem' is unavailable in watchOS
179 | }
180 |
181 | public func dragInteraction(_ interaction: UIDragInteraction, previewForCancelling item: UIDragItem, withDefault defaultPreview: UITargetedDragPreview) -> UITargetedDragPreview? {
| `- error: 'UIDragItem' is unavailable in watchOS
182 | return targetedDragPreviewForCurrentCell
183 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:181:131: error: 'UITargetedDragPreview' is unavailable in watchOS
179 | }
180 |
181 | public func dragInteraction(_ interaction: UIDragInteraction, previewForCancelling item: UIDragItem, withDefault defaultPreview: UITargetedDragPreview) -> UITargetedDragPreview? {
| `- error: 'UITargetedDragPreview' is unavailable in watchOS
182 | return targetedDragPreviewForCurrentCell
183 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h:20:12: note: 'UITargetedDragPreview' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
20 | @interface UITargetedDragPreview : UITargetedPreview
| `- note: 'UITargetedDragPreview' has been explicitly marked unavailable here
21 |
22 | /* Returns a preview with the same view and parameters, but a new target.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:181:157: error: 'UITargetedDragPreview' is unavailable in watchOS
179 | }
180 |
181 | public func dragInteraction(_ interaction: UIDragInteraction, previewForCancelling item: UIDragItem, withDefault defaultPreview: UITargetedDragPreview) -> UITargetedDragPreview? {
| `- error: 'UITargetedDragPreview' is unavailable in watchOS
182 | return targetedDragPreviewForCurrentCell
183 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h:20:12: note: 'UITargetedDragPreview' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
20 | @interface UITargetedDragPreview : UITargetedPreview
| `- note: 'UITargetedDragPreview' has been explicitly marked unavailable here
21 |
22 | /* Returns a preview with the same view and parameters, but a new target.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:185:45: error: 'UIDragInteraction' is unavailable in watchOS
183 | }
184 |
185 | public func dragInteraction(_ interaction: UIDragInteraction, item: UIDragItem, willAnimateCancelWith animator: UIDragAnimating) {
| `- error: 'UIDragInteraction' is unavailable in watchOS
186 | animator.addCompletion { _ in
187 | self.stackedItemsLayout.invalidateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:46:12: note: 'UIDragInteraction' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
46 | @interface UIDragInteraction : NSObject <UIInteraction>
| `- note: 'UIDragInteraction' has been explicitly marked unavailable here
47 |
48 | /// The object managing the delegate for the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:185:70: error: 'UIDragItem' is unavailable in watchOS
183 | }
184 |
185 | public func dragInteraction(_ interaction: UIDragInteraction, item: UIDragItem, willAnimateCancelWith animator: UIDragAnimating) {
| `- error: 'UIDragItem' is unavailable in watchOS
186 | animator.addCompletion { _ in
187 | self.stackedItemsLayout.invalidateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:185:114: error: 'UIDragAnimating' is unavailable in watchOS
183 | }
184 |
185 | public func dragInteraction(_ interaction: UIDragInteraction, item: UIDragItem, willAnimateCancelWith animator: UIDragAnimating) {
| `- error: 'UIDragAnimating' is unavailable in watchOS
186 | animator.addCompletion { _ in
187 | self.stackedItemsLayout.invalidateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:21:11: note: 'UIDragAnimating' has been explicitly marked unavailable here
19 |
20 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
21 | @protocol UIDragAnimating <NSObject>
| `- note: 'UIDragAnimating' has been explicitly marked unavailable here
22 |
23 | /* Instances of UIDragAnimating provide you a way to animate your own changes
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:193:48: error: 'UIScrollView' is unavailable in watchOS
191 | // MARK: - UIScrollViewDelegate
192 |
193 | public func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
194 | if scrollView.isTracking == true {
195 | // WORKAROUND(iOS 13, *) This is a workaround for UIContextMenuInteraction
/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/StackedItemsView.swift:228:49: error: 'UITargetedDragPreview' is unavailable in watchOS
226 | }
227 |
228 | private var targetedDragPreviewForCurrentCell: UITargetedDragPreview? {
| `- error: 'UITargetedDragPreview' is unavailable in watchOS
229 | guard let cell = cell(at: currentlyFocusedItemIndex) else { return nil }
230 | let parameters = UIDragPreviewParameters()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h:20:12: note: 'UITargetedDragPreview' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
20 | @interface UITargetedDragPreview : UITargetedPreview
| `- note: 'UITargetedDragPreview' has been explicitly marked unavailable here
21 |
22 | /* Returns a preview with the same view and parameters, but a new target.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:11:62: error: 'UICollectionViewCell' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h:65:12: note: 'UICollectionViewCell' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UICollectionViewCell : UICollectionReusableView
| `- note: 'UICollectionViewCell' has been explicitly marked unavailable here
66 |
67 | /// Returns the current configuration state for the cell.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:11:85: error: 'UIView' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/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/StackedItemsView.swift:11:93: error: 'UICollectionViewDataSource' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UICollectionViewDataSource' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:73:11: note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
71 |
72 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
73 | @protocol UICollectionViewDataSource <NSObject>
| `- note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
74 | @required
75 |
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:11:121: error: 'UICollectionViewDelegate' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UICollectionViewDelegate' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:114:11: note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
112 |
113 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
114 | @protocol UICollectionViewDelegate <UIScrollViewDelegate>
| `- note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
115 | @optional
116 |
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:11:147: error: 'UIContextMenuInteractionDelegate' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UIContextMenuInteractionDelegate' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:99:11: note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
97 |
98 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
99 | @protocol UIContextMenuInteractionDelegate <NSObject>
| `- note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
100 |
101 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:11:181: error: 'UIDragInteractionDelegate' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UIDragInteractionDelegate' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:88:11: note: 'UIDragInteractionDelegate' has been explicitly marked unavailable here
86 |
87 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
88 | @protocol UIDragInteractionDelegate <NSObject>
| `- note: 'UIDragInteractionDelegate' has been explicitly marked unavailable here
89 |
90 | @required
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/StackedItemsLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StackedItemsCarousel.build/Debug-watchos/StackedItemsCarousel-t.build/Objects-normal/arm64/StackedItemsCarousel-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StackedItemsCarousel.build/Debug-watchos/StackedItemsCarousel-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StackedItemsCarousel.build/Debug-watchos/StackedItemsCarousel-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StackedItemsCarousel.build/Debug-watchos/StackedItemsCarousel-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name StackedItemsCarousel -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StackedItemsCarousel.build/Debug-watchos/StackedItemsCarousel-t.build/Objects-normal/arm64/StackedItemsCarousel_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StackedItemsCarousel.build/Debug-watchos/StackedItemsCarousel-t.build/Objects-normal/arm64/StackedItemsCarousel.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StackedItemsCarousel.build/Debug-watchos/StackedItemsCarousel-t.build/Objects-normal/arm64/StackedItemsCarousel.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StackedItemsCarousel.build/Debug-watchos/StackedItemsCarousel-t.build/Objects-normal/arm64/StackedItemsCarousel-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StackedItemsCarousel.build/Debug-watchos/StackedItemsCarousel-t.build/Objects-normal/arm64/StackedItemsCarousel-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StackedItemsCarousel.build/Debug-watchos/StackedItemsCarousel-t.build/Objects-normal/arm64/StackedItemsCarousel-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StackedItemsCarousel.build/Debug-watchos/StackedItemsCarousel-t.build/Objects-normal/arm64/StackedItemsCarousel.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StackedItemsCarousel.build/Debug-watchos/StackedItemsCarousel-t.build/Objects-normal/arm64/StackedItemsCarousel.abi.json
SwiftCompile normal arm64 (in target 'StackedItemsCarousel' from project 'StackedItemsCarousel')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ StackedItemsView.swift /Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift (in target 'StackedItemsCarousel' from project 'StackedItemsCarousel')
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:13:30: error: 'UICollectionView' is unavailable in watchOS
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
| `- error: 'UICollectionView' is unavailable in watchOS
14 | private var lastIndexOfContextMenu: Int?
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:158:14: error: cannot override 'collectionView' which has been marked unavailable
156 | }
157 |
158 | public func collectionView(_ collectionView: UICollectionView, previewForDismissingContextMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
| `- error: cannot override 'collectionView' which has been marked unavailable
159 | return targetedDragPreviewForCurrentCell
160 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:357:1: note: 'collectionView(_:previewForDismissingContextMenuWithConfiguration:)' has been explicitly marked unavailable here
355 | * @param configuration The configuration of the menu displayed by this interaction.
356 | */
357 | - (nullable UITargetedPreview *)collectionView:(UICollectionView *)collectionView previewForDismissingContextMenuWithConfiguration:(UIContextMenuConfiguration *)configuration API_DEPRECATED_WITH_REPLACEMENT("collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath:", ios(13.0, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos, tvos);
| `- note: 'collectionView(_:previewForDismissingContextMenuWithConfiguration:)' has been explicitly marked unavailable here
358 |
359 | @end
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:26:55: error: 'UIDragSession' is unavailable in watchOS
24 | /// this will be called when an item is dragged
25 | public var dragItemsProvider: DragItemsProvider?
26 | public typealias DragItemsProvider = (ItemType, Int, UIDragSession) -> [UIDragItem]
| `- error: 'UIDragSession' is unavailable in watchOS
27 |
28 | /// this will be called when the context menu is needed for an item
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h:70:11: note: 'UIDragSession' has been explicitly marked unavailable here
68 |
69 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
70 | @protocol UIDragSession <UIDragDropSession>
| `- note: 'UIDragSession' has been explicitly marked unavailable here
71 |
72 | /* Use `localContext` to attach additional information to this drag session,
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:26:74: error: 'UIDragItem' is unavailable in watchOS
24 | /// this will be called when an item is dragged
25 | public var dragItemsProvider: DragItemsProvider?
26 | public typealias DragItemsProvider = (ItemType, Int, UIDragSession) -> [UIDragItem]
| `- error: 'UIDragItem' is unavailable in watchOS
27 |
28 | /// this will be called when the context menu is needed for an item
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:30:73: error: 'UIContextMenuConfiguration' is unavailable in watchOS
28 | /// this will be called when the context menu is needed for an item
29 | public var contextMenuConfigurationProvider: ContextMenuConfigurationProvider?
30 | public typealias ContextMenuConfigurationProvider = (ItemType, Int) -> UIContextMenuConfiguration?
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
31 |
32 | /// this will be called when the preview of a context menu is committed
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
37 |
38 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
39 | @interface UIContextMenuConfiguration : NSObject
| `- note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
40 |
41 | /// This configuration's identifier. When representing multiple items in your app, this identifier
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:34:54: error: 'UIContextMenuConfiguration' is unavailable in watchOS
32 | /// this will be called when the preview of a context menu is committed
33 | public var commitContextMenuPreviewHandler: CommitContextMenuPreviewHandler?
34 | public typealias CommitContextMenuPreviewHandler = (UIContextMenuConfiguration, UIContextMenuInteractionCommitAnimating) -> Void
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
35 |
36 | /// The items this view displays
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
37 |
38 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
39 | @interface UIContextMenuConfiguration : NSObject
| `- note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
40 |
41 | /// This configuration's identifier. When representing multiple items in your app, this identifier
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:34:82: error: 'UIContextMenuInteractionCommitAnimating' is unavailable in watchOS
32 | /// this will be called when the preview of a context menu is committed
33 | public var commitContextMenuPreviewHandler: CommitContextMenuPreviewHandler?
34 | public typealias CommitContextMenuPreviewHandler = (UIContextMenuConfiguration, UIContextMenuInteractionCommitAnimating) -> Void
| `- error: 'UIContextMenuInteractionCommitAnimating' is unavailable in watchOS
35 |
36 | /// The items this view displays
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:90:11: note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
88 |
89 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
90 | @protocol UIContextMenuInteractionCommitAnimating <UIContextMenuInteractionAnimating>
| `- note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
91 |
92 | /// Preferred animation style for the menu's commit action. Triggered when the user taps the preview.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:83:35: error: 'UIPanGestureRecognizer' is unavailable in watchOS
81 |
82 | /// the pan gesture recognizer for the collection view
83 | public var panGestureRecognizer: UIPanGestureRecognizer {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
84 | collectionView.panGestureRecognizer
85 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:104:47: error: 'UICollectionView' is unavailable in watchOS
102 |
103 | // MARK: UICollectionViewDataSource
104 | public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
| `- error: 'UICollectionView' is unavailable in watchOS
105 | return items.count
106 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:108:47: error: 'UICollectionView' is unavailable in watchOS
106 | }
107 |
108 | public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: 'UICollectionView' is unavailable in watchOS
109 | let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "Cell", for: indexPath)
110 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:108:104: error: 'UICollectionViewCell' is unavailable in watchOS
106 | }
107 |
108 | public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
109 | let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "Cell", for: indexPath)
110 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h:65:12: note: 'UICollectionViewCell' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UICollectionViewCell : UICollectionReusableView
| `- note: 'UICollectionViewCell' has been explicitly marked unavailable here
66 |
67 | /// Returns the current configuration state for the cell.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:130:47: error: 'UICollectionView' is unavailable in watchOS
128 |
129 | // MARK: UICollectionViewDelegate
130 | public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
| `- error: 'UICollectionView' is unavailable in watchOS
131 | if indexPath.row == currentlyFocusedItemIndex {
132 | collectionView.deselectItem(at: indexPath, animated: true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:141:47: error: 'UICollectionView' is unavailable in watchOS
139 | }
140 |
141 | public func collectionView(_ collectionView: UICollectionView, didUpdateFocusIn context: UICollectionViewFocusUpdateContext, with coordinator: UIFocusAnimationCoordinator) {
| `- error: 'UICollectionView' is unavailable in watchOS
142 | guard let index = context.nextFocusedIndexPath?.row else { return }
143 | scrollToItem(at: index, animated: true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:141:91: error: 'UICollectionViewFocusUpdateContext' is unavailable in watchOS
139 | }
140 |
141 | public func collectionView(_ collectionView: UICollectionView, didUpdateFocusIn context: UICollectionViewFocusUpdateContext, with coordinator: UIFocusAnimationCoordinator) {
| `- error: 'UICollectionViewFocusUpdateContext' is unavailable in watchOS
142 | guard let index = context.nextFocusedIndexPath?.row else { return }
143 | scrollToItem(at: index, animated: true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:65:12: note: 'UICollectionViewFocusUpdateContext' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UICollectionViewFocusUpdateContext : UIFocusUpdateContext
| `- note: 'UICollectionViewFocusUpdateContext' has been explicitly marked unavailable here
66 |
67 | @property (nonatomic, strong, readonly, nullable) NSIndexPath *previouslyFocusedIndexPath;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:141:145: error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
139 | }
140 |
141 | public func collectionView(_ collectionView: UICollectionView, didUpdateFocusIn context: UICollectionViewFocusUpdateContext, with coordinator: UIFocusAnimationCoordinator) {
| `- error: 'UIFocusAnimationCoordinator' is unavailable in watchOS
142 | guard let index = context.nextFocusedIndexPath?.row else { return }
143 | scrollToItem(at: index, animated: true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h:26:12: note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
24 | /// UIFocusAnimationCoordinator is used to coordinate disparate animations that are related to a focus update.
25 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
26 | @interface UIFocusAnimationCoordinator : NSObject
| `- note: 'UIFocusAnimationCoordinator' has been explicitly marked unavailable here
27 |
28 | /**
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:147:52: error: 'UIContextMenuInteraction' is unavailable in watchOS
145 |
146 | // MARK: - UIContextMenuInteractionDelegate
147 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration? {
| `- error: 'UIContextMenuInteraction' is unavailable in watchOS
148 | guard collectionView.indexPathForItem(at: collectionView.convert(location, from: self))?.row == currentlyFocusedItemIndex else { return nil }
149 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| `- note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
33 |
34 | /// The interaction's delegate.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:147:131: error: 'UIContextMenuConfiguration' is unavailable in watchOS
145 |
146 | // MARK: - UIContextMenuInteractionDelegate
147 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, configurationForMenuAtLocation location: CGPoint) -> UIContextMenuConfiguration? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
148 | guard collectionView.indexPathForItem(at: collectionView.convert(location, from: self))?.row == currentlyFocusedItemIndex else { return nil }
149 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
37 |
38 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
39 | @interface UIContextMenuConfiguration : NSObject
| `- note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
40 |
41 | /// This configuration's identifier. When representing multiple items in your app, this identifier
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:154:52: error: 'UIContextMenuInteraction' is unavailable in watchOS
152 | }
153 |
154 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, previewForHighlightingMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
| `- error: 'UIContextMenuInteraction' is unavailable in watchOS
155 | return targetedDragPreviewForCurrentCell
156 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| `- note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
33 |
34 | /// The interaction's delegate.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:154:137: error: 'UIContextMenuConfiguration' is unavailable in watchOS
152 | }
153 |
154 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, previewForHighlightingMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
155 | return targetedDragPreviewForCurrentCell
156 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
37 |
38 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
39 | @interface UIContextMenuConfiguration : NSObject
| `- note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
40 |
41 | /// This configuration's identifier. When representing multiple items in your app, this identifier
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:154:168: error: 'UITargetedPreview' is unavailable in watchOS
152 | }
153 |
154 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, previewForHighlightingMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
| `- error: 'UITargetedPreview' is unavailable in watchOS
155 | return targetedDragPreviewForCurrentCell
156 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been explicitly marked unavailable here
43 |
44 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
45 | @interface UITargetedPreview : NSObject <NSCopying>
| `- note: 'UITargetedPreview' has been explicitly marked unavailable here
46 |
47 | /* UITargetedPreview is a preview used during an interaction's animations.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:158:47: error: 'UICollectionView' is unavailable in watchOS
156 | }
157 |
158 | public func collectionView(_ collectionView: UICollectionView, previewForDismissingContextMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
| `- error: 'UICollectionView' is unavailable in watchOS
159 | return targetedDragPreviewForCurrentCell
160 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:158:129: error: 'UIContextMenuConfiguration' is unavailable in watchOS
156 | }
157 |
158 | public func collectionView(_ collectionView: UICollectionView, previewForDismissingContextMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
159 | return targetedDragPreviewForCurrentCell
160 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
37 |
38 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
39 | @interface UIContextMenuConfiguration : NSObject
| `- note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
40 |
41 | /// This configuration's identifier. When representing multiple items in your app, this identifier
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:158:160: error: 'UITargetedPreview' is unavailable in watchOS
156 | }
157 |
158 | public func collectionView(_ collectionView: UICollectionView, previewForDismissingContextMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview? {
| `- error: 'UITargetedPreview' is unavailable in watchOS
159 | return targetedDragPreviewForCurrentCell
160 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been explicitly marked unavailable here
43 |
44 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
45 | @interface UITargetedPreview : NSObject <NSCopying>
| `- note: 'UITargetedPreview' has been explicitly marked unavailable here
46 |
47 | /* UITargetedPreview is a preview used during an interaction's animations.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:162:52: error: 'UIContextMenuInteraction' is unavailable in watchOS
160 | }
161 |
162 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, willPerformPreviewActionForMenuWith configuration: UIContextMenuConfiguration, animator: UIContextMenuInteractionCommitAnimating) {
| `- error: 'UIContextMenuInteraction' is unavailable in watchOS
163 | commitContextMenuPreviewHandler?(configuration, animator)
164 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| `- note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
33 |
34 | /// The interaction's delegate.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:162:129: error: 'UIContextMenuConfiguration' is unavailable in watchOS
160 | }
161 |
162 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, willPerformPreviewActionForMenuWith configuration: UIContextMenuConfiguration, animator: UIContextMenuInteractionCommitAnimating) {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
163 | commitContextMenuPreviewHandler?(configuration, animator)
164 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
37 |
38 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
39 | @interface UIContextMenuConfiguration : NSObject
| `- note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
40 |
41 | /// This configuration's identifier. When representing multiple items in your app, this identifier
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:162:167: error: 'UIContextMenuInteractionCommitAnimating' is unavailable in watchOS
160 | }
161 |
162 | public func contextMenuInteraction(_ interaction: UIContextMenuInteraction, willPerformPreviewActionForMenuWith configuration: UIContextMenuConfiguration, animator: UIContextMenuInteractionCommitAnimating) {
| `- error: 'UIContextMenuInteractionCommitAnimating' is unavailable in watchOS
163 | commitContextMenuPreviewHandler?(configuration, animator)
164 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:90:11: note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
88 |
89 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
90 | @protocol UIContextMenuInteractionCommitAnimating <UIContextMenuInteractionAnimating>
| `- note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
91 |
92 | /// Preferred animation style for the menu's commit action. Triggered when the user taps the preview.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:167:45: error: 'UIDragInteraction' is unavailable in watchOS
165 |
166 | // MARK: - UIDragInteractionDelegate
167 | public func dragInteraction(_ interaction: UIDragInteraction, itemsForBeginning session: UIDragSession) -> [UIDragItem] {
| `- error: 'UIDragInteraction' is unavailable in watchOS
168 | guard collectionView.indexPathForItem(at: session.location(in: collectionView))?.row == currentlyFocusedItemIndex else { return [] }
169 | return dragItemsProvider?(items[currentlyFocusedItemIndex], currentlyFocusedItemIndex, session) ?? []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:46:12: note: 'UIDragInteraction' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
46 | @interface UIDragInteraction : NSObject <UIInteraction>
| `- note: 'UIDragInteraction' has been explicitly marked unavailable here
47 |
48 | /// The object managing the delegate for the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:167:91: error: 'UIDragSession' is unavailable in watchOS
165 |
166 | // MARK: - UIDragInteractionDelegate
167 | public func dragInteraction(_ interaction: UIDragInteraction, itemsForBeginning session: UIDragSession) -> [UIDragItem] {
| `- error: 'UIDragSession' is unavailable in watchOS
168 | guard collectionView.indexPathForItem(at: session.location(in: collectionView))?.row == currentlyFocusedItemIndex else { return [] }
169 | return dragItemsProvider?(items[currentlyFocusedItemIndex], currentlyFocusedItemIndex, session) ?? []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h:70:11: note: 'UIDragSession' has been explicitly marked unavailable here
68 |
69 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
70 | @protocol UIDragSession <UIDragDropSession>
| `- note: 'UIDragSession' has been explicitly marked unavailable here
71 |
72 | /* Use `localContext` to attach additional information to this drag session,
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:167:110: error: 'UIDragItem' is unavailable in watchOS
165 |
166 | // MARK: - UIDragInteractionDelegate
167 | public func dragInteraction(_ interaction: UIDragInteraction, itemsForBeginning session: UIDragSession) -> [UIDragItem] {
| `- error: 'UIDragItem' is unavailable in watchOS
168 | guard collectionView.indexPathForItem(at: session.location(in: collectionView))?.row == currentlyFocusedItemIndex else { return [] }
169 | return dragItemsProvider?(items[currentlyFocusedItemIndex], currentlyFocusedItemIndex, session) ?? []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:172:45: error: 'UIDragInteraction' is unavailable in watchOS
170 | }
171 |
172 | public func dragInteraction(_ interaction: UIDragInteraction, itemsForAddingTo session: UIDragSession, withTouchAt point: CGPoint) -> [UIDragItem] {
| `- error: 'UIDragInteraction' is unavailable in watchOS
173 | guard collectionView.indexPathForItem(at: collectionView.convert(point, from: self))?.row == currentlyFocusedItemIndex else { return [] }
174 | return dragItemsProvider?(items[currentlyFocusedItemIndex], currentlyFocusedItemIndex, session) ?? []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:46:12: note: 'UIDragInteraction' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
46 | @interface UIDragInteraction : NSObject <UIInteraction>
| `- note: 'UIDragInteraction' has been explicitly marked unavailable here
47 |
48 | /// The object managing the delegate for the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:172:90: error: 'UIDragSession' is unavailable in watchOS
170 | }
171 |
172 | public func dragInteraction(_ interaction: UIDragInteraction, itemsForAddingTo session: UIDragSession, withTouchAt point: CGPoint) -> [UIDragItem] {
| `- error: 'UIDragSession' is unavailable in watchOS
173 | guard collectionView.indexPathForItem(at: collectionView.convert(point, from: self))?.row == currentlyFocusedItemIndex else { return [] }
174 | return dragItemsProvider?(items[currentlyFocusedItemIndex], currentlyFocusedItemIndex, session) ?? []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h:70:11: note: 'UIDragSession' has been explicitly marked unavailable here
68 |
69 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
70 | @protocol UIDragSession <UIDragDropSession>
| `- note: 'UIDragSession' has been explicitly marked unavailable here
71 |
72 | /* Use `localContext` to attach additional information to this drag session,
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:172:137: error: 'UIDragItem' is unavailable in watchOS
170 | }
171 |
172 | public func dragInteraction(_ interaction: UIDragInteraction, itemsForAddingTo session: UIDragSession, withTouchAt point: CGPoint) -> [UIDragItem] {
| `- error: 'UIDragItem' is unavailable in watchOS
173 | guard collectionView.indexPathForItem(at: collectionView.convert(point, from: self))?.row == currentlyFocusedItemIndex else { return [] }
174 | return dragItemsProvider?(items[currentlyFocusedItemIndex], currentlyFocusedItemIndex, session) ?? []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:177:45: error: 'UIDragInteraction' is unavailable in watchOS
175 | }
176 |
177 | public func dragInteraction(_ interaction: UIDragInteraction, previewForLifting item: UIDragItem, session: UIDragSession) -> UITargetedDragPreview? {
| `- error: 'UIDragInteraction' is unavailable in watchOS
178 | return targetedDragPreviewForCurrentCell
179 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:46:12: note: 'UIDragInteraction' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
46 | @interface UIDragInteraction : NSObject <UIInteraction>
| `- note: 'UIDragInteraction' has been explicitly marked unavailable here
47 |
48 | /// The object managing the delegate for the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:177:88: error: 'UIDragItem' is unavailable in watchOS
175 | }
176 |
177 | public func dragInteraction(_ interaction: UIDragInteraction, previewForLifting item: UIDragItem, session: UIDragSession) -> UITargetedDragPreview? {
| `- error: 'UIDragItem' is unavailable in watchOS
178 | return targetedDragPreviewForCurrentCell
179 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:177:109: error: 'UIDragSession' is unavailable in watchOS
175 | }
176 |
177 | public func dragInteraction(_ interaction: UIDragInteraction, previewForLifting item: UIDragItem, session: UIDragSession) -> UITargetedDragPreview? {
| `- error: 'UIDragSession' is unavailable in watchOS
178 | return targetedDragPreviewForCurrentCell
179 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h:70:11: note: 'UIDragSession' has been explicitly marked unavailable here
68 |
69 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
70 | @protocol UIDragSession <UIDragDropSession>
| `- note: 'UIDragSession' has been explicitly marked unavailable here
71 |
72 | /* Use `localContext` to attach additional information to this drag session,
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:177:127: error: 'UITargetedDragPreview' is unavailable in watchOS
175 | }
176 |
177 | public func dragInteraction(_ interaction: UIDragInteraction, previewForLifting item: UIDragItem, session: UIDragSession) -> UITargetedDragPreview? {
| `- error: 'UITargetedDragPreview' is unavailable in watchOS
178 | return targetedDragPreviewForCurrentCell
179 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h:20:12: note: 'UITargetedDragPreview' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
20 | @interface UITargetedDragPreview : UITargetedPreview
| `- note: 'UITargetedDragPreview' has been explicitly marked unavailable here
21 |
22 | /* Returns a preview with the same view and parameters, but a new target.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:181:45: error: 'UIDragInteraction' is unavailable in watchOS
179 | }
180 |
181 | public func dragInteraction(_ interaction: UIDragInteraction, previewForCancelling item: UIDragItem, withDefault defaultPreview: UITargetedDragPreview) -> UITargetedDragPreview? {
| `- error: 'UIDragInteraction' is unavailable in watchOS
182 | return targetedDragPreviewForCurrentCell
183 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:46:12: note: 'UIDragInteraction' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
46 | @interface UIDragInteraction : NSObject <UIInteraction>
| `- note: 'UIDragInteraction' has been explicitly marked unavailable here
47 |
48 | /// The object managing the delegate for the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:181:91: error: 'UIDragItem' is unavailable in watchOS
179 | }
180 |
181 | public func dragInteraction(_ interaction: UIDragInteraction, previewForCancelling item: UIDragItem, withDefault defaultPreview: UITargetedDragPreview) -> UITargetedDragPreview? {
| `- error: 'UIDragItem' is unavailable in watchOS
182 | return targetedDragPreviewForCurrentCell
183 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:181:131: error: 'UITargetedDragPreview' is unavailable in watchOS
179 | }
180 |
181 | public func dragInteraction(_ interaction: UIDragInteraction, previewForCancelling item: UIDragItem, withDefault defaultPreview: UITargetedDragPreview) -> UITargetedDragPreview? {
| `- error: 'UITargetedDragPreview' is unavailable in watchOS
182 | return targetedDragPreviewForCurrentCell
183 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h:20:12: note: 'UITargetedDragPreview' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
20 | @interface UITargetedDragPreview : UITargetedPreview
| `- note: 'UITargetedDragPreview' has been explicitly marked unavailable here
21 |
22 | /* Returns a preview with the same view and parameters, but a new target.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:181:157: error: 'UITargetedDragPreview' is unavailable in watchOS
179 | }
180 |
181 | public func dragInteraction(_ interaction: UIDragInteraction, previewForCancelling item: UIDragItem, withDefault defaultPreview: UITargetedDragPreview) -> UITargetedDragPreview? {
| `- error: 'UITargetedDragPreview' is unavailable in watchOS
182 | return targetedDragPreviewForCurrentCell
183 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h:20:12: note: 'UITargetedDragPreview' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
20 | @interface UITargetedDragPreview : UITargetedPreview
| `- note: 'UITargetedDragPreview' has been explicitly marked unavailable here
21 |
22 | /* Returns a preview with the same view and parameters, but a new target.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:185:45: error: 'UIDragInteraction' is unavailable in watchOS
183 | }
184 |
185 | public func dragInteraction(_ interaction: UIDragInteraction, item: UIDragItem, willAnimateCancelWith animator: UIDragAnimating) {
| `- error: 'UIDragInteraction' is unavailable in watchOS
186 | animator.addCompletion { _ in
187 | self.stackedItemsLayout.invalidateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:46:12: note: 'UIDragInteraction' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
46 | @interface UIDragInteraction : NSObject <UIInteraction>
| `- note: 'UIDragInteraction' has been explicitly marked unavailable here
47 |
48 | /// The object managing the delegate for the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:185:70: error: 'UIDragItem' is unavailable in watchOS
183 | }
184 |
185 | public func dragInteraction(_ interaction: UIDragInteraction, item: UIDragItem, willAnimateCancelWith animator: UIDragAnimating) {
| `- error: 'UIDragItem' is unavailable in watchOS
186 | animator.addCompletion { _ in
187 | self.stackedItemsLayout.invalidateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:185:114: error: 'UIDragAnimating' is unavailable in watchOS
183 | }
184 |
185 | public func dragInteraction(_ interaction: UIDragInteraction, item: UIDragItem, willAnimateCancelWith animator: UIDragAnimating) {
| `- error: 'UIDragAnimating' is unavailable in watchOS
186 | animator.addCompletion { _ in
187 | self.stackedItemsLayout.invalidateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:21:11: note: 'UIDragAnimating' has been explicitly marked unavailable here
19 |
20 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
21 | @protocol UIDragAnimating <NSObject>
| `- note: 'UIDragAnimating' has been explicitly marked unavailable here
22 |
23 | /* Instances of UIDragAnimating provide you a way to animate your own changes
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:193:48: error: 'UIScrollView' is unavailable in watchOS
191 | // MARK: - UIScrollViewDelegate
192 |
193 | public func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
194 | if scrollView.isTracking == true {
195 | // WORKAROUND(iOS 13, *) This is a workaround for UIContextMenuInteraction
/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/StackedItemsView.swift:228:49: error: 'UITargetedDragPreview' is unavailable in watchOS
226 | }
227 |
228 | private var targetedDragPreviewForCurrentCell: UITargetedDragPreview? {
| `- error: 'UITargetedDragPreview' is unavailable in watchOS
229 | guard let cell = cell(at: currentlyFocusedItemIndex) else { return nil }
230 | let parameters = UIDragPreviewParameters()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h:20:12: note: 'UITargetedDragPreview' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
20 | @interface UITargetedDragPreview : UITargetedPreview
| `- note: 'UITargetedDragPreview' has been explicitly marked unavailable here
21 |
22 | /* Returns a preview with the same view and parameters, but a new target.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:11:62: error: 'UICollectionViewCell' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h:65:12: note: 'UICollectionViewCell' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UICollectionViewCell : UICollectionReusableView
| `- note: 'UICollectionViewCell' has been explicitly marked unavailable here
66 |
67 | /// Returns the current configuration state for the cell.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:11:85: error: 'UIView' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/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/StackedItemsView.swift:11:93: error: 'UICollectionViewDataSource' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UICollectionViewDataSource' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:73:11: note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
71 |
72 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
73 | @protocol UICollectionViewDataSource <NSObject>
| `- note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
74 | @required
75 |
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:11:121: error: 'UICollectionViewDelegate' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UICollectionViewDelegate' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:114:11: note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
112 |
113 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
114 | @protocol UICollectionViewDelegate <UIScrollViewDelegate>
| `- note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
115 | @optional
116 |
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:11:147: error: 'UIContextMenuInteractionDelegate' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UIContextMenuInteractionDelegate' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:99:11: note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
97 |
98 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
99 | @protocol UIContextMenuInteractionDelegate <NSObject>
| `- note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
100 |
101 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:11:181: error: 'UIDragInteractionDelegate' is unavailable in watchOS
9 |
10 | /// A view that provides a stacked of scrollable items by wrapping a UICollectionView with a `StackedItemsLayout`
11 | public class StackedItemsView<ItemType: Equatable, CellType: UICollectionViewCell>: UIView, UICollectionViewDataSource, UICollectionViewDelegate, UIContextMenuInteractionDelegate, UIDragInteractionDelegate {
| `- error: 'UIDragInteractionDelegate' is unavailable in watchOS
12 |
13 | public let collectionView = UICollectionView(frame: .zero, collectionViewLayout: StackedItemsLayout())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h:88:11: note: 'UIDragInteractionDelegate' has been explicitly marked unavailable here
86 |
87 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
88 | @protocol UIDragInteractionDelegate <NSObject>
| `- note: 'UIDragInteractionDelegate' has been explicitly marked unavailable here
89 |
90 | @required
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:90:50: error: 'adjustedContentInset' is unavailable in watchOS
88 | public func scrollToItem(at index: Int, animated: Bool) {
89 | let xOffset = collectionView.bounds.width * CGFloat(index)
90 | let contentOffset = CGPoint(x: -collectionView.adjustedContentInset.left + xOffset, y: -collectionView.adjustedContentInset.top)
| `- error: 'adjustedContentInset' is unavailable in watchOS
91 | collectionView.setContentOffset(contentOffset, animated: animated)
92 | if animated == false {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:101:45: note: 'adjustedContentInset' has been explicitly marked unavailable here
99 | its safeAreaInsets into the adjustedContentInset.
100 | */
101 | @property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'adjustedContentInset' has been explicitly marked unavailable here
102 |
103 | /* Also see -scrollViewDidChangeAdjustedContentInset: in the UIScrollViewDelegate protocol.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:90:106: error: 'adjustedContentInset' is unavailable in watchOS
88 | public func scrollToItem(at index: Int, animated: Bool) {
89 | let xOffset = collectionView.bounds.width * CGFloat(index)
90 | let contentOffset = CGPoint(x: -collectionView.adjustedContentInset.left + xOffset, y: -collectionView.adjustedContentInset.top)
| `- error: 'adjustedContentInset' is unavailable in watchOS
91 | collectionView.setContentOffset(contentOffset, animated: animated)
92 | if animated == false {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:101:45: note: 'adjustedContentInset' has been explicitly marked unavailable here
99 | its safeAreaInsets into the adjustedContentInset.
100 | */
101 | @property(nonatomic, readonly) UIEdgeInsets adjustedContentInset API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'adjustedContentInset' has been explicitly marked unavailable here
102 |
103 | /* Also see -scrollViewDidChangeAdjustedContentInset: in the UIScrollViewDelegate protocol.
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:113:26: error: 'allowsEdgeAntialiasing' is unavailable in watchOS
111 | cell.contentView.clipsToBounds = true
112 | cell.contentView.layer.cornerRadius = cornerRadius
113 | cell.contentView.layer.allowsEdgeAntialiasing = true
| `- error: 'allowsEdgeAntialiasing' is unavailable in watchOS
114 |
115 | if #available(iOS 13, *) {
/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:584:16: note: 'allowsEdgeAntialiasing' has been explicitly marked unavailable here
582 | * YES on macOS and NO on iOS. */
583 |
584 | @property BOOL allowsEdgeAntialiasing
| `- note: 'allowsEdgeAntialiasing' has been explicitly marked unavailable here
585 | API_AVAILABLE(macos(10.10), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
586 |
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:116:27: error: 'cornerCurve' is unavailable in watchOS
114 |
115 | if #available(iOS 13, *) {
116 | cell.contentView.layer.cornerCurve = .continuous
| `- error: 'cornerCurve' is unavailable in watchOS
117 | }
118 |
/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:607:36: note: 'cornerCurve' has been explicitly marked unavailable here
605 | * Defaults to 'kCACornerCurveCircular'. */
606 |
607 | @property(copy) CALayerCornerCurve cornerCurve
| `- note: 'cornerCurve' has been explicitly marked unavailable here
608 | API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
609 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift (in target 'StackedItemsCarousel' from project 'StackedItemsCarousel')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StackedItemsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/StackedItemsView.swift:116:42: error: 'continuous' is unavailable in watchOS
114 |
115 | if #available(iOS 13, *) {
116 | cell.contentView.layer.cornerCurve = .continuous
| `- error: 'continuous' is unavailable in watchOS
117 | }
118 |
/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:1061:36: note: 'continuous' has been explicitly marked unavailable here
1059 | CA_EXTERN CALayerCornerCurve const kCACornerCurveCircular
1060 | API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
1061 | CA_EXTERN CALayerCornerCurve const kCACornerCurveContinuous
| `- note: 'continuous' has been explicitly marked unavailable here
1062 | API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
1063 |
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-22 06:02:53.588 xcodebuild[780:4742] [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 'StackedItemsCarousel' from project 'StackedItemsCarousel')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ StackedItemsCarousel (in target 'StackedItemsCarousel' from project 'StackedItemsCarousel')
SwiftEmitModule normal arm64 Emitting\ module\ for\ StackedItemsCarousel (in target 'StackedItemsCarousel' from project 'StackedItemsCarousel')
SwiftCompile normal arm64 (in target 'StackedItemsCarousel' from project 'StackedItemsCarousel')
Building workspace StackedItemsCarousel with scheme StackedItemsCarousel
(5 failures)
BUILD FAILURE 6.4 watchOS