Build Information
Failed to build DiffableUI, reference main (02796b), with Swift 6.4 for watchOS using Xcode 27.0 on 3 Oct 2026 04:31:15 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme DiffableUI -destination generic/platform=watchOSBuild Log
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/DiffableUI/DiffableViewController.swift:170:45: error: 'UITargetedPreview' is unavailable in watchOS
168 | private func contextMenuPreview(
169 | forItemAt indexPath: IndexPath,
170 | in collectionView: UICollectionView) -> UITargetedPreview?
| `- error: 'UITargetedPreview' is unavailable in watchOS
171 | {
172 | guard
/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/DiffableUI/DiffableViewController.swift:192:24: error: 'UICollectionView' is unavailable in watchOS
190 | /// from it is applied. Their index paths match.
191 | private func cell(
192 | in collectionView: UICollectionView,
| `- error: 'UICollectionView' is unavailable in watchOS
193 | at indexPath: IndexPath)
194 | -> UICollectionViewCell
/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/DiffableUI/DiffableViewController.swift:194:8: error: 'UICollectionViewCell' is unavailable in watchOS
192 | in collectionView: UICollectionView,
193 | at indexPath: IndexPath)
194 | -> UICollectionViewCell
| `- error: 'UICollectionViewCell' is unavailable in watchOS
195 | {
196 | let collectionItem = computedSections[indexPath.section].items[indexPath.row]
/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/DiffableUI/DiffableViewController.swift:12:36: error: 'UICollectionViewController' is unavailable in watchOS
10 | import UIKit
11 |
12 | open class DiffableViewController: UICollectionViewController {
| `- error: 'UICollectionViewController' is unavailable in watchOS
13 |
14 | public init(configuration: UICollectionViewCompositionalLayoutConfiguration = .init()) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h:19:12: note: 'UICollectionViewController' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UICollectionViewController : UIViewController <UICollectionViewDelegate, UICollectionViewDataSource>
| `- note: 'UICollectionViewController' has been explicitly marked unavailable here
20 |
21 | - (instancetype)initWithCollectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:214:23: error: 'UICollectionViewCompositionalLayoutConfiguration' is unavailable in watchOS
212 | final class CollectionViewControllerLayout {
213 |
214 | init(configuration: UICollectionViewCompositionalLayoutConfiguration) {
| `- error: 'UICollectionViewCompositionalLayoutConfiguration' is unavailable in watchOS
215 | self.configuration = configuration
216 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:41:12: note: 'UICollectionViewCompositionalLayoutConfiguration' has been explicitly marked unavailable here
39 |
40 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
41 | @interface UICollectionViewCompositionalLayoutConfiguration : NSObject<NSCopying>
| `- note: 'UICollectionViewCompositionalLayoutConfiguration' has been explicitly marked unavailable here
42 | @property(nonatomic) UICollectionViewScrollDirection scrollDirection; // default is UICollectionViewScrollDirectionVertical
43 | @property(nonatomic) CGFloat interSectionSpacing; // default is 0
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:218:28: error: 'UICollectionViewCompositionalLayout' is unavailable in watchOS
216 | }
217 |
218 | var compositionalLayout: UICollectionViewCompositionalLayout {
| `- error: 'UICollectionViewCompositionalLayout' is unavailable in watchOS
219 | UICollectionViewCompositionalLayout(
220 | sectionProvider: { [weak self] index, layoutEnvironment in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:51:12: note: 'UICollectionViewCompositionalLayout' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UICollectionViewCompositionalLayout : UICollectionViewLayout
| `- note: 'UICollectionViewCompositionalLayout' has been explicitly marked unavailable here
52 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section;
53 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section configuration:(UICollectionViewCompositionalLayoutConfiguration*)configuration;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:226:24: error: 'UICollectionViewCompositionalLayoutSectionProvider' is unavailable in watchOS
224 | }
225 |
226 | var sectionProvider: UICollectionViewCompositionalLayoutSectionProvider?
| `- error: 'UICollectionViewCompositionalLayoutSectionProvider' is unavailable in watchOS
227 |
228 | private let configuration: UICollectionViewCompositionalLayoutConfiguration
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:48:49: note: 'UICollectionViewCompositionalLayoutSectionProvider' has been explicitly marked unavailable here
46 | @end
47 |
48 | typedef NSCollectionLayoutSection * _Nullable (^UICollectionViewCompositionalLayoutSectionProvider)(NSInteger sectionIndex, id<NSCollectionLayoutEnvironment> layoutEnvironment) API_UNAVAILABLE(watchos);
| `- note: 'UICollectionViewCompositionalLayoutSectionProvider' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:228:30: error: 'UICollectionViewCompositionalLayoutConfiguration' is unavailable in watchOS
226 | var sectionProvider: UICollectionViewCompositionalLayoutSectionProvider?
227 |
228 | private let configuration: UICollectionViewCompositionalLayoutConfiguration
| `- error: 'UICollectionViewCompositionalLayoutConfiguration' is unavailable in watchOS
229 | }
230 | #endif
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:41:12: note: 'UICollectionViewCompositionalLayoutConfiguration' has been explicitly marked unavailable here
39 |
40 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
41 | @interface UICollectionViewCompositionalLayoutConfiguration : NSObject<NSCopying>
| `- note: 'UICollectionViewCompositionalLayoutConfiguration' has been explicitly marked unavailable here
42 | @property(nonatomic) UICollectionViewScrollDirection scrollDirection; // default is UICollectionViewScrollDirectionVertical
43 | @property(nonatomic) CGFloat interSectionSpacing; // default is 0
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:32:20: error: 'directionalLayoutMargins' is unavailable in watchOS
30 | collectionView.dataSource = diffableDataSource
31 | collectionView.delegate = self
32 | collectionView.directionalLayoutMargins = .zero
| `- error: 'directionalLayoutMargins' is unavailable in watchOS
33 |
34 | // TODO: Add a way to configure our CollectionView
/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:286:47: note: 'directionalLayoutMargins' has been explicitly marked unavailable here
284 | Vice versa for directionalLayoutMargins.trailing.
285 | */
286 | @property (nonatomic) NSDirectionalEdgeInsets directionalLayoutMargins API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'directionalLayoutMargins' has been explicitly marked unavailable here
287 |
288 | @property (nonatomic) BOOL preservesSuperviewLayoutMargins API_AVAILABLE(ios(8.0)); // default is NO - set to enable pass-through or cascading behavior of margins from this view’s parent to its children
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionSection.swift:62:67: error: cannot specialize non-generic type 'NSDiffableDataSourceSnapshot'
60 | private var nextID = 0
61 |
62 | mutating func snapshot(of sections: [any CollectionSection]) -> NSDiffableDataSourceSnapshot<SnapshotID, SnapshotID> {
| `- error: cannot specialize non-generic type 'NSDiffableDataSourceSnapshot'
63 | var snapshot = NSDiffableDataSourceSnapshot<SnapshotID, SnapshotID>()
64 | var newSectionIDs: [AnyHashable: SnapshotID] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:185:12: error: 'UITargetedPreview' is unavailable in watchOS
183 | return nil
184 | }
185 | return UITargetedPreview(view: cell, parameters: parameters)
| `- error: 'UITargetedPreview' is unavailable in watchOS
186 | }
187 |
/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/DiffableUI/DiffableViewController.swift:219:5: error: 'UICollectionViewCompositionalLayout' is unavailable in watchOS
217 |
218 | var compositionalLayout: UICollectionViewCompositionalLayout {
219 | UICollectionViewCompositionalLayout(
| `- error: 'UICollectionViewCompositionalLayout' is unavailable in watchOS
220 | sectionProvider: { [weak self] index, layoutEnvironment in
221 | self?.sectionProvider?(index, layoutEnvironment)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:51:12: note: 'UICollectionViewCompositionalLayout' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UICollectionViewCompositionalLayout : UICollectionViewLayout
| `- note: 'UICollectionViewCompositionalLayout' has been explicitly marked unavailable here
52 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section;
53 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section configuration:(UICollectionViewCompositionalLayoutConfiguration*)configuration;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/ContextMenu.swift:12:23: error: 'UIMenu' is unavailable in watchOS
10 |
11 | public struct ContextMenu<T: CollectionItem>: CollectionItem {
12 | init(item: T, menu: UIMenu, previewPadding: CGFloat?, previewCornerRadius: CGFloat) {
| `- error: 'UIMenu' is unavailable in watchOS
13 | self._innerItem = item
14 | self._menu = menu
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIMenu : UIMenuElement
| `- note: 'UIMenu' has been explicitly marked unavailable here
44 |
45 | /// Unique identifier.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/ContextMenu.swift:20:14: error: 'UIMenu' is unavailable in watchOS
18 |
19 | let _innerItem: T
20 | let _menu: UIMenu
| `- error: 'UIMenu' is unavailable in watchOS
21 | let _previewPadding: CGFloat?
22 | let _previewCornerRadius: CGFloat
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIMenu : UIMenuElement
| `- note: 'UIMenu' has been explicitly marked unavailable here
44 |
45 | /// Unique identifier.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DiffableViewController.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/ContextMenu.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ContextMenu.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/ContextMenu.swift:32:45: error: 'UIContextMenuConfiguration' is unavailable in watchOS
30 | public func setBehaviors(cell: T.CellType) { _innerItem.setBehaviors(cell: cell) }
31 | public func willDisplay() { _innerItem.willDisplay() }
32 | public func contextMenuConfiguration() -> UIContextMenuConfiguration? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
33 | UIContextMenuConfiguration(actionProvider: { [_menu] _ in _menu })
34 | }
/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/DiffableUI/Items/ContextMenu.swift:36:69: error: 'UIPreviewParameters' is unavailable in watchOS
34 | }
35 |
36 | public func contextMenuPreviewParameters(for cell: T.CellType) -> UIPreviewParameters? {
| `- error: 'UIPreviewParameters' is unavailable in watchOS
37 | guard let padding = _previewPadding else {
38 | return _innerItem.contextMenuPreviewParameters(for: cell)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| `- note: 'UIPreviewParameters' has been explicitly marked unavailable here
19 |
20 | /* The default parameters. Use these for most previews.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/ContextMenu.swift:60:13: error: 'UIMenu' is unavailable in watchOS
58 | /// Ignored when `previewPadding` is `nil`.
59 | public func contextMenu(
60 | _ menu: UIMenu,
| `- error: 'UIMenu' is unavailable in watchOS
61 | previewPadding: CGFloat? = nil,
62 | previewCornerRadius: CGFloat = 0) -> some CollectionItem
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIMenu : UIMenuElement
| `- note: 'UIMenu' has been explicitly marked unavailable here
44 |
45 | /// Unique identifier.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/ContextMenu.swift:33:31: error: missing arguments for parameters '__identifier', 'previewProvider' in call
31 | public func willDisplay() { _innerItem.willDisplay() }
32 | public func contextMenuConfiguration() -> UIContextMenuConfiguration? {
33 | UIContextMenuConfiguration(actionProvider: { [_menu] _ in _menu })
| `- error: missing arguments for parameters '__identifier', 'previewProvider' in call
34 | }
35 |
/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:66:1: note: 'init(__identifier:previewProvider:actionProvider:)' declared here
64 | * @param actionProvider Optional action provider block, called when the menu is about to be presented.
65 | */
66 | + (instancetype)configurationWithIdentifier:(nullable id<NSCopying>)identifier
| `- note: 'init(__identifier:previewProvider:actionProvider:)' declared here
67 | previewProvider:(nullable UIContextMenuContentPreviewProvider)previewProvider
68 | actionProvider:(nullable UIContextMenuActionProvider)actionProvider;
SwiftCompile normal arm64 Compiling\ CollectionItem.swift,\ CollectionSection.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionItem.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionSection.swift (in target 'DiffableUI' from project 'DiffableUI')
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionItem.swift:19:28: error: 'UICollectionViewCell' is unavailable in watchOS
17 | /// pick up `@MainActor`, so `configure(cell:)` can use the cell directly.
18 | public protocol CollectionItem: Equatable, Hashable, Identifiable {
19 | associatedtype CellType: UICollectionViewCell
| `- error: 'UICollectionViewCell' is unavailable in watchOS
20 | associatedtype ItemType: Hashable & Equatable
21 | var id: AnyHashable { get }
/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/DiffableUI/CollectionItem.swift:29:49: error: 'UIContextMenuConfiguration' is unavailable in watchOS
27 | @MainActor func setBehaviors(cell: CellType)
28 | @MainActor func willDisplay()
29 | @MainActor func contextMenuConfiguration() -> UIContextMenuConfiguration?
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
30 | /// How UIKit draws `cell` while its context menu is open: the lifted preview,
31 | /// and the one that animates back when the menu closes.
/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/DiffableUI/CollectionItem.swift:33:71: error: 'UIPreviewParameters' is unavailable in watchOS
31 | /// and the one that animates back when the menu closes.
32 | /// Return `nil`, the default, to keep UIKit's default preview.
33 | @MainActor func contextMenuPreviewParameters(for cell: CellType) -> UIPreviewParameters?
| `- error: 'UIPreviewParameters' is unavailable in watchOS
34 | }
35 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| `- note: 'UIPreviewParameters' has been explicitly marked unavailable here
19 |
20 | /* The default parameters. Use these for most previews.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionItem.swift:46:56: error: 'UIContextMenuConfiguration' is unavailable in watchOS
44 | @MainActor public func willDisplay() {}
45 |
46 | @MainActor public func contextMenuConfiguration() -> UIContextMenuConfiguration? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
47 | nil
48 | }
/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/DiffableUI/CollectionItem.swift:50:78: error: 'UIPreviewParameters' is unavailable in watchOS
48 | }
49 |
50 | @MainActor public func contextMenuPreviewParameters(for cell: CellType) -> UIPreviewParameters? {
| `- error: 'UIPreviewParameters' is unavailable in watchOS
51 | nil
52 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| `- note: 'UIPreviewParameters' has been explicitly marked unavailable here
19 |
20 | /* The default parameters. Use these for most previews.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionItem.swift:58:41: error: 'UICollectionViewCell' is unavailable in watchOS
56 | }
57 |
58 | @MainActor func configureCell(_ cell: UICollectionViewCell) {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
59 | guard let innerCell = cell as? CellType else { return }
60 | configure(cell: innerCell)
/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/DiffableUI/CollectionItem.swift:63:44: error: 'UICollectionViewCell' is unavailable in watchOS
61 | }
62 |
63 | @MainActor func setCellBehaviors(_ cell: UICollectionViewCell) {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
64 | guard let innerCell = cell as? CellType else { return }
65 | setBehaviors(cell: innerCell)
/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/DiffableUI/CollectionItem.swift:68:63: error: 'UICollectionViewCell' is unavailable in watchOS
66 | }
67 |
68 | @MainActor func contextMenuPreviewParametersForCell(_ cell: UICollectionViewCell) -> UIPreviewParameters? {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
69 | guard let innerCell = cell as? CellType else { return nil }
70 | return contextMenuPreviewParameters(for: innerCell)
/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/DiffableUI/CollectionItem.swift:68:88: error: 'UIPreviewParameters' is unavailable in watchOS
66 | }
67 |
68 | @MainActor func contextMenuPreviewParametersForCell(_ cell: UICollectionViewCell) -> UIPreviewParameters? {
| `- error: 'UIPreviewParameters' is unavailable in watchOS
69 | guard let innerCell = cell as? CellType else { return nil }
70 | return contextMenuPreviewParameters(for: innerCell)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| `- note: 'UIPreviewParameters' has been explicitly marked unavailable here
19 |
20 | /* The default parameters. Use these for most previews.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionItem.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CollectionItem.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionSection.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CollectionSection.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionSection.swift:17:39: error: 'NSCollectionLayoutEnvironment' is unavailable in watchOS
15 | /// `@MainActor` because UIKit's layout types are. Like `CollectionItem`'s cell
16 | /// requirements, an implementation declared with the conformance picks this up.
17 | @MainActor func layout(environment: NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection
| `- error: 'NSCollectionLayoutEnvironment' is unavailable in watchOS
18 | }
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:574:11: note: 'NSCollectionLayoutEnvironment' has been explicitly marked unavailable here
572 |
573 | API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
574 | @protocol NSCollectionLayoutEnvironment<NSObject>
| `- note: 'NSCollectionLayoutEnvironment' has been explicitly marked unavailable here
575 | @property(nonatomic,readonly) id<NSCollectionLayoutContainer> container;
576 | @property(nonatomic,readonly) UITraitCollection *traitCollection;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionSection.swift:17:73: error: 'NSCollectionLayoutSection' is unavailable in watchOS
15 | /// `@MainActor` because UIKit's layout types are. Like `CollectionItem`'s cell
16 | /// requirements, an implementation declared with the conformance picks this up.
17 | @MainActor func layout(environment: NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection
| `- error: 'NSCollectionLayoutSection' is unavailable in watchOS
18 | }
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:115:12: note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
113 |
114 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
115 | @interface NSCollectionLayoutSection : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
116 | + (instancetype)sectionWithGroup:(NSCollectionLayoutGroup*)group;
117 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionSection.swift:62:67: error: cannot specialize non-generic type 'NSDiffableDataSourceSnapshot'
60 | private var nextID = 0
61 |
62 | mutating func snapshot(of sections: [any CollectionSection]) -> NSDiffableDataSourceSnapshot<SnapshotID, SnapshotID> {
| `- error: cannot specialize non-generic type 'NSDiffableDataSourceSnapshot'
63 | var snapshot = NSDiffableDataSourceSnapshot<SnapshotID, SnapshotID>()
64 | var newSectionIDs: [AnyHashable: SnapshotID] = [:]
SwiftCompile normal arm64 Compiling\ ForEach.swift,\ Padding.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/ForEach.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/Padding.swift (in target 'DiffableUI' from project 'DiffableUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/ForEach.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ForEach.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/Padding.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Padding.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/Padding.swift:45:45: error: 'UIContextMenuConfiguration' is unavailable in watchOS
43 | }
44 |
45 | public func contextMenuConfiguration() -> UIContextMenuConfiguration? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
46 | _innerItem.contextMenuConfiguration()
47 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/DiffableUI/Items/Padding.swift:49:69: error: 'UIPreviewParameters' is unavailable in watchOS
47 | }
48 |
49 | public func contextMenuPreviewParameters(for cell: T.CellType) -> UIPreviewParameters? {
| `- error: 'UIPreviewParameters' is unavailable in watchOS
50 | _innerItem.contextMenuPreviewParameters(for: cell)
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/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| `- note: 'UIPreviewParameters' has been explicitly marked unavailable here
19 |
20 | /* The default parameters. Use these for most previews.
SwiftCompile normal arm64 Compiling\ Tappable.swift,\ Taskable.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/Tappable.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/Taskable.swift (in target 'DiffableUI' from project 'DiffableUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/Tappable.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Tappable.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/Taskable.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Taskable.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/Tappable.swift:49:45: error: 'UIContextMenuConfiguration' is unavailable in watchOS
47 | }
48 |
49 | public func contextMenuConfiguration() -> UIContextMenuConfiguration? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
50 | _innerItem.contextMenuConfiguration()
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/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/DiffableUI/Items/Tappable.swift:53:69: error: 'UIPreviewParameters' is unavailable in watchOS
51 | }
52 |
53 | public func contextMenuPreviewParameters(for cell: T.CellType) -> UIPreviewParameters? {
| `- error: 'UIPreviewParameters' is unavailable in watchOS
54 | _innerItem.contextMenuPreviewParameters(for: cell)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| `- note: 'UIPreviewParameters' has been explicitly marked unavailable here
19 |
20 | /* The default parameters. Use these for most previews.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/Taskable.swift:59:45: error: 'UIContextMenuConfiguration' is unavailable in watchOS
57 | }
58 |
59 | public func contextMenuConfiguration() -> UIContextMenuConfiguration? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
60 | _innerItem.contextMenuConfiguration()
61 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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
SwiftCompile normal arm64 Compiling\ Empty.swift,\ HostingItem.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Empty.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/HostingItem.swift (in target 'DiffableUI' from project 'DiffableUI')
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Empty.swift:17:31: error: 'UICollectionViewCell' is unavailable in watchOS
15 | public var item = EmptyHashable()
16 | public var reuseIdentifier: String { "empty" }
17 | public func configure(cell: UICollectionViewCell) {}
| `- error: 'UICollectionViewCell' is unavailable in watchOS
18 |
19 | public struct EmptyHashable: Hashable {
/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/DiffableUI/UI/Items/Empty.swift:12:15: warning: unavailable class 'UICollectionViewCell' was used to satisfy a requirement of protocol 'CollectionItem'; this will be an error in a future Swift language mode
10 | import UIKit
11 |
12 | public struct Empty: CollectionItem {
| `- warning: unavailable class 'UICollectionViewCell' was used to satisfy a requirement of protocol 'CollectionItem'; this will be an error in a future Swift language mode
13 | public init() {}
14 | public var id: AnyHashable { item.id }
/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' declared here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UICollectionViewCell : UICollectionReusableView
| `- note: 'UICollectionViewCell' declared here
66 |
67 | /// Returns the current configuration state for the cell.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionItem.swift:19:18: note: requirement 'CellType' declared here
17 | /// pick up `@MainActor`, so `configure(cell:)` can use the cell directly.
18 | public protocol CollectionItem: Equatable, Hashable, Identifiable {
19 | associatedtype CellType: UICollectionViewCell
| `- note: requirement 'CellType' declared here
20 | associatedtype ItemType: Hashable & Equatable
21 | var id: AnyHashable { get }
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/HostingItem.swift:49:33: error: 'UICollectionViewCell' is unavailable in watchOS
47 | }
48 |
49 | public func configure(cell: UICollectionViewCell) {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
50 | cell.contentConfiguration = UIHostingConfiguration { content }
51 | .margins(.all, margins)
/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/DiffableUI/UI/Items/HostingItem.swift:54:47: error: 'UIContextMenuConfiguration' is unavailable in watchOS
52 | }
53 |
54 | public func contextMenuConfiguration() -> UIContextMenuConfiguration? { nil }
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
55 | }
56 | #endif
/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/DiffableUI/UI/Items/HostingItem.swift:22:15: warning: unavailable class 'UICollectionViewCell' was used to satisfy a requirement of protocol 'CollectionItem'; this will be an error in a future Swift language mode
20 | /// into it and `@State` inside the content survives.
21 | @available(iOS 16.0, *)
22 | public struct HostingItem<Content: View>: CollectionItem {
| `- warning: unavailable class 'UICollectionViewCell' was used to satisfy a requirement of protocol 'CollectionItem'; this will be an error in a future Swift language mode
23 | public var id: AnyHashable
24 | /// Unique to each instance, so a reload never mistakes new content for the old.
/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' declared here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UICollectionViewCell : UICollectionReusableView
| `- note: 'UICollectionViewCell' declared here
66 |
67 | /// Returns the current configuration state for the cell.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionItem.swift:19:18: note: requirement 'CellType' declared here
17 | /// pick up `@MainActor`, so `configure(cell:)` can use the cell directly.
18 | public protocol CollectionItem: Equatable, Hashable, Identifiable {
19 | associatedtype CellType: UICollectionViewCell
| `- note: requirement 'CellType' declared here
20 | associatedtype ItemType: Hashable & Equatable
21 | var id: AnyHashable { get }
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/HostingItem.swift:50:14: error: 'contentConfiguration' is unavailable in watchOS
48 |
49 | public func configure(cell: UICollectionViewCell) {
50 | cell.contentConfiguration = UIHostingConfiguration { content }
| `- error: 'contentConfiguration' is unavailable in watchOS
51 | .margins(.all, margins)
52 | }
UIKit.UICollectionViewCell.contentConfiguration:4:41: note: 'contentConfiguration' has been explicitly marked unavailable here
2 | @available(iOS 14.0, tvOS 14.0, *)
3 | @available(watchOS, unavailable)
4 | @MainActor @preconcurrency public var contentConfiguration: (any UIContentConfiguration)? { get set }}
| `- note: 'contentConfiguration' has been explicitly marked unavailable here
5 |
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/HostingItem.swift:50:37: error: 'UIHostingConfiguration' is unavailable in watchOS
48 |
49 | public func configure(cell: UICollectionViewCell) {
50 | cell.contentConfiguration = UIHostingConfiguration { content }
| `- error: 'UIHostingConfiguration' is unavailable in watchOS
51 | .margins(.all, margins)
52 | }
SwiftUI.UIHostingConfiguration:4:15: note: 'UIHostingConfiguration' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | @available(watchOS, unavailable)
4 | public struct UIHostingConfiguration<Content, Background> : UIContentConfiguration, ~Sendable where Content : View, Background : View {
| `- note: 'UIHostingConfiguration' has been explicitly marked unavailable here
5 | public func background<B>(@ContentBuilder content: () -> B) -> UIHostingConfiguration<Content, B> where B : View
6 | public func background<S>(_ style: S) -> UIHostingConfiguration<Content, _UIHostingConfigurationBackgroundView<S>> where S : ShapeStyle
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Empty.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Empty.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/HostingItem.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HostingItem.swift
SwiftCompile normal arm64 Compiling\ Label.swift,\ Toggle.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Label.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Toggle.swift (in target 'DiffableUI' from project 'DiffableUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Label.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Label.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Toggle.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Toggle.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Label.swift:35:31: error: 'label' is unavailable in watchOS
33 | struct Configuration {
34 | var alignment: NSTextAlignment = .natural
35 | var textColor: UIColor = .label
| `- error: 'label' is unavailable in watchOS
36 | var fontStyle: UIFont.TextStyle = .body
37 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Label.swift:94:17: error: 'UILabel' is unavailable in watchOS
92 |
93 | private let label = {
94 | let label = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
95 | label.adjustsFontForContentSizeCategory = true
96 | return label
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Label.swift:94:17: error: 'init()' is unavailable in watchOS
92 |
93 | private let label = {
94 | let label = UILabel()
| `- error: 'init()' is unavailable in watchOS
95 | label.adjustsFontForContentSizeCategory = true
96 | return label
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Label.swift:101:17: error: 'directionalLayoutMargins' is unavailable in watchOS
99 | private func setUpViews() {
100 | contentView.addSubview(label)
101 | contentView.directionalLayoutMargins = .zero
| `- error: 'directionalLayoutMargins' is unavailable in watchOS
102 | }
103 |
/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:286:47: note: 'directionalLayoutMargins' has been explicitly marked unavailable here
284 | Vice versa for directionalLayoutMargins.trailing.
285 | */
286 | @property (nonatomic) NSDirectionalEdgeInsets directionalLayoutMargins API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'directionalLayoutMargins' has been explicitly marked unavailable here
287 |
288 | @property (nonatomic) BOOL preservesSuperviewLayoutMargins API_AVAILABLE(ios(8.0)); // default is NO - set to enable pass-through or cascading behavior of margins from this view’s parent to its children
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Toggle.swift:62:24: error: 'UISwitch' is unavailable in watchOS
60 | public var onChange: ((Bool) -> Void)?
61 |
62 | private let toggle = UISwitch()
| `- error: 'UISwitch' is unavailable in watchOS
63 |
64 | private func setUpView() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h:23:12: note: 'UISwitch' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23 | @interface UISwitch : UIControl <NSCoding>
| `- note: 'UISwitch' has been explicitly marked unavailable here
24 |
25 | @property(nullable, nonatomic, strong) UIColor *onTintColor API_AVAILABLE(ios(5.0)) UI_APPEARANCE_SELECTOR;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Toggle.swift:62:24: error: 'init()' is unavailable in watchOS
60 | public var onChange: ((Bool) -> Void)?
61 |
62 | private let toggle = UISwitch()
| `- error: 'init()' is unavailable in watchOS
63 |
64 | private func setUpView() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Toggle.swift:51:17: error: 'directionalLayoutMargins' is unavailable in watchOS
49 | public override func setUp() {
50 | super.setUp()
51 | contentView.directionalLayoutMargins = .zero
| `- error: 'directionalLayoutMargins' is unavailable in watchOS
52 | setUpView()
53 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:286:47: note: 'directionalLayoutMargins' has been explicitly marked unavailable here
284 | Vice versa for directionalLayoutMargins.trailing.
285 | */
286 | @property (nonatomic) NSDirectionalEdgeInsets directionalLayoutMargins API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'directionalLayoutMargins' has been explicitly marked unavailable here
287 |
288 | @property (nonatomic) BOOL preservesSuperviewLayoutMargins API_AVAILABLE(ios(8.0)); // default is NO - set to enable pass-through or cascading behavior of margins from this view’s parent to its children
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Toggle.swift:67:12: error: 'addAction(_:for:)' is unavailable in watchOS
65 | contentView.addSubview(toggle)
66 | toggle.center(in: contentView)
67 | toggle.addAction(
| `- error: 'addAction(_:for:)' is unavailable in watchOS
68 | UIAction(
69 | handler: { [weak self] _ in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Toggle.swift:68:7: error: 'UIAction' is unavailable in watchOS
66 | toggle.center(in: contentView)
67 | toggle.addAction(
68 | UIAction(
| `- error: 'UIAction' is unavailable in watchOS
69 | handler: { [weak self] _ in
70 | guard let self else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
SwiftCompile normal arm64 Compiling\ CollectionItemBuilder.swift,\ CollectionViewBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/ResultBuilders/CollectionItemBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/ResultBuilders/CollectionViewBuilder.swift (in target 'DiffableUI' from project 'DiffableUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/ResultBuilders/CollectionItemBuilder.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CollectionItemBuilder.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/ResultBuilders/CollectionViewBuilder.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CollectionViewBuilder.swift
SwiftCompile normal arm64 Compiling\ CollectionViewCell.swift,\ NSDirectionalEdgeInsets+Init.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/CollectionViewCell.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Extensions/NSDirectionalEdgeInsets+Init.swift (in target 'DiffableUI' from project 'DiffableUI')
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/CollectionViewCell.swift:12:32: error: 'UICollectionViewCell' is unavailable in watchOS
10 | import UIKit
11 |
12 | open class CollectionViewCell: UICollectionViewCell {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
13 |
14 | override public init(frame: CGRect) {
/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.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/CollectionViewCell.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CollectionViewCell.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Extensions/NSDirectionalEdgeInsets+Init.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NSDirectionalEdgeInsets+Init.swift
SwiftCompile normal arm64 Compiling\ Grid.swift,\ List.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift (in target 'DiffableUI' from project 'DiffableUI')
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:58:37: error: 'NSCollectionLayoutEnvironment' is unavailable in watchOS
56 | }
57 |
58 | public func layout(environment: NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection {
| `- error: 'NSCollectionLayoutEnvironment' is unavailable in watchOS
59 | let columns = columnCount(fitting: environment.container.effectiveContentSize.width)
60 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:574:11: note: 'NSCollectionLayoutEnvironment' has been explicitly marked unavailable here
572 |
573 | API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
574 | @protocol NSCollectionLayoutEnvironment<NSObject>
| `- note: 'NSCollectionLayoutEnvironment' has been explicitly marked unavailable here
575 | @property(nonatomic,readonly) id<NSCollectionLayoutContainer> container;
576 | @property(nonatomic,readonly) UITraitCollection *traitCollection;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:58:71: error: 'NSCollectionLayoutSection' is unavailable in watchOS
56 | }
57 |
58 | public func layout(environment: NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection {
| `- error: 'NSCollectionLayoutSection' is unavailable in watchOS
59 | let columns = columnCount(fitting: environment.container.effectiveContentSize.width)
60 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:115:12: note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
113 |
114 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
115 | @interface NSCollectionLayoutSection : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
116 | + (instancetype)sectionWithGroup:(NSCollectionLayoutGroup*)group;
117 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:125:25: error: 'NSCollectionLayoutDimension' is unavailable in watchOS
123 | /// `nil` for the default, an estimated 100 points. UIKit only makes
124 | /// dimensions on the main actor, so `layout(environment:)` fills it in.
125 | var itemHeight: NSCollectionLayoutDimension?
| `- error: 'NSCollectionLayoutDimension' is unavailable in watchOS
126 | var spacing: CGFloat = 0
127 | var insets: NSDirectionalEdgeInsets = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:262:12: note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
260 |
261 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
262 | @interface NSCollectionLayoutDimension : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
263 | // dimension is computed as a fraction of the width of the containing group
264 | + (instancetype)fractionalWidthDimension:(CGFloat)fractionalWidth;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:129:37: error: 'UIContentInsetsReference' is unavailable in watchOS
127 | var insets: NSDirectionalEdgeInsets = .zero
128 | var itemInsets: NSDirectionalEdgeInsets = .zero
129 | var contentInsetsReference: UIContentInsetsReference = .automatic
| `- error: 'UIContentInsetsReference' is unavailable in watchOS
130 | }
131 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:31:28: note: 'UIContentInsetsReference' has been explicitly marked unavailable here
29 | @protocol NSCollectionLayoutVisibleItem;
30 |
31 | typedef NS_ENUM(NSInteger, UIContentInsetsReference) {
| `- note: 'UIContentInsetsReference' has been explicitly marked unavailable here
32 | UIContentInsetsReferenceAutomatic, // use system defined default
33 | UIContentInsetsReferenceNone, // no additional insets
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:157:41: error: 'NSCollectionLayoutDimension' is unavailable in watchOS
155 | }
156 |
157 | public func itemHeight(_ dimension: NSCollectionLayoutDimension) -> Self {
| `- error: 'NSCollectionLayoutDimension' is unavailable in watchOS
158 | var copy = self
159 | copy.configuration.itemHeight = dimension
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:262:12: note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
260 |
261 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
262 | @interface NSCollectionLayoutDimension : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
263 | // dimension is computed as a fraction of the width of the containing group
264 | + (instancetype)fractionalWidthDimension:(CGFloat)fractionalWidth;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:188:66: error: 'UIContentInsetsReference' is unavailable in watchOS
186 | }
187 |
188 | public func contentInsetsReference(_ contentInsetsReference: UIContentInsetsReference) -> Self {
| `- error: 'UIContentInsetsReference' is unavailable in watchOS
189 | var copy = self
190 | copy.configuration.contentInsetsReference = contentInsetsReference
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:31:28: note: 'UIContentInsetsReference' has been explicitly marked unavailable here
29 | @protocol NSCollectionLayoutVisibleItem;
30 |
31 | typedef NS_ENUM(NSInteger, UIContentInsetsReference) {
| `- note: 'UIContentInsetsReference' has been explicitly marked unavailable here
32 | UIContentInsetsReferenceAutomatic, // use system defined default
33 | UIContentInsetsReferenceNone, // no additional insets
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:70:24: error: 'NSCollectionLayoutSize' is unavailable in watchOS
68 | let itemHeight = configuration.itemHeight ?? .estimated(100)
69 |
70 | let itemSize = NSCollectionLayoutSize(
| `- error: 'NSCollectionLayoutSize' is unavailable in watchOS
71 | widthDimension: .fractionalWidth(1.0 / CGFloat(columns)),
72 | heightDimension: itemHeight)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:303:12: note: 'NSCollectionLayoutSize' has been explicitly marked unavailable here
301 |
302 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
303 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutSize' has been explicitly marked unavailable here
304 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
305 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:78:20: error: 'NSCollectionLayoutItem' is unavailable in watchOS
76 | itemInsets.trailing += halfSpacing
77 |
78 | let item = NSCollectionLayoutItem(layoutSize: itemSize)
| `- error: 'NSCollectionLayoutItem' is unavailable in watchOS
79 | item.contentInsets = itemInsets
80 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:149:12: note: 'NSCollectionLayoutItem' has been explicitly marked unavailable here
147 |
148 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
149 | @interface NSCollectionLayoutItem : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutItem' has been explicitly marked unavailable here
150 | + (instancetype)itemWithLayoutSize:(NSCollectionLayoutSize*)layoutSize;
151 | + (instancetype)itemWithLayoutSize:(NSCollectionLayoutSize*)layoutSize supplementaryItems:(NSArray<NSCollectionLayoutSupplementaryItem*>*)supplementaryItems;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:81:25: error: 'NSCollectionLayoutSize' is unavailable in watchOS
79 | item.contentInsets = itemInsets
80 |
81 | let groupSize = NSCollectionLayoutSize(
| `- error: 'NSCollectionLayoutSize' is unavailable in watchOS
82 | widthDimension: .fractionalWidth(1),
83 | heightDimension: itemHeight)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:303:12: note: 'NSCollectionLayoutSize' has been explicitly marked unavailable here
301 |
302 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
303 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutSize' has been explicitly marked unavailable here
304 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
305 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:85:21: error: 'NSCollectionLayoutGroup' is unavailable in watchOS
83 | heightDimension: itemHeight)
84 |
85 | let group = NSCollectionLayoutGroup.horizontal(
| `- error: 'NSCollectionLayoutGroup' is unavailable in watchOS
86 | layoutSize: groupSize,
87 | repeatingSubitem: 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/UICollectionViewCompositionalLayout.h:217:12: note: 'NSCollectionLayoutGroup' has been explicitly marked unavailable here
215 |
216 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
217 | @interface NSCollectionLayoutGroup : NSCollectionLayoutItem<NSCopying>
| `- note: 'NSCollectionLayoutGroup' has been explicitly marked unavailable here
218 |
219 | /// Specifies a group that will horizontally repeat its subitem a fixed number of times.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:85:45: error: 'horizontal(layoutSize:repeatingSubitem:count:)' is unavailable in watchOS
83 | heightDimension: itemHeight)
84 |
85 | let group = NSCollectionLayoutGroup.horizontal(
| `- error: 'horizontal(layoutSize:repeatingSubitem:count:)' is unavailable in watchOS
86 | layoutSize: groupSize,
87 | repeatingSubitem: 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/UICollectionViewCompositionalLayout.h:223:1: note: 'horizontal(layoutSize:repeatingSubitem:count:)' has been explicitly marked unavailable here
221 | /// @param subitem The subitem to repeat. It is the caller's responsibility to ensure that the group's @c layoutSize can fit @c count repetitions of this item.
222 | /// @param count The number of times to repeat the passed in subitem.
223 | + (instancetype)horizontalGroupWithLayoutSize:(NSCollectionLayoutSize*)layoutSize repeatingSubitem:(NSCollectionLayoutItem*)subitem count:(NSInteger)count API_AVAILABLE(ios(16.0), tvos(16.0)) API_UNAVAILABLE(watchos);
| `- note: 'horizontal(layoutSize:repeatingSubitem:count:)' has been explicitly marked unavailable here
224 |
225 | // Specifies a group that will repeat items until available horizontal space is exhausted.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:95:23: error: 'NSCollectionLayoutSection' is unavailable in watchOS
93 | sectionInsets.trailing -= halfSpacing
94 |
95 | let section = NSCollectionLayoutSection(group: group)
| `- error: 'NSCollectionLayoutSection' is unavailable in watchOS
96 | section.contentInsets = sectionInsets
97 | section.contentInsetsReference = configuration.contentInsetsReference
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:115:12: note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
113 |
114 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
115 | @interface NSCollectionLayoutSection : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
116 | + (instancetype)sectionWithGroup:(NSCollectionLayoutGroup*)group;
117 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:97:17: error: 'contentInsetsReference' is unavailable in watchOS
95 | let section = NSCollectionLayoutSection(group: group)
96 | section.contentInsets = sectionInsets
97 | section.contentInsetsReference = configuration.contentInsetsReference
| `- error: 'contentInsetsReference' is unavailable in watchOS
98 | section.interGroupSpacing = configuration.spacing
99 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:124:47: note: 'contentInsetsReference' has been explicitly marked unavailable here
122 |
123 | // default is UIContentInsetsReferenceAutomatic i.e. following the layout configuration's contentInsetsReference
124 | @property(nonatomic) UIContentInsetsReference contentInsetsReference API_AVAILABLE(ios(14.0), tvos(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'contentInsetsReference' has been explicitly marked unavailable here
125 |
126 | /// Specifies the content insets reference for boundary supplementaries in this section.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:18:35: error: 'NSCollectionLayoutEnvironment' is unavailable in watchOS
16 |
17 | // TODO: Make this not callable but still conformant somehow
18 | public func layout(environment: NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection {
| `- error: 'NSCollectionLayoutEnvironment' is unavailable in watchOS
19 | let itemSize = NSCollectionLayoutSize(
20 | widthDimension: .fractionalWidth(1),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:574:11: note: 'NSCollectionLayoutEnvironment' has been explicitly marked unavailable here
572 |
573 | API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
574 | @protocol NSCollectionLayoutEnvironment<NSObject>
| `- note: 'NSCollectionLayoutEnvironment' has been explicitly marked unavailable here
575 | @property(nonatomic,readonly) id<NSCollectionLayoutContainer> container;
576 | @property(nonatomic,readonly) UITraitCollection *traitCollection;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:18:69: error: 'NSCollectionLayoutSection' is unavailable in watchOS
16 |
17 | // TODO: Make this not callable but still conformant somehow
18 | public func layout(environment: NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection {
| `- error: 'NSCollectionLayoutSection' is unavailable in watchOS
19 | let itemSize = NSCollectionLayoutSize(
20 | widthDimension: .fractionalWidth(1),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:115:12: note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
113 |
114 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
115 | @interface NSCollectionLayoutSection : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
116 | + (instancetype)sectionWithGroup:(NSCollectionLayoutGroup*)group;
117 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:55:21: error: 'NSCollectionLayoutDimension' is unavailable in watchOS
53 | /// `nil` for the default, an estimated 100 points. UIKit only makes
54 | /// dimensions on the main actor, so `layout(environment:)` fills it in.
55 | var itemHeight: NSCollectionLayoutDimension?
| `- error: 'NSCollectionLayoutDimension' is unavailable in watchOS
56 | var insets: NSDirectionalEdgeInsets = .zero
57 | var contentInsetsReference: UIContentInsetsReference = .automatic
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:262:12: note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
260 |
261 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
262 | @interface NSCollectionLayoutDimension : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
263 | // dimension is computed as a fraction of the width of the containing group
264 | + (instancetype)fractionalWidthDimension:(CGFloat)fractionalWidth;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:57:33: error: 'UIContentInsetsReference' is unavailable in watchOS
55 | var itemHeight: NSCollectionLayoutDimension?
56 | var insets: NSDirectionalEdgeInsets = .zero
57 | var contentInsetsReference: UIContentInsetsReference = .automatic
| `- error: 'UIContentInsetsReference' is unavailable in watchOS
58 | }
59 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:31:28: note: 'UIContentInsetsReference' has been explicitly marked unavailable here
29 | @protocol NSCollectionLayoutVisibleItem;
30 |
31 | typedef NS_ENUM(NSInteger, UIContentInsetsReference) {
| `- note: 'UIContentInsetsReference' has been explicitly marked unavailable here
32 | UIContentInsetsReferenceAutomatic, // use system defined default
33 | UIContentInsetsReferenceNone, // no additional insets
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:60:39: error: 'NSCollectionLayoutDimension' is unavailable in watchOS
58 | }
59 |
60 | public func itemHeight(_ dimension: NSCollectionLayoutDimension) -> Self {
| `- error: 'NSCollectionLayoutDimension' is unavailable in watchOS
61 | var copy = self
62 | copy.configuration.itemHeight = dimension
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:262:12: note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
260 |
261 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
262 | @interface NSCollectionLayoutDimension : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
263 | // dimension is computed as a fraction of the width of the containing group
264 | + (instancetype)fractionalWidthDimension:(CGFloat)fractionalWidth;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:66:64: error: 'UIContentInsetsReference' is unavailable in watchOS
64 | }
65 |
66 | public func contentInsetsReference(_ contentInsetsReference: UIContentInsetsReference) -> Self {
| `- error: 'UIContentInsetsReference' is unavailable in watchOS
67 | var copy = self
68 | copy.configuration.contentInsetsReference = contentInsetsReference
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:31:28: note: 'UIContentInsetsReference' has been explicitly marked unavailable here
29 | @protocol NSCollectionLayoutVisibleItem;
30 |
31 | typedef NS_ENUM(NSInteger, UIContentInsetsReference) {
| `- note: 'UIContentInsetsReference' has been explicitly marked unavailable here
32 | UIContentInsetsReferenceAutomatic, // use system defined default
33 | UIContentInsetsReferenceNone, // no additional insets
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:19:20: error: 'NSCollectionLayoutSize' is unavailable in watchOS
17 | // TODO: Make this not callable but still conformant somehow
18 | public func layout(environment: NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection {
19 | let itemSize = NSCollectionLayoutSize(
| `- error: 'NSCollectionLayoutSize' is unavailable in watchOS
20 | widthDimension: .fractionalWidth(1),
21 | heightDimension: configuration.itemHeight ?? .estimated(100))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:303:12: note: 'NSCollectionLayoutSize' has been explicitly marked unavailable here
301 |
302 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
303 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutSize' has been explicitly marked unavailable here
304 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
305 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:23:16: error: 'NSCollectionLayoutItem' is unavailable in watchOS
21 | heightDimension: configuration.itemHeight ?? .estimated(100))
22 |
23 | let item = NSCollectionLayoutItem(layoutSize: itemSize)
| `- error: 'NSCollectionLayoutItem' is unavailable in watchOS
24 |
25 | let group = NSCollectionLayoutGroup.horizontal(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:149:12: note: 'NSCollectionLayoutItem' has been explicitly marked unavailable here
147 |
148 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
149 | @interface NSCollectionLayoutItem : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutItem' has been explicitly marked unavailable here
150 | + (instancetype)itemWithLayoutSize:(NSCollectionLayoutSize*)layoutSize;
151 | + (instancetype)itemWithLayoutSize:(NSCollectionLayoutSize*)layoutSize supplementaryItems:(NSArray<NSCollectionLayoutSupplementaryItem*>*)supplementaryItems;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Grid.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile List.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:25:17: error: 'NSCollectionLayoutGroup' is unavailable in watchOS
23 | let item = NSCollectionLayoutItem(layoutSize: itemSize)
24 |
25 | let group = NSCollectionLayoutGroup.horizontal(
| `- error: 'NSCollectionLayoutGroup' is unavailable in watchOS
26 | layoutSize: itemSize,
27 | subitem: 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/UICollectionViewCompositionalLayout.h:217:12: note: 'NSCollectionLayoutGroup' has been explicitly marked unavailable here
215 |
216 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
217 | @interface NSCollectionLayoutGroup : NSCollectionLayoutItem<NSCopying>
| `- note: 'NSCollectionLayoutGroup' has been explicitly marked unavailable here
218 |
219 | /// Specifies a group that will horizontally repeat its subitem a fixed number of times.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:25:41: error: 'horizontal(layoutSize:subitem:count:)' is unavailable in watchOS
23 | let item = NSCollectionLayoutItem(layoutSize: itemSize)
24 |
25 | let group = NSCollectionLayoutGroup.horizontal(
| `- error: 'horizontal(layoutSize:subitem:count:)' is unavailable in watchOS
26 | layoutSize: itemSize,
27 | subitem: 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/UICollectionViewCompositionalLayout.h:606:1: note: 'horizontal(layoutSize:subitem:count:)' has been explicitly marked unavailable here
604 | // Specifies a group that will have N items equally sized along the horizontal axis. use interItemSpacing to insert space between items
605 | // Forces the width dimension of the subitem to .fractionalWidth(1.0/count).
606 | + (instancetype)horizontalGroupWithLayoutSize:(NSCollectionLayoutSize*)layoutSize subitem:(NSCollectionLayoutItem*)subitem count:(NSInteger)count API_DEPRECATED_WITH_REPLACEMENT("+horizontalGroupWithLayoutSize:repeatingSubitem:count:", ios(13.0, 16.0), tvos(13.0, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'horizontal(layoutSize:subitem:count:)' has been explicitly marked unavailable here
607 |
608 | // Specifies a group that will have N items equally sized along the vertical axis. use interItemSpacing to insert space between items
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:30:19: error: 'NSCollectionLayoutSection' is unavailable in watchOS
28 | count: 1)
29 |
30 | let section = NSCollectionLayoutSection(group: group)
| `- error: 'NSCollectionLayoutSection' is unavailable in watchOS
31 | section.contentInsets = configuration.insets
32 | section.contentInsetsReference = configuration.contentInsetsReference
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:115:12: note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
113 |
114 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
115 | @interface NSCollectionLayoutSection : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
116 | + (instancetype)sectionWithGroup:(NSCollectionLayoutGroup*)group;
117 | - (instancetype)init NS_UNAVAILABLE;
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ DiffableUI (in target 'DiffableUI' from project 'DiffableUI')
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionItem.swift:19:28: error: 'UICollectionViewCell' is unavailable in watchOS
17 | /// pick up `@MainActor`, so `configure(cell:)` can use the cell directly.
18 | public protocol CollectionItem: Equatable, Hashable, Identifiable {
19 | associatedtype CellType: UICollectionViewCell
| `- error: 'UICollectionViewCell' is unavailable in watchOS
20 | associatedtype ItemType: Hashable & Equatable
21 | var id: AnyHashable { get }
/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/DiffableUI/CollectionItem.swift:29:49: error: 'UIContextMenuConfiguration' is unavailable in watchOS
27 | @MainActor func setBehaviors(cell: CellType)
28 | @MainActor func willDisplay()
29 | @MainActor func contextMenuConfiguration() -> UIContextMenuConfiguration?
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
30 | /// How UIKit draws `cell` while its context menu is open: the lifted preview,
31 | /// and the one that animates back when the menu closes.
/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/DiffableUI/CollectionItem.swift:33:71: error: 'UIPreviewParameters' is unavailable in watchOS
31 | /// and the one that animates back when the menu closes.
32 | /// Return `nil`, the default, to keep UIKit's default preview.
33 | @MainActor func contextMenuPreviewParameters(for cell: CellType) -> UIPreviewParameters?
| `- error: 'UIPreviewParameters' is unavailable in watchOS
34 | }
35 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| `- note: 'UIPreviewParameters' has been explicitly marked unavailable here
19 |
20 | /* The default parameters. Use these for most previews.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionItem.swift:46:56: error: 'UIContextMenuConfiguration' is unavailable in watchOS
44 | @MainActor public func willDisplay() {}
45 |
46 | @MainActor public func contextMenuConfiguration() -> UIContextMenuConfiguration? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
47 | nil
48 | }
/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/DiffableUI/CollectionItem.swift:50:78: error: 'UIPreviewParameters' is unavailable in watchOS
48 | }
49 |
50 | @MainActor public func contextMenuPreviewParameters(for cell: CellType) -> UIPreviewParameters? {
| `- error: 'UIPreviewParameters' is unavailable in watchOS
51 | nil
52 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| `- note: 'UIPreviewParameters' has been explicitly marked unavailable here
19 |
20 | /* The default parameters. Use these for most previews.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionItem.swift:58:41: error: 'UICollectionViewCell' is unavailable in watchOS
56 | }
57 |
58 | @MainActor func configureCell(_ cell: UICollectionViewCell) {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
59 | guard let innerCell = cell as? CellType else { return }
60 | configure(cell: innerCell)
/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/DiffableUI/CollectionItem.swift:63:44: error: 'UICollectionViewCell' is unavailable in watchOS
61 | }
62 |
63 | @MainActor func setCellBehaviors(_ cell: UICollectionViewCell) {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
64 | guard let innerCell = cell as? CellType else { return }
65 | setBehaviors(cell: innerCell)
/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/DiffableUI/CollectionItem.swift:68:63: error: 'UICollectionViewCell' is unavailable in watchOS
66 | }
67 |
68 | @MainActor func contextMenuPreviewParametersForCell(_ cell: UICollectionViewCell) -> UIPreviewParameters? {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
69 | guard let innerCell = cell as? CellType else { return nil }
70 | return contextMenuPreviewParameters(for: innerCell)
/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/DiffableUI/CollectionItem.swift:68:88: error: 'UIPreviewParameters' is unavailable in watchOS
66 | }
67 |
68 | @MainActor func contextMenuPreviewParametersForCell(_ cell: UICollectionViewCell) -> UIPreviewParameters? {
| `- error: 'UIPreviewParameters' is unavailable in watchOS
69 | guard let innerCell = cell as? CellType else { return nil }
70 | return contextMenuPreviewParameters(for: innerCell)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| `- note: 'UIPreviewParameters' has been explicitly marked unavailable here
19 |
20 | /* The default parameters. Use these for most previews.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionSection.swift:17:39: error: 'NSCollectionLayoutEnvironment' is unavailable in watchOS
15 | /// `@MainActor` because UIKit's layout types are. Like `CollectionItem`'s cell
16 | /// requirements, an implementation declared with the conformance picks this up.
17 | @MainActor func layout(environment: NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection
| `- error: 'NSCollectionLayoutEnvironment' is unavailable in watchOS
18 | }
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:574:11: note: 'NSCollectionLayoutEnvironment' has been explicitly marked unavailable here
572 |
573 | API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
574 | @protocol NSCollectionLayoutEnvironment<NSObject>
| `- note: 'NSCollectionLayoutEnvironment' has been explicitly marked unavailable here
575 | @property(nonatomic,readonly) id<NSCollectionLayoutContainer> container;
576 | @property(nonatomic,readonly) UITraitCollection *traitCollection;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionSection.swift:17:73: error: 'NSCollectionLayoutSection' is unavailable in watchOS
15 | /// `@MainActor` because UIKit's layout types are. Like `CollectionItem`'s cell
16 | /// requirements, an implementation declared with the conformance picks this up.
17 | @MainActor func layout(environment: NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection
| `- error: 'NSCollectionLayoutSection' is unavailable in watchOS
18 | }
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:115:12: note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
113 |
114 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
115 | @interface NSCollectionLayoutSection : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
116 | + (instancetype)sectionWithGroup:(NSCollectionLayoutGroup*)group;
117 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionSection.swift:62:67: error: cannot specialize non-generic type 'NSDiffableDataSourceSnapshot'
60 | private var nextID = 0
61 |
62 | mutating func snapshot(of sections: [any CollectionSection]) -> NSDiffableDataSourceSnapshot<SnapshotID, SnapshotID> {
| `- error: cannot specialize non-generic type 'NSDiffableDataSourceSnapshot'
63 | var snapshot = NSDiffableDataSourceSnapshot<SnapshotID, SnapshotID>()
64 | var newSectionIDs: [AnyHashable: SnapshotID] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:140:24: error: cannot override 'collectionView' which has been marked unavailable
138 | }
139 |
140 | public override func collectionView(
| |- error: cannot override 'collectionView' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'collectionView'
141 | _ collectionView: UICollectionView,
142 | contextMenuConfigurationForItemsAt indexPaths: [IndexPath],
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:261:1: note: 'collectionView(_:contextMenuConfigurationForItemsAt:point:)' has been explicitly marked unavailable here
259 | * - An array with multiple index paths indicates that the menu was invoked on an item within a multiple selection.
260 | */
261 | - (nullable UIContextMenuConfiguration *)collectionView:(UICollectionView *)collectionView
| `- note: 'collectionView(_:contextMenuConfigurationForItemsAt:point:)' has been explicitly marked unavailable here
262 | contextMenuConfigurationForItemsAtIndexPaths:(NSArray<NSIndexPath *> *)indexPaths
263 | point:(CGPoint)point API_AVAILABLE(ios(16.0), tvos(17.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:150:22: error: cannot override 'collectionView' which has been marked unavailable
148 | }
149 |
150 | open override func collectionView(
| |- error: cannot override 'collectionView' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'collectionView'
151 | _ collectionView: UICollectionView,
152 | contextMenuConfiguration configuration: UIContextMenuConfiguration,
/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:273:1: note: 'collectionView(_:contextMenuConfiguration:highlightPreviewForItemAt:)' has been explicitly marked unavailable here
271 | * @param indexPath Index path of the item at which the interaction is occurring.
272 | */
273 | - (nullable UITargetedPreview *)collectionView:(UICollectionView *)collectionView
| `- note: 'collectionView(_:contextMenuConfiguration:highlightPreviewForItemAt:)' has been explicitly marked unavailable here
274 | contextMenuConfiguration:(UIContextMenuConfiguration *)configuration
275 | highlightPreviewForItemAtIndexPath:(NSIndexPath *)indexPath API_AVAILABLE(ios(16.0), tvos(17.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:158:22: error: cannot override 'collectionView' which has been marked unavailable
156 | }
157 |
158 | open override func collectionView(
| |- error: cannot override 'collectionView' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'collectionView'
159 | _ collectionView: UICollectionView,
160 | contextMenuConfiguration configuration: UIContextMenuConfiguration,
/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:284:1: note: 'collectionView(_:contextMenuConfiguration:dismissalPreviewForItemAt:)' has been explicitly marked unavailable here
282 | * @param indexPath Index path of the item to which the menu is being dismissed.
283 | */
284 | - (nullable UITargetedPreview *)collectionView:(UICollectionView *)collectionView
| `- note: 'collectionView(_:contextMenuConfiguration:dismissalPreviewForItemAt:)' has been explicitly marked unavailable here
285 | contextMenuConfiguration:(UIContextMenuConfiguration *)configuration
286 | dismissalPreviewForItemAtIndexPath:(NSIndexPath *)indexPath API_AVAILABLE(ios(16.0), tvos(17.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:107:41: error: cannot specialize non-generic type 'UICollectionViewDiffableDataSource'
105 | }
106 |
107 | private lazy var diffableDataSource = UICollectionViewDiffableDataSource<SnapshotID, SnapshotID>(
| `- error: cannot specialize non-generic type 'UICollectionViewDiffableDataSource'
108 | collectionView: collectionView,
109 | cellProvider: { [weak self] collectionView, indexPath, _ in
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:14:30: error: 'UICollectionViewCompositionalLayoutConfiguration' is unavailable in watchOS
12 | open class DiffableViewController: UICollectionViewController {
13 |
14 | public init(configuration: UICollectionViewCompositionalLayoutConfiguration = .init()) {
| `- error: 'UICollectionViewCompositionalLayoutConfiguration' is unavailable in watchOS
15 | layout = CollectionViewControllerLayout(configuration: configuration)
16 | super.init(collectionViewLayout: layout.compositionalLayout)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:41:12: note: 'UICollectionViewCompositionalLayoutConfiguration' has been explicitly marked unavailable here
39 |
40 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
41 | @interface UICollectionViewCompositionalLayoutConfiguration : NSObject<NSCopying>
| `- note: 'UICollectionViewCompositionalLayoutConfiguration' has been explicitly marked unavailable here
42 | @property(nonatomic) UICollectionViewScrollDirection scrollDirection; // default is UICollectionViewScrollDirectionVertical
43 | @property(nonatomic) CGFloat interSectionSpacing; // default is 0
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:78:18: error: cannot specialize non-generic type 'NSDiffableDataSourceSnapshot'
76 | oldSections: [any CollectionSection],
77 | newSections: [any CollectionSection],
78 | newSnapshot: NSDiffableDataSourceSnapshot<SnapshotID, SnapshotID>)
| `- error: cannot specialize non-generic type 'NSDiffableDataSourceSnapshot'
79 | {
80 | let newItems = newSections.flatMap { $0.items }
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:124:23: error: 'UICollectionView' is unavailable in watchOS
122 |
123 | public override func collectionView(
124 | _ collectionView: UICollectionView,
| `- error: 'UICollectionView' is unavailable in watchOS
125 | didSelectItemAt indexPath: IndexPath)
126 | {
/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/DiffableUI/DiffableViewController.swift:132:23: error: 'UICollectionView' is unavailable in watchOS
130 |
131 | public override func collectionView(
132 | _ collectionView: UICollectionView,
| `- error: 'UICollectionView' is unavailable in watchOS
133 | willDisplay cell: UICollectionViewCell,
134 | forItemAt indexPath: IndexPath)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/DiffableUI/DiffableViewController.swift:133:23: error: 'UICollectionViewCell' is unavailable in watchOS
131 | public override func collectionView(
132 | _ collectionView: UICollectionView,
133 | willDisplay cell: UICollectionViewCell,
| `- error: 'UICollectionViewCell' is unavailable in watchOS
134 | forItemAt indexPath: IndexPath)
135 | {
/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/DiffableUI/DiffableViewController.swift:141:23: error: 'UICollectionView' is unavailable in watchOS
139 |
140 | public override func collectionView(
141 | _ collectionView: UICollectionView,
| `- error: 'UICollectionView' is unavailable in watchOS
142 | contextMenuConfigurationForItemsAt indexPaths: [IndexPath],
143 | point: CGPoint) -> UIContextMenuConfiguration?
/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/DiffableUI/DiffableViewController.swift:143:24: error: 'UIContextMenuConfiguration' is unavailable in watchOS
141 | _ collectionView: UICollectionView,
142 | contextMenuConfigurationForItemsAt indexPaths: [IndexPath],
143 | point: CGPoint) -> UIContextMenuConfiguration?
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
144 | {
145 | guard let indexPath = indexPaths.first else { return nil }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/DiffableUI/DiffableViewController.swift:151:23: error: 'UICollectionView' is unavailable in watchOS
149 |
150 | open override func collectionView(
151 | _ collectionView: UICollectionView,
| `- error: 'UICollectionView' is unavailable in watchOS
152 | contextMenuConfiguration configuration: UIContextMenuConfiguration,
153 | highlightPreviewForItemAt indexPath: IndexPath) -> UITargetedPreview?
/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/DiffableUI/DiffableViewController.swift:152:45: error: 'UIContextMenuConfiguration' is unavailable in watchOS
150 | open override func collectionView(
151 | _ collectionView: UICollectionView,
152 | contextMenuConfiguration configuration: UIContextMenuConfiguration,
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
153 | highlightPreviewForItemAt indexPath: IndexPath) -> UITargetedPreview?
154 | {
/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/DiffableUI/DiffableViewController.swift:153:56: error: 'UITargetedPreview' is unavailable in watchOS
151 | _ collectionView: UICollectionView,
152 | contextMenuConfiguration configuration: UIContextMenuConfiguration,
153 | highlightPreviewForItemAt indexPath: IndexPath) -> UITargetedPreview?
| `- error: 'UITargetedPreview' is unavailable in watchOS
154 | {
155 | contextMenuPreview(forItemAt: indexPath, in: collectionView)
/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/DiffableUI/DiffableViewController.swift:159:23: error: 'UICollectionView' is unavailable in watchOS
157 |
158 | open override func collectionView(
159 | _ collectionView: UICollectionView,
| `- error: 'UICollectionView' is unavailable in watchOS
160 | contextMenuConfiguration configuration: UIContextMenuConfiguration,
161 | dismissalPreviewForItemAt indexPath: IndexPath) -> UITargetedPreview?
/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/DiffableUI/DiffableViewController.swift:160:45: error: 'UIContextMenuConfiguration' is unavailable in watchOS
158 | open override func collectionView(
159 | _ collectionView: UICollectionView,
160 | contextMenuConfiguration configuration: UIContextMenuConfiguration,
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
161 | dismissalPreviewForItemAt indexPath: IndexPath) -> UITargetedPreview?
162 | {
/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/DiffableUI/DiffableViewController.swift:161:56: error: 'UITargetedPreview' is unavailable in watchOS
159 | _ collectionView: UICollectionView,
160 | contextMenuConfiguration configuration: UIContextMenuConfiguration,
161 | dismissalPreviewForItemAt indexPath: IndexPath) -> UITargetedPreview?
| `- error: 'UITargetedPreview' is unavailable in watchOS
162 | {
163 | contextMenuPreview(forItemAt: indexPath, in: collectionView)
/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/DiffableUI/DiffableViewController.swift:170:24: error: 'UICollectionView' is unavailable in watchOS
168 | private func contextMenuPreview(
169 | forItemAt indexPath: IndexPath,
170 | in collectionView: UICollectionView) -> UITargetedPreview?
| `- error: 'UICollectionView' is unavailable in watchOS
171 | {
172 | guard
/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/DiffableUI/DiffableViewController.swift:170:45: error: 'UITargetedPreview' is unavailable in watchOS
168 | private func contextMenuPreview(
169 | forItemAt indexPath: IndexPath,
170 | in collectionView: UICollectionView) -> UITargetedPreview?
| `- error: 'UITargetedPreview' is unavailable in watchOS
171 | {
172 | guard
/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/DiffableUI/DiffableViewController.swift:192:24: error: 'UICollectionView' is unavailable in watchOS
190 | /// from it is applied. Their index paths match.
191 | private func cell(
192 | in collectionView: UICollectionView,
| `- error: 'UICollectionView' is unavailable in watchOS
193 | at indexPath: IndexPath)
194 | -> UICollectionViewCell
/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/DiffableUI/DiffableViewController.swift:194:8: error: 'UICollectionViewCell' is unavailable in watchOS
192 | in collectionView: UICollectionView,
193 | at indexPath: IndexPath)
194 | -> UICollectionViewCell
| `- error: 'UICollectionViewCell' is unavailable in watchOS
195 | {
196 | let collectionItem = computedSections[indexPath.section].items[indexPath.row]
/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/DiffableUI/DiffableViewController.swift:12:36: error: 'UICollectionViewController' is unavailable in watchOS
10 | import UIKit
11 |
12 | open class DiffableViewController: UICollectionViewController {
| `- error: 'UICollectionViewController' is unavailable in watchOS
13 |
14 | public init(configuration: UICollectionViewCompositionalLayoutConfiguration = .init()) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h:19:12: note: 'UICollectionViewController' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UICollectionViewController : UIViewController <UICollectionViewDelegate, UICollectionViewDataSource>
| `- note: 'UICollectionViewController' has been explicitly marked unavailable here
20 |
21 | - (instancetype)initWithCollectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:214:23: error: 'UICollectionViewCompositionalLayoutConfiguration' is unavailable in watchOS
212 | final class CollectionViewControllerLayout {
213 |
214 | init(configuration: UICollectionViewCompositionalLayoutConfiguration) {
| `- error: 'UICollectionViewCompositionalLayoutConfiguration' is unavailable in watchOS
215 | self.configuration = configuration
216 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:41:12: note: 'UICollectionViewCompositionalLayoutConfiguration' has been explicitly marked unavailable here
39 |
40 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
41 | @interface UICollectionViewCompositionalLayoutConfiguration : NSObject<NSCopying>
| `- note: 'UICollectionViewCompositionalLayoutConfiguration' has been explicitly marked unavailable here
42 | @property(nonatomic) UICollectionViewScrollDirection scrollDirection; // default is UICollectionViewScrollDirectionVertical
43 | @property(nonatomic) CGFloat interSectionSpacing; // default is 0
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:218:28: error: 'UICollectionViewCompositionalLayout' is unavailable in watchOS
216 | }
217 |
218 | var compositionalLayout: UICollectionViewCompositionalLayout {
| `- error: 'UICollectionViewCompositionalLayout' is unavailable in watchOS
219 | UICollectionViewCompositionalLayout(
220 | sectionProvider: { [weak self] index, layoutEnvironment in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:51:12: note: 'UICollectionViewCompositionalLayout' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UICollectionViewCompositionalLayout : UICollectionViewLayout
| `- note: 'UICollectionViewCompositionalLayout' has been explicitly marked unavailable here
52 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section;
53 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section configuration:(UICollectionViewCompositionalLayoutConfiguration*)configuration;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:226:24: error: 'UICollectionViewCompositionalLayoutSectionProvider' is unavailable in watchOS
224 | }
225 |
226 | var sectionProvider: UICollectionViewCompositionalLayoutSectionProvider?
| `- error: 'UICollectionViewCompositionalLayoutSectionProvider' is unavailable in watchOS
227 |
228 | private let configuration: UICollectionViewCompositionalLayoutConfiguration
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:48:49: note: 'UICollectionViewCompositionalLayoutSectionProvider' has been explicitly marked unavailable here
46 | @end
47 |
48 | typedef NSCollectionLayoutSection * _Nullable (^UICollectionViewCompositionalLayoutSectionProvider)(NSInteger sectionIndex, id<NSCollectionLayoutEnvironment> layoutEnvironment) API_UNAVAILABLE(watchos);
| `- note: 'UICollectionViewCompositionalLayoutSectionProvider' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift:228:30: error: 'UICollectionViewCompositionalLayoutConfiguration' is unavailable in watchOS
226 | var sectionProvider: UICollectionViewCompositionalLayoutSectionProvider?
227 |
228 | private let configuration: UICollectionViewCompositionalLayoutConfiguration
| `- error: 'UICollectionViewCompositionalLayoutConfiguration' is unavailable in watchOS
229 | }
230 | #endif
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:41:12: note: 'UICollectionViewCompositionalLayoutConfiguration' has been explicitly marked unavailable here
39 |
40 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
41 | @interface UICollectionViewCompositionalLayoutConfiguration : NSObject<NSCopying>
| `- note: 'UICollectionViewCompositionalLayoutConfiguration' has been explicitly marked unavailable here
42 | @property(nonatomic) UICollectionViewScrollDirection scrollDirection; // default is UICollectionViewScrollDirectionVertical
43 | @property(nonatomic) CGFloat interSectionSpacing; // default is 0
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/ContextMenu.swift:12:23: error: 'UIMenu' is unavailable in watchOS
10 |
11 | public struct ContextMenu<T: CollectionItem>: CollectionItem {
12 | init(item: T, menu: UIMenu, previewPadding: CGFloat?, previewCornerRadius: CGFloat) {
| `- error: 'UIMenu' is unavailable in watchOS
13 | self._innerItem = item
14 | self._menu = menu
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIMenu : UIMenuElement
| `- note: 'UIMenu' has been explicitly marked unavailable here
44 |
45 | /// Unique identifier.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/ContextMenu.swift:20:14: error: 'UIMenu' is unavailable in watchOS
18 |
19 | let _innerItem: T
20 | let _menu: UIMenu
| `- error: 'UIMenu' is unavailable in watchOS
21 | let _previewPadding: CGFloat?
22 | let _previewCornerRadius: CGFloat
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIMenu : UIMenuElement
| `- note: 'UIMenu' has been explicitly marked unavailable here
44 |
45 | /// Unique identifier.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/ContextMenu.swift:32:45: error: 'UIContextMenuConfiguration' is unavailable in watchOS
30 | public func setBehaviors(cell: T.CellType) { _innerItem.setBehaviors(cell: cell) }
31 | public func willDisplay() { _innerItem.willDisplay() }
32 | public func contextMenuConfiguration() -> UIContextMenuConfiguration? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
33 | UIContextMenuConfiguration(actionProvider: { [_menu] _ in _menu })
34 | }
/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/DiffableUI/Items/ContextMenu.swift:36:69: error: 'UIPreviewParameters' is unavailable in watchOS
34 | }
35 |
36 | public func contextMenuPreviewParameters(for cell: T.CellType) -> UIPreviewParameters? {
| `- error: 'UIPreviewParameters' is unavailable in watchOS
37 | guard let padding = _previewPadding else {
38 | return _innerItem.contextMenuPreviewParameters(for: cell)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| `- note: 'UIPreviewParameters' has been explicitly marked unavailable here
19 |
20 | /* The default parameters. Use these for most previews.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/ContextMenu.swift:60:13: error: 'UIMenu' is unavailable in watchOS
58 | /// Ignored when `previewPadding` is `nil`.
59 | public func contextMenu(
60 | _ menu: UIMenu,
| `- error: 'UIMenu' is unavailable in watchOS
61 | previewPadding: CGFloat? = nil,
62 | previewCornerRadius: CGFloat = 0) -> some CollectionItem
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIMenu : UIMenuElement
| `- note: 'UIMenu' has been explicitly marked unavailable here
44 |
45 | /// Unique identifier.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/Padding.swift:45:45: error: 'UIContextMenuConfiguration' is unavailable in watchOS
43 | }
44 |
45 | public func contextMenuConfiguration() -> UIContextMenuConfiguration? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
46 | _innerItem.contextMenuConfiguration()
47 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/DiffableUI/Items/Padding.swift:49:69: error: 'UIPreviewParameters' is unavailable in watchOS
47 | }
48 |
49 | public func contextMenuPreviewParameters(for cell: T.CellType) -> UIPreviewParameters? {
| `- error: 'UIPreviewParameters' is unavailable in watchOS
50 | _innerItem.contextMenuPreviewParameters(for: cell)
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/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| `- note: 'UIPreviewParameters' has been explicitly marked unavailable here
19 |
20 | /* The default parameters. Use these for most previews.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/Tappable.swift:49:45: error: 'UIContextMenuConfiguration' is unavailable in watchOS
47 | }
48 |
49 | public func contextMenuConfiguration() -> UIContextMenuConfiguration? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
50 | _innerItem.contextMenuConfiguration()
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/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/DiffableUI/Items/Tappable.swift:53:69: error: 'UIPreviewParameters' is unavailable in watchOS
51 | }
52 |
53 | public func contextMenuPreviewParameters(for cell: T.CellType) -> UIPreviewParameters? {
| `- error: 'UIPreviewParameters' is unavailable in watchOS
54 | _innerItem.contextMenuPreviewParameters(for: cell)
55 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| `- note: 'UIPreviewParameters' has been explicitly marked unavailable here
19 |
20 | /* The default parameters. Use these for most previews.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/Taskable.swift:59:45: error: 'UIContextMenuConfiguration' is unavailable in watchOS
57 | }
58 |
59 | public func contextMenuConfiguration() -> UIContextMenuConfiguration? {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
60 | _innerItem.contextMenuConfiguration()
61 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/DiffableUI/Items/Taskable.swift:63:69: error: 'UIPreviewParameters' is unavailable in watchOS
61 | }
62 |
63 | public func contextMenuPreviewParameters(for cell: T.CellType) -> UIPreviewParameters? {
| `- error: 'UIPreviewParameters' is unavailable in watchOS
64 | _innerItem.contextMenuPreviewParameters(for: cell)
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/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| `- note: 'UIPreviewParameters' has been explicitly marked unavailable here
19 |
20 | /* The default parameters. Use these for most previews.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/CollectionViewCell.swift:12:32: error: 'UICollectionViewCell' is unavailable in watchOS
10 | import UIKit
11 |
12 | open class CollectionViewCell: UICollectionViewCell {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
13 |
14 | override public init(frame: CGRect) {
/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/DiffableUI/UI/Extensions/UIView+Constraints.swift:15:44: error: 'UILayoutGuide' is unavailable in watchOS
13 |
14 | @discardableResult
15 | func constrainVertically(to layoutGuide: UILayoutGuide) -> Self {
| `- error: 'UILayoutGuide' is unavailable in watchOS
16 | translatesAutoresizingMaskIntoConstraints = false
17 | NSLayoutConstraint.activate([
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h:24:12: note: 'UILayoutGuide' has been explicitly marked unavailable here
22 | */
23 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UILayoutGuide : NSObject <NSCoding>
| `- note: 'UILayoutGuide' has been explicitly marked unavailable here
25 |
26 | /* The frame of the UILayoutGuide in its owningView's coordinate system.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Extensions/UIView+Constraints.swift:25:37: error: 'UIView' is unavailable in watchOS
23 |
24 | @discardableResult
25 | func constrainVertically(to view: UIView) -> Self {
| `- error: 'UIView' is unavailable in watchOS
26 | translatesAutoresizingMaskIntoConstraints = false
27 | NSLayoutConstraint.activate([
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/DiffableUI/UI/Extensions/UIView+Constraints.swift:35:46: error: 'UILayoutGuide' is unavailable in watchOS
33 |
34 | @discardableResult
35 | func constrainHorizontally(to layoutGuide: UILayoutGuide) -> Self {
| `- error: 'UILayoutGuide' is unavailable in watchOS
36 | translatesAutoresizingMaskIntoConstraints = false
37 | NSLayoutConstraint.activate([
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h:24:12: note: 'UILayoutGuide' has been explicitly marked unavailable here
22 | */
23 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UILayoutGuide : NSObject <NSCoding>
| `- note: 'UILayoutGuide' has been explicitly marked unavailable here
25 |
26 | /* The frame of the UILayoutGuide in its owningView's coordinate system.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Extensions/UIView+Constraints.swift:45:39: error: 'UIView' is unavailable in watchOS
43 |
44 | @discardableResult
45 | func constrainHorizontally(to view: UIView) -> Self {
| `- error: 'UIView' is unavailable in watchOS
46 | translatesAutoresizingMaskIntoConstraints = false
47 | NSLayoutConstraint.activate([
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/DiffableUI/UI/Extensions/UIView+Constraints.swift:54:42: error: 'UIView' is unavailable in watchOS
52 | }
53 |
54 | func constrainToLayoutMargins(of view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
55 | let margins = view.layoutMarginsGuide
56 | constrainVertically(to: margins)
/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/DiffableUI/UI/Extensions/UIView+Constraints.swift:60:34: error: 'UIView' is unavailable in watchOS
58 | }
59 |
60 | func constrainToEdges(of view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
61 | translatesAutoresizingMaskIntoConstraints = false
62 | NSLayoutConstraint.activate([
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/DiffableUI/UI/Extensions/UIView+Constraints.swift:70:24: error: 'UIView' is unavailable in watchOS
68 | }
69 |
70 | func center(in view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
71 | translatesAutoresizingMaskIntoConstraints = false
72 | NSLayoutConstraint.activate([
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/DiffableUI/UI/Extensions/UIView+Constraints.swift:12:11: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
13 |
14 | @discardableResult
/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/DiffableUI/UI/Items/ActivityIndicator.swift:29:27: error: 'UIActivityIndicatorView' is unavailable in watchOS
27 | }
28 |
29 | let activityIndicator = UIActivityIndicatorView()
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
30 |
31 | func setUpView() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/ActivityIndicator.swift:29:27: error: 'init()' is unavailable in watchOS
27 | }
28 |
29 | let activityIndicator = UIActivityIndicatorView()
| `- error: 'init()' is unavailable in watchOS
30 |
31 | func setUpView() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Empty.swift:17:31: error: 'UICollectionViewCell' is unavailable in watchOS
15 | public var item = EmptyHashable()
16 | public var reuseIdentifier: String { "empty" }
17 | public func configure(cell: UICollectionViewCell) {}
| `- error: 'UICollectionViewCell' is unavailable in watchOS
18 |
19 | public struct EmptyHashable: Hashable {
/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/DiffableUI/UI/Items/Empty.swift:12:15: warning: unavailable class 'UICollectionViewCell' was used to satisfy a requirement of protocol 'CollectionItem'; this will be an error in a future Swift language mode
10 | import UIKit
11 |
12 | public struct Empty: CollectionItem {
| `- warning: unavailable class 'UICollectionViewCell' was used to satisfy a requirement of protocol 'CollectionItem'; this will be an error in a future Swift language mode
13 | public init() {}
14 | public var id: AnyHashable { item.id }
/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' declared here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UICollectionViewCell : UICollectionReusableView
| `- note: 'UICollectionViewCell' declared here
66 |
67 | /// Returns the current configuration state for the cell.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionItem.swift:19:18: note: requirement 'CellType' declared here
17 | /// pick up `@MainActor`, so `configure(cell:)` can use the cell directly.
18 | public protocol CollectionItem: Equatable, Hashable, Identifiable {
19 | associatedtype CellType: UICollectionViewCell
| `- note: requirement 'CellType' declared here
20 | associatedtype ItemType: Hashable & Equatable
21 | var id: AnyHashable { get }
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/HostingItem.swift:49:33: error: 'UICollectionViewCell' is unavailable in watchOS
47 | }
48 |
49 | public func configure(cell: UICollectionViewCell) {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
50 | cell.contentConfiguration = UIHostingConfiguration { content }
51 | .margins(.all, margins)
/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/DiffableUI/UI/Items/HostingItem.swift:54:47: error: 'UIContextMenuConfiguration' is unavailable in watchOS
52 | }
53 |
54 | public func contextMenuConfiguration() -> UIContextMenuConfiguration? { nil }
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
55 | }
56 | #endif
/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/DiffableUI/UI/Items/HostingItem.swift:22:15: warning: unavailable class 'UICollectionViewCell' was used to satisfy a requirement of protocol 'CollectionItem'; this will be an error in a future Swift language mode
20 | /// into it and `@State` inside the content survives.
21 | @available(iOS 16.0, *)
22 | public struct HostingItem<Content: View>: CollectionItem {
| `- warning: unavailable class 'UICollectionViewCell' was used to satisfy a requirement of protocol 'CollectionItem'; this will be an error in a future Swift language mode
23 | public var id: AnyHashable
24 | /// Unique to each instance, so a reload never mistakes new content for the old.
/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' declared here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UICollectionViewCell : UICollectionReusableView
| `- note: 'UICollectionViewCell' declared here
66 |
67 | /// Returns the current configuration state for the cell.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionItem.swift:19:18: note: requirement 'CellType' declared here
17 | /// pick up `@MainActor`, so `configure(cell:)` can use the cell directly.
18 | public protocol CollectionItem: Equatable, Hashable, Identifiable {
19 | associatedtype CellType: UICollectionViewCell
| `- note: requirement 'CellType' declared here
20 | associatedtype ItemType: Hashable & Equatable
21 | var id: AnyHashable { get }
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Label.swift:35:31: error: 'label' is unavailable in watchOS
33 | struct Configuration {
34 | var alignment: NSTextAlignment = .natural
35 | var textColor: UIColor = .label
| `- error: 'label' is unavailable in watchOS
36 | var fontStyle: UIFont.TextStyle = .body
37 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Label.swift:94:17: error: 'UILabel' is unavailable in watchOS
92 |
93 | private let label = {
94 | let label = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
95 | label.adjustsFontForContentSizeCategory = true
96 | return label
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Label.swift:94:17: error: 'init()' is unavailable in watchOS
92 |
93 | private let label = {
94 | let label = UILabel()
| `- error: 'init()' is unavailable in watchOS
95 | label.adjustsFontForContentSizeCategory = true
96 | return label
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Toggle.swift:62:24: error: 'UISwitch' is unavailable in watchOS
60 | public var onChange: ((Bool) -> Void)?
61 |
62 | private let toggle = UISwitch()
| `- error: 'UISwitch' is unavailable in watchOS
63 |
64 | private func setUpView() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h:23:12: note: 'UISwitch' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23 | @interface UISwitch : UIControl <NSCoding>
| `- note: 'UISwitch' has been explicitly marked unavailable here
24 |
25 | @property(nullable, nonatomic, strong) UIColor *onTintColor API_AVAILABLE(ios(5.0)) UI_APPEARANCE_SELECTOR;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Toggle.swift:62:24: error: 'init()' is unavailable in watchOS
60 | public var onChange: ((Bool) -> Void)?
61 |
62 | private let toggle = UISwitch()
| `- error: 'init()' is unavailable in watchOS
63 |
64 | private func setUpView() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:58:37: error: 'NSCollectionLayoutEnvironment' is unavailable in watchOS
56 | }
57 |
58 | public func layout(environment: NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection {
| `- error: 'NSCollectionLayoutEnvironment' is unavailable in watchOS
59 | let columns = columnCount(fitting: environment.container.effectiveContentSize.width)
60 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:574:11: note: 'NSCollectionLayoutEnvironment' has been explicitly marked unavailable here
572 |
573 | API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
574 | @protocol NSCollectionLayoutEnvironment<NSObject>
| `- note: 'NSCollectionLayoutEnvironment' has been explicitly marked unavailable here
575 | @property(nonatomic,readonly) id<NSCollectionLayoutContainer> container;
576 | @property(nonatomic,readonly) UITraitCollection *traitCollection;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:58:71: error: 'NSCollectionLayoutSection' is unavailable in watchOS
56 | }
57 |
58 | public func layout(environment: NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection {
| `- error: 'NSCollectionLayoutSection' is unavailable in watchOS
59 | let columns = columnCount(fitting: environment.container.effectiveContentSize.width)
60 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:115:12: note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
113 |
114 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
115 | @interface NSCollectionLayoutSection : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
116 | + (instancetype)sectionWithGroup:(NSCollectionLayoutGroup*)group;
117 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:125:25: error: 'NSCollectionLayoutDimension' is unavailable in watchOS
123 | /// `nil` for the default, an estimated 100 points. UIKit only makes
124 | /// dimensions on the main actor, so `layout(environment:)` fills it in.
125 | var itemHeight: NSCollectionLayoutDimension?
| `- error: 'NSCollectionLayoutDimension' is unavailable in watchOS
126 | var spacing: CGFloat = 0
127 | var insets: NSDirectionalEdgeInsets = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:262:12: note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
260 |
261 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
262 | @interface NSCollectionLayoutDimension : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
263 | // dimension is computed as a fraction of the width of the containing group
264 | + (instancetype)fractionalWidthDimension:(CGFloat)fractionalWidth;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:129:37: error: 'UIContentInsetsReference' is unavailable in watchOS
127 | var insets: NSDirectionalEdgeInsets = .zero
128 | var itemInsets: NSDirectionalEdgeInsets = .zero
129 | var contentInsetsReference: UIContentInsetsReference = .automatic
| `- error: 'UIContentInsetsReference' is unavailable in watchOS
130 | }
131 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:31:28: note: 'UIContentInsetsReference' has been explicitly marked unavailable here
29 | @protocol NSCollectionLayoutVisibleItem;
30 |
31 | typedef NS_ENUM(NSInteger, UIContentInsetsReference) {
| `- note: 'UIContentInsetsReference' has been explicitly marked unavailable here
32 | UIContentInsetsReferenceAutomatic, // use system defined default
33 | UIContentInsetsReferenceNone, // no additional insets
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:157:41: error: 'NSCollectionLayoutDimension' is unavailable in watchOS
155 | }
156 |
157 | public func itemHeight(_ dimension: NSCollectionLayoutDimension) -> Self {
| `- error: 'NSCollectionLayoutDimension' is unavailable in watchOS
158 | var copy = self
159 | copy.configuration.itemHeight = dimension
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:262:12: note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
260 |
261 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
262 | @interface NSCollectionLayoutDimension : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
263 | // dimension is computed as a fraction of the width of the containing group
264 | + (instancetype)fractionalWidthDimension:(CGFloat)fractionalWidth;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift:188:66: error: 'UIContentInsetsReference' is unavailable in watchOS
186 | }
187 |
188 | public func contentInsetsReference(_ contentInsetsReference: UIContentInsetsReference) -> Self {
| `- error: 'UIContentInsetsReference' is unavailable in watchOS
189 | var copy = self
190 | copy.configuration.contentInsetsReference = contentInsetsReference
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:31:28: note: 'UIContentInsetsReference' has been explicitly marked unavailable here
29 | @protocol NSCollectionLayoutVisibleItem;
30 |
31 | typedef NS_ENUM(NSInteger, UIContentInsetsReference) {
| `- note: 'UIContentInsetsReference' has been explicitly marked unavailable here
32 | UIContentInsetsReferenceAutomatic, // use system defined default
33 | UIContentInsetsReferenceNone, // no additional insets
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:18:35: error: 'NSCollectionLayoutEnvironment' is unavailable in watchOS
16 |
17 | // TODO: Make this not callable but still conformant somehow
18 | public func layout(environment: NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection {
| `- error: 'NSCollectionLayoutEnvironment' is unavailable in watchOS
19 | let itemSize = NSCollectionLayoutSize(
20 | widthDimension: .fractionalWidth(1),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:574:11: note: 'NSCollectionLayoutEnvironment' has been explicitly marked unavailable here
572 |
573 | API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
574 | @protocol NSCollectionLayoutEnvironment<NSObject>
| `- note: 'NSCollectionLayoutEnvironment' has been explicitly marked unavailable here
575 | @property(nonatomic,readonly) id<NSCollectionLayoutContainer> container;
576 | @property(nonatomic,readonly) UITraitCollection *traitCollection;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:18:69: error: 'NSCollectionLayoutSection' is unavailable in watchOS
16 |
17 | // TODO: Make this not callable but still conformant somehow
18 | public func layout(environment: NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection {
| `- error: 'NSCollectionLayoutSection' is unavailable in watchOS
19 | let itemSize = NSCollectionLayoutSize(
20 | widthDimension: .fractionalWidth(1),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:115:12: note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
113 |
114 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
115 | @interface NSCollectionLayoutSection : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
116 | + (instancetype)sectionWithGroup:(NSCollectionLayoutGroup*)group;
117 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:55:21: error: 'NSCollectionLayoutDimension' is unavailable in watchOS
53 | /// `nil` for the default, an estimated 100 points. UIKit only makes
54 | /// dimensions on the main actor, so `layout(environment:)` fills it in.
55 | var itemHeight: NSCollectionLayoutDimension?
| `- error: 'NSCollectionLayoutDimension' is unavailable in watchOS
56 | var insets: NSDirectionalEdgeInsets = .zero
57 | var contentInsetsReference: UIContentInsetsReference = .automatic
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:262:12: note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
260 |
261 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
262 | @interface NSCollectionLayoutDimension : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
263 | // dimension is computed as a fraction of the width of the containing group
264 | + (instancetype)fractionalWidthDimension:(CGFloat)fractionalWidth;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:57:33: error: 'UIContentInsetsReference' is unavailable in watchOS
55 | var itemHeight: NSCollectionLayoutDimension?
56 | var insets: NSDirectionalEdgeInsets = .zero
57 | var contentInsetsReference: UIContentInsetsReference = .automatic
| `- error: 'UIContentInsetsReference' is unavailable in watchOS
58 | }
59 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:31:28: note: 'UIContentInsetsReference' has been explicitly marked unavailable here
29 | @protocol NSCollectionLayoutVisibleItem;
30 |
31 | typedef NS_ENUM(NSInteger, UIContentInsetsReference) {
| `- note: 'UIContentInsetsReference' has been explicitly marked unavailable here
32 | UIContentInsetsReferenceAutomatic, // use system defined default
33 | UIContentInsetsReferenceNone, // no additional insets
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:60:39: error: 'NSCollectionLayoutDimension' is unavailable in watchOS
58 | }
59 |
60 | public func itemHeight(_ dimension: NSCollectionLayoutDimension) -> Self {
| `- error: 'NSCollectionLayoutDimension' is unavailable in watchOS
61 | var copy = self
62 | copy.configuration.itemHeight = dimension
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:262:12: note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
260 |
261 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
262 | @interface NSCollectionLayoutDimension : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutDimension' has been explicitly marked unavailable here
263 | // dimension is computed as a fraction of the width of the containing group
264 | + (instancetype)fractionalWidthDimension:(CGFloat)fractionalWidth;
/Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift:66:64: error: 'UIContentInsetsReference' is unavailable in watchOS
64 | }
65 |
66 | public func contentInsetsReference(_ contentInsetsReference: UIContentInsetsReference) -> Self {
| `- error: 'UIContentInsetsReference' is unavailable in watchOS
67 | var copy = self
68 | copy.configuration.contentInsetsReference = contentInsetsReference
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:31:28: note: 'UIContentInsetsReference' has been explicitly marked unavailable here
29 | @protocol NSCollectionLayoutVisibleItem;
30 |
31 | typedef NS_ENUM(NSInteger, UIContentInsetsReference) {
| `- note: 'UIContentInsetsReference' has been explicitly marked unavailable here
32 | UIContentInsetsReferenceAutomatic, // use system defined default
33 | UIContentInsetsReferenceNone, // no additional insets
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/DiffableUI/CollectionItem.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/CollectionSection.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/DiffableViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/ContextMenu.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/ForEach.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/Padding.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/Tappable.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/Items/Taskable.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/ResultBuilders/CollectionItemBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/ResultBuilders/CollectionViewBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/CollectionViewCell.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Extensions/NSDirectionalEdgeInsets+Init.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Extensions/UIView+Constraints.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/ActivityIndicator.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Empty.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/HostingItem.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Label.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Items/Toggle.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/Grid.swift /Users/admin/builder/spi-builder-workspace/Sources/DiffableUI/UI/Sections/List.swift -target arm64_32-apple-watchos9.0 -module-can-import-version SwiftUI 8.0.84.1 8.0.84 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DiffableUI.build/Debug-watchos/DiffableUI-t.build/Objects-normal/arm64_32/DiffableUI-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -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/DiffableUI.build/Debug-watchos/DiffableUI-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DiffableUI.build/Debug-watchos/DiffableUI-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DiffableUI.build/Debug-watchos/DiffableUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name DiffableUI -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DiffableUI.build/Debug-watchos/DiffableUI-t.build/Objects-normal/arm64_32/DiffableUI_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DiffableUI.build/Debug-watchos/DiffableUI-t.build/Objects-normal/arm64_32/DiffableUI.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DiffableUI.build/Debug-watchos/DiffableUI-t.build/Objects-normal/arm64_32/DiffableUI.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DiffableUI.build/Debug-watchos/DiffableUI-t.build/Objects-normal/arm64_32/DiffableUI-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DiffableUI.build/Debug-watchos/DiffableUI-t.build/Objects-normal/arm64_32/DiffableUI-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DiffableUI.build/Debug-watchos/DiffableUI-t.build/Objects-normal/arm64_32/DiffableUI-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DiffableUI.build/Debug-watchos/DiffableUI-t.build/Objects-normal/arm64_32/DiffableUI.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/DiffableUI.build/Debug-watchos/DiffableUI-t.build/Objects-normal/arm64_32/DiffableUI.abi.json
SwiftCompile normal arm64_32 (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ DiffableUI (in target 'DiffableUI' from project 'DiffableUI')
SwiftCompile normal arm64 (in target 'DiffableUI' from project 'DiffableUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-10-03 00:31:13.945 xcodebuild[779:4489] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ DiffableUI (in target 'DiffableUI' from project 'DiffableUI')
SwiftCompile normal arm64_32 (in target 'DiffableUI' from project 'DiffableUI')
Building workspace DiffableUI with scheme DiffableUI
(3 failures)
BUILD FAILURE 6.4 watchOS