Build Information
Failed to build ColorPicker, reference main (8cd386), with Swift 6.4 for watchOS using Xcode 27.0 on 23 Sep 2026 02:03:34 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ColorPicker -destination generic/platform=watchOSBuild Log
| `- error: 'constraints' is unavailable in watchOS
29 | private var _color: HSVA = .noop
30 |
UIKit.UIViewInvalidating.constraints:2:19: note: 'constraints' has been explicitly marked unavailable here
1 | protocol UIViewInvalidating {
2 | public static var constraints: UIView.Invalidations.Constraints { get }}
| `- note: 'constraints' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:25:41: error: 'NSLayoutConstraint' is unavailable in watchOS
23 | let thumbView: ThumbView = .init(frame: .null)
24 |
25 | private var thumbCenterXConstraint: NSLayoutConstraint? = nil
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
26 | private var thumbCenterYConstraint: NSLayoutConstraint? = nil
27 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:26:41: error: 'NSLayoutConstraint' is unavailable in watchOS
24 |
25 | private var thumbCenterXConstraint: NSLayoutConstraint? = nil
26 | private var thumbCenterYConstraint: NSLayoutConstraint? = nil
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
27 |
28 | @Invalidating(.constraints)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:28:6: error: 'Invalidating' is unavailable in watchOS
26 | private var thumbCenterYConstraint: NSLayoutConstraint? = nil
27 |
28 | @Invalidating(.constraints)
| `- error: 'Invalidating' is unavailable in watchOS
29 | private var _color: HSVA = .noop
30 |
UIKit.UIView.Invalidating:5:34: note: 'Invalidating' has been explicitly marked unavailable here
3 | @available(iOS 15, tvOS 15, *)
4 | @available(watchOS, unavailable)
5 | @propertyWrapper public struct Invalidating<Value, InvalidationType> : ~Sendable where Value : Equatable, InvalidationType : UIViewInvalidating {
| `- note: 'Invalidating' has been explicitly marked unavailable here
6 | @available(*, unavailable, message: "@UIView.Invalidating can only be used on subclasses of UIView")
7 | public var wrappedValue: Value { get set }
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:41:32: error: 'UIPanGestureRecognizer' is unavailable in watchOS
39 | }
40 |
41 | let panGestureRecognizer = UIPanGestureRecognizer()
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
42 | let tapGestureRecognizer = UITapGestureRecognizer()
43 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:42:32: error: 'UITapGestureRecognizer' is unavailable in watchOS
40 |
41 | let panGestureRecognizer = UIPanGestureRecognizer()
42 | let tapGestureRecognizer = UITapGestureRecognizer()
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
43 |
44 | public var continuously: Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:117:33: error: 'UIPanGestureRecognizer' is unavailable in watchOS
115 | }
116 |
117 | @objc func onPan(_ gesture: UIPanGestureRecognizer) {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
118 | let location = gesture.location(in: gesture.view)
119 | color = colorView.color(at: location)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:123:33: error: 'UITapGestureRecognizer' is unavailable in watchOS
121 | }
122 |
123 | @objc func onTap(_ gesture: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
124 | guard gesture.state == .ended else { return }
125 | let location = gesture.location(in: gesture.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:20:47: error: 'UIControl' is unavailable in watchOS
18 | }
19 |
20 | public final class ClassicColorPickerControl: UIControl, ColorPickerView {
| `- error: 'UIControl' is unavailable in watchOS
21 | let colorView: ClassicColorView = .init(frame: .null)
22 | let hueSlider: ColorSliderWithInputView = .init(frame: .null)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
<unknown>:0: error: setter for '_color' is unavailable in watchOS
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:29:17: note: setter for '_color' has been explicitly marked unavailable here
27 |
28 | @Invalidating(.constraints)
29 | private var _color: HSVA = .noop
| `- note: setter for '_color' has been explicitly marked unavailable here
30 |
31 | public var color: HSVA {
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:34:13: error: setter for '_color' is unavailable in watchOS
27 |
28 | @Invalidating(.constraints)
29 | private var _color: HSVA = .noop
| `- note: setter for '_color' has been explicitly marked unavailable here
30 |
31 | public var color: HSVA {
32 | get { _color }
33 | set {
34 | _color = newValue
| `- error: setter for '_color' is unavailable in watchOS
35 | thumbView.color = newValue
36 | hueSlider.color = newValue
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorView.swift:4:20: error: 'display' is unavailable in watchOS
2 |
3 | class ClassicColorView: UIView {
4 | @Invalidating(.display)
| `- error: 'display' is unavailable in watchOS
5 | var hue: Double = 0
6 |
UIKit.UIViewInvalidating.display:2:19: note: 'display' has been explicitly marked unavailable here
1 | protocol UIViewInvalidating {
2 | public static var display: UIView.Invalidations.Display { get }}
| `- note: 'display' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:37:13: error: setter for 'hue' is unavailable in watchOS
35 | thumbView.color = newValue
36 | hueSlider.color = newValue
37 | colorView.hue = newValue.hsv.h
| `- error: setter for 'hue' is unavailable in watchOS
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorView.swift:5:9: note: setter for 'hue' has been explicitly marked unavailable here
3 | class ClassicColorView: UIView {
4 | @Invalidating(.display)
5 | var hue: Double = 0
| `- note: setter for 'hue' has been explicitly marked unavailable here
6 |
7 | override init(frame: CGRect) {
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:58:22: error: 'UIStackView' is unavailable in watchOS
56 | hueSlider.textField.configuration = .radius
57 |
58 | let vStack = UIStackView(arrangedSubviews: [colorView, hueSlider])
| `- error: 'UIStackView' is unavailable in watchOS
59 | vStack.axis = .vertical
60 | addSubview(vStack)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:62:9: error: 'NSLayoutConstraint' is unavailable in watchOS
60 | addSubview(vStack)
61 | vStack.translatesAutoresizingMaskIntoConstraints = false
62 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
63 | vStack.topAnchor.constraint(equalTo: topAnchor),
64 | vStack.leadingAnchor.constraint(equalTo: leadingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:71:18: error: 'NSLayoutConstraint' is unavailable in watchOS
69 | thumbView.translatesAutoresizingMaskIntoConstraints = false
70 | // Initial constraints: centerX = right * 1.0, centerY = bottom * 1.0, size = 36
71 | let cX = NSLayoutConstraint(
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
72 | item: thumbView,
73 | attribute: .centerX,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:80:18: error: 'NSLayoutConstraint' is unavailable in watchOS
78 | constant: 0
79 | )
80 | let cY = NSLayoutConstraint(
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
81 | item: thumbView,
82 | attribute: .centerY,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:91:9: error: 'NSLayoutConstraint' is unavailable in watchOS
89 | let w = thumbView.widthAnchor.constraint(equalToConstant: 36)
90 | let h = thumbView.heightAnchor.constraint(equalToConstant: 36)
91 | NSLayoutConstraint.activate([cX, cY, w, h])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
92 | thumbCenterXConstraint = cX
93 | thumbCenterYConstraint = cY
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:95:19: error: 'addAction(_:for:)' is unavailable in watchOS
93 | thumbCenterYConstraint = cY
94 |
95 | hueSlider.addAction(
| `- error: 'addAction(_:for:)' is unavailable in watchOS
96 | UIAction { [unowned self] _ in
97 | let location = colorView.location(by: color)!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:96:13: error: 'UIAction' is unavailable in watchOS
94 |
95 | hueSlider.addAction(
96 | UIAction { [unowned self] _ in
| `- error: 'UIAction' is unavailable in watchOS
97 | let location = colorView.location(by: color)!
98 | // hueをセットしてから色を取り出す
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:96:13: error: 'init(handler:)' is unavailable in watchOS
94 |
95 | hueSlider.addAction(
96 | UIAction { [unowned self] _ in
| `- error: 'init(handler:)' is unavailable in watchOS
97 | let location = colorView.location(by: color)!
98 | // hueをセットしてから色を取り出す
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:59:1: note: 'init(handler:)' has been explicitly marked unavailable here
57 | * @return A new UIAction.
58 | */
59 | + (instancetype)actionWithHandler:(UIActionHandler)handler API_AVAILABLE(ios(14.0)) NS_SWIFT_UNAVAILABLE("Use init(title:image:identifier:discoverabilityTitle:attributes:state:handler:) instead.") API_UNAVAILABLE(watchos);
| `- note: 'init(handler:)' has been explicitly marked unavailable here
60 |
61 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:99:17: error: setter for 'hue' is unavailable in watchOS
97 | let location = colorView.location(by: color)!
98 | // hueをセットしてから色を取り出す
99 | colorView.hue = hueSlider.slider.value
| `- error: setter for 'hue' is unavailable in watchOS
100 | color = colorView.color(at: location)
101 | sendActions(for: [.primaryActionTriggered, .valueChanged])
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorView.swift:5:9: note: setter for 'hue' has been explicitly marked unavailable here
3 | class ClassicColorView: UIView {
4 | @Invalidating(.display)
5 | var hue: Double = 0
| `- note: setter for 'hue' has been explicitly marked unavailable here
6 |
7 | override init(frame: CGRect) {
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:138:21: error: 'NSLayoutConstraint' is unavailable in watchOS
136 | if let oldCX = thumbCenterXConstraint { oldCX.isActive = false }
137 | if let oldCY = thumbCenterYConstraint { oldCY.isActive = false }
138 | let newCX = NSLayoutConstraint(
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
139 | item: thumbView,
140 | attribute: .centerX,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift:147:21: error: 'NSLayoutConstraint' is unavailable in watchOS
145 | constant: 0
146 | )
147 | let newCY = NSLayoutConstraint(
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
148 | item: thumbView,
149 | attribute: .centerY,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Extensions/ColorFormatter.swift (in target 'ColorPicker' from project 'ColorPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ColorFormatter.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Extensions/DispatchQueue+.swift (in target 'ColorPicker' from project 'ColorPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DispatchQueue+.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/AlphaColorPicker/AlphaColorPicker.swift (in target 'ColorPicker' from project 'ColorPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AlphaColorPicker.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/ClassicColorPicker/ClassicColorPicker.swift (in target 'ColorPicker' from project 'ColorPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ClassicColorPicker.swift
SwiftCompile normal arm64 Compiling\ RGBHexSliderColorPicker.swift,\ ColorPreviewView.swift,\ SwatchAndPreviewView.swift,\ SwatchView.swift /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHexSliderColorPicker.swift /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/ColorPreviewView.swift /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchAndPreviewView.swift /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift (in target 'ColorPicker' from project 'ColorPicker')
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHexSliderColorPicker.swift:20:52: error: 'UIControl' is unavailable in watchOS
18 | }
19 |
20 | public final class RGBHexSliderColorPickerControl: UIControl, ColorPickerView {
| `- error: 'UIControl' is unavailable in watchOS
21 | let rgbSlidersView = RGBColorSliderColorPickerControl(frame: .null)
22 | let hexInputView = HexInputView(frame: .null)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHexSliderColorPicker.swift:45:22: error: 'UIStackView' is unavailable in watchOS
43 | super.init(frame: frame)
44 |
45 | let vStack = UIStackView(arrangedSubviews: [rgbSlidersView, hexInputView])
| `- error: 'UIStackView' is unavailable in watchOS
46 | vStack.axis = .vertical
47 | vStack.spacing = 32
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHexSliderColorPicker.swift:50:9: error: 'NSLayoutConstraint' is unavailable in watchOS
48 | addSubview(vStack)
49 | vStack.translatesAutoresizingMaskIntoConstraints = false
50 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
51 | vStack.topAnchor.constraint(equalTo: topAnchor),
52 | vStack.leadingAnchor.constraint(equalTo: leadingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHexSliderColorPicker.swift:57:24: error: 'addAction(_:for:)' is unavailable in watchOS
55 | ])
56 |
57 | rgbSlidersView.addAction(
| `- error: 'addAction(_:for:)' is unavailable in watchOS
58 | UIAction { [unowned self] _ in
59 | self.color = self.rgbSlidersView.color
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHexSliderColorPicker.swift:58:13: error: 'UIAction' is unavailable in watchOS
56 |
57 | rgbSlidersView.addAction(
58 | UIAction { [unowned self] _ in
| `- error: 'UIAction' is unavailable in watchOS
59 | self.color = self.rgbSlidersView.color
60 | self.sendActions(for: [.valueChanged, .primaryActionTriggered])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHexSliderColorPicker.swift:58:13: error: 'init(handler:)' is unavailable in watchOS
56 |
57 | rgbSlidersView.addAction(
58 | UIAction { [unowned self] _ in
| `- error: 'init(handler:)' is unavailable in watchOS
59 | self.color = self.rgbSlidersView.color
60 | self.sendActions(for: [.valueChanged, .primaryActionTriggered])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:59:1: note: 'init(handler:)' has been explicitly marked unavailable here
57 | * @return A new UIAction.
58 | */
59 | + (instancetype)actionWithHandler:(UIActionHandler)handler API_AVAILABLE(ios(14.0)) NS_SWIFT_UNAVAILABLE("Use init(title:image:identifier:discoverabilityTitle:attributes:state:handler:) instead.") API_UNAVAILABLE(watchos);
| `- note: 'init(handler:)' has been explicitly marked unavailable here
60 |
61 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHexSliderColorPicker.swift:65:22: error: 'addAction(_:for:)' is unavailable in watchOS
63 | )
64 |
65 | hexInputView.addAction(
| `- error: 'addAction(_:for:)' is unavailable in watchOS
66 | UIAction { [unowned self] _ in
67 | self.color = self.hexInputView.color
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHexSliderColorPicker.swift:66:13: error: 'UIAction' is unavailable in watchOS
64 |
65 | hexInputView.addAction(
66 | UIAction { [unowned self] _ in
| `- error: 'UIAction' is unavailable in watchOS
67 | self.color = self.hexInputView.color
68 | self.sendActions(for: [.valueChanged, .primaryActionTriggered])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHexSliderColorPicker.swift:66:13: error: 'init(handler:)' is unavailable in watchOS
64 |
65 | hexInputView.addAction(
66 | UIAction { [unowned self] _ in
| `- error: 'init(handler:)' is unavailable in watchOS
67 | self.color = self.hexInputView.color
68 | self.sendActions(for: [.valueChanged, .primaryActionTriggered])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:59:1: note: 'init(handler:)' has been explicitly marked unavailable here
57 | * @return A new UIAction.
58 | */
59 | + (instancetype)actionWithHandler:(UIActionHandler)handler API_AVAILABLE(ios(14.0)) NS_SWIFT_UNAVAILABLE("Use init(title:image:identifier:discoverabilityTitle:attributes:state:handler:) instead.") API_UNAVAILABLE(watchos);
| `- note: 'init(handler:)' has been explicitly marked unavailable here
60 |
61 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/ColorPreviewView.swift:5:20: error: 'display' is unavailable in watchOS
3 | class ColorPreviewView: UIView {
4 |
5 | @Invalidating(.display)
| `- error: 'display' is unavailable in watchOS
6 | var color: HSVA = .noop
7 |
UIKit.UIViewInvalidating.display:2:19: note: 'display' has been explicitly marked unavailable here
1 | protocol UIViewInvalidating {
2 | public static var display: UIView.Invalidations.Display { get }}
| `- note: 'display' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/ColorPreviewView.swift:5:6: error: 'Invalidating' is unavailable in watchOS
3 | class ColorPreviewView: UIView {
4 |
5 | @Invalidating(.display)
| `- error: 'Invalidating' is unavailable in watchOS
6 | var color: HSVA = .noop
7 |
UIKit.UIView.Invalidating:5:34: note: 'Invalidating' has been explicitly marked unavailable here
3 | @available(iOS 15, tvOS 15, *)
4 | @available(watchOS, unavailable)
5 | @propertyWrapper public struct Invalidating<Value, InvalidationType> : ~Sendable where Value : Equatable, InvalidationType : UIViewInvalidating {
| `- note: 'Invalidating' has been explicitly marked unavailable here
6 | @available(*, unavailable, message: "@UIView.Invalidating can only be used on subclasses of UIView")
7 | public var wrappedValue: Value { get set }
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/ColorPreviewView.swift:3:25: error: 'UIView' is unavailable in watchOS
1 | import UIKit
2 |
3 | class ColorPreviewView: UIView {
| `- error: 'UIView' is unavailable in watchOS
4 |
5 | @Invalidating(.display)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
<unknown>:0: error: setter for 'color' is unavailable in watchOS
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/ColorPreviewView.swift:6:9: note: setter for 'color' has been explicitly marked unavailable here
4 |
5 | @Invalidating(.display)
6 | var color: HSVA = .noop
| `- note: setter for 'color' has been explicitly marked unavailable here
7 |
8 | override init(frame: CGRect) {
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/ColorPreviewView.swift:12:9: error: 'NSLayoutConstraint' is unavailable in watchOS
10 | backgroundColor = .clear
11 | translatesAutoresizingMaskIntoConstraints = false
12 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
13 | widthAnchor.constraint(equalToConstant: 76),
14 | heightAnchor.constraint(equalToConstant: 76),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchAndPreviewView.swift:3:29: error: 'UIControl' is unavailable in watchOS
1 | import UIKit
2 |
3 | class SwatchAndPreviewView: UIControl {
| `- error: 'UIControl' is unavailable in watchOS
4 |
5 | let swatchView = SwatchView(frame: .null)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchAndPreviewView.swift:14:13: error: setter for 'color' is unavailable in watchOS
12 | set {
13 | _color = newValue
14 | colorPreviewView.color = newValue
| `- error: setter for 'color' is unavailable in watchOS
15 | swatchView.selectedColor = newValue
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/ColorPreviewView.swift:6:9: note: setter for 'color' has been explicitly marked unavailable here
4 |
5 | @Invalidating(.display)
6 | var color: HSVA = .noop
| `- note: setter for 'color' has been explicitly marked unavailable here
7 |
8 | override init(frame: CGRect) {
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchAndPreviewView.swift:22:22: error: 'UIStackView' is unavailable in watchOS
20 | super.init(frame: frame)
21 |
22 | let hStack = UIStackView(arrangedSubviews: [colorPreviewView, swatchView])
| `- error: 'UIStackView' is unavailable in watchOS
23 | hStack.spacing = 20
24 | hStack.axis = .horizontal
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchAndPreviewView.swift:28:9: error: 'NSLayoutConstraint' is unavailable in watchOS
26 | addSubview(hStack)
27 | hStack.translatesAutoresizingMaskIntoConstraints = false
28 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
29 | hStack.topAnchor.constraint(equalTo: topAnchor),
30 | hStack.leadingAnchor.constraint(equalTo: leadingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchAndPreviewView.swift:35:20: error: 'addAction(_:for:)' is unavailable in watchOS
33 | ])
34 |
35 | swatchView.addAction(
| `- error: 'addAction(_:for:)' is unavailable in watchOS
36 | UIAction { [unowned self] _ in
37 | self.color = self.swatchView.selectedColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchAndPreviewView.swift:36:13: error: 'UIAction' is unavailable in watchOS
34 |
35 | swatchView.addAction(
36 | UIAction { [unowned self] _ in
| `- error: 'UIAction' is unavailable in watchOS
37 | self.color = self.swatchView.selectedColor
38 | self.sendActions(for: [.valueChanged, .primaryActionTriggered])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchAndPreviewView.swift:36:13: error: 'init(handler:)' is unavailable in watchOS
34 |
35 | swatchView.addAction(
36 | UIAction { [unowned self] _ in
| `- error: 'init(handler:)' is unavailable in watchOS
37 | self.color = self.swatchView.selectedColor
38 | self.sendActions(for: [.valueChanged, .primaryActionTriggered])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:59:1: note: 'init(handler:)' has been explicitly marked unavailable here
57 | * @return A new UIAction.
58 | */
59 | + (instancetype)actionWithHandler:(UIActionHandler)handler API_AVAILABLE(ios(14.0)) NS_SWIFT_UNAVAILABLE("Use init(title:image:identifier:discoverabilityTitle:attributes:state:handler:) instead.") API_UNAVAILABLE(watchos);
| `- note: 'init(handler:)' has been explicitly marked unavailable here
60 |
61 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:94:31: error: 'UICollectionView' is unavailable in watchOS
92 | configuration: configuration
93 | )
94 | lazy var collectionView = UICollectionView(frame: .null, collectionViewLayout: layout)
| `- error: 'UICollectionView' is unavailable in watchOS
95 |
96 | struct ColorCellConfiguration {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:110:26: error: cannot specialize non-generic type 'UICollectionViewDiffableDataSource'
108 | }
109 | )
110 | lazy var dataSource: UICollectionViewDiffableDataSource<Section, CellItem> = .init(
| `- error: cannot specialize non-generic type 'UICollectionViewDiffableDataSource'
111 | collectionView: collectionView,
112 | cellProvider: { [weak self] (collectionView, indexPath, item) in
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:12:43: error: 'UIEditMenuInteraction' is unavailable in watchOS
10 | }
11 |
12 | private lazy var editMenuInteraction: UIEditMenuInteraction = {
| `- error: 'UIEditMenuInteraction' is unavailable in watchOS
13 | let interaction = UIEditMenuInteraction(delegate: self)
14 | return interaction
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEditMenuInteraction.h:51:12: note: 'UIEditMenuInteraction' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIEditMenuInteraction : NSObject <UIInteraction>
| `- note: 'UIEditMenuInteraction' has been explicitly marked unavailable here
52 |
53 | /// The object that defines the delegate of the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:13:27: error: 'UIEditMenuInteraction' is unavailable in watchOS
11 |
12 | private lazy var editMenuInteraction: UIEditMenuInteraction = {
13 | let interaction = UIEditMenuInteraction(delegate: self)
| `- error: 'UIEditMenuInteraction' is unavailable in watchOS
14 | return interaction
15 | }()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEditMenuInteraction.h:51:12: note: 'UIEditMenuInteraction' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIEditMenuInteraction : NSObject <UIInteraction>
| `- note: 'UIEditMenuInteraction' has been explicitly marked unavailable here
52 |
53 | /// The object that defines the delegate of the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:39:24: error: 'UICollectionViewCompositionalLayoutConfiguration' is unavailable in watchOS
37 | }
38 |
39 | let configuration: UICollectionViewCompositionalLayoutConfiguration = {
| `- error: 'UICollectionViewCompositionalLayoutConfiguration' is unavailable in watchOS
40 | let configuration = UICollectionViewCompositionalLayoutConfiguration()
41 | configuration.scrollDirection = .vertical
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:41:12: note: 'UICollectionViewCompositionalLayoutConfiguration' has been explicitly marked unavailable here
39 |
40 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
41 | @interface UICollectionViewCompositionalLayoutConfiguration : NSObject<NSCopying>
| `- note: 'UICollectionViewCompositionalLayoutConfiguration' has been explicitly marked unavailable here
42 | @property(nonatomic) UICollectionViewScrollDirection scrollDirection; // default is UICollectionViewScrollDirectionVertical
43 | @property(nonatomic) CGFloat interSectionSpacing; // default is 0
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:40:29: error: 'UICollectionViewCompositionalLayoutConfiguration' is unavailable in watchOS
38 |
39 | let configuration: UICollectionViewCompositionalLayoutConfiguration = {
40 | let configuration = UICollectionViewCompositionalLayoutConfiguration()
| `- error: 'UICollectionViewCompositionalLayoutConfiguration' is unavailable in watchOS
41 | configuration.scrollDirection = .vertical
42 | return configuration
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:41:12: note: 'UICollectionViewCompositionalLayoutConfiguration' has been explicitly marked unavailable here
39 |
40 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
41 | @interface UICollectionViewCompositionalLayoutConfiguration : NSObject<NSCopying>
| `- note: 'UICollectionViewCompositionalLayoutConfiguration' has been explicitly marked unavailable here
42 | @property(nonatomic) UICollectionViewScrollDirection scrollDirection; // default is UICollectionViewScrollDirectionVertical
43 | @property(nonatomic) CGFloat interSectionSpacing; // default is 0
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:44:22: error: 'UICollectionViewLayout' is unavailable in watchOS
42 | return configuration
43 | }()
44 | lazy var layout: UICollectionViewLayout = UICollectionViewCompositionalLayout(
| `- error: 'UICollectionViewLayout' is unavailable in watchOS
45 | sectionProvider: { [unowned self] section, environment in
46 | let itemSize = NSCollectionLayoutSize(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:89:12: note: 'UICollectionViewLayout' has been explicitly marked unavailable here
87 |
88 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
89 | @interface UICollectionViewLayout : NSObject <NSCoding>
| `- note: 'UICollectionViewLayout' has been explicitly marked unavailable here
90 |
91 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:44:47: error: 'UICollectionViewCompositionalLayout' is unavailable in watchOS
42 | return configuration
43 | }()
44 | lazy var layout: UICollectionViewLayout = UICollectionViewCompositionalLayout(
| `- error: 'UICollectionViewCompositionalLayout' is unavailable in watchOS
45 | sectionProvider: { [unowned self] section, environment in
46 | let itemSize = NSCollectionLayoutSize(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:51:12: note: 'UICollectionViewCompositionalLayout' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UICollectionViewCompositionalLayout : UICollectionViewLayout
| `- note: 'UICollectionViewCompositionalLayout' has been explicitly marked unavailable here
52 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section;
53 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section configuration:(UICollectionViewCompositionalLayoutConfiguration*)configuration;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:46:28: error: 'NSCollectionLayoutSize' is unavailable in watchOS
44 | lazy var layout: UICollectionViewLayout = UICollectionViewCompositionalLayout(
45 | sectionProvider: { [unowned self] section, environment in
46 | let itemSize = NSCollectionLayoutSize(
| `- error: 'NSCollectionLayoutSize' is unavailable in watchOS
47 | widthDimension: .fractionalWidth(1),
48 | heightDimension: .fractionalHeight(1)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:303:12: note: 'NSCollectionLayoutSize' has been explicitly marked unavailable here
301 |
302 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
303 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutSize' has been explicitly marked unavailable here
304 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
305 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:50:24: error: 'NSCollectionLayoutItem' is unavailable in watchOS
48 | heightDimension: .fractionalHeight(1)
49 | )
50 | let item = NSCollectionLayoutItem(layoutSize: itemSize)
| `- error: 'NSCollectionLayoutItem' is unavailable in watchOS
51 |
52 | let hGroupSize = NSCollectionLayoutSize(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:149:12: note: 'NSCollectionLayoutItem' has been explicitly marked unavailable here
147 |
148 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
149 | @interface NSCollectionLayoutItem : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutItem' has been explicitly marked unavailable here
150 | + (instancetype)itemWithLayoutSize:(NSCollectionLayoutSize*)layoutSize;
151 | + (instancetype)itemWithLayoutSize:(NSCollectionLayoutSize*)layoutSize supplementaryItems:(NSArray<NSCollectionLayoutSupplementaryItem*>*)supplementaryItems;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:52:30: error: 'NSCollectionLayoutSize' is unavailable in watchOS
50 | let item = NSCollectionLayoutItem(layoutSize: itemSize)
51 |
52 | let hGroupSize = NSCollectionLayoutSize(
| `- error: 'NSCollectionLayoutSize' is unavailable in watchOS
53 | widthDimension: .fractionalWidth(1),
54 | heightDimension: .fractionalHeight(1)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:303:12: note: 'NSCollectionLayoutSize' has been explicitly marked unavailable here
301 |
302 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
303 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutSize' has been explicitly marked unavailable here
304 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
305 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:64:26: error: 'NSCollectionLayoutGroup' is unavailable in watchOS
62 | count = 5
63 | }
64 | let hGroup = NSCollectionLayoutGroup.horizontal(
| `- error: 'NSCollectionLayoutGroup' is unavailable in watchOS
65 | layoutSize: hGroupSize,
66 | subitem: item,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:217:12: note: 'NSCollectionLayoutGroup' has been explicitly marked unavailable here
215 |
216 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
217 | @interface NSCollectionLayoutGroup : NSCollectionLayoutItem<NSCopying>
| `- note: 'NSCollectionLayoutGroup' has been explicitly marked unavailable here
218 |
219 | /// Specifies a group that will horizontally repeat its subitem a fixed number of times.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:64:50: error: 'horizontal(layoutSize:subitem:count:)' is unavailable in watchOS
62 | count = 5
63 | }
64 | let hGroup = NSCollectionLayoutGroup.horizontal(
| `- error: 'horizontal(layoutSize:subitem:count:)' is unavailable in watchOS
65 | layoutSize: hGroupSize,
66 | subitem: item,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:606:1: note: 'horizontal(layoutSize:subitem:count:)' has been explicitly marked unavailable here
604 | // Specifies a group that will have N items equally sized along the horizontal axis. use interItemSpacing to insert space between items
605 | // Forces the width dimension of the subitem to .fractionalWidth(1.0/count).
606 | + (instancetype)horizontalGroupWithLayoutSize:(NSCollectionLayoutSize*)layoutSize subitem:(NSCollectionLayoutItem*)subitem count:(NSInteger)count API_DEPRECATED_WITH_REPLACEMENT("+horizontalGroupWithLayoutSize:repeatingSubitem:count:", ios(13.0, 16.0), tvos(13.0, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'horizontal(layoutSize:subitem:count:)' has been explicitly marked unavailable here
607 |
608 | // Specifies a group that will have N items equally sized along the vertical axis. use interItemSpacing to insert space between items
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:70:30: error: 'NSCollectionLayoutSize' is unavailable in watchOS
68 | )
69 | // hGroup.interItemSpacing = .flexible(16)
70 | let vGroupSize = NSCollectionLayoutSize(
| `- error: 'NSCollectionLayoutSize' is unavailable in watchOS
71 | widthDimension: .fractionalWidth(1),
72 | heightDimension: .fractionalHeight(1)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:303:12: note: 'NSCollectionLayoutSize' has been explicitly marked unavailable here
301 |
302 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
303 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutSize' has been explicitly marked unavailable here
304 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
305 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:74:26: error: 'NSCollectionLayoutGroup' is unavailable in watchOS
72 | heightDimension: .fractionalHeight(1)
73 | )
74 | let vGroup = NSCollectionLayoutGroup.vertical(
| `- error: 'NSCollectionLayoutGroup' is unavailable in watchOS
75 | layoutSize: vGroupSize,
76 | subitem: hGroup,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:217:12: note: 'NSCollectionLayoutGroup' has been explicitly marked unavailable here
215 |
216 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
217 | @interface NSCollectionLayoutGroup : NSCollectionLayoutItem<NSCopying>
| `- note: 'NSCollectionLayoutGroup' has been explicitly marked unavailable here
218 |
219 | /// Specifies a group that will horizontally repeat its subitem a fixed number of times.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:74:50: error: 'vertical(layoutSize:subitem:count:)' is unavailable in watchOS
72 | heightDimension: .fractionalHeight(1)
73 | )
74 | let vGroup = NSCollectionLayoutGroup.vertical(
| `- error: 'vertical(layoutSize:subitem:count:)' is unavailable in watchOS
75 | layoutSize: vGroupSize,
76 | subitem: hGroup,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:610:1: note: 'vertical(layoutSize:subitem:count:)' has been explicitly marked unavailable here
608 | // Specifies a group that will have N items equally sized along the vertical axis. use interItemSpacing to insert space between items
609 | // Forces the height dimension of the subitem to .fractionalHeight(1.0/count).
610 | + (instancetype)verticalGroupWithLayoutSize:(NSCollectionLayoutSize*)layoutSize subitem:(NSCollectionLayoutItem*)subitem count:(NSInteger)count API_DEPRECATED_WITH_REPLACEMENT("+verticalGroupWithLayoutSize:repeatingSubitem:count:", ios(13.0, 16.0), tvos(13.0, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'vertical(layoutSize:subitem:count:)' has been explicitly marked unavailable here
611 |
612 | @end
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:80:27: error: 'NSCollectionLayoutSection' is unavailable in watchOS
78 | )
79 | vGroup.interItemSpacing = .flexible(-4)
80 | let section = NSCollectionLayoutSection(group: vGroup)
| `- error: 'NSCollectionLayoutSection' is unavailable in watchOS
81 | section.orthogonalScrollingBehavior = .groupPaging
82 | section.visibleItemsInvalidationHandler = {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:115:12: note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
113 |
114 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
115 | @interface NSCollectionLayoutSection : NSObject<NSCopying>
| `- note: 'NSCollectionLayoutSection' has been explicitly marked unavailable here
116 | + (instancetype)sectionWithGroup:(NSCollectionLayoutGroup*)group;
117 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:84:52: error: 'NSCollectionLayoutEnvironment' is unavailable in watchOS
82 | section.visibleItemsInvalidationHandler = {
83 | [unowned self]
84 | (visibleItems, point, environment: NSCollectionLayoutEnvironment) in
| `- error: 'NSCollectionLayoutEnvironment' is unavailable in watchOS
85 | guard self.pageControl.interactionState == .none else { return }
86 | self.pageControl.currentPage = Int(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h:574:11: note: 'NSCollectionLayoutEnvironment' has been explicitly marked unavailable here
572 |
573 | API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
574 | @protocol NSCollectionLayoutEnvironment<NSObject>
| `- note: 'NSCollectionLayoutEnvironment' has been explicitly marked unavailable here
575 | @property(nonatomic,readonly) id<NSCollectionLayoutContainer> container;
576 | @property(nonatomic,readonly) UITraitCollection *traitCollection;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:85:40: error: 'interactionState' is unavailable in watchOS
83 | [unowned self]
84 | (visibleItems, point, environment: NSCollectionLayoutEnvironment) in
85 | guard self.pageControl.interactionState == .none else { return }
| `- error: 'interactionState' is unavailable in watchOS
86 | self.pageControl.currentPage = Int(
87 | point.x / environment.container.contentSize.width
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h:77:71: note: 'interactionState' has been explicitly marked unavailable here
75 |
76 | /// The current interaction state for when the current page changes. Default is UIPageControlInteractionStateNone
77 | @property (nonatomic, assign, readonly) UIPageControlInteractionState interactionState API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'interactionState' has been explicitly marked unavailable here
78 |
79 | /// Returns YES if continuous interaction is supported and enabled, NO otherwise. Default is YES for platforms that support it.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:100:33: error: 'UICollectionView' is unavailable in watchOS
98 | let isSelected: Bool
99 | }
100 | let colorCellRegistration = UICollectionView.CellRegistration(
| `- error: 'UICollectionView' is unavailable in watchOS
101 | handler: { (cell: ColorCell, indexPath, configuration: ColorCellConfiguration) in
102 | cell.colorView.color = configuration.color
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Components/ColorCell.swift:36:20: error: 'display' is unavailable in watchOS
34 | class ColorView: UIView {
35 |
36 | @Invalidating(.display)
| `- error: 'display' is unavailable in watchOS
37 | var color: HSVA = .noop
38 |
UIKit.UIViewInvalidating.display:2:19: note: 'display' has been explicitly marked unavailable here
1 | protocol UIViewInvalidating {
2 | public static var display: UIView.Invalidations.Display { get }}
| `- note: 'display' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:102:13: error: setter for 'color' is unavailable in watchOS
100 | let colorCellRegistration = UICollectionView.CellRegistration(
101 | handler: { (cell: ColorCell, indexPath, configuration: ColorCellConfiguration) in
102 | cell.colorView.color = configuration.color
| `- error: setter for 'color' is unavailable in watchOS
103 | cell.colorView.style = configuration.isSelected ? .outlined : .normal
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Components/ColorCell.swift:37:9: note: setter for 'color' has been explicitly marked unavailable here
35 |
36 | @Invalidating(.display)
37 | var color: HSVA = .noop
| `- note: setter for 'color' has been explicitly marked unavailable here
38 |
39 | enum Style {
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Components/ColorCell.swift:44:20: error: 'display' is unavailable in watchOS
42 | }
43 |
44 | @Invalidating(.display)
| `- error: 'display' is unavailable in watchOS
45 | var style: Style = .normal
46 |
UIKit.UIViewInvalidating.display:2:19: note: 'display' has been explicitly marked unavailable here
1 | protocol UIViewInvalidating {
2 | public static var display: UIView.Invalidations.Display { get }}
| `- note: 'display' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:103:13: error: setter for 'style' is unavailable in watchOS
101 | handler: { (cell: ColorCell, indexPath, configuration: ColorCellConfiguration) in
102 | cell.colorView.color = configuration.color
103 | cell.colorView.style = configuration.isSelected ? .outlined : .normal
| `- error: setter for 'style' is unavailable in watchOS
104 | }
105 | )
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Components/ColorCell.swift:45:9: note: setter for 'style' has been explicitly marked unavailable here
43 |
44 | @Invalidating(.display)
45 | var style: Style = .normal
| `- note: setter for 'style' has been explicitly marked unavailable here
46 |
47 | override init(frame: CGRect) {
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:106:36: error: 'UICollectionView' is unavailable in watchOS
104 | }
105 | )
106 | let addColorCellRegistration = UICollectionView.CellRegistration(
| `- error: 'UICollectionView' is unavailable in watchOS
107 | handler: { (cell: AddColorCell, indexPath, void: Void) in
108 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:112:38: error: cannot infer type of closure parameter 'collectionView' without a type annotation
110 | lazy var dataSource: UICollectionViewDiffableDataSource<Section, CellItem> = .init(
111 | collectionView: collectionView,
112 | cellProvider: { [weak self] (collectionView, indexPath, item) in
| `- error: cannot infer type of closure parameter 'collectionView' without a type annotation
113 | guard let self = self else { return nil }
114 | switch item {
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:112:54: error: cannot infer type of closure parameter 'indexPath' without a type annotation
110 | lazy var dataSource: UICollectionViewDiffableDataSource<Section, CellItem> = .init(
111 | collectionView: collectionView,
112 | cellProvider: { [weak self] (collectionView, indexPath, item) in
| `- error: cannot infer type of closure parameter 'indexPath' without a type annotation
113 | guard let self = self else { return nil }
114 | switch item {
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:112:65: error: cannot infer type of closure parameter 'item' without a type annotation
110 | lazy var dataSource: UICollectionViewDiffableDataSource<Section, CellItem> = .init(
111 | collectionView: collectionView,
112 | cellProvider: { [weak self] (collectionView, indexPath, item) in
| `- error: cannot infer type of closure parameter 'item' without a type annotation
113 | guard let self = self else { return nil }
114 | switch item {
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:113:49: error: 'nil' requires a contextual type
111 | collectionView: collectionView,
112 | cellProvider: { [weak self] (collectionView, indexPath, item) in
113 | guard let self = self else { return nil }
| `- error: 'nil' requires a contextual type
114 | switch item {
115 | case .add:
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:134:22: error: 'UIPageControl' is unavailable in watchOS
132 | )
133 |
134 | let pageControl: UIPageControl = .init(frame: .null)
| `- error: 'UIPageControl' is unavailable in watchOS
135 | var snapshot = NSDiffableDataSourceSnapshot<Section, CellItem>()
136 | var onChanged: (([ColorItem]) -> Void) = { _ in }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h:50:12: note: 'UIPageControl' has been explicitly marked unavailable here
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
50 | @interface UIPageControl : UIControl
| `- note: 'UIPageControl' has been explicitly marked unavailable here
51 |
52 | /// default is 0
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:135:20: error: cannot specialize non-generic type 'NSDiffableDataSourceSnapshot'
133 |
134 | let pageControl: UIPageControl = .init(frame: .null)
135 | var snapshot = NSDiffableDataSourceSnapshot<Section, CellItem>()
| `- error: cannot specialize non-generic type 'NSDiffableDataSourceSnapshot'
136 | var onChanged: (([ColorItem]) -> Void) = { _ in }
137 |
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:199:39: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
197 | }
198 |
199 | @objc func onLongPress(_ gesture: UILongPressGestureRecognizer) {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
200 | let location = gesture.location(in: gesture.view)
201 | guard let indexPath = collectionView.indexPathForItem(at: location) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:235:36: error: cannot specialize non-generic type 'NSDiffableDataSourceSnapshot'
233 | }
234 |
235 | private func apply(_ snapshot: NSDiffableDataSourceSnapshot<Section, CellItem>) {
| `- error: cannot specialize non-generic type 'NSDiffableDataSourceSnapshot'
236 | let itemCount = snapshot.numberOfItems(inSection: .items)
237 | pageControl.numberOfPages = Int(ceil(Double(itemCount) / 10.0))
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:3:19: error: 'UIControl' is unavailable in watchOS
1 | import UIKit
2 |
3 | class SwatchView: UIControl {
| `- error: 'UIControl' is unavailable in watchOS
4 | enum CellItem: Hashable, Sendable {
5 | case color(ColorItem)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:266:43: error: 'UICollectionView' is unavailable in watchOS
264 | }
265 |
266 | func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
| `- error: 'UICollectionView' is unavailable in watchOS
267 | guard let item = dataSource.itemIdentifier(for: indexPath) else { return }
268 | switch item {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:257:23: error: 'UICollectionViewDelegate' is unavailable in watchOS
255 | }
256 |
257 | extension SwatchView: UICollectionViewDelegate {
| `- error: 'UICollectionViewDelegate' is unavailable in watchOS
258 | func scrollTo(page: Int, animated: Bool) {
259 | collectionView.scrollToItem(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:114:11: note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
112 |
113 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
114 | @protocol UICollectionViewDelegate <UIScrollViewDelegate>
| `- note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
115 | @optional
116 |
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:287:27: error: 'UICollectionView' is unavailable in watchOS
285 | extension SwatchView: UICollectionViewDragDelegate {
286 | func collectionView(
287 | _ collectionView: UICollectionView,
| `- error: 'UICollectionView' is unavailable in watchOS
288 | itemsForBeginning session: UIDragSession,
289 | at indexPath: IndexPath
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:288:36: error: 'UIDragSession' is unavailable in watchOS
286 | func collectionView(
287 | _ collectionView: UICollectionView,
288 | itemsForBeginning session: UIDragSession,
| `- error: 'UIDragSession' is unavailable in watchOS
289 | at indexPath: IndexPath
290 | ) -> [UIDragItem] {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h:70:11: note: 'UIDragSession' has been explicitly marked unavailable here
68 |
69 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
70 | @protocol UIDragSession <UIDragDropSession>
| `- note: 'UIDragSession' has been explicitly marked unavailable here
71 |
72 | /* Use `localContext` to attach additional information to this drag session,
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:290:11: error: 'UIDragItem' is unavailable in watchOS
288 | itemsForBeginning session: UIDragSession,
289 | at indexPath: IndexPath
290 | ) -> [UIDragItem] {
| `- error: 'UIDragItem' is unavailable in watchOS
291 | guard let itemIdentifier = dataSource.itemIdentifier(for: indexPath) else {
292 | return []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h:17:12: note: 'UIDragItem' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
17 | @interface UIDragItem : NSObject
| `- note: 'UIDragItem' has been explicitly marked unavailable here
18 |
19 | - (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:305:27: error: 'UICollectionView' is unavailable in watchOS
303 |
304 | func collectionView(
305 | _ collectionView: UICollectionView,
| `- error: 'UICollectionView' is unavailable in watchOS
306 | dragPreviewParametersForItemAt indexPath: IndexPath
307 | ) -> UIDragPreviewParameters? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:307:10: error: 'UIDragPreviewParameters' is unavailable in watchOS
305 | _ collectionView: UICollectionView,
306 | dragPreviewParametersForItemAt indexPath: IndexPath
307 | ) -> UIDragPreviewParameters? {
| `- error: 'UIDragPreviewParameters' is unavailable in watchOS
308 | guard let cell = collectionView.cellForItem(at: indexPath) as? ColorCell else {
309 | return nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h:14:12: note: 'UIDragPreviewParameters' has been explicitly marked unavailable here
12 |
13 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
14 | @interface UIDragPreviewParameters : UIPreviewParameters
| `- note: 'UIDragPreviewParameters' has been explicitly marked unavailable here
15 |
16 | @end
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:285:23: error: 'UICollectionViewDragDelegate' is unavailable in watchOS
283 | }
284 |
285 | extension SwatchView: UICollectionViewDragDelegate {
| `- error: 'UICollectionViewDragDelegate' is unavailable in watchOS
286 | func collectionView(
287 | _ collectionView: UICollectionView,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:539:11: note: 'UICollectionViewDragDelegate' has been explicitly marked unavailable here
537 |
538 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
539 | @protocol UICollectionViewDragDelegate <NSObject>
| `- note: 'UICollectionViewDragDelegate' has been explicitly marked unavailable here
540 |
541 | @required
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:321:27: error: 'UICollectionView' is unavailable in watchOS
319 |
320 | func collectionView(
321 | _ collectionView: UICollectionView,
| `- error: 'UICollectionView' is unavailable in watchOS
322 | dropSessionDidUpdate session: UIDropSession,
323 | withDestinationIndexPath destinationIndexPath: IndexPath?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:322:39: error: 'UIDropSession' is unavailable in watchOS
320 | func collectionView(
321 | _ collectionView: UICollectionView,
322 | dropSessionDidUpdate session: UIDropSession,
| `- error: 'UIDropSession' is unavailable in watchOS
323 | withDestinationIndexPath destinationIndexPath: IndexPath?
324 | ) -> UICollectionViewDropProposal {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h:86:11: note: 'UIDropSession' has been explicitly marked unavailable here
84 |
85 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
86 | @protocol UIDropSession <UIDragDropSession, NSProgressReporting>
| `- note: 'UIDropSession' has been explicitly marked unavailable here
87 |
88 | /* The `UIDragSession` that corresponds to this `UIDropSession`.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:324:10: error: 'UICollectionViewDropProposal' is unavailable in watchOS
322 | dropSessionDidUpdate session: UIDropSession,
323 | withDestinationIndexPath destinationIndexPath: IndexPath?
324 | ) -> UICollectionViewDropProposal {
| `- error: 'UICollectionViewDropProposal' is unavailable in watchOS
325 | if session.localDragSession != nil {
326 | if let destinationIndexPath = destinationIndexPath {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:656:12: note: 'UICollectionViewDropProposal' has been explicitly marked unavailable here
654 |
655 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
656 | @interface UICollectionViewDropProposal : UIDropProposal
| `- note: 'UICollectionViewDropProposal' has been explicitly marked unavailable here
657 |
658 | - (instancetype)initWithDropOperation:(UIDropOperation)operation intent:(UICollectionViewDropIntent)intent;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:360:27: error: 'UICollectionView' is unavailable in watchOS
358 |
359 | func collectionView(
360 | _ collectionView: UICollectionView,
| `- error: 'UICollectionView' is unavailable in watchOS
361 | performDropWith coordinator: UICollectionViewDropCoordinator
362 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:361:38: error: 'UICollectionViewDropCoordinator' is unavailable in watchOS
359 | func collectionView(
360 | _ collectionView: UICollectionView,
361 | performDropWith coordinator: UICollectionViewDropCoordinator
| `- error: 'UICollectionViewDropCoordinator' is unavailable in watchOS
362 | ) {
363 | switch coordinator.proposal.operation {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:668:11: note: 'UICollectionViewDropCoordinator' has been explicitly marked unavailable here
666 |
667 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
668 | @protocol UICollectionViewDropCoordinator <NSObject>
| `- note: 'UICollectionViewDropCoordinator' has been explicitly marked unavailable here
669 |
670 | /* Ordered list of items available for this drop.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:318:23: error: 'UICollectionViewDropDelegate' is unavailable in watchOS
316 | }
317 |
318 | extension SwatchView: UICollectionViewDropDelegate {
| `- error: 'UICollectionViewDropDelegate' is unavailable in watchOS
319 |
320 | func collectionView(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:586:11: note: 'UICollectionViewDropDelegate' has been explicitly marked unavailable here
584 |
585 | API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
586 | @protocol UICollectionViewDropDelegate <NSObject>
| `- note: 'UICollectionViewDropDelegate' has been explicitly marked unavailable here
587 |
588 | @required
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:395:24: error: 'UIEditMenuInteraction' is unavailable in watchOS
393 | extension SwatchView: @MainActor UIEditMenuInteractionDelegate {
394 | func editMenuInteraction(
395 | _ interaction: UIEditMenuInteraction,
| `- error: 'UIEditMenuInteraction' is unavailable in watchOS
396 | menuFor configuration: UIEditMenuConfiguration,
397 | suggestedActions: [UIMenuElement]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEditMenuInteraction.h:51:12: note: 'UIEditMenuInteraction' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UIEditMenuInteraction : NSObject <UIInteraction>
| `- note: 'UIEditMenuInteraction' has been explicitly marked unavailable here
52 |
53 | /// The object that defines the delegate of the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:396:32: error: 'UIEditMenuConfiguration' is unavailable in watchOS
394 | func editMenuInteraction(
395 | _ interaction: UIEditMenuInteraction,
396 | menuFor configuration: UIEditMenuConfiguration,
| `- error: 'UIEditMenuConfiguration' is unavailable in watchOS
397 | suggestedActions: [UIMenuElement]
398 | ) -> UIMenu? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEditMenuInteraction.h:27:12: note: 'UIEditMenuConfiguration' has been explicitly marked unavailable here
25 |
26 | UIKIT_EXTERN API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
27 | @interface UIEditMenuConfiguration : NSObject
| `- note: 'UIEditMenuConfiguration' has been explicitly marked unavailable here
28 |
29 | /// The unique identifier of the configuration.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:397:28: error: 'UIMenuElement' is unavailable in watchOS
395 | _ interaction: UIEditMenuInteraction,
396 | menuFor configuration: UIEditMenuConfiguration,
397 | suggestedActions: [UIMenuElement]
| `- error: 'UIMenuElement' is unavailable in watchOS
398 | ) -> UIMenu? {
399 | let location = interaction.location(in: collectionView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:56:12: note: 'UIMenuElement' has been explicitly marked unavailable here
54 |
55 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
56 | @interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UIMenuElement' has been explicitly marked unavailable here
57 |
58 | /// The element's title.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:398:10: error: 'UIMenu' is unavailable in watchOS
396 | menuFor configuration: UIEditMenuConfiguration,
397 | suggestedActions: [UIMenuElement]
398 | ) -> UIMenu? {
| `- error: 'UIMenu' is unavailable in watchOS
399 | let location = interaction.location(in: collectionView)
400 | guard let indexPath = collectionView.indexPathForItem(at: location) else { return nil }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIMenu : UIMenuElement
| `- note: 'UIMenu' has been explicitly marked unavailable here
44 |
45 | /// Unique identifier.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:393:34: error: 'UIEditMenuInteractionDelegate' is unavailable in watchOS
391 | }
392 |
393 | extension SwatchView: @MainActor UIEditMenuInteractionDelegate {
| `- error: 'UIEditMenuInteractionDelegate' is unavailable in watchOS
394 | func editMenuInteraction(
395 | _ interaction: UIEditMenuInteraction,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEditMenuInteraction.h:99:11: note: 'UIEditMenuInteractionDelegate' has been explicitly marked unavailable here
97 |
98 | API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos)
99 | @protocol UIEditMenuInteractionDelegate<NSObject>
| `- note: 'UIEditMenuInteractionDelegate' has been explicitly marked unavailable here
100 |
101 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:146:24: error: 'dragDelegate' is unavailable in watchOS
144 | collectionView.delegate = self
145 | collectionView.alwaysBounceVertical = false
146 | collectionView.dragDelegate = self
| `- error: 'dragDelegate' is unavailable in watchOS
147 | collectionView.dropDelegate = self
148 | collectionView.dragInteractionEnabled = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:374:73: note: 'dragDelegate' has been explicitly marked unavailable here
372 | @property (nonatomic, getter=isPrefetchingEnabled) BOOL prefetchingEnabled API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos);
373 |
374 | @property (nonatomic, weak, nullable) id <UICollectionViewDragDelegate> dragDelegate API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'dragDelegate' has been explicitly marked unavailable here
375 | @property (nonatomic, weak, nullable) id <UICollectionViewDropDelegate> dropDelegate API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos);
376 |
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:147:24: error: 'dropDelegate' is unavailable in watchOS
145 | collectionView.alwaysBounceVertical = false
146 | collectionView.dragDelegate = self
147 | collectionView.dropDelegate = self
| `- error: 'dropDelegate' is unavailable in watchOS
148 | collectionView.dragInteractionEnabled = true
149 | // FIXME: ドラッグ時の影がクリップされてしまう
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:375:73: note: 'dropDelegate' has been explicitly marked unavailable here
373 |
374 | @property (nonatomic, weak, nullable) id <UICollectionViewDragDelegate> dragDelegate API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos);
375 | @property (nonatomic, weak, nullable) id <UICollectionViewDropDelegate> dropDelegate API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'dropDelegate' has been explicitly marked unavailable here
376 |
377 |
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:148:24: error: 'dragInteractionEnabled' is unavailable in watchOS
146 | collectionView.dragDelegate = self
147 | collectionView.dropDelegate = self
148 | collectionView.dragInteractionEnabled = true
| `- error: 'dragInteractionEnabled' is unavailable in watchOS
149 | // FIXME: ドラッグ時の影がクリップされてしまう
150 | // collectionView.clipsToBounds = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:382:28: note: 'dragInteractionEnabled' has been explicitly marked unavailable here
380 | * As of iOS 15, this is true for both iPhone and iPad by default. Prior to iOS 15, it defaulted to false on iPhone.
381 | */
382 | @property (nonatomic) BOOL dragInteractionEnabled API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'dragInteractionEnabled' has been explicitly marked unavailable here
383 |
384 | @property (nonatomic, readonly, nullable) UIContextMenuInteraction *contextMenuInteraction API_AVAILABLE(ios(13.2), tvos(17.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:152:47: error: 'systemGray' is unavailable in watchOS
150 | // collectionView.clipsToBounds = false
151 |
152 | pageControl.pageIndicatorTintColor = .systemGray
| `- error: 'systemGray' is unavailable in watchOS
153 | pageControl.currentPageIndicatorTintColor = .label
154 | // hiddenするとレイアウトに影響が出るのでしない
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:136:49: note: 'systemGray' has been explicitly marked unavailable here
134 | /* Shades of gray. systemGray is the base gray color.
135 | */
136 | @property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemGray' has been explicitly marked unavailable here
137 |
138 | /* The numbered variations, systemGray2 through systemGray6, are grays which increasingly
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:153:54: error: 'label' is unavailable in watchOS
151 |
152 | pageControl.pageIndicatorTintColor = .systemGray
153 | pageControl.currentPageIndicatorTintColor = .label
| `- error: 'label' is unavailable in watchOS
154 | // hiddenするとレイアウトに影響が出るのでしない
155 | pageControl.hidesForSinglePage = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:157:25: error: 'UIStackView' is unavailable in watchOS
155 | pageControl.hidesForSinglePage = false
156 |
157 | let stackView = UIStackView(arrangedSubviews: [collectionView, pageControl])
| `- error: 'UIStackView' is unavailable in watchOS
158 | stackView.axis = .vertical
159 | addSubview(stackView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:161:9: error: 'NSLayoutConstraint' is unavailable in watchOS
159 | addSubview(stackView)
160 | stackView.translatesAutoresizingMaskIntoConstraints = false
161 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
162 | stackView.topAnchor.constraint(equalTo: topAnchor),
163 | stackView.leadingAnchor.constraint(equalTo: leadingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:170:9: error: 'NSLayoutConstraint' is unavailable in watchOS
168 | collectionView.translatesAutoresizingMaskIntoConstraints = false
169 | pageControl.translatesAutoresizingMaskIntoConstraints = false
170 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
171 | collectionView.heightAnchor.constraint(equalToConstant: 76),
172 | pageControl.heightAnchor.constraint(equalToConstant: 20),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ColorPicker/Feature/Swatch/SwatchView.swift:175:21: error: 'addAction(_:for:)' is unavailable in watchOS
173 | ])
174 |
175 | pageControl.addAction(
| `- error: 'addAction(_:for:)' is unavailable in watchOS
176 | UIAction { [unowned self] action in
177 | let pageControl = action.sender as! UIPageControl
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:176:13: error: 'UIAction' is unavailable in watchOS
174 |
175 | pageControl.addAction(
176 | UIAction { [unowned self] action in
| `- error: 'UIAction' is unavailable in watchOS
177 | let pageControl = action.sender as! UIPageControl
178 | self.scrollTo(page: pageControl.currentPage, animated: true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:176:13: error: 'init(handler:)' is unavailable in watchOS
174 |
175 | pageControl.addAction(
176 | UIAction { [unowned self] action in
| `- error: 'init(handler:)' is unavailable in watchOS
177 | let pageControl = action.sender as! UIPageControl
178 | self.scrollTo(page: pageControl.currentPage, animated: true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:59:1: note: 'init(handler:)' has been explicitly marked unavailable here
57 | * @return A new UIAction.
58 | */
59 | + (instancetype)actionWithHandler:(UIActionHandler)handler API_AVAILABLE(ios(14.0)) NS_SWIFT_UNAVAILABLE("Use init(title:image:identifier:discoverabilityTitle:attributes:state:handler:) instead.") API_UNAVAILABLE(watchos);
| `- note: 'init(handler:)' has been explicitly marked unavailable here
60 |
61 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:177:53: error: 'UIPageControl' is unavailable in watchOS
175 | pageControl.addAction(
176 | UIAction { [unowned self] action in
177 | let pageControl = action.sender as! UIPageControl
| `- error: 'UIPageControl' is unavailable in watchOS
178 | self.scrollTo(page: pageControl.currentPage, animated: true)
179 | },
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h:50:12: note: 'UIPageControl' has been explicitly marked unavailable here
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
50 | @interface UIPageControl : UIControl
| `- note: 'UIPageControl' has been explicitly marked unavailable here
51 |
52 | /// default is 0
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:177:42: error: 'sender' is unavailable in watchOS
175 | pageControl.addAction(
176 | UIAction { [unowned self] action in
177 | let pageControl = action.sender as! UIPageControl
| `- error: 'sender' is unavailable in watchOS
178 | self.scrollTo(page: pageControl.currentPage, animated: true)
179 | },
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:50:46: note: 'sender' has been explicitly marked unavailable here
48 |
49 | /// If available, the object on behalf of which the actionHandler is called.
50 | @property (nonatomic, readonly, nullable) id sender API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'sender' has been explicitly marked unavailable here
51 |
52 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:183:25: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
181 | )
182 |
183 | let longPress = UILongPressGestureRecognizer(
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
184 | target: self,
185 | action: #selector(onLongPress(_:))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:188:24: error: 'addInteraction' is unavailable in watchOS
186 | )
187 | collectionView.addGestureRecognizer(longPress)
188 | collectionView.addInteraction(editMenuInteraction)
| `- error: 'addInteraction' is unavailable in watchOS
189 |
190 | snapshot.appendSections([.items])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h:26:1: note: 'addInteraction' has been explicitly marked unavailable here
24 | @interface UIView (Interactions)
25 |
26 | - (void)addInteraction:(id<UIInteraction>)interaction API_AVAILABLE(ios(11.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'addInteraction' has been explicitly marked unavailable here
27 | - (void)removeInteraction:(id<UIInteraction>)interaction API_AVAILABLE(ios(11.0), tvos(13.0)) API_UNAVAILABLE(watchos);
28 |
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:202:61: error: reference to member 'add' cannot be resolved without a contextual type
200 | let location = gesture.location(in: gesture.view)
201 | guard let indexPath = collectionView.indexPathForItem(at: location) else { return }
202 | guard dataSource.itemIdentifier(for: indexPath) != .add else { return }
| `- error: reference to member 'add' cannot be resolved without a contextual type
203 | guard let cell = collectionView.cellForItem(at: indexPath) else { return }
204 | let configuration = UIEditMenuConfiguration(identifier: nil, sourcePoint: cell.center)
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:204:52: error: incorrect argument label in call (have 'identifier:sourcePoint:', expected '__identifier:sourcePoint:')
202 | guard dataSource.itemIdentifier(for: indexPath) != .add else { return }
203 | guard let cell = collectionView.cellForItem(at: indexPath) else { return }
204 | let configuration = UIEditMenuConfiguration(identifier: nil, sourcePoint: cell.center)
| `- error: incorrect argument label in call (have 'identifier:sourcePoint:', expected '__identifier:sourcePoint:')
205 | editMenuInteraction.presentEditMenu(with: configuration)
206 | }
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:214:23: error: 'UIResponderStandardEditActions' is unavailable in watchOS
212 | override func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool {
213 | [
214 | #selector(UIResponderStandardEditActions.delete)
| `- error: 'UIResponderStandardEditActions' is unavailable in watchOS
215 | ]
216 | .contains(action)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:32:11: note: 'UIResponderStandardEditActions' has been explicitly marked unavailable here
30 |
31 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @protocol UIResponderStandardEditActions <NSObject>
| `- note: 'UIResponderStandardEditActions' has been explicitly marked unavailable here
33 | @optional
34 | - (void)cut:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:214:54: error: 'delete' is unavailable in watchOS
212 | override func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool {
213 | [
214 | #selector(UIResponderStandardEditActions.delete)
| `- error: 'delete' is unavailable in watchOS
215 | ]
216 | .contains(action)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:43:1: note: 'delete' has been explicitly marked unavailable here
41 | - (void)select:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
42 | - (void)selectAll:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
43 | - (void)delete:(nullable id)sender API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos);
| `- note: 'delete' has been explicitly marked unavailable here
44 | - (void)makeTextWritingDirectionLeftToRight:(nullable id)sender API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos);
45 | - (void)makeTextWritingDirectionRightToLeft:(nullable id)sender API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:222:48: error: cannot infer contextual base in reference to member 'color'
220 | snapshot.deleteAllItems()
221 | snapshot.appendSections([.items])
222 | snapshot.appendItems(colorItems.map({ .color($0) }), toSection: .items)
| `- error: cannot infer contextual base in reference to member 'color'
223 | snapshot.appendItems([.add], toSection: .items)
224 | apply(snapshot)
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:311:26: error: 'UIDragPreviewParameters' is unavailable in watchOS
309 | return nil
310 | }
311 | let parameters = UIDragPreviewParameters()
| `- error: 'UIDragPreviewParameters' is unavailable in watchOS
312 | parameters.visiblePath = UIBezierPath(ovalIn: cell.contentRect())
313 | parameters.backgroundColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h:14:12: note: 'UIDragPreviewParameters' has been explicitly marked unavailable here
12 |
13 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
14 | @interface UIDragPreviewParameters : UIPreviewParameters
| `- note: 'UIDragPreviewParameters' has been explicitly marked unavailable here
15 |
16 | @end
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:330:28: error: 'UICollectionViewDropProposal' is unavailable in watchOS
328 | case .add = item
329 | {
330 | return UICollectionViewDropProposal(
| `- error: 'UICollectionViewDropProposal' is unavailable in watchOS
331 | operation: .cancel
332 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:656:12: note: 'UICollectionViewDropProposal' has been explicitly marked unavailable here
654 |
655 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
656 | @interface UICollectionViewDropProposal : UIDropProposal
| `- note: 'UICollectionViewDropProposal' has been explicitly marked unavailable here
657 |
658 | - (instancetype)initWithDropOperation:(UIDropOperation)operation intent:(UICollectionViewDropIntent)intent;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:335:32: error: 'UICollectionViewDropProposal' is unavailable in watchOS
333 | } else {
334 | if session.items.count > 1 {
335 | return UICollectionViewDropProposal(
| `- error: 'UICollectionViewDropProposal' is unavailable in watchOS
336 | operation: .move,
337 | intent: .insertIntoDestinationIndexPath
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:656:12: note: 'UICollectionViewDropProposal' has been explicitly marked unavailable here
654 |
655 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
656 | @interface UICollectionViewDropProposal : UIDropProposal
| `- note: 'UICollectionViewDropProposal' has been explicitly marked unavailable here
657 |
658 | - (instancetype)initWithDropOperation:(UIDropOperation)operation intent:(UICollectionViewDropIntent)intent;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:340:32: error: 'UICollectionViewDropProposal' is unavailable in watchOS
338 | )
339 | } else {
340 | return UICollectionViewDropProposal(
| `- error: 'UICollectionViewDropProposal' is unavailable in watchOS
341 | operation: .move,
342 | intent: .insertAtDestinationIndexPath
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:656:12: note: 'UICollectionViewDropProposal' has been explicitly marked unavailable here
654 |
655 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
656 | @interface UICollectionViewDropProposal : UIDropProposal
| `- note: 'UICollectionViewDropProposal' has been explicitly marked unavailable here
657 |
658 | - (instancetype)initWithDropOperation:(UIDropOperation)operation intent:(UICollectionViewDropIntent)intent;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:347:24: error: 'UICollectionViewDropProposal' is unavailable in watchOS
345 | }
346 | } else {
347 | return UICollectionViewDropProposal(
| `- error: 'UICollectionViewDropProposal' is unavailable in watchOS
348 | operation: .cancel
349 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:656:12: note: 'UICollectionViewDropProposal' has been explicitly marked unavailable here
654 |
655 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
656 | @interface UICollectionViewDropProposal : UIDropProposal
| `- note: 'UICollectionViewDropProposal' has been explicitly marked unavailable here
657 |
658 | - (instancetype)initWithDropOperation:(UIDropOperation)operation intent:(UICollectionViewDropIntent)intent;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift:353:20: error: 'UICollectionViewDropProposal' is unavailable in watchOS
351 | } else {
352 | // 外部からのD&Dは受け付けない
353 | return UICollectionViewDropProposal(
| `- error: 'UICollectionViewDropProposal' is unavailable in watchOS
354 | operation: .cancel
355 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:656:12: note: 'UICollectionViewDropProposal' has been explicitly marked unavailable here
654 |
655 | UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
656 | @interface UICollectionViewDropProposal : UIDropProposal
| `- note: 'UICollectionViewDropProposal' has been explicitly marked unavailable here
657 |
658 | - (instancetype)initWithDropOperation:(UIDropOperation)operation intent:(UICollectionViewDropIntent)intent;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHexSliderColorPicker.swift (in target 'ColorPicker' from project 'ColorPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RGBHexSliderColorPicker.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/ColorPreviewView.swift (in target 'ColorPicker' from project 'ColorPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ColorPreviewView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchAndPreviewView.swift (in target 'ColorPicker' from project 'ColorPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwatchAndPreviewView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/Swatch/SwatchView.swift (in target 'ColorPicker' from project 'ColorPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwatchView.swift
SwiftCompile normal arm64 Compiling\ HSBColorSliderColorPicker.swift,\ HexInputView.swift,\ RGBColorSliderColorPicker.swift,\ RGBHSBHexSliderColorPicker.swift /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HSBColorSliderColorPicker.swift /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBColorSliderColorPicker.swift /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHSBHexSliderColorPicker.swift (in target 'ColorPicker' from project 'ColorPicker')
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HSBColorSliderColorPicker.swift:21:21: error: 'init()' is unavailable in watchOS
19 |
20 | public final class HSBColorSliderColorPickerControl: UIControl, ColorPickerView {
21 | let hueSlider = ColorSliderWithInputView()
| `- error: 'init()' is unavailable in watchOS
22 | let saturationSlider = ColorSliderWithInputView()
23 | let brightnessSlider = ColorSliderWithInputView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HSBColorSliderColorPicker.swift:22:28: error: 'init()' is unavailable in watchOS
20 | public final class HSBColorSliderColorPickerControl: UIControl, ColorPickerView {
21 | let hueSlider = ColorSliderWithInputView()
22 | let saturationSlider = ColorSliderWithInputView()
| `- error: 'init()' is unavailable in watchOS
23 | let brightnessSlider = ColorSliderWithInputView()
24 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HSBColorSliderColorPicker.swift:23:28: error: 'init()' is unavailable in watchOS
21 | let hueSlider = ColorSliderWithInputView()
22 | let saturationSlider = ColorSliderWithInputView()
23 | let brightnessSlider = ColorSliderWithInputView()
| `- error: 'init()' is unavailable in watchOS
24 |
25 | private var _color: HSVA = .noop
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HSBColorSliderColorPicker.swift:20:54: error: 'UIControl' is unavailable in watchOS
18 | }
19 |
20 | public final class HSBColorSliderColorPickerControl: UIControl, ColorPickerView {
| `- error: 'UIControl' is unavailable in watchOS
21 | let hueSlider = ColorSliderWithInputView()
22 | let saturationSlider = ColorSliderWithInputView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/ColorSlider.swift:43:32: error: 'UIPanGestureRecognizer' is unavailable in watchOS
41 | let trackableLayoutGuide: UILayoutGuide = .init()
42 | let trackValueLayoutGuide: UILayoutGuide = .init()
43 | let panGestureRecognizer = UIPanGestureRecognizer()
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
44 | let tapGestureRecognizer = UITapGestureRecognizer()
45 | var configuration: ColorSliderConfiguration = .noop
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HSBColorSliderColorPicker.swift:61:22: error: 'UIStackView' is unavailable in watchOS
59 | brightnessSlider.titleLabel.text = LocalizedString.brightness
60 |
61 | let vStack = UIStackView(arrangedSubviews: [hueSlider, saturationSlider, brightnessSlider])
| `- error: 'UIStackView' is unavailable in watchOS
62 | vStack.axis = .vertical
63 | vStack.spacing = 16
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HSBColorSliderColorPicker.swift:66:9: error: 'NSLayoutConstraint' is unavailable in watchOS
64 | addSubview(vStack)
65 | vStack.translatesAutoresizingMaskIntoConstraints = false
66 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
67 | vStack.topAnchor.constraint(equalTo: topAnchor),
68 | vStack.leadingAnchor.constraint(equalTo: leadingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HSBColorSliderColorPicker.swift:73:31: error: 'UIAction' is unavailable in watchOS
71 | ])
72 |
73 | let valueSyncAction = UIAction { [unowned self] action in
| `- error: 'UIAction' is unavailable in watchOS
74 | let slider = (action.sender as! ColorSliderWithInputView).slider
75 | self.color = slider.color
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HSBColorSliderColorPicker.swift:73:31: error: 'init(handler:)' is unavailable in watchOS
71 | ])
72 |
73 | let valueSyncAction = UIAction { [unowned self] action in
| `- error: 'init(handler:)' is unavailable in watchOS
74 | let slider = (action.sender as! ColorSliderWithInputView).slider
75 | self.color = slider.color
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:59:1: note: 'init(handler:)' has been explicitly marked unavailable here
57 | * @return A new UIAction.
58 | */
59 | + (instancetype)actionWithHandler:(UIActionHandler)handler API_AVAILABLE(ios(14.0)) NS_SWIFT_UNAVAILABLE("Use init(title:image:identifier:discoverabilityTitle:attributes:state:handler:) instead.") API_UNAVAILABLE(watchos);
| `- note: 'init(handler:)' has been explicitly marked unavailable here
60 |
61 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HSBColorSliderColorPicker.swift:74:34: error: 'sender' is unavailable in watchOS
72 |
73 | let valueSyncAction = UIAction { [unowned self] action in
74 | let slider = (action.sender as! ColorSliderWithInputView).slider
| `- error: 'sender' is unavailable in watchOS
75 | self.color = slider.color
76 | self.sendActions(for: [.valueChanged, .primaryActionTriggered])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:50:46: note: 'sender' has been explicitly marked unavailable here
48 |
49 | /// If available, the object on behalf of which the actionHandler is called.
50 | @property (nonatomic, readonly, nullable) id sender API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'sender' has been explicitly marked unavailable here
51 |
52 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HSBColorSliderColorPicker.swift:78:19: error: 'addAction(_:for:)' is unavailable in watchOS
76 | self.sendActions(for: [.valueChanged, .primaryActionTriggered])
77 | }
78 | hueSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
| `- error: 'addAction(_:for:)' is unavailable in watchOS
79 | saturationSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
80 | brightnessSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HSBColorSliderColorPicker.swift:79:26: error: 'addAction(_:for:)' is unavailable in watchOS
77 | }
78 | hueSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
79 | saturationSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
| `- error: 'addAction(_:for:)' is unavailable in watchOS
80 | brightnessSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
81 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HSBColorSliderColorPicker.swift:80:26: error: 'addAction(_:for:)' is unavailable in watchOS
78 | hueSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
79 | saturationSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
80 | brightnessSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
| `- error: 'addAction(_:for:)' is unavailable in watchOS
81 | }
82 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift:13:20: error: 'UITextField' is unavailable in watchOS
11 | }
12 |
13 | let textField: UITextField = .init(frame: .null)
| `- error: 'UITextField' is unavailable in watchOS
14 |
15 | override init(frame: CGRect) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift:3:21: error: 'UIControl' is unavailable in watchOS
1 | import UIKit
2 |
3 | class HexInputView: UIControl {
| `- error: 'UIControl' is unavailable in watchOS
4 | var color: HSVA {
5 | get {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift:23:23: error: 'UIToolbar' is unavailable in watchOS
21 | textField.keyboardType = .asciiCapable
22 |
23 | let toolbar = UIToolbar()
| `- error: 'UIToolbar' is unavailable in watchOS
24 | let doneAction = UIAction { [unowned self] _ in
25 | self.endEditing(false)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h:23:12: note: 'UIToolbar' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23 | @interface UIToolbar : UIView <UIBarPositioning>
| `- note: 'UIToolbar' has been explicitly marked unavailable here
24 |
25 | @property(nonatomic) UIBarStyle barStyle UI_APPEARANCE_SELECTOR API_UNAVAILABLE(tvos); // default is UIBarStyleDefault
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift:23:23: error: 'init()' is unavailable in watchOS
21 | textField.keyboardType = .asciiCapable
22 |
23 | let toolbar = UIToolbar()
| `- error: 'init()' is unavailable in watchOS
24 | let doneAction = UIAction { [unowned self] _ in
25 | self.endEditing(false)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift:24:26: error: 'UIAction' is unavailable in watchOS
22 |
23 | let toolbar = UIToolbar()
24 | let doneAction = UIAction { [unowned self] _ in
| `- error: 'UIAction' is unavailable in watchOS
25 | self.endEditing(false)
26 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift:24:26: error: 'init(handler:)' is unavailable in watchOS
22 |
23 | let toolbar = UIToolbar()
24 | let doneAction = UIAction { [unowned self] _ in
| `- error: 'init(handler:)' is unavailable in watchOS
25 | self.endEditing(false)
26 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:59:1: note: 'init(handler:)' has been explicitly marked unavailable here
57 | * @return A new UIAction.
58 | */
59 | + (instancetype)actionWithHandler:(UIActionHandler)handler API_AVAILABLE(ios(14.0)) NS_SWIFT_UNAVAILABLE("Use init(title:image:identifier:discoverabilityTitle:attributes:state:handler:) instead.") API_UNAVAILABLE(watchos);
| `- note: 'init(handler:)' has been explicitly marked unavailable here
60 |
61 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift:27:41: error: incorrect argument label in call (have 'systemItem:primaryAction:', expected '__barButtonSystemItem:primaryAction:')
25 | self.endEditing(false)
26 | }
27 | let doneButton = UIBarButtonItem(systemItem: .done, primaryAction: doneAction)
| `- error: incorrect argument label in call (have 'systemItem:primaryAction:', expected '__barButtonSystemItem:primaryAction:')
28 | toolbar.setItems([.flexibleSpace(), doneButton], animated: false)
29 | toolbar.sizeToFit()
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift:32:22: error: 'UIStackView' is unavailable in watchOS
30 | textField.inputAccessoryView = toolbar
31 |
32 | let hStack = UIStackView(arrangedSubviews: [UIView(), textField])
| `- error: 'UIStackView' is unavailable in watchOS
33 | addSubview(hStack)
34 | hStack.translatesAutoresizingMaskIntoConstraints = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift:32:53: error: 'UIView' is unavailable in watchOS
30 | textField.inputAccessoryView = toolbar
31 |
32 | let hStack = UIStackView(arrangedSubviews: [UIView(), textField])
| `- error: 'UIView' is unavailable in watchOS
33 | addSubview(hStack)
34 | hStack.translatesAutoresizingMaskIntoConstraints = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ColorPicker/Feature/SliderColorPicker/HexInputView.swift:32:53: error: 'init()' is unavailable in watchOS
30 | textField.inputAccessoryView = toolbar
31 |
32 | let hStack = UIStackView(arrangedSubviews: [UIView(), textField])
| `- error: 'init()' is unavailable in watchOS
33 | addSubview(hStack)
34 | hStack.translatesAutoresizingMaskIntoConstraints = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift:35:9: error: 'NSLayoutConstraint' is unavailable in watchOS
33 | addSubview(hStack)
34 | hStack.translatesAutoresizingMaskIntoConstraints = false
35 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
36 | hStack.topAnchor.constraint(equalTo: topAnchor),
37 | hStack.leadingAnchor.constraint(equalTo: leadingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift:43:9: error: 'NSLayoutConstraint' is unavailable in watchOS
41 |
42 | textField.translatesAutoresizingMaskIntoConstraints = false
43 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
44 | textField.widthAnchor.constraint(equalToConstant: 96)
45 | ])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift:47:19: error: 'addAction(_:for:)' is unavailable in watchOS
45 | ])
46 |
47 | textField.addAction(
| `- error: 'addAction(_:for:)' is unavailable in watchOS
48 | UIAction { [unowned self] _ in
49 | self.color = ColorFormatter().color(from: textField.text!) ?? .noop
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift:48:13: error: 'UIAction' is unavailable in watchOS
46 |
47 | textField.addAction(
48 | UIAction { [unowned self] _ in
| `- error: 'UIAction' is unavailable in watchOS
49 | self.color = ColorFormatter().color(from: textField.text!) ?? .noop
50 | self.sendActions(for: [.editingDidEnd, .primaryActionTriggered])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift:48:13: error: 'init(handler:)' is unavailable in watchOS
46 |
47 | textField.addAction(
48 | UIAction { [unowned self] _ in
| `- error: 'init(handler:)' is unavailable in watchOS
49 | self.color = ColorFormatter().color(from: textField.text!) ?? .noop
50 | self.sendActions(for: [.editingDidEnd, .primaryActionTriggered])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:59:1: note: 'init(handler:)' has been explicitly marked unavailable here
57 | * @return A new UIAction.
58 | */
59 | + (instancetype)actionWithHandler:(UIActionHandler)handler API_AVAILABLE(ios(14.0)) NS_SWIFT_UNAVAILABLE("Use init(title:image:identifier:discoverabilityTitle:attributes:state:handler:) instead.") API_UNAVAILABLE(watchos);
| `- note: 'init(handler:)' has been explicitly marked unavailable here
60 |
61 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBColorSliderColorPicker.swift:24:21: error: 'init()' is unavailable in watchOS
22 | let title: String = LocalizedString.rgb
23 |
24 | let redSlider = ColorSliderWithInputView()
| `- error: 'init()' is unavailable in watchOS
25 | let greenSlider = ColorSliderWithInputView()
26 | let blueSlider = ColorSliderWithInputView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBColorSliderColorPicker.swift:25:23: error: 'init()' is unavailable in watchOS
23 |
24 | let redSlider = ColorSliderWithInputView()
25 | let greenSlider = ColorSliderWithInputView()
| `- error: 'init()' is unavailable in watchOS
26 | let blueSlider = ColorSliderWithInputView()
27 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBColorSliderColorPicker.swift:26:22: error: 'init()' is unavailable in watchOS
24 | let redSlider = ColorSliderWithInputView()
25 | let greenSlider = ColorSliderWithInputView()
26 | let blueSlider = ColorSliderWithInputView()
| `- error: 'init()' is unavailable in watchOS
27 |
28 | private var _color: HSVA = .noop
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBColorSliderColorPicker.swift:20:54: error: 'UIControl' is unavailable in watchOS
18 | }
19 |
20 | public final class RGBColorSliderColorPickerControl: UIControl, ColorPickerView {
| `- error: 'UIControl' is unavailable in watchOS
21 | let id: String = #function
22 | let title: String = LocalizedString.rgb
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBColorSliderColorPicker.swift:64:22: error: 'UIStackView' is unavailable in watchOS
62 | blueSlider.titleLabel.text = LocalizedString.blue
63 |
64 | let vStack = UIStackView(arrangedSubviews: [redSlider, greenSlider, blueSlider])
| `- error: 'UIStackView' is unavailable in watchOS
65 | vStack.axis = .vertical
66 | vStack.spacing = 16
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBColorSliderColorPicker.swift:69:9: error: 'NSLayoutConstraint' is unavailable in watchOS
67 | addSubview(vStack)
68 | vStack.translatesAutoresizingMaskIntoConstraints = false
69 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
70 | vStack.topAnchor.constraint(equalTo: topAnchor),
71 | vStack.leadingAnchor.constraint(equalTo: leadingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBColorSliderColorPicker.swift:76:31: error: 'UIAction' is unavailable in watchOS
74 | ])
75 |
76 | let valueSyncAction = UIAction { [unowned self] action in
| `- error: 'UIAction' is unavailable in watchOS
77 | let slider = (action.sender as! ColorSliderWithInputView).slider
78 | self.color = slider.color
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBColorSliderColorPicker.swift:76:31: error: 'init(handler:)' is unavailable in watchOS
74 | ])
75 |
76 | let valueSyncAction = UIAction { [unowned self] action in
| `- error: 'init(handler:)' is unavailable in watchOS
77 | let slider = (action.sender as! ColorSliderWithInputView).slider
78 | self.color = slider.color
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:59:1: note: 'init(handler:)' has been explicitly marked unavailable here
57 | * @return A new UIAction.
58 | */
59 | + (instancetype)actionWithHandler:(UIActionHandler)handler API_AVAILABLE(ios(14.0)) NS_SWIFT_UNAVAILABLE("Use init(title:image:identifier:discoverabilityTitle:attributes:state:handler:) instead.") API_UNAVAILABLE(watchos);
| `- note: 'init(handler:)' has been explicitly marked unavailable here
60 |
61 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBColorSliderColorPicker.swift:77:34: error: 'sender' is unavailable in watchOS
75 |
76 | let valueSyncAction = UIAction { [unowned self] action in
77 | let slider = (action.sender as! ColorSliderWithInputView).slider
| `- error: 'sender' is unavailable in watchOS
78 | self.color = slider.color
79 | self.sendActions(for: [.valueChanged, .primaryActionTriggered])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:50:46: note: 'sender' has been explicitly marked unavailable here
48 |
49 | /// If available, the object on behalf of which the actionHandler is called.
50 | @property (nonatomic, readonly, nullable) id sender API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'sender' has been explicitly marked unavailable here
51 |
52 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBColorSliderColorPicker.swift:81:19: error: 'addAction(_:for:)' is unavailable in watchOS
79 | self.sendActions(for: [.valueChanged, .primaryActionTriggered])
80 | }
81 | redSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
| `- error: 'addAction(_:for:)' is unavailable in watchOS
82 | greenSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
83 | blueSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBColorSliderColorPicker.swift:82:21: error: 'addAction(_:for:)' is unavailable in watchOS
80 | }
81 | redSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
82 | greenSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
| `- error: 'addAction(_:for:)' is unavailable in watchOS
83 | blueSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
84 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBColorSliderColorPicker.swift:83:20: error: 'addAction(_:for:)' is unavailable in watchOS
81 | redSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
82 | greenSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
83 | blueSlider.addAction(valueSyncAction, for: .primaryActionTriggered)
| `- error: 'addAction(_:for:)' is unavailable in watchOS
84 | }
85 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHSBHexSliderColorPicker.swift:21:56: error: 'UIControl' is unavailable in watchOS
19 |
20 | /// RGBHSBHextSliderColorPicker
21 | public final class RGBHSBHextSliderColorPickerControl: UIControl, ColorPickerView {
| `- error: 'UIControl' is unavailable in watchOS
22 | let rgbSlidersView = RGBColorSliderColorPickerControl(frame: .null)
23 | let hsbSlidersView = HSBColorSliderColorPickerControl(frame: .null)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHSBHexSliderColorPicker.swift:49:22: error: 'UIStackView' is unavailable in watchOS
47 | super.init(frame: frame)
48 |
49 | let vStack = UIStackView(arrangedSubviews: [hsbSlidersView, rgbSlidersView, hexInputView])
| `- error: 'UIStackView' is unavailable in watchOS
50 | vStack.axis = .vertical
51 | vStack.spacing = 32
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHSBHexSliderColorPicker.swift:54:9: error: 'NSLayoutConstraint' is unavailable in watchOS
52 | addSubview(vStack)
53 | vStack.translatesAutoresizingMaskIntoConstraints = false
54 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
55 | vStack.topAnchor.constraint(equalTo: topAnchor),
56 | vStack.leadingAnchor.constraint(equalTo: leadingAnchor),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHSBHexSliderColorPicker.swift:61:24: error: 'addAction(_:for:)' is unavailable in watchOS
59 | ])
60 |
61 | rgbSlidersView.addAction(
| `- error: 'addAction(_:for:)' is unavailable in watchOS
62 | UIAction { [unowned self] _ in
63 | self.color = self.rgbSlidersView.color
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHSBHexSliderColorPicker.swift:62:13: error: 'UIAction' is unavailable in watchOS
60 |
61 | rgbSlidersView.addAction(
62 | UIAction { [unowned self] _ in
| `- error: 'UIAction' is unavailable in watchOS
63 | self.color = self.rgbSlidersView.color
64 | self.sendActions(for: [.valueChanged, .primaryActionTriggered])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHSBHexSliderColorPicker.swift:62:13: error: 'init(handler:)' is unavailable in watchOS
60 |
61 | rgbSlidersView.addAction(
62 | UIAction { [unowned self] _ in
| `- error: 'init(handler:)' is unavailable in watchOS
63 | self.color = self.rgbSlidersView.color
64 | self.sendActions(for: [.valueChanged, .primaryActionTriggered])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:59:1: note: 'init(handler:)' has been explicitly marked unavailable here
57 | * @return A new UIAction.
58 | */
59 | + (instancetype)actionWithHandler:(UIActionHandler)handler API_AVAILABLE(ios(14.0)) NS_SWIFT_UNAVAILABLE("Use init(title:image:identifier:discoverabilityTitle:attributes:state:handler:) instead.") API_UNAVAILABLE(watchos);
| `- note: 'init(handler:)' has been explicitly marked unavailable here
60 |
61 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHSBHexSliderColorPicker.swift:69:24: error: 'addAction(_:for:)' is unavailable in watchOS
67 | )
68 |
69 | hsbSlidersView.addAction(
| `- error: 'addAction(_:for:)' is unavailable in watchOS
70 | UIAction { [unowned self] _ in
71 | self.color = self.hsbSlidersView.color
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHSBHexSliderColorPicker.swift:70:13: error: 'UIAction' is unavailable in watchOS
68 |
69 | hsbSlidersView.addAction(
70 | UIAction { [unowned self] _ in
| `- error: 'UIAction' is unavailable in watchOS
71 | self.color = self.hsbSlidersView.color
72 | self.sendActions(for: [.valueChanged, .primaryActionTriggered])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHSBHexSliderColorPicker.swift:70:13: error: 'init(handler:)' is unavailable in watchOS
68 |
69 | hsbSlidersView.addAction(
70 | UIAction { [unowned self] _ in
| `- error: 'init(handler:)' is unavailable in watchOS
71 | self.color = self.hsbSlidersView.color
72 | self.sendActions(for: [.valueChanged, .primaryActionTriggered])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:59:1: note: 'init(handler:)' has been explicitly marked unavailable here
57 | * @return A new UIAction.
58 | */
59 | + (instancetype)actionWithHandler:(UIActionHandler)handler API_AVAILABLE(ios(14.0)) NS_SWIFT_UNAVAILABLE("Use init(title:image:identifier:discoverabilityTitle:attributes:state:handler:) instead.") API_UNAVAILABLE(watchos);
| `- note: 'init(handler:)' has been explicitly marked unavailable here
60 |
61 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHSBHexSliderColorPicker.swift:77:22: error: 'addAction(_:for:)' is unavailable in watchOS
75 | )
76 |
77 | hexInputView.addAction(
| `- error: 'addAction(_:for:)' is unavailable in watchOS
78 | UIAction { [unowned self] _ in
79 | self.color = self.hexInputView.color
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHSBHexSliderColorPicker.swift:78:13: error: 'UIAction' is unavailable in watchOS
76 |
77 | hexInputView.addAction(
78 | UIAction { [unowned self] _ in
| `- error: 'UIAction' is unavailable in watchOS
79 | self.color = self.hexInputView.color
80 | self.sendActions(for: [.valueChanged, .primaryActionTriggered])
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HSBColorSliderColorPicker.swift (in target 'ColorPicker' from project 'ColorPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HSBColorSliderColorPicker.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/HexInputView.swift (in target 'ColorPicker' from project 'ColorPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HexInputView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBColorSliderColorPicker.swift (in target 'ColorPicker' from project 'ColorPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RGBColorSliderColorPicker.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ColorPicker/Feature/SliderColorPicker/RGBHSBHexSliderColorPicker.swift (in target 'ColorPicker' from project 'ColorPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RGBHSBHexSliderColorPicker.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ ColorPicker (in target 'ColorPicker' from project 'ColorPicker')
SwiftCompile normal arm64 (in target 'ColorPicker' from project 'ColorPicker')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-22 22:03:32.200 xcodebuild[810:4730] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'ColorPicker' from project 'ColorPicker')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ColorPicker (in target 'ColorPicker' from project 'ColorPicker')
Building workspace ColorPicker with scheme ColorPicker
(3 failures)
BUILD FAILURE 6.4 watchOS