Build Information
Failed to build AutoLayoutConvenience, reference main (c13a8e), with Swift 6.4 for watchOS using Xcode 27.0 on 23 Oct 2026 06:21:53 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AutoLayoutConvenience -destination generic/platform=watchOSBuild Log
| `- error: 'UIView' is unavailable in watchOS
104 | return atLeast(.relative(view), priority: priority, multiplier: multiplier, constant: constant)
105 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:103:94: error: 'UILayoutPriority' is unavailable in watchOS
101 | /// Makes the view at least `multiplier` multipliedBy another view.
102 | /// Note that the view that is being referenced should already be in the same view hierarchy.
103 | public static func atLeast(sameAs view: UIView, multipliedBy multiplier: CGFloat, priority: UILayoutPriority = .required, constant: CGFloat = 0) -> Self {
| `- error: 'UILayoutPriority' is unavailable in watchOS
104 | return atLeast(.relative(view), priority: priority, multiplier: multiplier, constant: constant)
105 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:103:114: error: 'required' is unavailable in watchOS
101 | /// Makes the view at least `multiplier` multipliedBy another view.
102 | /// Note that the view that is being referenced should already be in the same view hierarchy.
103 | public static func atLeast(sameAs view: UIView, multipliedBy multiplier: CGFloat, priority: UILayoutPriority = .required, constant: CGFloat = 0) -> Self {
| `- error: 'required' is unavailable in watchOS
104 | return atLeast(.relative(view), priority: priority, multiplier: multiplier, constant: constant)
105 | }
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:109:85: error: 'UILayoutPriority' is unavailable in watchOS
107 | /// Makes the view exactly `multiplier` multipliedBy another layout.
108 | /// Note that the layout that is being referenced should already be in the same view hierarchy.
109 | public static func exactly(_ value: T, multipliedBy multiplier: CGFloat, priority: UILayoutPriority = .required, constant: CGFloat = 0) -> Self {
| `- error: 'UILayoutPriority' is unavailable in watchOS
110 | return exactly(value, priority: priority, multiplier: multiplier, constant: constant)
111 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:109:105: error: 'required' is unavailable in watchOS
107 | /// Makes the view exactly `multiplier` multipliedBy another layout.
108 | /// Note that the layout that is being referenced should already be in the same view hierarchy.
109 | public static func exactly(_ value: T, multipliedBy multiplier: CGFloat, priority: UILayoutPriority = .required, constant: CGFloat = 0) -> Self {
| `- error: 'required' is unavailable in watchOS
110 | return exactly(value, priority: priority, multiplier: multiplier, constant: constant)
111 | }
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:115:42: error: 'UIView' is unavailable in watchOS
113 | /// Makes the view exactly `multiplier` multipliedBy another view.
114 | /// Note that the view that is being referenced should already be in the same view hierarchy.
115 | public static func exactly(sameAs view: UIView, multipliedBy multiplier: CGFloat, priority: UILayoutPriority = .required, constant: CGFloat = 0) -> Self {
| `- error: 'UIView' is unavailable in watchOS
116 | return exactly(.relative(view), priority: priority, multiplier: multiplier, constant: constant)
117 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:115:94: error: 'UILayoutPriority' is unavailable in watchOS
113 | /// Makes the view exactly `multiplier` multipliedBy another view.
114 | /// Note that the view that is being referenced should already be in the same view hierarchy.
115 | public static func exactly(sameAs view: UIView, multipliedBy multiplier: CGFloat, priority: UILayoutPriority = .required, constant: CGFloat = 0) -> Self {
| `- error: 'UILayoutPriority' is unavailable in watchOS
116 | return exactly(.relative(view), priority: priority, multiplier: multiplier, constant: constant)
117 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:115:114: error: 'required' is unavailable in watchOS
113 | /// Makes the view exactly `multiplier` multipliedBy another view.
114 | /// Note that the view that is being referenced should already be in the same view hierarchy.
115 | public static func exactly(sameAs view: UIView, multipliedBy multiplier: CGFloat, priority: UILayoutPriority = .required, constant: CGFloat = 0) -> Self {
| `- error: 'required' is unavailable in watchOS
116 | return exactly(.relative(view), priority: priority, multiplier: multiplier, constant: constant)
117 | }
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:121:84: error: 'UILayoutPriority' is unavailable in watchOS
119 | /// Makes the view at most `multiplier` multipliedBy another layout.
120 | /// Note that the layout that is being referenced should already be in the same view hierarchy.
121 | public static func atMost(_ value: T, multipliedBy multiplier: CGFloat, priority: UILayoutPriority = .required, constant: CGFloat = 0) -> Self {
| `- error: 'UILayoutPriority' is unavailable in watchOS
122 | return atMost(value, priority: priority, multiplier: multiplier, constant: constant)
123 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:121:104: error: 'required' is unavailable in watchOS
119 | /// Makes the view at most `multiplier` multipliedBy another layout.
120 | /// Note that the layout that is being referenced should already be in the same view hierarchy.
121 | public static func atMost(_ value: T, multipliedBy multiplier: CGFloat, priority: UILayoutPriority = .required, constant: CGFloat = 0) -> Self {
| `- error: 'required' is unavailable in watchOS
122 | return atMost(value, priority: priority, multiplier: multiplier, constant: constant)
123 | }
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:127:41: error: 'UIView' is unavailable in watchOS
125 | /// Makes the view at most `multiplier` multipliedBy another view.
126 | /// Note that the view that is being referenced should already be in the same view hierarchy.
127 | public static func atMost(sameAs view: UIView, multipliedBy multiplier: CGFloat, priority: UILayoutPriority = .required, constant: CGFloat = 0) -> Self {
| `- error: 'UIView' is unavailable in watchOS
128 | return atMost(.relative(view), priority: priority, multiplier: multiplier, constant: constant)
129 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:127:93: error: 'UILayoutPriority' is unavailable in watchOS
125 | /// Makes the view at most `multiplier` multipliedBy another view.
126 | /// Note that the view that is being referenced should already be in the same view hierarchy.
127 | public static func atMost(sameAs view: UIView, multipliedBy multiplier: CGFloat, priority: UILayoutPriority = .required, constant: CGFloat = 0) -> Self {
| `- error: 'UILayoutPriority' is unavailable in watchOS
128 | return atMost(.relative(view), priority: priority, multiplier: multiplier, constant: constant)
129 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:127:113: error: 'required' is unavailable in watchOS
125 | /// Makes the view at most `multiplier` multipliedBy another view.
126 | /// Note that the view that is being referenced should already be in the same view hierarchy.
127 | public static func atMost(sameAs view: UIView, multipliedBy multiplier: CGFloat, priority: UILayoutPriority = .required, constant: CGFloat = 0) -> Self {
| `- error: 'required' is unavailable in watchOS
128 | return atMost(.relative(view), priority: priority, multiplier: multiplier, constant: constant)
129 | }
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:220:23: error: 'UILayoutPriority' is unavailable in watchOS
218 | @discardableResult public func constrain(widthBetween widthRange: Range<CGFloat>? = nil,
219 | heightBetween heightRange: Range<CGFloat>? = nil,
220 | priority: UILayoutPriority = .required) -> Self {
| `- error: 'UILayoutPriority' is unavailable in watchOS
221 | let scale = UIScreen.main.scale
222 | let pixelSize = scale > 0 ? (1 / scale) : 1
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:220:43: error: 'required' is unavailable in watchOS
218 | @discardableResult public func constrain(widthBetween widthRange: Range<CGFloat>? = nil,
219 | heightBetween heightRange: Range<CGFloat>? = nil,
220 | priority: UILayoutPriority = .required) -> Self {
| `- error: 'required' is unavailable in watchOS
221 | let scale = UIScreen.main.scale
222 | let pixelSize = scale > 0 ? (1 / scale) : 1
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:239:23: error: 'UILayoutPriority' is unavailable in watchOS
237 | @discardableResult public func constrain(widthBetween widthRange: ClosedRange<CGFloat>? = nil,
238 | heightBetween heightRange: ClosedRange<CGFloat>? = nil,
239 | priority: UILayoutPriority = .required) -> Self {
| `- error: 'UILayoutPriority' is unavailable in watchOS
240 | var constraints = [NSLayoutConstraint]()
241 | if let widthRange = widthRange {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:239:43: error: 'required' is unavailable in watchOS
237 | @discardableResult public func constrain(widthBetween widthRange: ClosedRange<CGFloat>? = nil,
238 | heightBetween heightRange: ClosedRange<CGFloat>? = nil,
239 | priority: UILayoutPriority = .required) -> Self {
| `- error: 'required' is unavailable in watchOS
240 | var constraints = [NSLayoutConstraint]()
241 | if let widthRange = widthRange {
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:132:11: error: 'UIView' is unavailable in watchOS
130 | }
131 |
132 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
133 | /// Constrains this view to a given `size`
134 | ///
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:262:36: error: 'NSLayoutDimension' is unavailable in watchOS
260 |
261 | extension SizeConstrain where T == CGFloat {
262 | func layoutConstraint(for anchor: NSLayoutDimension) -> NSLayoutConstraint {
| `- error: 'NSLayoutDimension' is unavailable in watchOS
263 | let actualValue = value * multiplier + constant
264 | switch type {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:81:12: note: 'NSLayoutDimension' has been explicitly marked unavailable here
79 | // This layout anchor subclass is used for sizes (width & height).
80 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension *>
| `- note: 'NSLayoutDimension' has been explicitly marked unavailable here
82 |
83 | // These methods return an inactive constraint of the form thisVariable = constant.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:262:58: error: 'NSLayoutConstraint' is unavailable in watchOS
260 |
261 | extension SizeConstrain where T == CGFloat {
262 | func layoutConstraint(for anchor: NSLayoutDimension) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
263 | let actualValue = value * multiplier + constant
264 | switch type {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:278:36: error: 'NSLayoutDimension' is unavailable in watchOS
276 |
277 | extension SizeConstrain where T: SingleAxisLayout {
278 | func layoutConstraint(for anchor: NSLayoutDimension, in view: UIView) -> NSLayoutConstraint? {
| `- error: 'NSLayoutDimension' is unavailable in watchOS
279 | guard let layoutAnchorsProvider = value.axis.layoutAnchorsProvider(in: view) else { return nil }
280 | let dimension = T.layoutDimension(in: layoutAnchorsProvider)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:81:12: note: 'NSLayoutDimension' has been explicitly marked unavailable here
79 | // This layout anchor subclass is used for sizes (width & height).
80 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension *>
| `- note: 'NSLayoutDimension' has been explicitly marked unavailable here
82 |
83 | // These methods return an inactive constraint of the form thisVariable = constant.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:278:64: error: 'UIView' is unavailable in watchOS
276 |
277 | extension SizeConstrain where T: SingleAxisLayout {
278 | func layoutConstraint(for anchor: NSLayoutDimension, in view: UIView) -> NSLayoutConstraint? {
| `- error: 'UIView' is unavailable in watchOS
279 | guard let layoutAnchorsProvider = value.axis.layoutAnchorsProvider(in: view) else { return nil }
280 | let dimension = T.layoutDimension(in: layoutAnchorsProvider)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:278:75: error: 'NSLayoutConstraint' is unavailable in watchOS
276 |
277 | extension SizeConstrain where T: SingleAxisLayout {
278 | func layoutConstraint(for anchor: NSLayoutDimension, in view: UIView) -> NSLayoutConstraint? {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
279 | guard let layoutAnchorsProvider = value.axis.layoutAnchorsProvider(in: view) else { return nil }
280 | let dimension = T.layoutDimension(in: layoutAnchorsProvider)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:221:15: error: 'UIScreen' is unavailable in watchOS
219 | heightBetween heightRange: Range<CGFloat>? = nil,
220 | priority: UILayoutPriority = .required) -> Self {
221 | let scale = UIScreen.main.scale
| `- error: 'UIScreen' is unavailable in watchOS
222 | let pixelSize = scale > 0 ? (1 / scale) : 1
223 |
/Applications/Xcode-27.0.0.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/UIView/UIView+SizeConstraints.swift:221:24: error: 'main' is unavailable in watchOS
219 | heightBetween heightRange: Range<CGFloat>? = nil,
220 | priority: UILayoutPriority = .required) -> Self {
221 | let scale = UIScreen.main.scale
| `- error: 'main' is unavailable in watchOS
222 | let pixelSize = scale > 0 ? (1 / scale) : 1
223 |
/Applications/Xcode-27.0.0.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
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift:240:22: error: 'NSLayoutConstraint' is unavailable in watchOS
238 | heightBetween heightRange: ClosedRange<CGFloat>? = nil,
239 | priority: UILayoutPriority = .required) -> Self {
240 | var constraints = [NSLayoutConstraint]()
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
241 | if let widthRange = widthRange {
242 | constraints += [
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+TraitCollection.swift:73:38: error: 'UITrait' is unavailable in watchOS
71 |
72 | @available(iOS 17, *)
73 | private static let allKnownTraits: [UITrait] = {
| `- error: 'UITrait' is unavailable in watchOS
74 | var allKnownSystemTraits: [UITrait] = [
75 | // Available since iOS 17
UIKit.UITrait:3:18: note: 'UITrait' has been explicitly marked unavailable here
1 | @available(iOS 17.0, tvOS 17.0, *)
2 | @available(watchOS, unavailable)
3 | public typealias UITrait = any UITraitDefinition.Type
| `- note: 'UITrait' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+TraitCollection.swift:105:5: error: cannot find 'UITraitHDRHeadroomUsageLimit' in scope
103 | UITraitTabAccessoryEnvironment.self,
104 | UITraitSplitViewControllerLayoutEnvironment.self,
105 | UITraitHDRHeadroomUsageLimit.self,
| `- error: cannot find 'UITraitHDRHeadroomUsageLimit' in scope
106 | ]
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+TraitCollection.swift:11:11: error: 'UIView' is unavailable in watchOS
9 | import ObjectiveC.runtime
10 |
11 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
12 | /// internal check to see if we have swizzled traitCollectionDidChange already. Since
13 | /// this should only be called on the main thread, this is a simple check.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+TraitCollection.swift:26:40: error: 'UIView' is unavailable in watchOS
24 | Self.hasSwizzledTraitCollectionDidChange = true
25 |
26 | swizzleTraitCollectionDidChange(for: UIView.self)
| `- error: 'UIView' is unavailable in watchOS
27 | swizzleTraitCollectionDidChange(for: UIImageView.self)
28 | swizzleTraitCollectionDidChange(for: UILabel.self)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+TraitCollection.swift:27:40: error: 'UIImageView' is unavailable in watchOS
25 |
26 | swizzleTraitCollectionDidChange(for: UIView.self)
27 | swizzleTraitCollectionDidChange(for: UIImageView.self)
| `- error: 'UIImageView' is unavailable in watchOS
28 | swizzleTraitCollectionDidChange(for: UILabel.self)
29 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+TraitCollection.swift:28:40: error: 'UILabel' is unavailable in watchOS
26 | swizzleTraitCollectionDidChange(for: UIView.self)
27 | swizzleTraitCollectionDidChange(for: UIImageView.self)
28 | swizzleTraitCollectionDidChange(for: UILabel.self)
| `- error: 'UILabel' is unavailable in watchOS
29 | }
30 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+TraitCollection.swift:35:23: error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
33 | public func monitorTraitCollectionChanges(_ callback: @escaping () -> Void) -> Cancellable {
34 | if #available(iOS 17, *) {
35 | let registration = registerForTraitChanges(Self.allKnownTraits, handler: { (view: UIView, previous) in
| `- error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
36 | callback()
37 | })
UIKit.UIView.registerForTraitChanges:3:26: note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
1 | class UIView {
2 | @discardableResult
3 | @MainActor public func registerForTraitChanges<Self>(_ traits: [UITrait], handler: @escaping UIView.TraitChangeHandler<Self>) -> any UITraitChangeRegistration where Self : UITraitEnvironment}
| `- note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+TraitCollection.swift:35:86: error: 'UIView' is unavailable in watchOS
33 | public func monitorTraitCollectionChanges(_ callback: @escaping () -> Void) -> Cancellable {
34 | if #available(iOS 17, *) {
35 | let registration = registerForTraitChanges(Self.allKnownTraits, handler: { (view: UIView, previous) in
| `- error: 'UIView' is unavailable in watchOS
36 | callback()
37 | })
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+TraitCollection.swift:40:5: error: 'unregisterForTraitChanges' is unavailable in watchOS
38 | return Cancellable(cancelsOnDeInit: false) { [weak self] in
39 | guard let self else { return }
40 | unregisterForTraitChanges(registration)
| `- error: 'unregisterForTraitChanges' is unavailable in watchOS
41 | }
42 | } else {
UIKit.UIView.unregisterForTraitChanges:2:24: note: 'unregisterForTraitChanges' has been explicitly marked unavailable here
1 | class UIView {
2 | @MainActor public func unregisterForTraitChanges(_ registration: any UITraitChangeRegistration)}
| `- note: 'unregisterForTraitChanges' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+TraitCollection.swift:53:28: error: 'traitCollectionDidChange' is unavailable in watchOS
51 |
52 | private static func swizzleTraitCollectionDidChange(for viewClass: AnyClass) {
53 | let selector = #selector(traitCollectionDidChange(_:))
| `- error: 'traitCollectionDidChange' is unavailable in watchOS
54 | guard let originalMethod = class_getInstanceMethod(viewClass, selector) else { return }
55 | typealias OriginalFunction = @convention(c) (UIView, Selector, UITraitCollection?) -> Void
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+TraitCollection.swift:55:48: error: 'UIView' is unavailable in watchOS
53 | let selector = #selector(traitCollectionDidChange(_:))
54 | guard let originalMethod = class_getInstanceMethod(viewClass, selector) else { return }
55 | typealias OriginalFunction = @convention(c) (UIView, Selector, UITraitCollection?) -> Void
| `- error: 'UIView' is unavailable in watchOS
56 | var originalFunction: OriginalFunction?
57 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/UIView/UIView+TraitCollection.swift:55:66: error: 'UITraitCollection' is unavailable in watchOS
53 | let selector = #selector(traitCollectionDidChange(_:))
54 | guard let originalMethod = class_getInstanceMethod(viewClass, selector) else { return }
55 | typealias OriginalFunction = @convention(c) (UIView, Selector, UITraitCollection?) -> Void
| `- error: 'UITraitCollection' is unavailable in watchOS
56 | var originalFunction: OriginalFunction?
57 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+TraitCollection.swift:58:34: error: 'UIView' is unavailable in watchOS
56 | var originalFunction: OriginalFunction?
57 |
58 | let block: @convention(block) (UIView, UITraitCollection?) -> Void = { view, traitCollection in
| `- error: 'UIView' is unavailable in watchOS
59 | originalFunction?(view, selector, traitCollection)
60 | NotificationCenter.default.post(name: UIView.traitCollectionDidChange, object: view)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+TraitCollection.swift:58:42: error: 'UITraitCollection' is unavailable in watchOS
56 | var originalFunction: OriginalFunction?
57 |
58 | let block: @convention(block) (UIView, UITraitCollection?) -> Void = { view, traitCollection in
| `- error: 'UITraitCollection' is unavailable in watchOS
59 | originalFunction?(view, selector, traitCollection)
60 | NotificationCenter.default.post(name: UIView.traitCollectionDidChange, object: view)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+PinningVerticalEdge.swift (in target 'AutoLayoutConvenience' from project 'AutoLayoutConvenience')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+PinningVerticalEdge.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+ResizeNotifyWrapper.swift (in target 'AutoLayoutConvenience' from project 'AutoLayoutConvenience')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+ResizeNotifyWrapper.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Scrollable.swift (in target 'AutoLayoutConvenience' from project 'AutoLayoutConvenience')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+Scrollable.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+SizeConstraints.swift (in target 'AutoLayoutConvenience' from project 'AutoLayoutConvenience')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+SizeConstraints.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+TraitCollection.swift (in target 'AutoLayoutConvenience' from project 'AutoLayoutConvenience')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+TraitCollection.swift
SwiftCompile normal arm64 Compiling\ UIView+Centering.swift,\ UIView+Condition.swift,\ UIView+Conditional.swift,\ UIView+Defaults.swift,\ UIView+DynamicCondition.swift,\ UIView+DynamicConstantSize.swift /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Centering.swift /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Defaults.swift /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicConstantSize.swift (in target 'AutoLayoutConvenience' from project 'AutoLayoutConvenience')
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Centering.swift:20:55: error: 'UIView' is unavailable in watchOS
18 | ///
19 | /// - Returns: A `ConstraintsList` with the created constraints
20 | @discardableResult public func addSubview(_ subview: UIView, centeredIn other: PointLayout, offset: CGPoint = .zero) -> ConstraintsList {
| `- error: 'UIView' is unavailable in watchOS
21 | return addSubview(subview, pinnedTo: .center, of: other, offset: offset)
22 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Centering.swift:11:11: error: 'UIView' is unavailable in watchOS
9 | import UIKit
10 |
11 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
12 | /// Adds a `subview` by centering it at a `point`
13 | ///
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:17:37: error: 'UIView' is unavailable in watchOS
15 | /// - unspecific ones, where the condition applies to the view being constrained or added
16 | public struct Condition {
17 | public typealias ViewEvaluator = (UIView) -> Bool
| `- error: 'UIView' is unavailable in watchOS
18 | public typealias NoViewEvaluator = () -> Bool
19 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:10:11: error: 'UIView' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
11 | /// A condition for conditional constraints. Use one of the factory methods, you
12 | /// cannot create instances directly.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:29:11: error: 'UIView' is unavailable in watchOS
27 | }
28 |
29 | extension UIView.Condition {
| `- error: 'UIView' is unavailable in watchOS
30 | /// This is a name of a configuration. Don't use $ signs in the name `UIView.addNamedConditionalConfiguration(name:configuration:)`
31 | public struct ConfigurationName: RawRepresentable, Hashable {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:97:27: error: 'UIView' is unavailable in watchOS
95 | ///
96 | /// - Returns: The created condition
97 | static func view(_ view: UIView, is condition: Self) -> Self {
| `- error: 'UIView' is unavailable in watchOS
98 | return .init(.bound(.init(view: view, kind: condition.kind)))
99 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:108:27: error: 'UIView' is unavailable in watchOS
106 | ///
107 | /// - Returns: The created condition
108 | static func view(_ view: UIView, has condition: Self) -> Self {
| `- error: 'UIView' is unavailable in watchOS
109 | return Self.view(view, is: condition)
110 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:119:27: error: 'UIView' is unavailable in watchOS
117 | ///
118 | /// - Returns: The created condition
119 | static func view(_ view: UIView, matches callback: @escaping ViewEvaluator) -> Self {
| `- error: 'UIView' is unavailable in watchOS
120 | return Self.view(view, is: .callback(callback))
121 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:130:27: error: 'UIView' is unavailable in watchOS
128 | ///
129 | /// - Returns: The created condition
130 | static func view(_ view: UIView, all conditions: [Self]) -> Self { Self.view(view, is: .all(conditions)) }
| `- error: 'UIView' is unavailable in watchOS
131 |
132 | /// A specific view needs to match all the given conditions
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:139:27: error: 'UIView' is unavailable in watchOS
137 | ///
138 | /// - Returns: The created condition
139 | static func view(_ view: UIView, all conditions: Self...) -> Self { Self.view(view, all: conditions) }
| `- error: 'UIView' is unavailable in watchOS
140 |
141 | /// A specific view needs to match any of the given conditions
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:148:27: error: 'UIView' is unavailable in watchOS
146 | ///
147 | /// - Returns: The created condition
148 | static func view(_ view: UIView, any conditions: [Self]) -> Self { Self.view(view, is: .any(conditions)) }
| `- error: 'UIView' is unavailable in watchOS
149 |
150 | /// A specific view needs to match any of the given conditions
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:157:27: error: 'UIView' is unavailable in watchOS
155 | ///
156 | /// - Returns: The created condition
157 | static func view(_ view: UIView, any conditions: Self...) -> Self { Self.view(view, any: conditions) }
| `- error: 'UIView' is unavailable in watchOS
158 |
159 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:167:27: error: 'UIView' is unavailable in watchOS
165 | ///
166 | /// - Returns: The created condition
167 | static func view(_ view: UIView, hasTraitsIn traitCollection: UITraitCollection) -> Self {
| `- error: 'UIView' is unavailable in watchOS
168 | return Self.view(view, is: .traits(in: traitCollection))
169 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:167:64: error: 'UITraitCollection' is unavailable in watchOS
165 | ///
166 | /// - Returns: The created condition
167 | static func view(_ view: UIView, hasTraitsIn traitCollection: UITraitCollection) -> Self {
| `- error: 'UITraitCollection' is unavailable in watchOS
168 | return Self.view(view, is: .traits(in: traitCollection))
169 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:179:45: error: 'UIView' is unavailable in watchOS
177 | ///
178 | /// - Returns: The created condition
179 | static func view<Value: Equatable>(_ view: UIView, has keyPath: KeyPath<UITraitCollection, Value>, is value: Value) -> Self {
| `- error: 'UIView' is unavailable in watchOS
180 | return Self.view(view, is: .trait(keyPath, is: value))
181 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:179:74: error: 'UITraitCollection' is unavailable in watchOS
177 | ///
178 | /// - Returns: The created condition
179 | static func view<Value: Equatable>(_ view: UIView, has keyPath: KeyPath<UITraitCollection, Value>, is value: Value) -> Self {
| `- error: 'UITraitCollection' is unavailable in watchOS
180 | return Self.view(view, is: .trait(keyPath, is: value))
181 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:231:41: error: 'UITraitCollection' is unavailable in watchOS
229 | ///
230 | /// - Returns: The created condition
231 | static func traits(in traitCollection: UITraitCollection) -> Self {
| `- error: 'UITraitCollection' is unavailable in watchOS
232 | return .init(.traits(in: traitCollection))
233 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:242:57: error: 'UITraitCollection' is unavailable in watchOS
240 | ///
241 | /// - Returns: The created condition
242 | static func trait<Value: Equatable>(_ keyPath: KeyPath<UITraitCollection, Value>, is value: Value) -> Self {
| `- error: 'UITraitCollection' is unavailable in watchOS
243 | return .init(.specificTrait({ $0.traitCollection[keyPath: keyPath] == value }))
244 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:259:29: error: 'UIUserInterfaceIdiom' is unavailable in watchOS
257 |
258 | /// Matches when the relevant views idion is the given idiom
259 | static func idiom(_ idiom: UIUserInterfaceIdiom) -> Self { traits(in: UITraitCollection(userInterfaceIdiom: idiom)) }
| `- error: 'UIUserInterfaceIdiom' is unavailable in watchOS
260 |
261 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:22:28: note: 'UIUserInterfaceIdiom' has been explicitly marked unavailable here
20 | } API_UNAVAILABLE(tvos, watchos); // available in iPhone 3.0
21 |
22 | typedef NS_ENUM(NSInteger, UIUserInterfaceIdiom) {
| `- note: 'UIUserInterfaceIdiom' has been explicitly marked unavailable here
23 | UIUserInterfaceIdiomUnspecified = -1,
24 | UIUserInterfaceIdiomPhone API_AVAILABLE(ios(3.2)), // iPhone and iPod touch style UI
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:263:43: error: 'UIContentSizeCategory' is unavailable in watchOS
261 |
262 | /// Matches when the preferredContentSizeCategory is a given size
263 | static func contentSizeCategory(is size: UIContentSizeCategory) -> Self {
| `- error: 'UIContentSizeCategory' is unavailable in watchOS
264 | return .init(.specificTrait({ $0.traitCollection.preferredContentSizeCategory == size }))
265 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h:14:20: note: 'UIContentSizeCategory' has been explicitly marked unavailable here
12 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
13 |
14 | typedef NSString * UIContentSizeCategory NS_TYPED_ENUM API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
| `- note: 'UIContentSizeCategory' has been explicitly marked unavailable here
15 |
16 | // Content size category constants
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:268:46: error: 'UIContentSizeCategory' is unavailable in watchOS
266 |
267 | /// Matches when the preferredContentSizeCategory is not a given size
268 | static func contentSizeCategory(isNot size: UIContentSizeCategory) -> Self {
| `- error: 'UIContentSizeCategory' is unavailable in watchOS
269 | return .init(.specificTrait({ $0.traitCollection.preferredContentSizeCategory != size }))
270 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h:14:20: note: 'UIContentSizeCategory' has been explicitly marked unavailable here
12 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
13 |
14 | typedef NSString * UIContentSizeCategory NS_TYPED_ENUM API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
| `- note: 'UIContentSizeCategory' has been explicitly marked unavailable here
15 |
16 | // Content size category constants
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:273:53: error: 'UIContentSizeCategory' is unavailable in watchOS
271 |
272 | /// Matches when the preferredContentSizeCategory is larger than a given size
273 | static func contentSizeCategory(isLargerThan size: UIContentSizeCategory) -> Self {
| `- error: 'UIContentSizeCategory' is unavailable in watchOS
274 | return .init(.specificTrait({ $0.traitCollection.preferredContentSizeCategory > size }))
275 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h:14:20: note: 'UIContentSizeCategory' has been explicitly marked unavailable here
12 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
13 |
14 | typedef NSString * UIContentSizeCategory NS_TYPED_ENUM API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
| `- note: 'UIContentSizeCategory' has been explicitly marked unavailable here
15 |
16 | // Content size category constants
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:278:54: error: 'UIContentSizeCategory' is unavailable in watchOS
276 |
277 | /// Matches when the preferredContentSizeCategory is smaller than a given size
278 | static func contentSizeCategory(isSmallerThan size: UIContentSizeCategory) -> Self {
| `- error: 'UIContentSizeCategory' is unavailable in watchOS
279 | return .init(.specificTrait({ $0.traitCollection.preferredContentSizeCategory < size }))
280 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h:14:20: note: 'UIContentSizeCategory' has been explicitly marked unavailable here
12 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
13 |
14 | typedef NSString * UIContentSizeCategory NS_TYPED_ENUM API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
| `- note: 'UIContentSizeCategory' has been explicitly marked unavailable here
15 |
16 | // Content size category constants
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:293:50: error: 'UIContentSizeCategory' is unavailable in watchOS
291 |
292 | /// Matches when the preferredContentSizeCategory is >= size
293 | static func contentSizeCategory(isAtLeast size: UIContentSizeCategory) -> Self {
| `- error: 'UIContentSizeCategory' is unavailable in watchOS
294 | return .init(.specificTrait({ $0.traitCollection.preferredContentSizeCategory >= size }))
295 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h:14:20: note: 'UIContentSizeCategory' has been explicitly marked unavailable here
12 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
13 |
14 | typedef NSString * UIContentSizeCategory NS_TYPED_ENUM API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
| `- note: 'UIContentSizeCategory' has been explicitly marked unavailable here
15 |
16 | // Content size category constants
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:298:49: error: 'UIContentSizeCategory' is unavailable in watchOS
296 |
297 | /// Matches when the preferredContentSizeCategory is <= size
298 | static func contentSizeCategory(isAtMost size: UIContentSizeCategory) -> Self {
| `- error: 'UIContentSizeCategory' is unavailable in watchOS
299 | return .init(.specificTrait({ $0.traitCollection.preferredContentSizeCategory <= size }))
300 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h:14:20: note: 'UIContentSizeCategory' has been explicitly marked unavailable here
12 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
13 |
14 | typedef NSString * UIContentSizeCategory NS_TYPED_ENUM API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
| `- note: 'UIContentSizeCategory' has been explicitly marked unavailable here
15 |
16 | // Content size category constants
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:87:18: error: 'UIView' is unavailable in watchOS
85 | }
86 |
87 | public extension UIView.Condition {
| `- error: 'UIView' is unavailable in watchOS
88 | // MARK: - View
89 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:409:19: error: 'UIView' is unavailable in watchOS
407 | fileprivate enum Kind {
408 | struct BoundCondition {
409 | weak var view: UIView?
| `- error: 'UIView' is unavailable in watchOS
410 | var kind: Kind
411 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:421:19: error: 'UITraitCollection' is unavailable in watchOS
419 |
420 | // traits
421 | case traits(in: UITraitCollection)
| `- error: 'UITraitCollection' is unavailable in watchOS
422 | case specificTrait(ViewEvaluator)
423 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:406:11: error: 'UIView' is unavailable in watchOS
404 | // MARK: - Private
405 |
406 | extension UIView.Condition {
| `- error: 'UIView' is unavailable in watchOS
407 | fileprivate enum Kind {
408 | struct BoundCondition {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:447:25: error: 'UIView' is unavailable in watchOS
445 | internal extension UIView.Condition {
446 | /// internal helpers
447 | func matches(for view: UIView) -> Bool { kind.matches(for: view) }
| `- error: 'UIView' is unavailable in watchOS
448 | func neededObservers(for view: UIView) -> [UIView?: ObserverKind] { kind.neededObservers(for: view) }
449 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:448:33: error: 'UIView' is unavailable in watchOS
446 | /// internal helpers
447 | func matches(for view: UIView) -> Bool { kind.matches(for: view) }
448 | func neededObservers(for view: UIView) -> [UIView?: ObserverKind] { kind.neededObservers(for: view) }
| `- error: 'UIView' is unavailable in watchOS
449 |
450 | // bind this condition to a view if there is no view assigned bound yet.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:448:45: error: 'UIView' is unavailable in watchOS
446 | /// internal helpers
447 | func matches(for view: UIView) -> Bool { kind.matches(for: view) }
448 | func neededObservers(for view: UIView) -> [UIView?: ObserverKind] { kind.neededObservers(for: view) }
| `- error: 'UIView' is unavailable in watchOS
449 |
450 | // bind this condition to a view if there is no view assigned bound yet.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:451:21: error: 'UIView' is unavailable in watchOS
449 |
450 | // bind this condition to a view if there is no view assigned bound yet.
451 | func bind(to view: UIView?) -> Self { Self(kind.bound(to: view)) }
| `- error: 'UIView' is unavailable in watchOS
452 | }
453 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:445:20: error: 'UIView' is unavailable in watchOS
443 | }
444 |
445 | internal extension UIView.Condition {
| `- error: 'UIView' is unavailable in watchOS
446 | /// internal helpers
447 | func matches(for view: UIView) -> Bool { kind.matches(for: view) }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:455:25: error: 'UIView' is unavailable in watchOS
453 |
454 | fileprivate extension UIView.Condition.Kind {
455 | func matches(for view: UIView) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
456 | switch self {
457 | case .width(let sizeConstrain): return sizeConstrain.matches(for: view.bounds.width, scale: view.scaleToUse)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:481:33: error: 'UIView' is unavailable in watchOS
479 | }
480 |
481 | func neededObservers(for view: UIView?) -> [UIView?: UIView.Condition.ObserverKind] {
| `- error: 'UIView' is unavailable in watchOS
482 | switch self {
483 | case .width, .height: return [view: .bounds]
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:481:46: error: 'UIView' is unavailable in watchOS
479 | }
480 |
481 | func neededObservers(for view: UIView?) -> [UIView?: UIView.Condition.ObserverKind] {
| `- error: 'UIView' is unavailable in watchOS
482 | switch self {
483 | case .width, .height: return [view: .bounds]
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:481:55: error: 'UIView' is unavailable in watchOS
479 | }
480 |
481 | func neededObservers(for view: UIView?) -> [UIView?: UIView.Condition.ObserverKind] {
| `- error: 'UIView' is unavailable in watchOS
482 | switch self {
483 | case .width, .height: return [view: .bounds]
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:500:22: error: 'UIView' is unavailable in watchOS
498 |
499 |
500 | func bound(to view: UIView?) -> Self {
| `- error: 'UIView' is unavailable in watchOS
501 | guard let view = view else { return self }
502 | if case Self.bound = self {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:454:23: error: 'UIView' is unavailable in watchOS
452 | }
453 |
454 | fileprivate extension UIView.Condition.Kind {
| `- error: 'UIView' is unavailable in watchOS
455 | func matches(for view: UIView) -> Bool {
456 | switch self {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:510:11: error: 'UIView' is unavailable in watchOS
508 | }
509 |
510 | extension UIView.Condition.Kind.BoundCondition {
| `- error: 'UIView' is unavailable in watchOS
511 | func matches() -> Bool {
512 | return view.flatMap { kind.matches(for:$0) } ?? false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:529:11: error: 'UIView' is unavailable in watchOS
527 | }
528 |
529 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
530 | fileprivate var scaleToUse: CGFloat {
531 | return window?.screen.scale ?? UIScreen.main.scale
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:247:50: error: 'UITraitCollection' is unavailable in watchOS
245 |
246 | /// Matches when the vertical size class is compact
247 | static var verticallyCompact: Self { traits(in: UITraitCollection(verticalSizeClass: .compact)) }
| `- error: 'UITraitCollection' is unavailable in watchOS
248 |
249 | /// Matches when the vertical size class is regular
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:250:50: error: 'UITraitCollection' is unavailable in watchOS
248 |
249 | /// Matches when the vertical size class is regular
250 | static var verticallyRegular: Self { traits(in: UITraitCollection(verticalSizeClass: .regular)) }
| `- error: 'UITraitCollection' is unavailable in watchOS
251 |
252 | /// Matches when the horizontal size class is compact
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:253:52: error: 'UITraitCollection' is unavailable in watchOS
251 |
252 | /// Matches when the horizontal size class is compact
253 | static var horizontallyCompact: Self { traits(in: UITraitCollection(horizontalSizeClass: .compact)) }
| `- error: 'UITraitCollection' is unavailable in watchOS
254 |
255 | /// Matches when the horizontal size class is regular
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:256:52: error: 'UITraitCollection' is unavailable in watchOS
254 |
255 | /// Matches when the horizontal size class is regular
256 | static var horizontallyRegular: Self { traits(in: UITraitCollection(horizontalSizeClass: .regular)) }
| `- error: 'UITraitCollection' is unavailable in watchOS
257 |
258 | /// Matches when the relevant views idion is the given idiom
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:259:72: error: 'UITraitCollection' is unavailable in watchOS
257 |
258 | /// Matches when the relevant views idion is the given idiom
259 | static func idiom(_ idiom: UIUserInterfaceIdiom) -> Self { traits(in: UITraitCollection(userInterfaceIdiom: idiom)) }
| `- error: 'UITraitCollection' is unavailable in watchOS
260 |
261 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:264:52: error: 'preferredContentSizeCategory' is unavailable in watchOS
262 | /// Matches when the preferredContentSizeCategory is a given size
263 | static func contentSizeCategory(is size: UIContentSizeCategory) -> Self {
264 | return .init(.specificTrait({ $0.traitCollection.preferredContentSizeCategory == size }))
| `- error: 'preferredContentSizeCategory' is unavailable in watchOS
265 | }
266 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:60:61: note: 'preferredContentSizeCategory' has been explicitly marked unavailable here
58 |
59 | + (UITraitCollection *)traitCollectionWithPreferredContentSizeCategory:(UIContentSizeCategory)preferredContentSizeCategory API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos);
60 | @property (nonatomic, copy, readonly) UIContentSizeCategory preferredContentSizeCategory API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos); // unspecified: UIContentSizeCategoryUnspecified
| `- note: 'preferredContentSizeCategory' has been explicitly marked unavailable here
61 |
62 | + (UITraitCollection *)traitCollectionWithDisplayGamut:(UIDisplayGamut)displayGamut API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:269:52: error: 'preferredContentSizeCategory' is unavailable in watchOS
267 | /// Matches when the preferredContentSizeCategory is not a given size
268 | static func contentSizeCategory(isNot size: UIContentSizeCategory) -> Self {
269 | return .init(.specificTrait({ $0.traitCollection.preferredContentSizeCategory != size }))
| `- error: 'preferredContentSizeCategory' is unavailable in watchOS
270 | }
271 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:60:61: note: 'preferredContentSizeCategory' has been explicitly marked unavailable here
58 |
59 | + (UITraitCollection *)traitCollectionWithPreferredContentSizeCategory:(UIContentSizeCategory)preferredContentSizeCategory API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos);
60 | @property (nonatomic, copy, readonly) UIContentSizeCategory preferredContentSizeCategory API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos); // unspecified: UIContentSizeCategoryUnspecified
| `- note: 'preferredContentSizeCategory' has been explicitly marked unavailable here
61 |
62 | + (UITraitCollection *)traitCollectionWithDisplayGamut:(UIDisplayGamut)displayGamut API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:274:81: error: referencing operator function '>' on 'Comparable' requires that 'UIContentSizeCategory' conform to 'Comparable'
272 | /// Matches when the preferredContentSizeCategory is larger than a given size
273 | static func contentSizeCategory(isLargerThan size: UIContentSizeCategory) -> Self {
274 | return .init(.specificTrait({ $0.traitCollection.preferredContentSizeCategory > size }))
| |- error: referencing operator function '>' on 'Comparable' requires that 'UIContentSizeCategory' conform to 'Comparable'
| `- note: did you mean to use '.rawValue'?
275 | }
276 |
Swift.Comparable:1:17: note: where 'Self' = 'UIContentSizeCategory'
1 | public protocol Comparable : Equatable, ~Copyable, ~Escapable {
| `- note: where 'Self' = 'UIContentSizeCategory'
2 | static func < (lhs: borrowing Self, rhs: borrowing Self) -> Bool
3 | static func <= (lhs: borrowing Self, rhs: borrowing Self) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:279:52: error: cannot convert value of type 'UIContentSizeCategory' to expected argument type 'String'
277 | /// Matches when the preferredContentSizeCategory is smaller than a given size
278 | static func contentSizeCategory(isSmallerThan size: UIContentSizeCategory) -> Self {
279 | return .init(.specificTrait({ $0.traitCollection.preferredContentSizeCategory < size }))
| `- error: cannot convert value of type 'UIContentSizeCategory' to expected argument type 'String'
280 | }
281 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:279:83: error: cannot convert value of type 'UIContentSizeCategory' to expected argument type 'String'
277 | /// Matches when the preferredContentSizeCategory is smaller than a given size
278 | static func contentSizeCategory(isSmallerThan size: UIContentSizeCategory) -> Self {
279 | return .init(.specificTrait({ $0.traitCollection.preferredContentSizeCategory < size }))
| `- error: cannot convert value of type 'UIContentSizeCategory' to expected argument type 'String'
280 | }
281 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:284:81: error: value of type 'UIContentSizeCategory' has no member 'isAccessibilityCategory'
282 | /// Matches when the preferredContentSizeCategory is an accessibility size
283 | static var contentSizeCategoryIsAccessibility: Self {
284 | return .init(.specificTrait({ $0.traitCollection.preferredContentSizeCategory.isAccessibilityCategory }))
| `- error: value of type 'UIContentSizeCategory' has no member 'isAccessibilityCategory'
285 | }
286 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:289:81: error: value of type 'UIContentSizeCategory' has no member 'isAccessibilityCategory'
287 | /// Matches when the preferredContentSizeCategory is not an accessibility size
288 | static var contentSizeCategoryIsNotAccessibility: Self {
289 | return .init(.specificTrait({ $0.traitCollection.preferredContentSizeCategory.isAccessibilityCategory == false }))
| `- error: value of type 'UIContentSizeCategory' has no member 'isAccessibilityCategory'
290 | }
291 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:294:81: error: referencing operator function '>=' on 'Comparable' requires that 'UIContentSizeCategory' conform to 'Comparable'
292 | /// Matches when the preferredContentSizeCategory is >= size
293 | static func contentSizeCategory(isAtLeast size: UIContentSizeCategory) -> Self {
294 | return .init(.specificTrait({ $0.traitCollection.preferredContentSizeCategory >= size }))
| |- error: referencing operator function '>=' on 'Comparable' requires that 'UIContentSizeCategory' conform to 'Comparable'
| `- note: did you mean to use '.rawValue'?
295 | }
296 |
Swift.Comparable:1:17: note: where 'Self' = 'UIContentSizeCategory'
1 | public protocol Comparable : Equatable, ~Copyable, ~Escapable {
| `- note: where 'Self' = 'UIContentSizeCategory'
2 | static func < (lhs: borrowing Self, rhs: borrowing Self) -> Bool
3 | static func <= (lhs: borrowing Self, rhs: borrowing Self) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:299:81: error: referencing operator function '<=' on 'Comparable' requires that 'UIContentSizeCategory' conform to 'Comparable'
297 | /// Matches when the preferredContentSizeCategory is <= size
298 | static func contentSizeCategory(isAtMost size: UIContentSizeCategory) -> Self {
299 | return .init(.specificTrait({ $0.traitCollection.preferredContentSizeCategory <= size }))
| |- error: referencing operator function '<=' on 'Comparable' requires that 'UIContentSizeCategory' conform to 'Comparable'
| `- note: did you mean to use '.rawValue'?
300 | }
301 |
Swift.Comparable:1:17: note: where 'Self' = 'UIContentSizeCategory'
1 | public protocol Comparable : Equatable, ~Copyable, ~Escapable {
| `- note: where 'Self' = 'UIContentSizeCategory'
2 | static func < (lhs: borrowing Self, rhs: borrowing Self) -> Bool
3 | static func <= (lhs: borrowing Self, rhs: borrowing Self) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:310:32: error: 'mac' is unavailable in watchOS
308 | /// Matches when we are an mac
309 | @available(iOS 14, *)
310 | static var mac: Self { idiom(.mac) }
| `- error: 'mac' is unavailable in watchOS
311 |
312 | /// Matches when we are an tv
UIKit.UIUserInterfaceIdiom.mac:3:8: note: 'mac' has been explicitly marked unavailable here
1 | enum UIUserInterfaceIdiom {
2 | @available(watchOS, unavailable)
3 | case mac}
| `- note: 'mac' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:320:38: error: 'UITraitCollection' is unavailable in watchOS
318 | @available(iOS 12, *)
319 | /// Matches when we are light style
320 | static var light: Self { traits(in: UITraitCollection(userInterfaceStyle: .light)) }
| `- error: 'UITraitCollection' is unavailable in watchOS
321 |
322 | @available(iOS 12, *)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:320:38: error: 'init(userInterfaceStyle:)' is unavailable in watchOS
318 | @available(iOS 12, *)
319 | /// Matches when we are light style
320 | static var light: Self { traits(in: UITraitCollection(userInterfaceStyle: .light)) }
| `- error: 'init(userInterfaceStyle:)' is unavailable in watchOS
321 |
322 | @available(iOS 12, *)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:41:1: note: 'init(userInterfaceStyle:)' has been explicitly marked unavailable here
39 | @property (nonatomic, readonly) UIUserInterfaceIdiom userInterfaceIdiom; // unspecified: UIUserInterfaceIdiomUnspecified
40 |
41 | + (UITraitCollection *)traitCollectionWithUserInterfaceStyle:(UIUserInterfaceStyle)userInterfaceStyle API_AVAILABLE(tvos(10.0)) API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(userInterfaceStyle:)' has been explicitly marked unavailable here
42 | @property (nonatomic, readonly) UIUserInterfaceStyle userInterfaceStyle API_AVAILABLE(tvos(10.0)) API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos); // unspecified: UIUserInterfaceStyleUnspecified
43 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:324:37: error: 'UITraitCollection' is unavailable in watchOS
322 | @available(iOS 12, *)
323 | /// Matches when we are dark style
324 | static var dark: Self { traits(in: UITraitCollection(userInterfaceStyle: .dark)) }
| `- error: 'UITraitCollection' is unavailable in watchOS
325 |
326 | /// Matches when we are an left-to-right
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:324:37: error: 'init(userInterfaceStyle:)' is unavailable in watchOS
322 | @available(iOS 12, *)
323 | /// Matches when we are dark style
324 | static var dark: Self { traits(in: UITraitCollection(userInterfaceStyle: .dark)) }
| `- error: 'init(userInterfaceStyle:)' is unavailable in watchOS
325 |
326 | /// Matches when we are an left-to-right
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:41:1: note: 'init(userInterfaceStyle:)' has been explicitly marked unavailable here
39 | @property (nonatomic, readonly) UIUserInterfaceIdiom userInterfaceIdiom; // unspecified: UIUserInterfaceIdiomUnspecified
40 |
41 | + (UITraitCollection *)traitCollectionWithUserInterfaceStyle:(UIUserInterfaceStyle)userInterfaceStyle API_AVAILABLE(tvos(10.0)) API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(userInterfaceStyle:)' has been explicitly marked unavailable here
42 | @property (nonatomic, readonly) UIUserInterfaceStyle userInterfaceStyle API_AVAILABLE(tvos(10.0)) API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos); // unspecified: UIUserInterfaceStyleUnspecified
43 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:327:44: error: 'UITraitCollection' is unavailable in watchOS
325 |
326 | /// Matches when we are an left-to-right
327 | static var leftToRight: Self { traits(in: UITraitCollection(layoutDirection: .leftToRight)) }
| `- error: 'UITraitCollection' is unavailable in watchOS
328 |
329 | /// Matches when we are an right-to-left
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:327:44: error: 'init(layoutDirection:)' is unavailable in watchOS
325 |
326 | /// Matches when we are an left-to-right
327 | static var leftToRight: Self { traits(in: UITraitCollection(layoutDirection: .leftToRight)) }
| `- error: 'init(layoutDirection:)' is unavailable in watchOS
328 |
329 | /// Matches when we are an right-to-left
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:44:1: note: 'init(layoutDirection:)' has been explicitly marked unavailable here
42 | @property (nonatomic, readonly) UIUserInterfaceStyle userInterfaceStyle API_AVAILABLE(tvos(10.0)) API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos); // unspecified: UIUserInterfaceStyleUnspecified
43 |
44 | + (UITraitCollection *)traitCollectionWithLayoutDirection:(UITraitEnvironmentLayoutDirection)layoutDirection API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(layoutDirection:)' has been explicitly marked unavailable here
45 | @property (nonatomic, readonly) UITraitEnvironmentLayoutDirection layoutDirection API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos); // unspecified: UITraitEnvironmentLayoutDirectionUnspecified
46 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:330:44: error: 'UITraitCollection' is unavailable in watchOS
328 |
329 | /// Matches when we are an right-to-left
330 | static var rightToLeft: Self { traits(in: UITraitCollection(layoutDirection: .rightToLeft)) }
| `- error: 'UITraitCollection' is unavailable in watchOS
331 |
332 | // MARK: - Visibility
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:330:44: error: 'init(layoutDirection:)' is unavailable in watchOS
328 |
329 | /// Matches when we are an right-to-left
330 | static var rightToLeft: Self { traits(in: UITraitCollection(layoutDirection: .rightToLeft)) }
| `- error: 'init(layoutDirection:)' is unavailable in watchOS
331 |
332 | // MARK: - Visibility
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:44:1: note: 'init(layoutDirection:)' has been explicitly marked unavailable here
42 | @property (nonatomic, readonly) UIUserInterfaceStyle userInterfaceStyle API_AVAILABLE(tvos(10.0)) API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos); // unspecified: UIUserInterfaceStyleUnspecified
43 |
44 | + (UITraitCollection *)traitCollectionWithLayoutDirection:(UITraitEnvironmentLayoutDirection)layoutDirection API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(layoutDirection:)' has been explicitly marked unavailable here
45 | @property (nonatomic, readonly) UITraitEnvironmentLayoutDirection layoutDirection API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos); // unspecified: UITraitEnvironmentLayoutDirectionUnspecified
46 |
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:463:33: error: 'containsTraits(in:)' is unavailable in watchOS
461 |
462 | case .traits(in: let traitCollection):
463 | return view.traitCollection.containsTraits(in: traitCollection)
| `- error: 'containsTraits(in:)' is unavailable in watchOS
464 | case .specificTrait(let evaluator): return evaluator(view)
465 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:29:1: note: 'containsTraits(in:)' has been explicitly marked unavailable here
27 |
28 | // This deprecated method considers system traits only.
29 | - (BOOL)containsTraitsInCollection:(nullable UITraitCollection *)trait API_DEPRECATED("Compare values for specific traits in the trait collections instead", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'containsTraits(in:)' has been explicitly marked unavailable here
30 |
31 | // This deprecated method merges system traits only. The value of custom traits in the returned trait collection will be equal to the value of those custom traits in the first trait collection in the array.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:491:22: error: 'UIView' is unavailable in watchOS
489 | case .bound(let bounded): return bounded.kind.neededObservers(for: bounded.view ?? view)
490 | case .and(let others), .or(let others), .not(let others):
491 | var observers = [UIView?: UIView.Condition.ObserverKind]()
| `- error: 'UIView' is unavailable in watchOS
492 | for other in others {
493 | other.neededObservers(for: view).forEach { observers[$0.key, default: .none].formUnion($0.value) }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:491:31: error: 'UIView' is unavailable in watchOS
489 | case .bound(let bounded): return bounded.kind.neededObservers(for: bounded.view ?? view)
490 | case .and(let others), .or(let others), .not(let others):
491 | var observers = [UIView?: UIView.Condition.ObserverKind]()
| `- error: 'UIView' is unavailable in watchOS
492 | for other in others {
493 | other.neededObservers(for: view).forEach { observers[$0.key, default: .none].formUnion($0.value) }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift:531:34: error: 'UIScreen' is unavailable in watchOS
529 | extension UIView {
530 | fileprivate var scaleToUse: CGFloat {
531 | return window?.screen.scale ?? UIScreen.main.scale
| `- error: 'UIScreen' is unavailable in watchOS
532 | }
533 | }
/Applications/Xcode-27.0.0.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/UIView/UIView+Condition.swift:531:43: error: 'main' is unavailable in watchOS
529 | extension UIView {
530 | fileprivate var scaleToUse: CGFloat {
531 | return window?.screen.scale ?? UIScreen.main.scale
| `- error: 'main' is unavailable in watchOS
532 | }
533 | }
/Applications/Xcode-27.0.0.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
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:65:51: error: 'UIView' is unavailable in watchOS
63 | ///
64 | /// - Returns: returns a `ConditionalResult` that can be used stop updates from coalescing or automatically animate changed.
65 | @discardableResult public static func `if`(view: UIView, is condition: Condition, then: ConditionCallback, else: ConditionCallback = {}) -> ConditionalResult {
| `- error: 'UIView' is unavailable in watchOS
66 | return UIView.internalIf(view: view, condition: condition, then: then, else: `else`)
67 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:70:51: error: 'UIView' is unavailable in watchOS
68 |
69 | /// alias of `UIView.if(view:is:then:else)` for expressive purposes.
70 | @discardableResult public static func `if`(view: UIView, has condition: Condition, then: ConditionCallback, else: ConditionCallback = {}) -> ConditionalResult {
| `- error: 'UIView' is unavailable in watchOS
71 | return UIView.internalIf(view: view, condition: condition, then: then, else: `else`)
72 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:75:76: error: 'UIView' is unavailable in watchOS
73 |
74 | /// alias of `if(view:is:then:else:)`
75 | @discardableResult public static func conditionallyConstrain(ifView view: UIView, is condition: Condition, then: ConditionCallback, else: ConditionCallback = {}) -> ConditionalResult {
| `- error: 'UIView' is unavailable in watchOS
76 | return UIView.internalIf(view: nil, condition: condition, then: then, else: `else`)
77 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:97:81: error: 'UIView' is unavailable in watchOS
95 | /// - name: the name for this configuration.
96 | /// - configuration: a block where all the AutoLayoutConvenience constraints created will only be activated when the given conditional configuration name is active for the view.
97 | @discardableResult public static func addNamedConditionalConfiguration(_ name: UIView.Condition.ConfigurationName, configuration: ConditionCallback) -> ConditionalResult {
| `- error: 'UIView' is unavailable in watchOS
98 | return UIView.internalIf(view: nil, condition: .name(is: name), then: configuration, else: {})
99 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:102:91: error: 'UIView' is unavailable in watchOS
100 |
101 | /// Helper for `addNamedConditionalConfiguration(name:configuration)` that sets multiple configurations at once.
102 | @discardableResult public static func addNamedConditionalConfigurations(configurations: [UIView.Condition.ConfigurationName: ConditionCallback]) -> ConditionalResult {
| `- error: 'UIView' is unavailable in watchOS
103 | UIView.internalIf(view: nil, condition: .alwaysTrue, then: {
104 | configurations.forEach { UIView.addNamedConditionalConfiguration($0.key, configuration: $0.value) }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:143:60: error: 'UIView' is unavailable in watchOS
141 |
142 | /// If using named conditions, this is the name of active configuration. Defaults to `main`
143 | public var activeConditionalConstraintsConfigurationName: UIView.Condition.ConfigurationName {
| `- error: 'UIView' is unavailable in watchOS
144 | get { constraintsListCollection?.activeConfigurationName ?? .main }
145 | set { ensureConstraintsListCollection().activeConfigurationName = newValue }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:11:11: error: 'UIView' is unavailable in watchOS
9 | import ObjectiveC.runtime
10 |
11 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
12 | /// The callback to create conditional constraints in.
13 | public typealias ConditionCallback = () -> Void
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:212:55: error: 'UIView' is unavailable in watchOS
210 | /// This is used so we only install collections when we have no deeper nesting.
211 | fileprivate static var currentIfNestingDepth = 0
212 | fileprivate static var allTouchedConstraintsLists = [UIView: ConstraintsListCollection]()
| `- error: 'UIView' is unavailable in watchOS
213 |
214 | fileprivate static func internalIf(view: UIView?, condition: Condition, then: ConditionCallback, else: ConditionCallback) -> ConditionalResult {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:214:43: error: 'UIView' is unavailable in watchOS
212 | fileprivate static var allTouchedConstraintsLists = [UIView: ConstraintsListCollection]()
213 |
214 | fileprivate static func internalIf(view: UIView?, condition: Condition, then: ConditionCallback, else: ConditionCallback) -> ConditionalResult {
| `- error: 'UIView' is unavailable in watchOS
215 | Self.currentIfNestingDepth += 1
216 | var collections = [UIView: ConstraintsListCollection]()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:187:11: error: 'UIView' is unavailable in watchOS
185 | }
186 |
187 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
188 | /// gets the constraints list for this view
189 | fileprivate static var collectionListKey = 0
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:36:10: error: 'UIView' is unavailable in watchOS
34 | /// - Returns: returns a `ConditionalResult` that can be used stop updates from coalescing or automatically animate changed.
35 | @discardableResult public static func `if`(_ condition: Condition, then: ConditionCallback, else: ConditionCallback = {}) -> ConditionalResult {
36 | return UIView.internalIf(view: nil, condition: condition, then: then, else: `else`)
| `- error: 'UIView' is unavailable in watchOS
37 | }
38 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:41:10: error: 'UIView' is unavailable in watchOS
39 | // alias of `if(_:then:else:)`
40 | @discardableResult public static func conditionallyConstrain(if condition: Condition, then: ConditionCallback, else: ConditionCallback = {}) -> ConditionalResult {
41 | return UIView.internalIf(view: nil, condition: condition, then: then, else: `else`)
| `- error: 'UIView' is unavailable in watchOS
42 | }
43 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:66:10: error: 'UIView' is unavailable in watchOS
64 | /// - Returns: returns a `ConditionalResult` that can be used stop updates from coalescing or automatically animate changed.
65 | @discardableResult public static func `if`(view: UIView, is condition: Condition, then: ConditionCallback, else: ConditionCallback = {}) -> ConditionalResult {
66 | return UIView.internalIf(view: view, condition: condition, then: then, else: `else`)
| `- error: 'UIView' is unavailable in watchOS
67 | }
68 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:71:10: error: 'UIView' is unavailable in watchOS
69 | /// alias of `UIView.if(view:is:then:else)` for expressive purposes.
70 | @discardableResult public static func `if`(view: UIView, has condition: Condition, then: ConditionCallback, else: ConditionCallback = {}) -> ConditionalResult {
71 | return UIView.internalIf(view: view, condition: condition, then: then, else: `else`)
| `- error: 'UIView' is unavailable in watchOS
72 | }
73 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:76:10: error: 'UIView' is unavailable in watchOS
74 | /// alias of `if(view:is:then:else:)`
75 | @discardableResult public static func conditionallyConstrain(ifView view: UIView, is condition: Condition, then: ConditionCallback, else: ConditionCallback = {}) -> ConditionalResult {
76 | return UIView.internalIf(view: nil, condition: condition, then: then, else: `else`)
| `- error: 'UIView' is unavailable in watchOS
77 | }
78 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:98:10: error: 'UIView' is unavailable in watchOS
96 | /// - configuration: a block where all the AutoLayoutConvenience constraints created will only be activated when the given conditional configuration name is active for the view.
97 | @discardableResult public static func addNamedConditionalConfiguration(_ name: UIView.Condition.ConfigurationName, configuration: ConditionCallback) -> ConditionalResult {
98 | return UIView.internalIf(view: nil, condition: .name(is: name), then: configuration, else: {})
| `- error: 'UIView' is unavailable in watchOS
99 | }
100 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:103:3: error: 'UIView' is unavailable in watchOS
101 | /// Helper for `addNamedConditionalConfiguration(name:configuration)` that sets multiple configurations at once.
102 | @discardableResult public static func addNamedConditionalConfigurations(configurations: [UIView.Condition.ConfigurationName: ConditionCallback]) -> ConditionalResult {
103 | UIView.internalIf(view: nil, condition: .alwaysTrue, then: {
| `- error: 'UIView' is unavailable in watchOS
104 | configurations.forEach { UIView.addNamedConditionalConfiguration($0.key, configuration: $0.value) }
105 | }, else: {})
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:104:29: error: 'UIView' is unavailable in watchOS
102 | @discardableResult public static func addNamedConditionalConfigurations(configurations: [UIView.Condition.ConfigurationName: ConditionCallback]) -> ConditionalResult {
103 | UIView.internalIf(view: nil, condition: .alwaysTrue, then: {
104 | configurations.forEach { UIView.addNamedConditionalConfiguration($0.key, configuration: $0.value) }
| `- error: 'UIView' is unavailable in watchOS
105 | }, else: {})
106 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Base/ConstraintsListCollection.swift:21:41: error: 'UIView' is unavailable in watchOS
19 |
20 | // the active configuration name
21 | internal var activeConfigurationName = UIView.Condition.ConfigurationName.main {
| `- error: 'UIView' is unavailable in watchOS
22 | didSet {
23 | guard activeConfigurationName != oldValue else { return }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:216:22: error: 'UIView' is unavailable in watchOS
214 | fileprivate static func internalIf(view: UIView?, condition: Condition, then: ConditionCallback, else: ConditionCallback) -> ConditionalResult {
215 | Self.currentIfNestingDepth += 1
216 | var collections = [UIView: ConstraintsListCollection]()
| `- error: 'UIView' is unavailable in watchOS
217 |
218 | // local function to intercept the constraints created in a block with a given condition.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift:234:3: error: 'UIView' is unavailable in watchOS
232 |
233 | // execute both blocks for the given condition. Else is just the negated if condition.
234 | UIView.ignoreSpuriousAddSubviewForAutoLayoutCalls {
| `- error: 'UIView' is unavailable in watchOS
235 | intercept(condition: condition, running: then)
236 | intercept(condition: condition.isFalse, running: `else`)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Defaults.swift:10:11: error: 'UIView' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
11 | /// This hold the default markers for insets and spacing
12 | public class Default {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Defaults.swift:55:11: error: 'UIView' is unavailable in watchOS
53 |
54 | // MARK: - Resolving
55 | extension UIView.Default {
| `- error: 'UIView' is unavailable in watchOS
56 | // Helper method to quicklt resolve spacing
57 | internal static func resolve(_ spacing: CGFloat) -> CGFloat {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Defaults.swift:67:11: error: 'UIView' is unavailable in watchOS
65 | }
66 |
67 | extension UIView.Default {
| `- error: 'UIView' is unavailable in watchOS
68 | /// This holds the static data that are our custom defaults
69 | internal class Resolved {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Defaults.swift:93:42: error: 'UIView' is unavailable in watchOS
91 | horizontally: ConstrainedHorizontalLayout = .default,
92 | vertically: ConstrainedVerticalLayout = .default,
93 | insets: NSDirectionalEdgeInsets = UIView.Default.insets,
| `- error: 'UIView' is unavailable in watchOS
94 | spacing: CGFloat = UIView.Default.spacing,
95 | callback: () -> Void) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Defaults.swift:94:27: error: 'UIView' is unavailable in watchOS
92 | vertically: ConstrainedVerticalLayout = .default,
93 | insets: NSDirectionalEdgeInsets = UIView.Default.insets,
94 | spacing: CGFloat = UIView.Default.spacing,
| `- error: 'UIView' is unavailable in watchOS
95 | callback: () -> Void) {
96 | if layoutAnchorable.isDefault == false {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Defaults.swift:78:11: error: 'UIView' is unavailable in watchOS
76 | }
77 |
78 | extension UIView.Default.Resolved {
| `- error: 'UIView' is unavailable in watchOS
79 | /// This resolves defaults to their current value
80 | internal static var layoutAnchorable: LayoutAnchorable { layoutAnchorableStack.last ?? .superview }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Defaults.swift:109:16: error: 'UIView' is unavailable in watchOS
107 | }
108 |
109 | if insets != UIView.Default.insets {
| `- error: 'UIView' is unavailable in watchOS
110 | insetsStack.append(insets)
111 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Defaults.swift:114:17: error: 'UIView' is unavailable in watchOS
112 |
113 |
114 | if spacing != UIView.Default.spacing {
| `- error: 'UIView' is unavailable in watchOS
115 | spacingStack.append(spacing)
116 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Defaults.swift:120:17: error: 'UIView' is unavailable in watchOS
118 | callback()
119 |
120 | if spacing != UIView.Default.spacing {
| `- error: 'UIView' is unavailable in watchOS
121 | spacingStack.removeLast()
122 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Defaults.swift:124:16: error: 'UIView' is unavailable in watchOS
122 | }
123 |
124 | if insets != UIView.Default.insets {
| `- error: 'UIView' is unavailable in watchOS
125 | insetsStack.removeLast()
126 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:25:14: error: 'UIView' is unavailable in watchOS
23 | /// - `self` is returned, for easy chaining.
24 | @discardableResult public func configureDynamically(
25 | condition: UIView.Condition,
| `- error: 'UIView' is unavailable in watchOS
26 | callback: @escaping (_ matchesCondition: Bool, _ view: Self) -> Void
27 | ) -> Self {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:47:19: error: 'UIView' is unavailable in watchOS
45 | /// - `self` is returned, for easy chaining.
46 | @discardableResult public func configureDynamically(
47 | `if` condition: UIView.Condition,
| `- error: 'UIView' is unavailable in watchOS
48 | then: @escaping (Self) -> Void,
49 | else: @escaping (Self) -> Void
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:70:104: error: 'UIView' is unavailable in watchOS
68 | /// Return:
69 | /// - `self` is returned, for easy chaining.
70 | @discardableResult public func configure<T>(keyPath: ReferenceWritableKeyPath<Self, T>, if condition: UIView.Condition, to: T, else: T) -> Self {
| `- error: 'UIView' is unavailable in watchOS
71 | return configureDynamically(as: UIView.self, condition: condition) { [weak self] matches, view in
72 | guard let self else { return }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:12:51: error: 'UIView' is unavailable in watchOS
10 | public protocol DynamicallyConfigurableView: AnyObject {}
11 |
12 | extension DynamicallyConfigurableView where Self: UIView {
| `- error: 'UIView' is unavailable in watchOS
13 | /// Configures a view dynamically: if the `condition` changes, the callback will be called with the
14 | /// state of the condition and the view.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:112:69: error: 'UIView' is unavailable in watchOS
110 | /// Return:
111 | /// - `self` is returned, for easy chaining.
112 | @discardableResult fileprivate func configureDynamically<ViewType: UIView>(
| `- error: 'UIView' is unavailable in watchOS
113 | as: ViewType.Type,
114 | condition: UIView.Condition,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:114:14: error: 'UIView' is unavailable in watchOS
112 | @discardableResult fileprivate func configureDynamically<ViewType: UIView>(
113 | as: ViewType.Type,
114 | condition: UIView.Condition,
| `- error: 'UIView' is unavailable in watchOS
115 | callback: @escaping (_ matchesCondition: Bool, _ view: ViewType) -> Void
116 | ) -> Self {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:145:19: error: 'UIView' is unavailable in watchOS
143 | struct Item: UIView.Condition.ItemProvider {
144 | var id = UUID()
145 | var condition: UIView.Condition
| `- error: 'UIView' is unavailable in watchOS
146 | }
147 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:143:16: error: 'UIView' is unavailable in watchOS
141 |
142 | fileprivate class DynamicCondition: ConditionList<DynamicCondition.Item> {
143 | struct Item: UIView.Condition.ItemProvider {
| `- error: 'UIView' is unavailable in watchOS
144 | var id = UUID()
145 | var condition: UIView.Condition
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:148:19: error: 'UIView' is unavailable in watchOS
146 | }
147 |
148 | init(condition: UIView.Condition, view: UIView, callback: @escaping (Bool, UIView) -> Void) {
| `- error: 'UIView' is unavailable in watchOS
149 | self.callback = callback
150 | super.init(view: view)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:148:43: error: 'UIView' is unavailable in watchOS
146 | }
147 |
148 | init(condition: UIView.Condition, view: UIView, callback: @escaping (Bool, UIView) -> Void) {
| `- error: 'UIView' is unavailable in watchOS
149 | self.callback = callback
150 | super.init(view: view)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:148:78: error: 'UIView' is unavailable in watchOS
146 | }
147 |
148 | init(condition: UIView.Condition, view: UIView, callback: @escaping (Bool, UIView) -> Void) {
| `- error: 'UIView' is unavailable in watchOS
149 | self.callback = callback
150 | super.init(view: view)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:154:36: error: 'UIView' is unavailable in watchOS
152 | }
153 |
154 | fileprivate var callback: (Bool, UIView) -> Void
| `- error: 'UIView' is unavailable in watchOS
155 | fileprivate var conditionIsActive = false
156 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:157:82: error: 'UIView' is unavailable in watchOS
155 | fileprivate var conditionIsActive = false
156 |
157 | override func applyUpdates(_ activeItems: [Item], inactiveItems: [Item], view: UIView, animated: Bool) {
| `- error: 'UIView' is unavailable in watchOS
158 | conditionIsActive = (activeItems.isEmpty == false)
159 | callback(conditionIsActive, view)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:91:11: error: 'UIView' is unavailable in watchOS
89 | }
90 |
91 | extension UIView: DynamicallyConfigurableView {
| `- error: 'UIView' is unavailable in watchOS
92 | /// Hides this view if we are in accessibility content size mode.
93 | /// Returns `self` for easy chaining.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:164:11: error: 'UILabel' is unavailable in watchOS
162 | }
163 |
164 | extension UILabel {
| `- error: 'UILabel' is unavailable in watchOS
165 | /// Sets the text alignment for this label in regular content-size mode and in accessibility size mode
166 | ///
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:181:11: error: 'UITextView' is unavailable in watchOS
179 |
180 |
181 | extension UITextView {
| `- error: 'UITextView' is unavailable in watchOS
182 | /// Sets the text alignment for this label in regular content-size mode and in accessibility size mode
183 | ///
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:28:35: error: 'UIView' is unavailable in watchOS
26 | callback: @escaping (_ matchesCondition: Bool, _ view: Self) -> Void
27 | ) -> Self {
28 | return configureDynamically(as: UIView.self, condition: condition) { [weak self] matchesCondition, view in
| `- error: 'UIView' is unavailable in watchOS
29 | guard let self else { return }
30 | callback(matchesCondition, self)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift:71:35: error: 'UIView' is unavailable in watchOS
69 | /// - `self` is returned, for easy chaining.
70 | @discardableResult public func configure<T>(keyPath: ReferenceWritableKeyPath<Self, T>, if condition: UIView.Condition, to: T, else: T) -> Self {
71 | return configureDynamically(as: UIView.self, condition: condition) { [weak self] matches, view in
| `- error: 'UIView' is unavailable in watchOS
72 | guard let self else { return }
73 | self[keyPath: keyPath] = matches ? to : `else`
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicConstantSize.swift:83:40: error: 'NSLayoutConstraint' is unavailable in watchOS
81 | // MARK: - Privates
82 | fileprivate static var constrainedFixedWidthConstraintKey = 0
83 | fileprivate var fixedWidthConstraint: NSLayoutConstraint? {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
84 | get { objc_getAssociatedObject(self, &Self.constrainedFixedWidthConstraintKey) as? NSLayoutConstraint }
85 | set { objc_setAssociatedObject(self, &Self.constrainedFixedWidthConstraintKey, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicConstantSize.swift:89:41: error: 'NSLayoutConstraint' is unavailable in watchOS
87 |
88 | fileprivate static var constrainedFixedHeightConstraintKey = 0
89 | fileprivate var fixedHeightConstraint: NSLayoutConstraint? {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
90 | get { objc_getAssociatedObject(self, &Self.constrainedFixedHeightConstraintKey) as? NSLayoutConstraint }
91 | set { objc_setAssociatedObject(self, &Self.constrainedFixedHeightConstraintKey, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicConstantSize.swift:11:11: error: 'UIView' is unavailable in watchOS
9 | import ObjectiveC.runtime
10 |
11 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
12 | /// This sets a fixed width constraint that is being remembered. Reassigning this
13 | /// updates the existing width constraint or create a new one.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicConstantSize.swift:84:86: error: 'NSLayoutConstraint' is unavailable in watchOS
82 | fileprivate static var constrainedFixedWidthConstraintKey = 0
83 | fileprivate var fixedWidthConstraint: NSLayoutConstraint? {
84 | get { objc_getAssociatedObject(self, &Self.constrainedFixedWidthConstraintKey) as? NSLayoutConstraint }
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
85 | set { objc_setAssociatedObject(self, &Self.constrainedFixedWidthConstraintKey, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) }
86 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Centering.swift (in target 'AutoLayoutConvenience' from project 'AutoLayoutConvenience')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+Centering.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Condition.swift (in target 'AutoLayoutConvenience' from project 'AutoLayoutConvenience')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+Condition.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Conditional.swift (in target 'AutoLayoutConvenience' from project 'AutoLayoutConvenience')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+Conditional.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+Defaults.swift (in target 'AutoLayoutConvenience' from project 'AutoLayoutConvenience')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+Defaults.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicCondition.swift (in target 'AutoLayoutConvenience' from project 'AutoLayoutConvenience')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+DynamicCondition.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIView/UIView+DynamicConstantSize.swift (in target 'AutoLayoutConvenience' from project 'AutoLayoutConvenience')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+DynamicConstantSize.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-10-23 02:21:50.986 xcodebuild[795:4882] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ AutoLayoutConvenience (in target 'AutoLayoutConvenience' from project 'AutoLayoutConvenience')
SwiftCompile normal arm64 (in target 'AutoLayoutConvenience' from project 'AutoLayoutConvenience')
Building workspace AutoLayoutConvenience with scheme AutoLayoutConvenience
(3 failures)
BUILD FAILURE 6.4 watchOS