Build Information
Failed to build SwiftyDrawer, reference v1.0.0 (2e3de2), with Swift 6.4 for watchOS using Xcode 27.0 on 23 Sep 2026 11:07:45 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 SwiftyDrawer -destination generic/platform=watchOSBuild Log
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
188 | uiView.content = component.content
189 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
193 | uiView.onDidResetContentOffset = component.onDidResetContentOffset
194 |
195 | if uiView.contentHeight != component.contentHeight {
| `- warning: main actor-isolated property 'contentHeight' can not be referenced from a nonisolated context
196 | uiView.contentHeight = component.contentHeight
197 | uiView.collectionViewLayout.invalidateLayout()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:195:46: warning: main actor-isolated property 'contentHeight' can not be referenced from a nonisolated context
21 |
22 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
23 | var contentHeight: Double
| `- note: property declared here
24 | var safeAreaBottom: Double
25 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
:
185 | func makeUIView(context _: Context) -> LegacyDrawerContentCollectionView<Content> { component }
186 |
187 | func updateUIView(_ uiView: LegacyDrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
188 | uiView.content = component.content
189 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
193 | uiView.onDidResetContentOffset = component.onDidResetContentOffset
194 |
195 | if uiView.contentHeight != component.contentHeight {
| `- warning: main actor-isolated property 'contentHeight' can not be referenced from a nonisolated context
196 | uiView.contentHeight = component.contentHeight
197 | uiView.collectionViewLayout.invalidateLayout()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:196:20: warning: main actor-isolated property 'contentHeight' can not be mutated from a nonisolated context
21 |
22 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
23 | var contentHeight: Double
| `- note: mutation of this property is only permitted within the actor
24 | var safeAreaBottom: Double
25 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
:
185 | func makeUIView(context _: Context) -> LegacyDrawerContentCollectionView<Content> { component }
186 |
187 | func updateUIView(_ uiView: LegacyDrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
188 | uiView.content = component.content
189 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
194 |
195 | if uiView.contentHeight != component.contentHeight {
196 | uiView.contentHeight = component.contentHeight
| `- warning: main actor-isolated property 'contentHeight' can not be mutated from a nonisolated context
197 | uiView.collectionViewLayout.invalidateLayout()
198 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:196:46: warning: main actor-isolated property 'contentHeight' can not be referenced from a nonisolated context
21 |
22 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
23 | var contentHeight: Double
| `- note: property declared here
24 | var safeAreaBottom: Double
25 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
:
185 | func makeUIView(context _: Context) -> LegacyDrawerContentCollectionView<Content> { component }
186 |
187 | func updateUIView(_ uiView: LegacyDrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
188 | uiView.content = component.content
189 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
194 |
195 | if uiView.contentHeight != component.contentHeight {
196 | uiView.contentHeight = component.contentHeight
| `- warning: main actor-isolated property 'contentHeight' can not be referenced from a nonisolated context
197 | uiView.collectionViewLayout.invalidateLayout()
198 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:197:41: warning: call to main actor-isolated instance method 'invalidateLayout()' in a synchronous nonisolated context [#ActorIsolatedCall]
185 | func makeUIView(context _: Context) -> LegacyDrawerContentCollectionView<Content> { component }
186 |
187 | func updateUIView(_ uiView: LegacyDrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
188 | uiView.content = component.content
189 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
195 | if uiView.contentHeight != component.contentHeight {
196 | uiView.contentHeight = component.contentHeight
197 | uiView.collectionViewLayout.invalidateLayout()
| `- warning: call to main actor-isolated instance method 'invalidateLayout()' in a synchronous nonisolated context [#ActorIsolatedCall]
198 | }
199 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:101:1: note: calls to instance method 'invalidateLayout()' from outside of its actor context are implicitly asynchronous
99 | // Call -invalidateLayout to indicate that the collection view needs to requery the layout information.
100 | // Subclasses must always call super if they override.
101 | - (void)invalidateLayout;
| `- note: calls to instance method 'invalidateLayout()' from outside of its actor context are implicitly asynchronous
102 | - (void)invalidateLayoutWithContext:(UICollectionViewLayoutInvalidationContext *)context API_AVAILABLE(ios(7.0));
103 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:197:20: warning: main actor-isolated property 'collectionViewLayout' can not be referenced from a nonisolated context
185 | func makeUIView(context _: Context) -> LegacyDrawerContentCollectionView<Content> { component }
186 |
187 | func updateUIView(_ uiView: LegacyDrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
188 | uiView.content = component.content
189 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
195 | if uiView.contentHeight != component.contentHeight {
196 | uiView.contentHeight = component.contentHeight
197 | uiView.collectionViewLayout.invalidateLayout()
| `- warning: main actor-isolated property 'collectionViewLayout' can not be referenced from a nonisolated context
198 | }
199 |
/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:367:55: note: property declared here
365 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
366 |
367 | @property (nonatomic, strong) UICollectionViewLayout *collectionViewLayout;
| `- note: property declared here
368 | @property (nonatomic, weak, nullable) id <UICollectionViewDelegate> delegate;
369 | @property (nonatomic, weak, nullable) id <UICollectionViewDataSource> dataSource;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:200:19: warning: main actor-isolated property 'safeAreaBottom' can not be referenced from a nonisolated context
22 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
23 | var contentHeight: Double
24 | var safeAreaBottom: Double
| `- note: property declared here
25 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
26 | var onDecelaratingEnded: () -> Void
:
185 | func makeUIView(context _: Context) -> LegacyDrawerContentCollectionView<Content> { component }
186 |
187 | func updateUIView(_ uiView: LegacyDrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
188 | uiView.content = component.content
189 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
198 | }
199 |
200 | if uiView.safeAreaBottom != component.safeAreaBottom {
| `- warning: main actor-isolated property 'safeAreaBottom' can not be referenced from a nonisolated context
201 | uiView.safeAreaBottom = component.safeAreaBottom
202 | uiView.collectionViewLayout.invalidateLayout()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:200:47: warning: main actor-isolated property 'safeAreaBottom' can not be referenced from a nonisolated context
22 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
23 | var contentHeight: Double
24 | var safeAreaBottom: Double
| `- note: property declared here
25 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
26 | var onDecelaratingEnded: () -> Void
:
185 | func makeUIView(context _: Context) -> LegacyDrawerContentCollectionView<Content> { component }
186 |
187 | func updateUIView(_ uiView: LegacyDrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
188 | uiView.content = component.content
189 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
198 | }
199 |
200 | if uiView.safeAreaBottom != component.safeAreaBottom {
| `- warning: main actor-isolated property 'safeAreaBottom' can not be referenced from a nonisolated context
201 | uiView.safeAreaBottom = component.safeAreaBottom
202 | uiView.collectionViewLayout.invalidateLayout()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:201:20: warning: main actor-isolated property 'safeAreaBottom' can not be mutated from a nonisolated context
22 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
23 | var contentHeight: Double
24 | var safeAreaBottom: Double
| `- note: mutation of this property is only permitted within the actor
25 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
26 | var onDecelaratingEnded: () -> Void
:
185 | func makeUIView(context _: Context) -> LegacyDrawerContentCollectionView<Content> { component }
186 |
187 | func updateUIView(_ uiView: LegacyDrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
188 | uiView.content = component.content
189 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
199 |
200 | if uiView.safeAreaBottom != component.safeAreaBottom {
201 | uiView.safeAreaBottom = component.safeAreaBottom
| `- warning: main actor-isolated property 'safeAreaBottom' can not be mutated from a nonisolated context
202 | uiView.collectionViewLayout.invalidateLayout()
203 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:201:47: warning: main actor-isolated property 'safeAreaBottom' can not be referenced from a nonisolated context
22 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
23 | var contentHeight: Double
24 | var safeAreaBottom: Double
| `- note: property declared here
25 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
26 | var onDecelaratingEnded: () -> Void
:
185 | func makeUIView(context _: Context) -> LegacyDrawerContentCollectionView<Content> { component }
186 |
187 | func updateUIView(_ uiView: LegacyDrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
188 | uiView.content = component.content
189 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
199 |
200 | if uiView.safeAreaBottom != component.safeAreaBottom {
201 | uiView.safeAreaBottom = component.safeAreaBottom
| `- warning: main actor-isolated property 'safeAreaBottom' can not be referenced from a nonisolated context
202 | uiView.collectionViewLayout.invalidateLayout()
203 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:202:41: warning: call to main actor-isolated instance method 'invalidateLayout()' in a synchronous nonisolated context [#ActorIsolatedCall]
185 | func makeUIView(context _: Context) -> LegacyDrawerContentCollectionView<Content> { component }
186 |
187 | func updateUIView(_ uiView: LegacyDrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
188 | uiView.content = component.content
189 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
200 | if uiView.safeAreaBottom != component.safeAreaBottom {
201 | uiView.safeAreaBottom = component.safeAreaBottom
202 | uiView.collectionViewLayout.invalidateLayout()
| `- warning: call to main actor-isolated instance method 'invalidateLayout()' in a synchronous nonisolated context [#ActorIsolatedCall]
203 | }
204 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:101:1: note: calls to instance method 'invalidateLayout()' from outside of its actor context are implicitly asynchronous
99 | // Call -invalidateLayout to indicate that the collection view needs to requery the layout information.
100 | // Subclasses must always call super if they override.
101 | - (void)invalidateLayout;
| `- note: calls to instance method 'invalidateLayout()' from outside of its actor context are implicitly asynchronous
102 | - (void)invalidateLayoutWithContext:(UICollectionViewLayoutInvalidationContext *)context API_AVAILABLE(ios(7.0));
103 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:202:20: warning: main actor-isolated property 'collectionViewLayout' can not be referenced from a nonisolated context
185 | func makeUIView(context _: Context) -> LegacyDrawerContentCollectionView<Content> { component }
186 |
187 | func updateUIView(_ uiView: LegacyDrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
188 | uiView.content = component.content
189 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
200 | if uiView.safeAreaBottom != component.safeAreaBottom {
201 | uiView.safeAreaBottom = component.safeAreaBottom
202 | uiView.collectionViewLayout.invalidateLayout()
| `- warning: main actor-isolated property 'collectionViewLayout' can not be referenced from a nonisolated context
203 | }
204 | }
/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:367:55: note: property declared here
365 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
366 |
367 | @property (nonatomic, strong) UICollectionViewLayout *collectionViewLayout;
| `- note: property declared here
368 | @property (nonatomic, weak, nullable) id <UICollectionViewDelegate> delegate;
369 | @property (nonatomic, weak, nullable) id <UICollectionViewDataSource> dataSource;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:39:31: error: 'CALayer' is unavailable in watchOS
37 | }
38 |
39 | private var shadowLayer = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
40 | private var previousBounds: CGRect?
41 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:78:49: error: 'CALayer' is unavailable in watchOS
76 | }
77 |
78 | private func drawShadowPath(of shadowLayer: CALayer) {
| `- error: 'CALayer' is unavailable in watchOS
79 | shadowLayer.shadowPath = UIBezierPath(
80 | roundedRect: bounds,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:6:37: error: 'UIView' is unavailable in watchOS
4 |
5 | /// The `PrerenderedShadowView` replaces the default SwiftUI shadow modifier. It has a smaller performance impact due to its shadow path, which must not be redrawn if the layout changes.
6 | public class PrerenderedShadowView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | public struct ShadowConfiguration: Equatable {
8 | let layerCornerRadius: Double
/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/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:103:39: error: cannot find type 'Context' in scope
101 | public let component: PrerenderedShadowView
102 |
103 | public func makeUIView(context _: Context) -> PrerenderedShadowView { component }
| `- error: cannot find type 'Context' in scope
104 | public func updateUIView(_ uiView: PrerenderedShadowView, context _: Context) {
105 | uiView.updateShadowLayerIfNeeded(with: component.configuration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:104:74: error: cannot find type 'Context' in scope
102 |
103 | public func makeUIView(context _: Context) -> PrerenderedShadowView { component }
104 | public func updateUIView(_ uiView: PrerenderedShadowView, context _: Context) {
| `- error: cannot find type 'Context' in scope
105 | uiView.updateShadowLayerIfNeeded(with: component.configuration)
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:100:49: error: cannot find type 'UIViewRepresentable' in scope
98 | }
99 |
100 | public struct PrerenderedShadowViewRepresenter: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
101 | public let component: PrerenderedShadowView
102 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LegacyDrawerContentCollectionView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerVerticallyCenteredContentContainerView.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DrawerVerticallyCenteredContentContainerView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PrerenderedShadowView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/RoundFloatingButton.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RoundFloatingButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:105:16: warning: call to main actor-isolated instance method 'updateShadowLayerIfNeeded(with:)' in a synchronous nonisolated context [#ActorIsolatedCall]
83 | }
84 |
85 | func updateShadowLayerIfNeeded(with newConfiguration: ShadowConfiguration) {
| |- note: calls to instance method 'updateShadowLayerIfNeeded(with:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
86 | guard newConfiguration != configuration else { return }
87 |
:
102 |
103 | public func makeUIView(context _: Context) -> PrerenderedShadowView { component }
104 | public func updateUIView(_ uiView: PrerenderedShadowView, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
105 | uiView.updateShadowLayerIfNeeded(with: component.configuration)
| `- warning: call to main actor-isolated instance method 'updateShadowLayerIfNeeded(with:)' in a synchronous nonisolated context [#ActorIsolatedCall]
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:105:58: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context
40 | private var previousBounds: CGRect?
41 |
42 | var configuration: ShadowConfiguration
| `- note: property declared here
43 |
44 | public init(configuration: ShadowConfiguration) {
:
102 |
103 | public func makeUIView(context _: Context) -> PrerenderedShadowView { component }
104 | public func updateUIView(_ uiView: PrerenderedShadowView, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
105 | uiView.updateShadowLayerIfNeeded(with: component.configuration)
| `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context
106 | }
107 | }
SwiftCompile normal arm64 Compiling\ CGFloat+Rounding.swift,\ Color+Theme.swift,\ EdgeInsets+Hashable.swift,\ View+Accessibility.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/CGFloat+Rounding.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/Color+Theme.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/EdgeInsets+Hashable.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+Accessibility.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/CGFloat+Rounding.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CGFloat+Rounding.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/Color+Theme.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Color+Theme.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/EdgeInsets+Hashable.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EdgeInsets+Hashable.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+Accessibility.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile View+Accessibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/Color+Theme.swift:22:14: error: 'init(dynamicProvider:)' is unavailable in watchOS
20 | extension UIColor {
21 | convenience init(darkMode: UIColor, lightMode: UIColor) {
22 | self.init { traitCollection in
| `- error: 'init(dynamicProvider:)' is unavailable in watchOS
23 | switch traitCollection.userInterfaceStyle {
24 | case .dark: darkMode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:144:1: note: 'init(dynamicProvider:)' has been explicitly marked unavailable here
142 |
143 | + (UIColor *)colorWithDynamicProvider:(UIColor * (^)(UITraitCollection *traitCollection))dynamicProvider API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
144 | - (UIColor *)initWithDynamicProvider:(UIColor * (^)(UITraitCollection *traitCollection))dynamicProvider API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(dynamicProvider:)' has been explicitly marked unavailable here
145 |
146 | /* Resolve any color to its most fundamental form (a non-dynamic color) for a specific trait collection.
SwiftCompile normal arm64 Compiling\ DrawerPositionCalculator.swift,\ DrawerStateReducer.swift,\ EnvironmentValues+Drawer.swift,\ BinaryFloatingPoint+Normalization.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/DrawerPositionCalculator.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/DrawerStateReducer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/EnvironmentValues+Drawer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/BinaryFloatingPoint+Normalization.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/DrawerPositionCalculator.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DrawerPositionCalculator.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/DrawerStateReducer.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DrawerStateReducer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/EnvironmentValues+Drawer.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EnvironmentValues+Drawer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/BinaryFloatingPoint+Normalization.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BinaryFloatingPoint+Normalization.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/DrawerPositionCalculator.swift:76:32: error: 'UIScreen' is unavailable in watchOS
74 | drawerMidPosition: DrawerMidPosition?
75 | ) -> Double {
76 | let positionModifier = UIScreen.main.scale > 2 ? 200.0 : 100
| `- error: 'UIScreen' is unavailable in watchOS
77 | let positionThreshold = if let drawerMidPosition {
78 | absoluteValue(for: drawerMidPosition)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/DrawerPositionCalculator.swift:76:41: error: 'main' is unavailable in watchOS
74 | drawerMidPosition: DrawerMidPosition?
75 | ) -> Double {
76 | let positionModifier = UIScreen.main.scale > 2 ? 200.0 : 100
| `- error: 'main' is unavailable in watchOS
77 | let positionThreshold = if let drawerMidPosition {
78 | absoluteValue(for: drawerMidPosition)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
SwiftCompile normal arm64 Compiling\ View+OnFirstAppear.swift,\ View+RoundedCorners.swift,\ DragDirection.swift,\ DrawerConstants.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+OnFirstAppear.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+RoundedCorners.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Models/DragDirection.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Models/DrawerConstants.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+OnFirstAppear.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile View+OnFirstAppear.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+RoundedCorners.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile View+RoundedCorners.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Models/DragDirection.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DragDirection.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Models/DrawerConstants.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DrawerConstants.swift
SwiftCompile normal arm64 Compiling\ Drawer+CollectionView.swift,\ Drawer+Internal.swift,\ Drawer.swift,\ DrawerOverlayModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Drawer+CollectionView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Drawer+Internal.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Drawer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/DrawerOverlayModifier.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Drawer+CollectionView.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Drawer+CollectionView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Drawer+Internal.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Drawer+Internal.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Drawer.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Drawer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/DrawerOverlayModifier.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DrawerOverlayModifier.swift
SwiftCompile normal arm64 Compiling\ View+Condition.swift,\ View+DrawingGroup.swift,\ View+Geometry.swift,\ View+HapticFeedback.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+Condition.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+DrawingGroup.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+Geometry.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+HapticFeedback.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+Condition.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile View+Condition.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+DrawingGroup.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile View+DrawingGroup.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+Geometry.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile View+Geometry.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+HapticFeedback.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile View+HapticFeedback.swift
SwiftCompile normal arm64 Compiling\ DrawerOriginObservable.swift,\ Trigger.swift,\ View+DrawerOverlay.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Utils/DrawerOriginObservable.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Utils/Trigger.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/View+DrawerOverlay.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Utils/DrawerOriginObservable.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DrawerOriginObservable.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Utils/Trigger.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Trigger.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/View+DrawerOverlay.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile View+DrawerOverlay.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftyDrawer (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:35:32: error: 'UICollectionLayoutListConfiguration' is unavailable in watchOS
33 | private let drawerContentOffsetController: DrawerContentOffsetController?
34 |
35 | private let configuration: UICollectionLayoutListConfiguration = {
| `- error: 'UICollectionLayoutListConfiguration' is unavailable in watchOS
36 | var configuration = UICollectionLayoutListConfiguration(appearance: .plain)
37 | configuration.showsSeparators = false
UIKit.UICollectionLayoutListConfiguration:3:15: note: 'UICollectionLayoutListConfiguration' has been explicitly marked unavailable here
1 | @available(iOS 14.0, tvOS 14.0, *)
2 | @available(watchOS, unavailable)
3 | public struct UICollectionLayoutListConfiguration {
| `- note: 'UICollectionLayoutListConfiguration' has been explicitly marked unavailable here
4 | public enum Appearance {
5 | case plain
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:36:29: error: 'UICollectionLayoutListConfiguration' is unavailable in watchOS
34 |
35 | private let configuration: UICollectionLayoutListConfiguration = {
36 | var configuration = UICollectionLayoutListConfiguration(appearance: .plain)
| `- error: 'UICollectionLayoutListConfiguration' is unavailable in watchOS
37 | configuration.showsSeparators = false
38 | configuration.backgroundColor = .clear
UIKit.UICollectionLayoutListConfiguration:3:15: note: 'UICollectionLayoutListConfiguration' has been explicitly marked unavailable here
1 | @available(iOS 14.0, tvOS 14.0, *)
2 | @available(watchOS, unavailable)
3 | public struct UICollectionLayoutListConfiguration {
| `- note: 'UICollectionLayoutListConfiguration' has been explicitly marked unavailable here
4 | public enum Appearance {
5 | case plain
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:42:43: error: 'UICollectionView' is unavailable in watchOS
40 | }()
41 |
42 | private let swiftUICellRegistration = UICollectionView.CellRegistration<UICollectionViewListCell, Content> { collectionViewCell, _, content in
| `- error: 'UICollectionView' is unavailable in watchOS
43 | if #available(iOS 16.0, *) {
44 | let hostingConfiguration = UIHostingConfiguration { content }
/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:44:40: error: 'UIHostingConfiguration' is unavailable in watchOS
42 | private let swiftUICellRegistration = UICollectionView.CellRegistration<UICollectionViewListCell, Content> { collectionViewCell, _, content in
43 | if #available(iOS 16.0, *) {
44 | let hostingConfiguration = UIHostingConfiguration { content }
| `- error: 'UIHostingConfiguration' is unavailable in watchOS
45 | .margins(.horizontal, 0)
46 | .margins(.vertical, 0)
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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:44:40: error: 'init(content:)' is unavailable in watchOS
42 | private let swiftUICellRegistration = UICollectionView.CellRegistration<UICollectionViewListCell, Content> { collectionViewCell, _, content in
43 | if #available(iOS 16.0, *) {
44 | let hostingConfiguration = UIHostingConfiguration { content }
| `- error: 'init(content:)' is unavailable in watchOS
45 | .margins(.horizontal, 0)
46 | .margins(.vertical, 0)
SwiftUI.UIHostingConfiguration.init:2:8: note: 'init(content:)' has been explicitly marked unavailable here
1 | generic struct UIHostingConfiguration {
2 | public init(@ContentBuilder content: () -> Content)}
| `- note: 'init(content:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:48:32: error: 'contentConfiguration' is unavailable in watchOS
46 | .margins(.vertical, 0)
47 |
48 | collectionViewCell.contentConfiguration = hostingConfiguration
| `- error: 'contentConfiguration' is unavailable in watchOS
49 | collectionViewCell.backgroundView = .init()
50 | collectionViewCell.backgroundView?.backgroundColor = .clear
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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:49:50: error: 'init()' is unavailable in watchOS
47 |
48 | collectionViewCell.contentConfiguration = hostingConfiguration
49 | collectionViewCell.backgroundView = .init()
| `- error: 'init()' is unavailable in watchOS
50 | collectionViewCell.backgroundView?.backgroundColor = .clear
51 | collectionViewCell.backgroundColor = .clear
/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:100:60: error: 'UIEvent' is unavailable in watchOS
98 |
99 | /// Touch events in empty space outside of cells should not be registered and passed to the Drawer instead
100 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
101 | guard let cell = visibleCells.first else { return false }
102 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:108:69: error: 'UIGestureRecognizer' is unavailable in watchOS
106 | // MARK: - Gesture recognizer
107 |
108 | override func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
109 | guard let panGestureRecognizer = gestureRecognizer as? UIPanGestureRecognizer else { return false }
110 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:117:38: error: 'UIScrollView' is unavailable in watchOS
115 | // MARK: - UIScrollViewDelegate
116 |
117 | func scrollViewDidEndDragging(_: UIScrollView, willDecelerate decelerate: Bool) {
| `- error: 'UIScrollView' is unavailable in watchOS
118 | onDraggingEnded(decelerate)
119 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:121:42: error: 'UIScrollView' is unavailable in watchOS
119 | }
120 |
121 | func scrollViewDidEndDecelerating(_: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
122 | onDecelaratingEnded()
123 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:125:44: error: 'UIScrollView' is unavailable in watchOS
123 | }
124 |
125 | func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
126 | onDidScroll(scrollView.contentOffset.y)
127 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:131:28: error: 'UICollectionView' is unavailable in watchOS
129 | // MARK: - UICollectionViewDataSource
130 |
131 | func collectionView(_: UICollectionView, numberOfItemsInSection _: Int) -> Int { 1 }
| `- error: 'UICollectionView' is unavailable in watchOS
132 |
133 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> 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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:133:43: error: 'UICollectionView' is unavailable in watchOS
131 | func collectionView(_: UICollectionView, numberOfItemsInSection _: Int) -> Int { 1 }
132 |
133 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: 'UICollectionView' is unavailable in watchOS
134 | collectionView.dequeueConfiguredReusableCell(using: swiftUICellRegistration, for: indexPath, item: content)
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/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:133:100: error: 'UICollectionViewCell' is unavailable in watchOS
131 | func collectionView(_: UICollectionView, numberOfItemsInSection _: Int) -> Int { 1 }
132 |
133 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
134 | collectionView.dequeueConfiguredReusableCell(using: swiftUICellRegistration, for: indexPath, item: content)
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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:139:28: error: 'UICollectionView' is unavailable in watchOS
137 | // MARK: - UICollectionViewDelegate
138 |
139 | func collectionView(_: UICollectionView, shouldHighlightItemAt _: IndexPath) -> Bool { false }
| `- error: 'UICollectionView' is unavailable in watchOS
140 | }
141 |
/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:9:51: error: 'UICollectionView' is unavailable in watchOS
7 | /// compared to a UIScrollView which leads to UI freezes or a UITableView which crashes the app.
8 | /// Hopefully SwiftUI will soon offer tools to quickly make this Frankenstein setup obsolete.
9 | class DrawerContentCollectionView<Content: View>: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate {
| `- error: 'UICollectionView' is unavailable in watchOS
10 | // MARK: - Properties: Internal
11 |
/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:9:69: error: 'UICollectionViewDataSource' is unavailable in watchOS
7 | /// compared to a UIScrollView which leads to UI freezes or a UITableView which crashes the app.
8 | /// Hopefully SwiftUI will soon offer tools to quickly make this Frankenstein setup obsolete.
9 | class DrawerContentCollectionView<Content: View>: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate {
| `- error: 'UICollectionViewDataSource' is unavailable in watchOS
10 | // MARK: - Properties: Internal
11 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:73:11: note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
71 |
72 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
73 | @protocol UICollectionViewDataSource <NSObject>
| `- note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
74 | @required
75 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:9:97: error: 'UICollectionViewDelegate' is unavailable in watchOS
7 | /// compared to a UIScrollView which leads to UI freezes or a UITableView which crashes the app.
8 | /// Hopefully SwiftUI will soon offer tools to quickly make this Frankenstein setup obsolete.
9 | class DrawerContentCollectionView<Content: View>: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate {
| `- error: 'UICollectionViewDelegate' is unavailable in watchOS
10 | // MARK: - Properties: Internal
11 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:114:11: note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
112 |
113 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
114 | @protocol UICollectionViewDelegate <UIScrollViewDelegate>
| `- note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
115 | @optional
116 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:153:32: error: cannot find type 'Context' in scope
151 | let component: DrawerContentCollectionView<Content>
152 |
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
| `- error: cannot find type 'Context' in scope
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:155:82: error: cannot find type 'Context' in scope
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- error: cannot find type 'Context' in scope
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:150:65: error: cannot find type 'UIViewRepresentable' in scope
148 | }
149 |
150 | struct DrawerContentCollectionViewRepresentable<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
151 | let component: DrawerContentCollectionView<Content>
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:32:30: error: 'UICollectionViewFlowLayout' is unavailable in watchOS
30 | // MARK: - Properties: Private
31 |
32 | private let flowLayout = UICollectionViewFlowLayout()
| `- error: 'UICollectionViewFlowLayout' is unavailable in watchOS
33 | private let drawerContentOffsetController: DrawerContentOffsetController?
34 | private var lastUsedSafeAreaBottom: Double?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h:46:12: note: 'UICollectionViewFlowLayout' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UICollectionViewFlowLayout : UICollectionViewLayout
| `- note: 'UICollectionViewFlowLayout' has been explicitly marked unavailable here
47 |
48 | @property (nonatomic) CGFloat minimumLineSpacing;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:83:60: error: 'UIEvent' is unavailable in watchOS
81 |
82 | /// Touch events in empty space outside of cells should not be registered and passed to the Drawer instead
83 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
84 | guard let cell = visibleCells.first else { return false }
85 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:91:69: error: 'UIGestureRecognizer' is unavailable in watchOS
89 | // MARK: - Gesture recognizer
90 |
91 | override func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
92 | guard let panGestureRecognizer = gestureRecognizer as? UIPanGestureRecognizer else { return false }
93 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:100:38: error: 'UIScrollView' is unavailable in watchOS
98 | // MARK: - UIScrollViewDelegate
99 |
100 | func scrollViewDidEndDragging(_: UIScrollView, willDecelerate decelerate: Bool) {
| `- error: 'UIScrollView' is unavailable in watchOS
101 | onDraggingEnded(decelerate)
102 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:104:42: error: 'UIScrollView' is unavailable in watchOS
102 | }
103 |
104 | func scrollViewDidEndDecelerating(_: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
105 | onDecelaratingEnded()
106 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:108:44: error: 'UIScrollView' is unavailable in watchOS
106 | }
107 |
108 | func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
109 | onDidScroll(scrollView.contentOffset.y)
110 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:114:28: error: 'UICollectionView' is unavailable in watchOS
112 | // MARK: - UICollectionViewDataSource
113 |
114 | func collectionView(_: UICollectionView, numberOfItemsInSection _: Int) -> Int { 1 }
| `- error: 'UICollectionView' is unavailable in watchOS
115 |
116 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> 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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:116:43: error: 'UICollectionView' is unavailable in watchOS
114 | func collectionView(_: UICollectionView, numberOfItemsInSection _: Int) -> Int { 1 }
115 |
116 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: 'UICollectionView' is unavailable in watchOS
117 | let cell = collectionView.dequeueReusableCell(
118 | withReuseIdentifier: String(describing: UICollectionViewCell.self),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:116:100: error: 'UICollectionViewCell' is unavailable in watchOS
114 | func collectionView(_: UICollectionView, numberOfItemsInSection _: Int) -> Int { 1 }
115 |
116 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
117 | let cell = collectionView.dequeueReusableCell(
118 | withReuseIdentifier: String(describing: UICollectionViewCell.self),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:4:57: error: 'UICollectionView' is unavailable in watchOS
2 | import UIKit
3 |
4 | class LegacyDrawerContentCollectionView<Content: View>: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate {
| `- error: 'UICollectionView' is unavailable in watchOS
5 | // MARK: - Properties: Internal
6 |
/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:4:75: error: 'UICollectionViewDataSource' is unavailable in watchOS
2 | import UIKit
3 |
4 | class LegacyDrawerContentCollectionView<Content: View>: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate {
| `- error: 'UICollectionViewDataSource' is unavailable in watchOS
5 | // MARK: - Properties: Internal
6 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:73:11: note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
71 |
72 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
73 | @protocol UICollectionViewDataSource <NSObject>
| `- note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
74 | @required
75 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:4:103: error: 'UICollectionViewDelegate' is unavailable in watchOS
2 | import UIKit
3 |
4 | class LegacyDrawerContentCollectionView<Content: View>: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate {
| `- error: 'UICollectionViewDelegate' is unavailable in watchOS
5 | // MARK: - Properties: Internal
6 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:114:11: note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
112 |
113 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
114 | @protocol UICollectionViewDelegate <UIScrollViewDelegate>
| `- note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
115 | @optional
116 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:185:32: error: cannot find type 'Context' in scope
183 | let component: LegacyDrawerContentCollectionView<Content>
184 |
185 | func makeUIView(context _: Context) -> LegacyDrawerContentCollectionView<Content> { component }
| `- error: cannot find type 'Context' in scope
186 |
187 | func updateUIView(_ uiView: LegacyDrawerContentCollectionView<Content>, context _: Context) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:187:88: error: cannot find type 'Context' in scope
185 | func makeUIView(context _: Context) -> LegacyDrawerContentCollectionView<Content> { component }
186 |
187 | func updateUIView(_ uiView: LegacyDrawerContentCollectionView<Content>, context _: Context) {
| `- error: cannot find type 'Context' in scope
188 | uiView.content = component.content
189 | uiView.shouldBeginDragging = component.shouldBeginDragging
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:182:71: error: cannot find type 'UIViewRepresentable' in scope
180 | }
181 |
182 | struct LegacyDrawerContentCollectionViewRepresentable<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
183 | let component: LegacyDrawerContentCollectionView<Content>
184 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:39:31: error: 'CALayer' is unavailable in watchOS
37 | }
38 |
39 | private var shadowLayer = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
40 | private var previousBounds: CGRect?
41 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:78:49: error: 'CALayer' is unavailable in watchOS
76 | }
77 |
78 | private func drawShadowPath(of shadowLayer: CALayer) {
| `- error: 'CALayer' is unavailable in watchOS
79 | shadowLayer.shadowPath = UIBezierPath(
80 | roundedRect: bounds,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:6:37: error: 'UIView' is unavailable in watchOS
4 |
5 | /// The `PrerenderedShadowView` replaces the default SwiftUI shadow modifier. It has a smaller performance impact due to its shadow path, which must not be redrawn if the layout changes.
6 | public class PrerenderedShadowView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | public struct ShadowConfiguration: Equatable {
8 | let layerCornerRadius: Double
/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/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:103:39: error: cannot find type 'Context' in scope
101 | public let component: PrerenderedShadowView
102 |
103 | public func makeUIView(context _: Context) -> PrerenderedShadowView { component }
| `- error: cannot find type 'Context' in scope
104 | public func updateUIView(_ uiView: PrerenderedShadowView, context _: Context) {
105 | uiView.updateShadowLayerIfNeeded(with: component.configuration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:104:74: error: cannot find type 'Context' in scope
102 |
103 | public func makeUIView(context _: Context) -> PrerenderedShadowView { component }
104 | public func updateUIView(_ uiView: PrerenderedShadowView, context _: Context) {
| `- error: cannot find type 'Context' in scope
105 | uiView.updateShadowLayerIfNeeded(with: component.configuration)
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:100:49: error: cannot find type 'UIViewRepresentable' in scope
98 | }
99 |
100 | public struct PrerenderedShadowViewRepresenter: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
101 | public let component: PrerenderedShadowView
102 |
SwiftCompile normal arm64 (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ DimmingView.swift,\ DragHandle.swift,\ DrawerContentCollectionView.swift,\ DrawerContentOffsetController.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DimmingView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DragHandle.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentOffsetController.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:35:32: error: 'UICollectionLayoutListConfiguration' is unavailable in watchOS
33 | private let drawerContentOffsetController: DrawerContentOffsetController?
34 |
35 | private let configuration: UICollectionLayoutListConfiguration = {
| `- error: 'UICollectionLayoutListConfiguration' is unavailable in watchOS
36 | var configuration = UICollectionLayoutListConfiguration(appearance: .plain)
37 | configuration.showsSeparators = false
UIKit.UICollectionLayoutListConfiguration:3:15: note: 'UICollectionLayoutListConfiguration' has been explicitly marked unavailable here
1 | @available(iOS 14.0, tvOS 14.0, *)
2 | @available(watchOS, unavailable)
3 | public struct UICollectionLayoutListConfiguration {
| `- note: 'UICollectionLayoutListConfiguration' has been explicitly marked unavailable here
4 | public enum Appearance {
5 | case plain
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:36:29: error: 'UICollectionLayoutListConfiguration' is unavailable in watchOS
34 |
35 | private let configuration: UICollectionLayoutListConfiguration = {
36 | var configuration = UICollectionLayoutListConfiguration(appearance: .plain)
| `- error: 'UICollectionLayoutListConfiguration' is unavailable in watchOS
37 | configuration.showsSeparators = false
38 | configuration.backgroundColor = .clear
UIKit.UICollectionLayoutListConfiguration:3:15: note: 'UICollectionLayoutListConfiguration' has been explicitly marked unavailable here
1 | @available(iOS 14.0, tvOS 14.0, *)
2 | @available(watchOS, unavailable)
3 | public struct UICollectionLayoutListConfiguration {
| `- note: 'UICollectionLayoutListConfiguration' has been explicitly marked unavailable here
4 | public enum Appearance {
5 | case plain
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:42:43: error: 'UICollectionView' is unavailable in watchOS
40 | }()
41 |
42 | private let swiftUICellRegistration = UICollectionView.CellRegistration<UICollectionViewListCell, Content> { collectionViewCell, _, content in
| `- error: 'UICollectionView' is unavailable in watchOS
43 | if #available(iOS 16.0, *) {
44 | let hostingConfiguration = UIHostingConfiguration { content }
/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:44:40: error: 'UIHostingConfiguration' is unavailable in watchOS
42 | private let swiftUICellRegistration = UICollectionView.CellRegistration<UICollectionViewListCell, Content> { collectionViewCell, _, content in
43 | if #available(iOS 16.0, *) {
44 | let hostingConfiguration = UIHostingConfiguration { content }
| `- error: 'UIHostingConfiguration' is unavailable in watchOS
45 | .margins(.horizontal, 0)
46 | .margins(.vertical, 0)
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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:44:40: error: 'init(content:)' is unavailable in watchOS
42 | private let swiftUICellRegistration = UICollectionView.CellRegistration<UICollectionViewListCell, Content> { collectionViewCell, _, content in
43 | if #available(iOS 16.0, *) {
44 | let hostingConfiguration = UIHostingConfiguration { content }
| `- error: 'init(content:)' is unavailable in watchOS
45 | .margins(.horizontal, 0)
46 | .margins(.vertical, 0)
SwiftUI.UIHostingConfiguration.init:2:8: note: 'init(content:)' has been explicitly marked unavailable here
1 | generic struct UIHostingConfiguration {
2 | public init(@ContentBuilder content: () -> Content)}
| `- note: 'init(content:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:48:32: error: 'contentConfiguration' is unavailable in watchOS
46 | .margins(.vertical, 0)
47 |
48 | collectionViewCell.contentConfiguration = hostingConfiguration
| `- error: 'contentConfiguration' is unavailable in watchOS
49 | collectionViewCell.backgroundView = .init()
50 | collectionViewCell.backgroundView?.backgroundColor = .clear
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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:49:50: error: 'init()' is unavailable in watchOS
47 |
48 | collectionViewCell.contentConfiguration = hostingConfiguration
49 | collectionViewCell.backgroundView = .init()
| `- error: 'init()' is unavailable in watchOS
50 | collectionViewCell.backgroundView?.backgroundColor = .clear
51 | collectionViewCell.backgroundColor = .clear
/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:100:60: error: 'UIEvent' is unavailable in watchOS
98 |
99 | /// Touch events in empty space outside of cells should not be registered and passed to the Drawer instead
100 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
101 | guard let cell = visibleCells.first else { return false }
102 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:108:69: error: 'UIGestureRecognizer' is unavailable in watchOS
106 | // MARK: - Gesture recognizer
107 |
108 | override func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
109 | guard let panGestureRecognizer = gestureRecognizer as? UIPanGestureRecognizer else { return false }
110 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:117:38: error: 'UIScrollView' is unavailable in watchOS
115 | // MARK: - UIScrollViewDelegate
116 |
117 | func scrollViewDidEndDragging(_: UIScrollView, willDecelerate decelerate: Bool) {
| `- error: 'UIScrollView' is unavailable in watchOS
118 | onDraggingEnded(decelerate)
119 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:121:42: error: 'UIScrollView' is unavailable in watchOS
119 | }
120 |
121 | func scrollViewDidEndDecelerating(_: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
122 | onDecelaratingEnded()
123 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:125:44: error: 'UIScrollView' is unavailable in watchOS
123 | }
124 |
125 | func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
126 | onDidScroll(scrollView.contentOffset.y)
127 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:131:28: error: 'UICollectionView' is unavailable in watchOS
129 | // MARK: - UICollectionViewDataSource
130 |
131 | func collectionView(_: UICollectionView, numberOfItemsInSection _: Int) -> Int { 1 }
| `- error: 'UICollectionView' is unavailable in watchOS
132 |
133 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> 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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:133:43: error: 'UICollectionView' is unavailable in watchOS
131 | func collectionView(_: UICollectionView, numberOfItemsInSection _: Int) -> Int { 1 }
132 |
133 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: 'UICollectionView' is unavailable in watchOS
134 | collectionView.dequeueConfiguredReusableCell(using: swiftUICellRegistration, for: indexPath, item: content)
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/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:133:100: error: 'UICollectionViewCell' is unavailable in watchOS
131 | func collectionView(_: UICollectionView, numberOfItemsInSection _: Int) -> Int { 1 }
132 |
133 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
134 | collectionView.dequeueConfiguredReusableCell(using: swiftUICellRegistration, for: indexPath, item: content)
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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:139:28: error: 'UICollectionView' is unavailable in watchOS
137 | // MARK: - UICollectionViewDelegate
138 |
139 | func collectionView(_: UICollectionView, shouldHighlightItemAt _: IndexPath) -> Bool { false }
| `- error: 'UICollectionView' is unavailable in watchOS
140 | }
141 |
/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:9:51: error: 'UICollectionView' is unavailable in watchOS
7 | /// compared to a UIScrollView which leads to UI freezes or a UITableView which crashes the app.
8 | /// Hopefully SwiftUI will soon offer tools to quickly make this Frankenstein setup obsolete.
9 | class DrawerContentCollectionView<Content: View>: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate {
| `- error: 'UICollectionView' is unavailable in watchOS
10 | // MARK: - Properties: Internal
11 |
/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:9:69: error: 'UICollectionViewDataSource' is unavailable in watchOS
7 | /// compared to a UIScrollView which leads to UI freezes or a UITableView which crashes the app.
8 | /// Hopefully SwiftUI will soon offer tools to quickly make this Frankenstein setup obsolete.
9 | class DrawerContentCollectionView<Content: View>: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate {
| `- error: 'UICollectionViewDataSource' is unavailable in watchOS
10 | // MARK: - Properties: Internal
11 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:73:11: note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
71 |
72 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
73 | @protocol UICollectionViewDataSource <NSObject>
| `- note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
74 | @required
75 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:9:97: error: 'UICollectionViewDelegate' is unavailable in watchOS
7 | /// compared to a UIScrollView which leads to UI freezes or a UITableView which crashes the app.
8 | /// Hopefully SwiftUI will soon offer tools to quickly make this Frankenstein setup obsolete.
9 | class DrawerContentCollectionView<Content: View>: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate {
| `- error: 'UICollectionViewDelegate' is unavailable in watchOS
10 | // MARK: - Properties: Internal
11 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:114:11: note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
112 |
113 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
114 | @protocol UICollectionViewDelegate <UIScrollViewDelegate>
| `- note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
115 | @optional
116 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:153:32: error: cannot find type 'Context' in scope
151 | let component: DrawerContentCollectionView<Content>
152 |
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
| `- error: cannot find type 'Context' in scope
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:155:82: error: cannot find type 'Context' in scope
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- error: cannot find type 'Context' in scope
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:150:65: error: cannot find type 'UIViewRepresentable' in scope
148 | }
149 |
150 | struct DrawerContentCollectionViewRepresentable<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
151 | let component: DrawerContentCollectionView<Content>
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:81:35: error: 'UICollectionViewCompositionalLayout' is unavailable in watchOS
79 | super.init(
80 | frame: .zero,
81 | collectionViewLayout: UICollectionViewCompositionalLayout.list(using: configuration)
| `- error: 'UICollectionViewCompositionalLayout' is unavailable in watchOS
82 | )
83 |
/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:81:71: error: 'list(using:)' is unavailable in watchOS
79 | super.init(
80 | frame: .zero,
81 | collectionViewLayout: UICollectionViewCompositionalLayout.list(using: configuration)
| `- error: 'list(using:)' is unavailable in watchOS
82 | )
83 |
UIKit.UICollectionViewCompositionalLayout.list:2:47: note: 'list(using:)' has been explicitly marked unavailable here
1 | class UICollectionViewCompositionalLayout {
2 | @MainActor @preconcurrency public static func list(using configuration: UICollectionLayoutListConfiguration) -> UICollectionViewCompositionalLayout}
| `- note: 'list(using:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:109:64: error: 'UIPanGestureRecognizer' is unavailable in watchOS
107 |
108 | override func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
109 | guard let panGestureRecognizer = gestureRecognizer as? UIPanGestureRecognizer else { return false }
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
110 |
111 | let verticalPanTranslation = panGestureRecognizer.translation(in: self).y
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:134:24: error: 'dequeueConfiguredReusableCell(using:for:item:)' is unavailable in watchOS
132 |
133 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
134 | collectionView.dequeueConfiguredReusableCell(using: swiftUICellRegistration, for: indexPath, item: content)
| `- error: 'dequeueConfiguredReusableCell(using:for:item:)' is unavailable in watchOS
135 | }
136 |
UIKit.UICollectionView.dequeueConfiguredReusableCell:2:40: note: 'dequeueConfiguredReusableCell(using:for:item:)' has been explicitly marked unavailable here
1 | class UICollectionView {
2 | @MainActor @preconcurrency public func dequeueConfiguredReusableCell<Cell, Item>(using registration: UICollectionView.CellRegistration<Cell, Item>, for indexPath: IndexPath, item: Item?) -> Cell where Cell : UICollectionViewCell}
| `- note: 'dequeueConfiguredReusableCell(using:for:item:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:146:9: error: return type of instance method 'swiftUIView()' requires that 'DrawerContentCollectionViewRepresentable<Content>' conform to 'View'
143 |
144 | extension DrawerContentCollectionView {
145 | func swiftUIView() -> some View {
| `- note: opaque return type declared here
146 | DrawerContentCollectionViewRepresentable<Content>(component: self)
| `- error: return type of instance method 'swiftUIView()' requires that 'DrawerContentCollectionViewRepresentable<Content>' conform to 'View'
147 | }
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:156:16: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context
10 | // MARK: - Properties: Internal
11 |
12 | var content: Content {
| `- note: mutation of this property is only permitted within the actor
13 | didSet {
14 | if let contentOffset = drawerContentOffsetController?.consumeLatestContentOffset() {
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
158 | uiView.onDraggingEnded = component.onDraggingEnded
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:156:36: warning: main actor-isolated property 'content' can not be referenced from a nonisolated context
10 | // MARK: - Properties: Internal
11 |
12 | var content: Content {
| `- note: property declared here
13 | didSet {
14 | if let contentOffset = drawerContentOffsetController?.consumeLatestContentOffset() {
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
| `- warning: main actor-isolated property 'content' can not be referenced from a nonisolated context
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
158 | uiView.onDraggingEnded = component.onDraggingEnded
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:157:16: warning: main actor-isolated property 'shouldBeginDragging' can not be mutated from a nonisolated context
23 |
24 | var safeAreaBottom: Double
25 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
| `- note: mutation of this property is only permitted within the actor
26 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
27 | var onDecelaratingEnded: () -> Void
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
| `- warning: main actor-isolated property 'shouldBeginDragging' can not be mutated from a nonisolated context
158 | uiView.onDraggingEnded = component.onDraggingEnded
159 | uiView.onDecelaratingEnded = component.onDecelaratingEnded
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:157:48: warning: main actor-isolated property 'shouldBeginDragging' can not be referenced from a nonisolated context
23 |
24 | var safeAreaBottom: Double
25 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
| `- note: property declared here
26 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
27 | var onDecelaratingEnded: () -> Void
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
| `- warning: main actor-isolated property 'shouldBeginDragging' can not be referenced from a nonisolated context
158 | uiView.onDraggingEnded = component.onDraggingEnded
159 | uiView.onDecelaratingEnded = component.onDecelaratingEnded
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:158:16: warning: main actor-isolated property 'onDraggingEnded' can not be mutated from a nonisolated context
24 | var safeAreaBottom: Double
25 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
26 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
| `- note: mutation of this property is only permitted within the actor
27 | var onDecelaratingEnded: () -> Void
28 | var onDidScroll: (_ verticalContentOffset: Double) -> Void
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
158 | uiView.onDraggingEnded = component.onDraggingEnded
| `- warning: main actor-isolated property 'onDraggingEnded' can not be mutated from a nonisolated context
159 | uiView.onDecelaratingEnded = component.onDecelaratingEnded
160 | uiView.onDidScroll = component.onDidScroll
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:158:44: warning: main actor-isolated property 'onDraggingEnded' can not be referenced from a nonisolated context
24 | var safeAreaBottom: Double
25 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
26 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
| `- note: property declared here
27 | var onDecelaratingEnded: () -> Void
28 | var onDidScroll: (_ verticalContentOffset: Double) -> Void
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
158 | uiView.onDraggingEnded = component.onDraggingEnded
| `- warning: main actor-isolated property 'onDraggingEnded' can not be referenced from a nonisolated context
159 | uiView.onDecelaratingEnded = component.onDecelaratingEnded
160 | uiView.onDidScroll = component.onDidScroll
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:159:16: warning: main actor-isolated property 'onDecelaratingEnded' can not be mutated from a nonisolated context
25 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
26 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
27 | var onDecelaratingEnded: () -> Void
| `- note: mutation of this property is only permitted within the actor
28 | var onDidScroll: (_ verticalContentOffset: Double) -> Void
29 | var onDidResetContentOffset: () -> Void
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
158 | uiView.onDraggingEnded = component.onDraggingEnded
159 | uiView.onDecelaratingEnded = component.onDecelaratingEnded
| `- warning: main actor-isolated property 'onDecelaratingEnded' can not be mutated from a nonisolated context
160 | uiView.onDidScroll = component.onDidScroll
161 | uiView.onDidResetContentOffset = component.onDidResetContentOffset
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:159:48: warning: main actor-isolated property 'onDecelaratingEnded' can not be referenced from a nonisolated context
25 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
26 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
27 | var onDecelaratingEnded: () -> Void
| `- note: property declared here
28 | var onDidScroll: (_ verticalContentOffset: Double) -> Void
29 | var onDidResetContentOffset: () -> Void
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
158 | uiView.onDraggingEnded = component.onDraggingEnded
159 | uiView.onDecelaratingEnded = component.onDecelaratingEnded
| `- warning: main actor-isolated property 'onDecelaratingEnded' can not be referenced from a nonisolated context
160 | uiView.onDidScroll = component.onDidScroll
161 | uiView.onDidResetContentOffset = component.onDidResetContentOffset
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:160:16: warning: main actor-isolated property 'onDidScroll' can not be mutated from a nonisolated context
26 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
27 | var onDecelaratingEnded: () -> Void
28 | var onDidScroll: (_ verticalContentOffset: Double) -> Void
| `- note: mutation of this property is only permitted within the actor
29 | var onDidResetContentOffset: () -> Void
30 |
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
158 | uiView.onDraggingEnded = component.onDraggingEnded
159 | uiView.onDecelaratingEnded = component.onDecelaratingEnded
160 | uiView.onDidScroll = component.onDidScroll
| `- warning: main actor-isolated property 'onDidScroll' can not be mutated from a nonisolated context
161 | uiView.onDidResetContentOffset = component.onDidResetContentOffset
162 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:160:40: warning: main actor-isolated property 'onDidScroll' can not be referenced from a nonisolated context
26 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
27 | var onDecelaratingEnded: () -> Void
28 | var onDidScroll: (_ verticalContentOffset: Double) -> Void
| `- note: property declared here
29 | var onDidResetContentOffset: () -> Void
30 |
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
158 | uiView.onDraggingEnded = component.onDraggingEnded
159 | uiView.onDecelaratingEnded = component.onDecelaratingEnded
160 | uiView.onDidScroll = component.onDidScroll
| `- warning: main actor-isolated property 'onDidScroll' can not be referenced from a nonisolated context
161 | uiView.onDidResetContentOffset = component.onDidResetContentOffset
162 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:161:16: warning: main actor-isolated property 'onDidResetContentOffset' can not be mutated from a nonisolated context
27 | var onDecelaratingEnded: () -> Void
28 | var onDidScroll: (_ verticalContentOffset: Double) -> Void
29 | var onDidResetContentOffset: () -> Void
| `- note: mutation of this property is only permitted within the actor
30 |
31 | // MARK: - Properties: Private
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
159 | uiView.onDecelaratingEnded = component.onDecelaratingEnded
160 | uiView.onDidScroll = component.onDidScroll
161 | uiView.onDidResetContentOffset = component.onDidResetContentOffset
| `- warning: main actor-isolated property 'onDidResetContentOffset' can not be mutated from a nonisolated context
162 |
163 | if component.safeAreaBottom != uiView.safeAreaBottom {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:161:52: warning: main actor-isolated property 'onDidResetContentOffset' can not be referenced from a nonisolated context
27 | var onDecelaratingEnded: () -> Void
28 | var onDidScroll: (_ verticalContentOffset: Double) -> Void
29 | var onDidResetContentOffset: () -> Void
| `- note: property declared here
30 |
31 | // MARK: - Properties: Private
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
159 | uiView.onDecelaratingEnded = component.onDecelaratingEnded
160 | uiView.onDidScroll = component.onDidScroll
161 | uiView.onDidResetContentOffset = component.onDidResetContentOffset
| `- warning: main actor-isolated property 'onDidResetContentOffset' can not be referenced from a nonisolated context
162 |
163 | if component.safeAreaBottom != uiView.safeAreaBottom {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:163:22: warning: main actor-isolated property 'safeAreaBottom' can not be referenced from a nonisolated context
22 | }
23 |
24 | var safeAreaBottom: Double
| `- note: property declared here
25 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
26 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
161 | uiView.onDidResetContentOffset = component.onDidResetContentOffset
162 |
163 | if component.safeAreaBottom != uiView.safeAreaBottom {
| `- warning: main actor-isolated property 'safeAreaBottom' can not be referenced from a nonisolated context
164 | uiView.safeAreaBottom = component.safeAreaBottom
165 | uiView.reloadData()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:163:47: warning: main actor-isolated property 'safeAreaBottom' can not be referenced from a nonisolated context
22 | }
23 |
24 | var safeAreaBottom: Double
| `- note: property declared here
25 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
26 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
161 | uiView.onDidResetContentOffset = component.onDidResetContentOffset
162 |
163 | if component.safeAreaBottom != uiView.safeAreaBottom {
| `- warning: main actor-isolated property 'safeAreaBottom' can not be referenced from a nonisolated context
164 | uiView.safeAreaBottom = component.safeAreaBottom
165 | uiView.reloadData()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:164:20: warning: main actor-isolated property 'safeAreaBottom' can not be mutated from a nonisolated context
22 | }
23 |
24 | var safeAreaBottom: Double
| `- note: mutation of this property is only permitted within the actor
25 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
26 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
162 |
163 | if component.safeAreaBottom != uiView.safeAreaBottom {
164 | uiView.safeAreaBottom = component.safeAreaBottom
| `- warning: main actor-isolated property 'safeAreaBottom' can not be mutated from a nonisolated context
165 | uiView.reloadData()
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:164:47: warning: main actor-isolated property 'safeAreaBottom' can not be referenced from a nonisolated context
22 | }
23 |
24 | var safeAreaBottom: Double
| `- note: property declared here
25 | var shouldBeginDragging: (VerticalContentOffset, VerticalDragTranslation) -> Bool
26 | var onDraggingEnded: (_ willDecelerate: Bool) -> Void
:
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
:
162 |
163 | if component.safeAreaBottom != uiView.safeAreaBottom {
164 | uiView.safeAreaBottom = component.safeAreaBottom
| `- warning: main actor-isolated property 'safeAreaBottom' can not be referenced from a nonisolated context
165 | uiView.reloadData()
166 | }
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DimmingView.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DimmingView.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DragHandle.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DragHandle.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DrawerContentCollectionView.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentOffsetController.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DrawerContentOffsetController.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftyDrawer (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:35:32: error: 'UICollectionLayoutListConfiguration' is unavailable in watchOS
33 | private let drawerContentOffsetController: DrawerContentOffsetController?
34 |
35 | private let configuration: UICollectionLayoutListConfiguration = {
| `- error: 'UICollectionLayoutListConfiguration' is unavailable in watchOS
36 | var configuration = UICollectionLayoutListConfiguration(appearance: .plain)
37 | configuration.showsSeparators = false
UIKit.UICollectionLayoutListConfiguration:3:15: note: 'UICollectionLayoutListConfiguration' has been explicitly marked unavailable here
1 | @available(iOS 14.0, tvOS 14.0, *)
2 | @available(watchOS, unavailable)
3 | public struct UICollectionLayoutListConfiguration {
| `- note: 'UICollectionLayoutListConfiguration' has been explicitly marked unavailable here
4 | public enum Appearance {
5 | case plain
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:36:29: error: 'UICollectionLayoutListConfiguration' is unavailable in watchOS
34 |
35 | private let configuration: UICollectionLayoutListConfiguration = {
36 | var configuration = UICollectionLayoutListConfiguration(appearance: .plain)
| `- error: 'UICollectionLayoutListConfiguration' is unavailable in watchOS
37 | configuration.showsSeparators = false
38 | configuration.backgroundColor = .clear
UIKit.UICollectionLayoutListConfiguration:3:15: note: 'UICollectionLayoutListConfiguration' has been explicitly marked unavailable here
1 | @available(iOS 14.0, tvOS 14.0, *)
2 | @available(watchOS, unavailable)
3 | public struct UICollectionLayoutListConfiguration {
| `- note: 'UICollectionLayoutListConfiguration' has been explicitly marked unavailable here
4 | public enum Appearance {
5 | case plain
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:42:43: error: 'UICollectionView' is unavailable in watchOS
40 | }()
41 |
42 | private let swiftUICellRegistration = UICollectionView.CellRegistration<UICollectionViewListCell, Content> { collectionViewCell, _, content in
| `- error: 'UICollectionView' is unavailable in watchOS
43 | if #available(iOS 16.0, *) {
44 | let hostingConfiguration = UIHostingConfiguration { content }
/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:44:40: error: 'UIHostingConfiguration' is unavailable in watchOS
42 | private let swiftUICellRegistration = UICollectionView.CellRegistration<UICollectionViewListCell, Content> { collectionViewCell, _, content in
43 | if #available(iOS 16.0, *) {
44 | let hostingConfiguration = UIHostingConfiguration { content }
| `- error: 'UIHostingConfiguration' is unavailable in watchOS
45 | .margins(.horizontal, 0)
46 | .margins(.vertical, 0)
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
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:44:40: error: 'init(content:)' is unavailable in watchOS
42 | private let swiftUICellRegistration = UICollectionView.CellRegistration<UICollectionViewListCell, Content> { collectionViewCell, _, content in
43 | if #available(iOS 16.0, *) {
44 | let hostingConfiguration = UIHostingConfiguration { content }
| `- error: 'init(content:)' is unavailable in watchOS
45 | .margins(.horizontal, 0)
46 | .margins(.vertical, 0)
SwiftUI.UIHostingConfiguration.init:2:8: note: 'init(content:)' has been explicitly marked unavailable here
1 | generic struct UIHostingConfiguration {
2 | public init(@ContentBuilder content: () -> Content)}
| `- note: 'init(content:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:48:32: error: 'contentConfiguration' is unavailable in watchOS
46 | .margins(.vertical, 0)
47 |
48 | collectionViewCell.contentConfiguration = hostingConfiguration
| `- error: 'contentConfiguration' is unavailable in watchOS
49 | collectionViewCell.backgroundView = .init()
50 | collectionViewCell.backgroundView?.backgroundColor = .clear
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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:49:50: error: 'init()' is unavailable in watchOS
47 |
48 | collectionViewCell.contentConfiguration = hostingConfiguration
49 | collectionViewCell.backgroundView = .init()
| `- error: 'init()' is unavailable in watchOS
50 | collectionViewCell.backgroundView?.backgroundColor = .clear
51 | collectionViewCell.backgroundColor = .clear
/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:100:60: error: 'UIEvent' is unavailable in watchOS
98 |
99 | /// Touch events in empty space outside of cells should not be registered and passed to the Drawer instead
100 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
101 | guard let cell = visibleCells.first else { return false }
102 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:108:69: error: 'UIGestureRecognizer' is unavailable in watchOS
106 | // MARK: - Gesture recognizer
107 |
108 | override func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
109 | guard let panGestureRecognizer = gestureRecognizer as? UIPanGestureRecognizer else { return false }
110 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:117:38: error: 'UIScrollView' is unavailable in watchOS
115 | // MARK: - UIScrollViewDelegate
116 |
117 | func scrollViewDidEndDragging(_: UIScrollView, willDecelerate decelerate: Bool) {
| `- error: 'UIScrollView' is unavailable in watchOS
118 | onDraggingEnded(decelerate)
119 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:121:42: error: 'UIScrollView' is unavailable in watchOS
119 | }
120 |
121 | func scrollViewDidEndDecelerating(_: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
122 | onDecelaratingEnded()
123 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:125:44: error: 'UIScrollView' is unavailable in watchOS
123 | }
124 |
125 | func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
126 | onDidScroll(scrollView.contentOffset.y)
127 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:131:28: error: 'UICollectionView' is unavailable in watchOS
129 | // MARK: - UICollectionViewDataSource
130 |
131 | func collectionView(_: UICollectionView, numberOfItemsInSection _: Int) -> Int { 1 }
| `- error: 'UICollectionView' is unavailable in watchOS
132 |
133 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> 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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:133:43: error: 'UICollectionView' is unavailable in watchOS
131 | func collectionView(_: UICollectionView, numberOfItemsInSection _: Int) -> Int { 1 }
132 |
133 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: 'UICollectionView' is unavailable in watchOS
134 | collectionView.dequeueConfiguredReusableCell(using: swiftUICellRegistration, for: indexPath, item: content)
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/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:133:100: error: 'UICollectionViewCell' is unavailable in watchOS
131 | func collectionView(_: UICollectionView, numberOfItemsInSection _: Int) -> Int { 1 }
132 |
133 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
134 | collectionView.dequeueConfiguredReusableCell(using: swiftUICellRegistration, for: indexPath, item: content)
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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:139:28: error: 'UICollectionView' is unavailable in watchOS
137 | // MARK: - UICollectionViewDelegate
138 |
139 | func collectionView(_: UICollectionView, shouldHighlightItemAt _: IndexPath) -> Bool { false }
| `- error: 'UICollectionView' is unavailable in watchOS
140 | }
141 |
/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:9:51: error: 'UICollectionView' is unavailable in watchOS
7 | /// compared to a UIScrollView which leads to UI freezes or a UITableView which crashes the app.
8 | /// Hopefully SwiftUI will soon offer tools to quickly make this Frankenstein setup obsolete.
9 | class DrawerContentCollectionView<Content: View>: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate {
| `- error: 'UICollectionView' is unavailable in watchOS
10 | // MARK: - Properties: Internal
11 |
/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:9:69: error: 'UICollectionViewDataSource' is unavailable in watchOS
7 | /// compared to a UIScrollView which leads to UI freezes or a UITableView which crashes the app.
8 | /// Hopefully SwiftUI will soon offer tools to quickly make this Frankenstein setup obsolete.
9 | class DrawerContentCollectionView<Content: View>: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate {
| `- error: 'UICollectionViewDataSource' is unavailable in watchOS
10 | // MARK: - Properties: Internal
11 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:73:11: note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
71 |
72 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
73 | @protocol UICollectionViewDataSource <NSObject>
| `- note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
74 | @required
75 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:9:97: error: 'UICollectionViewDelegate' is unavailable in watchOS
7 | /// compared to a UIScrollView which leads to UI freezes or a UITableView which crashes the app.
8 | /// Hopefully SwiftUI will soon offer tools to quickly make this Frankenstein setup obsolete.
9 | class DrawerContentCollectionView<Content: View>: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate {
| `- error: 'UICollectionViewDelegate' is unavailable in watchOS
10 | // MARK: - Properties: Internal
11 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:114:11: note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
112 |
113 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
114 | @protocol UICollectionViewDelegate <UIScrollViewDelegate>
| `- note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
115 | @optional
116 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:153:32: error: cannot find type 'Context' in scope
151 | let component: DrawerContentCollectionView<Content>
152 |
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
| `- error: cannot find type 'Context' in scope
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:155:82: error: cannot find type 'Context' in scope
153 | func makeUIView(context _: Context) -> DrawerContentCollectionView<Content> { component }
154 |
155 | func updateUIView(_ uiView: DrawerContentCollectionView<Content>, context _: Context) {
| `- error: cannot find type 'Context' in scope
156 | uiView.content = component.content
157 | uiView.shouldBeginDragging = component.shouldBeginDragging
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift:150:65: error: cannot find type 'UIViewRepresentable' in scope
148 | }
149 |
150 | struct DrawerContentCollectionViewRepresentable<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
151 | let component: DrawerContentCollectionView<Content>
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:32:30: error: 'UICollectionViewFlowLayout' is unavailable in watchOS
30 | // MARK: - Properties: Private
31 |
32 | private let flowLayout = UICollectionViewFlowLayout()
| `- error: 'UICollectionViewFlowLayout' is unavailable in watchOS
33 | private let drawerContentOffsetController: DrawerContentOffsetController?
34 | private var lastUsedSafeAreaBottom: Double?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h:46:12: note: 'UICollectionViewFlowLayout' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UICollectionViewFlowLayout : UICollectionViewLayout
| `- note: 'UICollectionViewFlowLayout' has been explicitly marked unavailable here
47 |
48 | @property (nonatomic) CGFloat minimumLineSpacing;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:83:60: error: 'UIEvent' is unavailable in watchOS
81 |
82 | /// Touch events in empty space outside of cells should not be registered and passed to the Drawer instead
83 | override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
84 | guard let cell = visibleCells.first else { return false }
85 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:91:69: error: 'UIGestureRecognizer' is unavailable in watchOS
89 | // MARK: - Gesture recognizer
90 |
91 | override func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
92 | guard let panGestureRecognizer = gestureRecognizer as? UIPanGestureRecognizer else { return false }
93 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:100:38: error: 'UIScrollView' is unavailable in watchOS
98 | // MARK: - UIScrollViewDelegate
99 |
100 | func scrollViewDidEndDragging(_: UIScrollView, willDecelerate decelerate: Bool) {
| `- error: 'UIScrollView' is unavailable in watchOS
101 | onDraggingEnded(decelerate)
102 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:104:42: error: 'UIScrollView' is unavailable in watchOS
102 | }
103 |
104 | func scrollViewDidEndDecelerating(_: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
105 | onDecelaratingEnded()
106 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:108:44: error: 'UIScrollView' is unavailable in watchOS
106 | }
107 |
108 | func scrollViewDidScroll(_ scrollView: UIScrollView) {
| `- error: 'UIScrollView' is unavailable in watchOS
109 | onDidScroll(scrollView.contentOffset.y)
110 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:114:28: error: 'UICollectionView' is unavailable in watchOS
112 | // MARK: - UICollectionViewDataSource
113 |
114 | func collectionView(_: UICollectionView, numberOfItemsInSection _: Int) -> Int { 1 }
| `- error: 'UICollectionView' is unavailable in watchOS
115 |
116 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> 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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:116:43: error: 'UICollectionView' is unavailable in watchOS
114 | func collectionView(_: UICollectionView, numberOfItemsInSection _: Int) -> Int { 1 }
115 |
116 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: 'UICollectionView' is unavailable in watchOS
117 | let cell = collectionView.dequeueReusableCell(
118 | withReuseIdentifier: String(describing: UICollectionViewCell.self),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:116:100: error: 'UICollectionViewCell' is unavailable in watchOS
114 | func collectionView(_: UICollectionView, numberOfItemsInSection _: Int) -> Int { 1 }
115 |
116 | func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
| `- error: 'UICollectionViewCell' is unavailable in watchOS
117 | let cell = collectionView.dequeueReusableCell(
118 | withReuseIdentifier: String(describing: UICollectionViewCell.self),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:4:57: error: 'UICollectionView' is unavailable in watchOS
2 | import UIKit
3 |
4 | class LegacyDrawerContentCollectionView<Content: View>: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate {
| `- error: 'UICollectionView' is unavailable in watchOS
5 | // MARK: - Properties: Internal
6 |
/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/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:4:75: error: 'UICollectionViewDataSource' is unavailable in watchOS
2 | import UIKit
3 |
4 | class LegacyDrawerContentCollectionView<Content: View>: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate {
| `- error: 'UICollectionViewDataSource' is unavailable in watchOS
5 | // MARK: - Properties: Internal
6 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:73:11: note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
71 |
72 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
73 | @protocol UICollectionViewDataSource <NSObject>
| `- note: 'UICollectionViewDataSource' has been explicitly marked unavailable here
74 | @required
75 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:4:103: error: 'UICollectionViewDelegate' is unavailable in watchOS
2 | import UIKit
3 |
4 | class LegacyDrawerContentCollectionView<Content: View>: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate {
| `- error: 'UICollectionViewDelegate' is unavailable in watchOS
5 | // MARK: - Properties: Internal
6 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:114:11: note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
112 |
113 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
114 | @protocol UICollectionViewDelegate <UIScrollViewDelegate>
| `- note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
115 | @optional
116 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:185:32: error: cannot find type 'Context' in scope
183 | let component: LegacyDrawerContentCollectionView<Content>
184 |
185 | func makeUIView(context _: Context) -> LegacyDrawerContentCollectionView<Content> { component }
| `- error: cannot find type 'Context' in scope
186 |
187 | func updateUIView(_ uiView: LegacyDrawerContentCollectionView<Content>, context _: Context) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:187:88: error: cannot find type 'Context' in scope
185 | func makeUIView(context _: Context) -> LegacyDrawerContentCollectionView<Content> { component }
186 |
187 | func updateUIView(_ uiView: LegacyDrawerContentCollectionView<Content>, context _: Context) {
| `- error: cannot find type 'Context' in scope
188 | uiView.content = component.content
189 | uiView.shouldBeginDragging = component.shouldBeginDragging
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift:182:71: error: cannot find type 'UIViewRepresentable' in scope
180 | }
181 |
182 | struct LegacyDrawerContentCollectionViewRepresentable<Content: View>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
183 | let component: LegacyDrawerContentCollectionView<Content>
184 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:39:31: error: 'CALayer' is unavailable in watchOS
37 | }
38 |
39 | private var shadowLayer = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
40 | private var previousBounds: CGRect?
41 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:78:49: error: 'CALayer' is unavailable in watchOS
76 | }
77 |
78 | private func drawShadowPath(of shadowLayer: CALayer) {
| `- error: 'CALayer' is unavailable in watchOS
79 | shadowLayer.shadowPath = UIBezierPath(
80 | roundedRect: bounds,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:6:37: error: 'UIView' is unavailable in watchOS
4 |
5 | /// The `PrerenderedShadowView` replaces the default SwiftUI shadow modifier. It has a smaller performance impact due to its shadow path, which must not be redrawn if the layout changes.
6 | public class PrerenderedShadowView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | public struct ShadowConfiguration: Equatable {
8 | let layerCornerRadius: Double
/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/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:103:39: error: cannot find type 'Context' in scope
101 | public let component: PrerenderedShadowView
102 |
103 | public func makeUIView(context _: Context) -> PrerenderedShadowView { component }
| `- error: cannot find type 'Context' in scope
104 | public func updateUIView(_ uiView: PrerenderedShadowView, context _: Context) {
105 | uiView.updateShadowLayerIfNeeded(with: component.configuration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:104:74: error: cannot find type 'Context' in scope
102 |
103 | public func makeUIView(context _: Context) -> PrerenderedShadowView { component }
104 | public func updateUIView(_ uiView: PrerenderedShadowView, context _: Context) {
| `- error: cannot find type 'Context' in scope
105 | uiView.updateShadowLayerIfNeeded(with: component.configuration)
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift:100:49: error: cannot find type 'UIViewRepresentable' in scope
98 | }
99 |
100 | public struct PrerenderedShadowViewRepresenter: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
101 | public let component: PrerenderedShadowView
102 |
SwiftyDrawer/EnvironmentValues+Drawer.swift:10:43: warning: Storing a class type in '@Entry var drawerFloatingButtonsConfiguration' may invalidate dependents on every update because the default value is reallocated on every access. Initialize the default value elsewhere and reference it from the '@Entry' declaration. (from macro '_SwiftUIEntryTypeCheck')
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/EnvironmentValues+Drawer.swift:13:6: note: expanded code originates here
8 | @Entry var isDrawerHapticFeedbackEnabled = false
9 |
10 | @Entry var drawerFloatingButtonsConfiguration = DrawerFloatingButtonsConfiguration(
| `- note: in expansion of macro 'Entry' on property 'drawerFloatingButtonsConfiguration' here
11 | leadingButtons: [],
12 | trailingButtons: []
13 | )
+--- macro expansion @Entry -----------------------------------------
| 6 | )
| 7 | #sourceLocation(file: "SwiftyDrawer/EnvironmentValues+Drawer.swift", line: 10)
| 8 | private static let _typeCheck: Void = #_SwiftUIEntryTypeCheck(Value.self, macroName: "Entry", propertyName: "drawerFloatingButtonsConfiguration")
| | `- warning: Storing a class type in '@Entry var drawerFloatingButtonsConfiguration' may invalidate dependents on every update because the default value is reallocated on every access. Initialize the default value elsewhere and reference it from the '@Entry' declaration. (from macro '_SwiftUIEntryTypeCheck')
| 9 | #sourceLocation()
|10 | }
+--------------------------------------------------------------------
14 |
15 | @Entry var isApplyingRenderingOptimizationToDrawerHeader = true
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/SwiftyDrawer/ChildViews/DimmingView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DragHandle.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentCollectionView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/DrawerContentOffsetController.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerContentCollectionView/LegacyDrawerContentCollectionView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/DrawerVerticallyCenteredContentContainerView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/PrerenderedShadowView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/ChildViews/RoundFloatingButton.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Drawer+CollectionView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Drawer+Internal.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Drawer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/DrawerOverlayModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/DrawerPositionCalculator.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/DrawerStateReducer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/EnvironmentValues+Drawer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/BinaryFloatingPoint+Normalization.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/CGFloat+Rounding.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/Color+Theme.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/EdgeInsets+Hashable.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+Accessibility.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+Condition.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+DrawingGroup.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+Geometry.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+HapticFeedback.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+OnFirstAppear.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+RoundedCorners.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Models/DragDirection.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Models/DrawerConstants.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Models/DrawerContentLayoutStrategy.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Models/DrawerFloatingButtonsConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Models/DrawerPositions/DrawerBottomPosition.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Models/DrawerPositions/DrawerMidPosition.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Models/DrawerPositions/DrawerTopPosition.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Models/DrawerState.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Models/DrawerStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Utils/DrawerOriginObservable.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Utils/Trigger.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/View+DrawerOverlay.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyDrawer.build/Debug-watchos/SwiftyDrawer-t.build/Objects-normal/arm64_32/SwiftyDrawer-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -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/SwiftyDrawer.build/Debug-watchos/SwiftyDrawer-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyDrawer.build/Debug-watchos/SwiftyDrawer-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyDrawer.build/Debug-watchos/SwiftyDrawer-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftyDrawer -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyDrawer.build/Debug-watchos/SwiftyDrawer-t.build/Objects-normal/arm64_32/SwiftyDrawer_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/SwiftyDrawer.build/Debug-watchos/SwiftyDrawer-t.build/Objects-normal/arm64_32/SwiftyDrawer.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyDrawer.build/Debug-watchos/SwiftyDrawer-t.build/Objects-normal/arm64_32/SwiftyDrawer.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyDrawer.build/Debug-watchos/SwiftyDrawer-t.build/Objects-normal/arm64_32/SwiftyDrawer-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyDrawer.build/Debug-watchos/SwiftyDrawer-t.build/Objects-normal/arm64_32/SwiftyDrawer-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyDrawer.build/Debug-watchos/SwiftyDrawer-t.build/Objects-normal/arm64_32/SwiftyDrawer-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyDrawer.build/Debug-watchos/SwiftyDrawer-t.build/Objects-normal/arm64_32/SwiftyDrawer.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyDrawer.build/Debug-watchos/SwiftyDrawer-t.build/Objects-normal/arm64_32/SwiftyDrawer.abi.json
SwiftCompile normal arm64_32 (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ CGFloat+Rounding.swift,\ Color+Theme.swift,\ EdgeInsets+Hashable.swift,\ View+Accessibility.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/CGFloat+Rounding.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/Color+Theme.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/EdgeInsets+Hashable.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+Accessibility.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/CGFloat+Rounding.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CGFloat+Rounding.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/Color+Theme.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Color+Theme.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/EdgeInsets+Hashable.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EdgeInsets+Hashable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyDrawer/Extensions/View+Accessibility.swift (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile View+Accessibility.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-23 07:07:42.494 xcodebuild[944:5584] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-23 07:07:42.605 xcodebuild[944:5584] [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\ SwiftyDrawer (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
SwiftCompile normal arm64_32 (in target 'SwiftyDrawer' from project 'SwiftyDrawer')
Building workspace SwiftyDrawer with scheme SwiftyDrawer
(3 failures)
BUILD FAILURE 6.4 watchOS