The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RatingControl, reference 1.0.0 (70b629), with Swift 6.4 for watchOS using Xcode 27.0 on 22 Sep 2026 03:42: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 RatingControl -destination generic/platform=watchOS

Build Log

/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:207:40: error: 'UIStackView' is unavailable in watchOS
205 |
206 | extension UIStackView {
207 |     static func centeredFillEqual() -> UIStackView {
    |                                        `- error: 'UIStackView' is unavailable in watchOS
208 |         let stackView = UIStackView()
209 |         stackView.distribution = .fillEqually
/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/RatingControl/RatingControl.swift:206:11: error: 'UIStackView' is unavailable in watchOS
204 | // MARK: - Helpers
205 |
206 | extension UIStackView {
    |           `- error: 'UIStackView' is unavailable in watchOS
207 |     static func centeredFillEqual() -> UIStackView {
208 |         let stackView = UIStackView()
/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/RatingControl/RatingControl.swift:238:29: error: 'UIView' is unavailable in watchOS
236 |
237 | extension UIView {
238 |     func constrain(to view: UIView) {
    |                             `- error: 'UIView' is unavailable in watchOS
239 |         translatesAutoresizingMaskIntoConstraints = false
240 |         NSLayoutConstraint.activate([
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:237:11: error: 'UIView' is unavailable in watchOS
235 | }
236 |
237 | extension UIView {
    |           `- error: 'UIView' is unavailable in watchOS
238 |     func constrain(to view: UIView) {
239 |         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/RatingControl/RatingView.swift:33:37: error: cannot find type 'Context' in scope
 31 |     }
 32 |
 33 |     public func makeUIView(context: Context) -> RatingControl {
    |                                     `- error: cannot find type 'Context' in scope
 34 |         let ratingControl = RatingControl()
 35 |         ratingControl.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:43:64: error: cannot find type 'Context' in scope
 41 |     }
 42 |
 43 |     public func updateUIView(_ uiView: RatingControl, context: Context) {
    |                                                                `- error: cannot find type 'Context' in scope
 44 |         uiView.value = value
 45 |         uiView.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:51:92: error: cannot find type 'Context' in scope
 49 |
 50 |     @available(iOS 16.0, *)
 51 |     public func sizeThatFits(_ proposal: ProposedViewSize, uiView: RatingControl, context: Context) -> CGSize? {
    |                                                                                            `- error: cannot find type 'Context' in scope
 52 |         return proposal.replacingUnspecifiedDimensions(by: uiView.systemLayoutSizeFitting(.zero))
 53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:11:27: error: cannot find type 'UIViewRepresentable' in scope
  9 |
 10 | /// SwiftUI wrapper for the RatingControl.
 11 | public struct RatingView: UIViewRepresentable {
    |                           `- error: cannot find type 'UIViewRepresentable' in scope
 12 |     @Binding var value: Double
 13 |     var maxValue: Int
SwiftCompile normal arm64_32 (in target 'RatingControl' from project 'RatingControl')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64_32 Compiling\ RatingControl.swift /Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift (in target 'RatingControl' from project 'RatingControl')
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:102:29: error: 'UIStackView' is unavailable in watchOS
100 |     // MARK: - Private Properties
101 |
102 |     private let stackView = UIStackView.centeredFillEqual()
    |                             `- error: 'UIStackView' is unavailable in watchOS
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
/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/RatingControl/RatingControl.swift:37:62: error: 'UIImageView' is unavailable in watchOS
 35 |     public var emptyImage: UIImage = .init(systemName: "star")! {
 36 |         didSet {
 37 |             for imageView in stackView.arrangedSubviews as? [UIImageView] ?? [] {
    |                                                              `- error: 'UIImageView' is unavailable in watchOS
 38 |                 imageView.image = emptyImage
 39 |             }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:103:35: error: 'UIStackView' is unavailable in watchOS
101 |
102 |     private let stackView = UIStackView.centeredFillEqual()
103 |     private let filledStackView = UIStackView.centeredFillEqual()
    |                                   `- error: 'UIStackView' is unavailable in watchOS
104 |     private let valueCropView = UIView()
105 |     private var valueCropConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:46:68: error: 'UIImageView' is unavailable in watchOS
 44 |     public var image: UIImage = .init(systemName: "star.fill")! {
 45 |         didSet {
 46 |             for imageView in filledStackView.arrangedSubviews as? [UIImageView] ?? [] {
    |                                                                    `- error: 'UIImageView' is unavailable in watchOS
 47 |                 imageView.image = image
 48 |             }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:95:26: error: cannot override 'prepareForInterfaceBuilder' which has been marked unavailable
 93 |     }
 94 |
 95 |     override public func prepareForInterfaceBuilder() {
    |                          |- error: cannot override 'prepareForInterfaceBuilder' which has been marked unavailable
    |                          `- note: remove 'override' modifier to declare a new 'prepareForInterfaceBuilder'
 96 |         super.prepareForInterfaceBuilder()
 97 |         value = 2.5
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h:24:1: note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
22 | @interface NSObject(UINibLoadingAdditions)
23 | - (void)awakeFromNib NS_REQUIRES_SUPER API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
24 | - (void)prepareForInterfaceBuilder API_AVAILABLE(ios(8.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
   | `- note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
25 | @end
26 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:104:33: error: 'UIView' is unavailable in watchOS
102 |     private let stackView = UIStackView.centeredFillEqual()
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
    |                                 `- error: 'UIView' is unavailable in watchOS
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:104:33: error: 'init()' is unavailable in watchOS
102 |     private let stackView = UIStackView.centeredFillEqual()
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
    |                                 `- error: 'init()' is unavailable in watchOS
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:105:38: error: 'NSLayoutConstraint' is unavailable in watchOS
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
105 |     private var valueCropConstraint: NSLayoutConstraint?
    |                                      `- error: 'NSLayoutConstraint' is unavailable in watchOS
106 |     private var widthConstraint: NSLayoutConstraint?
107 |     private var heightConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:106:34: error: 'NSLayoutConstraint' is unavailable in watchOS
104 |     private let valueCropView = UIView()
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
    |                                  `- error: 'NSLayoutConstraint' is unavailable in watchOS
107 |     private var heightConstraint: NSLayoutConstraint?
108 |     private var currentImageSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/RatingControl/RatingControl.swift:107:35: error: 'NSLayoutConstraint' is unavailable in watchOS
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
107 |     private var heightConstraint: NSLayoutConstraint?
    |                                   `- error: 'NSLayoutConstraint' is unavailable in watchOS
108 |     private var currentImageSize: CGSize = .zero
109 |
/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/RatingControl/RatingControl.swift:190:49: error: 'UIGestureRecognizer' is unavailable in watchOS
188 |     // MARK: - User Interaction
189 |
190 |     @objc private func handleGesture(_ gesture: UIGestureRecognizer) {
    |                                                 `- error: 'UIGestureRecognizer' is unavailable in watchOS
191 |         let location = gesture.location(in: self)
192 |         let itemWidth = effectiveWidth / CGFloat(maxValue) // bound.width may be incorrect when the control is inside a wider container like a 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/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:12:29: error: 'UIControl' is unavailable in watchOS
 10 | /// A control that displays a rating as a row of images and allows the user to edit it.
 11 | @IBDesignable
 12 | public class RatingControl: UIControl {
    |                             `- error: 'UIControl' is unavailable in watchOS
 13 |     /// Maximum rating value, default is 5
 14 |     @IBInspectable public var maxValue: Int = 5 {
/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/RatingControl/RatingControl.swift:207:40: error: 'UIStackView' is unavailable in watchOS
205 |
206 | extension UIStackView {
207 |     static func centeredFillEqual() -> UIStackView {
    |                                        `- error: 'UIStackView' is unavailable in watchOS
208 |         let stackView = UIStackView()
209 |         stackView.distribution = .fillEqually
/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/RatingControl/RatingControl.swift:206:11: error: 'UIStackView' is unavailable in watchOS
204 | // MARK: - Helpers
205 |
206 | extension UIStackView {
    |           `- error: 'UIStackView' is unavailable in watchOS
207 |     static func centeredFillEqual() -> UIStackView {
208 |         let stackView = UIStackView()
/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/RatingControl/RatingControl.swift:238:29: error: 'UIView' is unavailable in watchOS
236 |
237 | extension UIView {
238 |     func constrain(to view: UIView) {
    |                             `- error: 'UIView' is unavailable in watchOS
239 |         translatesAutoresizingMaskIntoConstraints = false
240 |         NSLayoutConstraint.activate([
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:237:11: error: 'UIView' is unavailable in watchOS
235 | }
236 |
237 | extension UIView {
    |           `- error: 'UIView' is unavailable in watchOS
238 |     func constrain(to view: UIView) {
239 |         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/RatingControl/RatingControl.swift:96:15: error: 'prepareForInterfaceBuilder()' is unavailable in watchOS
 94 |
 95 |     override public func prepareForInterfaceBuilder() {
 96 |         super.prepareForInterfaceBuilder()
    |               `- error: 'prepareForInterfaceBuilder()' is unavailable in watchOS
 97 |         value = 2.5
 98 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h:24:1: note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
22 | @interface NSObject(UINibLoadingAdditions)
23 | - (void)awakeFromNib NS_REQUIRES_SUPER API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
24 | - (void)prepareForInterfaceBuilder API_AVAILABLE(ios(8.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
   | `- note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
25 | @end
26 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:119:36: error: 'required' is unavailable in watchOS
117 |     private func setup() {
118 |         translatesAutoresizingMaskIntoConstraints = false
119 |         setContentHuggingPriority(.required, for: .horizontal)
    |                                    `- error: 'required' is unavailable in watchOS
120 |         setContentCompressionResistancePriority(.required, for: .horizontal)
121 |         setContentHuggingPriority(.required, for: .vertical)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:120:50: error: 'required' is unavailable in watchOS
118 |         translatesAutoresizingMaskIntoConstraints = false
119 |         setContentHuggingPriority(.required, for: .horizontal)
120 |         setContentCompressionResistancePriority(.required, for: .horizontal)
    |                                                  `- error: 'required' is unavailable in watchOS
121 |         setContentHuggingPriority(.required, for: .vertical)
122 |         setContentCompressionResistancePriority(.required, for: .vertical)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:121:36: error: 'required' is unavailable in watchOS
119 |         setContentHuggingPriority(.required, for: .horizontal)
120 |         setContentCompressionResistancePriority(.required, for: .horizontal)
121 |         setContentHuggingPriority(.required, for: .vertical)
    |                                    `- error: 'required' is unavailable in watchOS
122 |         setContentCompressionResistancePriority(.required, for: .vertical)
123 |
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:122:50: error: 'required' is unavailable in watchOS
120 |         setContentCompressionResistancePriority(.required, for: .horizontal)
121 |         setContentHuggingPriority(.required, for: .vertical)
122 |         setContentCompressionResistancePriority(.required, for: .vertical)
    |                                                  `- error: 'required' is unavailable in watchOS
123 |
124 |         stackView.spacing = spacing
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:131:9: error: 'NSLayoutConstraint' is unavailable in watchOS
129 |         addSubview(valueCropView)
130 |         valueCropView.translatesAutoresizingMaskIntoConstraints = false
131 |         NSLayoutConstraint.activate([
    |         `- error: 'NSLayoutConstraint' is unavailable in watchOS
132 |             valueCropView.topAnchor.constraint(equalTo: topAnchor),
133 |             valueCropView.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/RatingControl/RatingControl.swift:144:13: error: 'NSLayoutConstraint' is unavailable in watchOS
142 |         heightConstraint = heightAnchor.constraint(equalToConstant: 0)
143 |         if let widthConstraint = widthConstraint, let heightConstraint = heightConstraint {
144 |             NSLayoutConstraint.activate([widthConstraint, heightConstraint])
    |             `- error: 'NSLayoutConstraint' is unavailable in watchOS
145 |         }
146 |
/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/RatingControl/RatingControl.swift:147:30: error: 'UITapGestureRecognizer' is unavailable in watchOS
145 |         }
146 |
147 |         addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(handleGesture)))
    |                              `- error: 'UITapGestureRecognizer' is unavailable in watchOS
148 |         addGestureRecognizer(UIPanGestureRecognizer(target: self, action: #selector(handleGesture)))
149 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/RatingControl/RatingControl.swift:148:30: error: 'UIPanGestureRecognizer' is unavailable in watchOS
146 |
147 |         addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(handleGesture)))
148 |         addGestureRecognizer(UIPanGestureRecognizer(target: self, action: #selector(handleGesture)))
    |                              `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
149 |
150 |         setupImageSize()
/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/RatingControl/RatingControl.swift:208:25: error: 'UIStackView' is unavailable in watchOS
206 | extension UIStackView {
207 |     static func centeredFillEqual() -> UIStackView {
208 |         let stackView = UIStackView()
    |                         `- error: 'UIStackView' is unavailable in watchOS
209 |         stackView.distribution = .fillEqually
210 |         stackView.alignment = .center
/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/RatingControl/RatingControl.swift:208:25: error: 'init()' is unavailable in watchOS
206 | extension UIStackView {
207 |     static func centeredFillEqual() -> UIStackView {
208 |         let stackView = UIStackView()
    |                         `- error: 'init()' is unavailable in watchOS
209 |         stackView.distribution = .fillEqually
210 |         stackView.alignment = .center
/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/RatingControl/RatingControl.swift:222:25: error: 'UIImageView' is unavailable in watchOS
220 |
221 |     func addArrangedImageView(image: UIImage, imageSize: CGSize, tintColor: UIColor) {
222 |         let imageView = UIImageView(image: image)
    |                         `- error: 'UIImageView' is unavailable in watchOS
223 |         imageView.tintColor = tintColor
224 |         imageView.contentMode = .scaleAspectFit
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:228:46: error: 'required' is unavailable in watchOS
226 |
227 |         imageView.translatesAutoresizingMaskIntoConstraints = false
228 |         imageView.setContentHuggingPriority(.required, for: .horizontal)
    |                                              `- error: 'required' is unavailable in watchOS
229 |         imageView.setContentCompressionResistancePriority(.required, for: .horizontal)
230 |         NSLayoutConstraint.activate([
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:229:60: error: 'required' is unavailable in watchOS
227 |         imageView.translatesAutoresizingMaskIntoConstraints = false
228 |         imageView.setContentHuggingPriority(.required, for: .horizontal)
229 |         imageView.setContentCompressionResistancePriority(.required, for: .horizontal)
    |                                                            `- error: 'required' is unavailable in watchOS
230 |         NSLayoutConstraint.activate([
231 |             imageView.widthAnchor.constraint(equalToConstant: imageSize.width),
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:230:9: error: 'NSLayoutConstraint' is unavailable in watchOS
228 |         imageView.setContentHuggingPriority(.required, for: .horizontal)
229 |         imageView.setContentCompressionResistancePriority(.required, for: .horizontal)
230 |         NSLayoutConstraint.activate([
    |         `- error: 'NSLayoutConstraint' is unavailable in watchOS
231 |             imageView.widthAnchor.constraint(equalToConstant: imageSize.width),
232 |             imageView.heightAnchor.constraint(equalToConstant: imageSize.height),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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_32 /Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift (in target 'RatingControl' from project 'RatingControl')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RatingControl.swift
SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'RatingControl' from project 'RatingControl')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'RatingControl' from project 'RatingControl')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64_32 Compiling\ RatingView.swift /Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift (in target 'RatingControl' from project 'RatingControl')
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:33:37: error: cannot find type 'Context' in scope
 31 |     }
 32 |
 33 |     public func makeUIView(context: Context) -> RatingControl {
    |                                     `- error: cannot find type 'Context' in scope
 34 |         let ratingControl = RatingControl()
 35 |         ratingControl.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:43:64: error: cannot find type 'Context' in scope
 41 |     }
 42 |
 43 |     public func updateUIView(_ uiView: RatingControl, context: Context) {
    |                                                                `- error: cannot find type 'Context' in scope
 44 |         uiView.value = value
 45 |         uiView.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:51:92: error: cannot find type 'Context' in scope
 49 |
 50 |     @available(iOS 16.0, *)
 51 |     public func sizeThatFits(_ proposal: ProposedViewSize, uiView: RatingControl, context: Context) -> CGSize? {
    |                                                                                            `- error: cannot find type 'Context' in scope
 52 |         return proposal.replacingUnspecifiedDimensions(by: uiView.systemLayoutSizeFitting(.zero))
 53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:11:27: error: cannot find type 'UIViewRepresentable' in scope
  9 |
 10 | /// SwiftUI wrapper for the RatingControl.
 11 | public struct RatingView: UIViewRepresentable {
    |                           `- error: cannot find type 'UIViewRepresentable' in scope
 12 |     @Binding var value: Double
 13 |     var maxValue: Int
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:125:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
123 |
124 | @available(iOS 17, *)
125 | #Preview {
    | `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
126 |     @Previewable @State var rating = 2.5
127 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift (in target 'RatingControl' from project 'RatingControl')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RatingView.swift
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-21 23:42:24.266 xcodebuild[657:4229] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64 (in target 'RatingControl' from project 'RatingControl')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ RatingControl (in target 'RatingControl' from project 'RatingControl')
	Building workspace RatingControl with scheme RatingControl
(3 failures)
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  RatingControl: /Users/admin/builder/spi-builder-workspace
resolved source packages: RatingControl
2026-09-21 23:42:30.909 xcodebuild[805:4779] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RatingControl",
  "name" : "RatingControl",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "RatingControl",
      "targets" : [
        "RatingControl"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "RatingControl",
      "module_type" : "SwiftTarget",
      "name" : "RatingControl",
      "path" : "Sources/RatingControl",
      "product_memberships" : [
        "RatingControl"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "RatingControl.swift",
        "RatingView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
{
  "workspace" : {
    "name" : "RatingControl",
    "schemes" : [
      "RatingControl"
    ]
  }
}
2026-09-21 23:42:32.119 xcodebuild[813:4843] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme RatingControl -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme RatingControl -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  RatingControl: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
    Target 'RatingControl-product' in project 'RatingControl'
        ➜ Explicit dependency on target 'RatingControl' in project 'RatingControl'
        ➜ Explicit dependency on target 'RatingControl_RatingControl' in project 'RatingControl'
    Target 'RatingControl' in project 'RatingControl'
        ➜ Explicit dependency on target 'RatingControl_RatingControl' in project 'RatingControl'
    Target 'RatingControl_RatingControl' in project 'RatingControl' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver RatingControl normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'RatingControl' from project 'RatingControl')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name RatingControl -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64_32/RatingControl.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64_32/RatingControl-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64_32/RatingControl.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64_32/RatingControl-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64_32/RatingControl_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64_32/RatingControl-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver RatingControl normal arm64 com.apple.xcode.tools.swift.compiler (in target 'RatingControl' from project 'RatingControl')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name RatingControl -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64/RatingControl.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64/RatingControl-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64/RatingControl.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64/RatingControl-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64/RatingControl_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64/RatingControl-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ RatingControl (in target 'RatingControl' from project 'RatingControl')
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:102:29: error: 'UIStackView' is unavailable in watchOS
100 |     // MARK: - Private Properties
101 |
102 |     private let stackView = UIStackView.centeredFillEqual()
    |                             `- error: 'UIStackView' is unavailable in watchOS
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
/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/RatingControl/RatingControl.swift:37:62: error: 'UIImageView' is unavailable in watchOS
 35 |     public var emptyImage: UIImage = .init(systemName: "star")! {
 36 |         didSet {
 37 |             for imageView in stackView.arrangedSubviews as? [UIImageView] ?? [] {
    |                                                              `- error: 'UIImageView' is unavailable in watchOS
 38 |                 imageView.image = emptyImage
 39 |             }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:103:35: error: 'UIStackView' is unavailable in watchOS
101 |
102 |     private let stackView = UIStackView.centeredFillEqual()
103 |     private let filledStackView = UIStackView.centeredFillEqual()
    |                                   `- error: 'UIStackView' is unavailable in watchOS
104 |     private let valueCropView = UIView()
105 |     private var valueCropConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:46:68: error: 'UIImageView' is unavailable in watchOS
 44 |     public var image: UIImage = .init(systemName: "star.fill")! {
 45 |         didSet {
 46 |             for imageView in filledStackView.arrangedSubviews as? [UIImageView] ?? [] {
    |                                                                    `- error: 'UIImageView' is unavailable in watchOS
 47 |                 imageView.image = image
 48 |             }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:95:26: error: cannot override 'prepareForInterfaceBuilder' which has been marked unavailable
 93 |     }
 94 |
 95 |     override public func prepareForInterfaceBuilder() {
    |                          |- error: cannot override 'prepareForInterfaceBuilder' which has been marked unavailable
    |                          `- note: remove 'override' modifier to declare a new 'prepareForInterfaceBuilder'
 96 |         super.prepareForInterfaceBuilder()
 97 |         value = 2.5
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h:24:1: note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
22 | @interface NSObject(UINibLoadingAdditions)
23 | - (void)awakeFromNib NS_REQUIRES_SUPER API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
24 | - (void)prepareForInterfaceBuilder API_AVAILABLE(ios(8.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
   | `- note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
25 | @end
26 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:104:33: error: 'UIView' is unavailable in watchOS
102 |     private let stackView = UIStackView.centeredFillEqual()
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
    |                                 `- error: 'UIView' is unavailable in watchOS
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:104:33: error: 'init()' is unavailable in watchOS
102 |     private let stackView = UIStackView.centeredFillEqual()
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
    |                                 `- error: 'init()' is unavailable in watchOS
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:105:38: error: 'NSLayoutConstraint' is unavailable in watchOS
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
105 |     private var valueCropConstraint: NSLayoutConstraint?
    |                                      `- error: 'NSLayoutConstraint' is unavailable in watchOS
106 |     private var widthConstraint: NSLayoutConstraint?
107 |     private var heightConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:106:34: error: 'NSLayoutConstraint' is unavailable in watchOS
104 |     private let valueCropView = UIView()
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
    |                                  `- error: 'NSLayoutConstraint' is unavailable in watchOS
107 |     private var heightConstraint: NSLayoutConstraint?
108 |     private var currentImageSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/RatingControl/RatingControl.swift:107:35: error: 'NSLayoutConstraint' is unavailable in watchOS
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
107 |     private var heightConstraint: NSLayoutConstraint?
    |                                   `- error: 'NSLayoutConstraint' is unavailable in watchOS
108 |     private var currentImageSize: CGSize = .zero
109 |
/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/RatingControl/RatingControl.swift:190:49: error: 'UIGestureRecognizer' is unavailable in watchOS
188 |     // MARK: - User Interaction
189 |
190 |     @objc private func handleGesture(_ gesture: UIGestureRecognizer) {
    |                                                 `- error: 'UIGestureRecognizer' is unavailable in watchOS
191 |         let location = gesture.location(in: self)
192 |         let itemWidth = effectiveWidth / CGFloat(maxValue) // bound.width may be incorrect when the control is inside a wider container like a 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/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:12:29: error: 'UIControl' is unavailable in watchOS
 10 | /// A control that displays a rating as a row of images and allows the user to edit it.
 11 | @IBDesignable
 12 | public class RatingControl: UIControl {
    |                             `- error: 'UIControl' is unavailable in watchOS
 13 |     /// Maximum rating value, default is 5
 14 |     @IBInspectable public var maxValue: Int = 5 {
/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/RatingControl/RatingControl.swift:207:40: error: 'UIStackView' is unavailable in watchOS
205 |
206 | extension UIStackView {
207 |     static func centeredFillEqual() -> UIStackView {
    |                                        `- error: 'UIStackView' is unavailable in watchOS
208 |         let stackView = UIStackView()
209 |         stackView.distribution = .fillEqually
/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/RatingControl/RatingControl.swift:206:11: error: 'UIStackView' is unavailable in watchOS
204 | // MARK: - Helpers
205 |
206 | extension UIStackView {
    |           `- error: 'UIStackView' is unavailable in watchOS
207 |     static func centeredFillEqual() -> UIStackView {
208 |         let stackView = UIStackView()
/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/RatingControl/RatingControl.swift:238:29: error: 'UIView' is unavailable in watchOS
236 |
237 | extension UIView {
238 |     func constrain(to view: UIView) {
    |                             `- error: 'UIView' is unavailable in watchOS
239 |         translatesAutoresizingMaskIntoConstraints = false
240 |         NSLayoutConstraint.activate([
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:237:11: error: 'UIView' is unavailable in watchOS
235 | }
236 |
237 | extension UIView {
    |           `- error: 'UIView' is unavailable in watchOS
238 |     func constrain(to view: UIView) {
239 |         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/RatingControl/RatingView.swift:33:37: error: cannot find type 'Context' in scope
 31 |     }
 32 |
 33 |     public func makeUIView(context: Context) -> RatingControl {
    |                                     `- error: cannot find type 'Context' in scope
 34 |         let ratingControl = RatingControl()
 35 |         ratingControl.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:43:64: error: cannot find type 'Context' in scope
 41 |     }
 42 |
 43 |     public func updateUIView(_ uiView: RatingControl, context: Context) {
    |                                                                `- error: cannot find type 'Context' in scope
 44 |         uiView.value = value
 45 |         uiView.maxValue = maxValue
SwiftCompile normal arm64_32 (in target 'RatingControl' from project 'RatingControl')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:51:92: error: cannot find type 'Context' in scope
 49 |
 50 |     @available(iOS 16.0, *)
 51 |     public func sizeThatFits(_ proposal: ProposedViewSize, uiView: RatingControl, context: Context) -> CGSize? {
    |                                                                                            `- error: cannot find type 'Context' in scope
 52 |         return proposal.replacingUnspecifiedDimensions(by: uiView.systemLayoutSizeFitting(.zero))
 53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:11:27: error: cannot find type 'UIViewRepresentable' in scope
  9 |
 10 | /// SwiftUI wrapper for the RatingControl.
 11 | public struct RatingView: UIViewRepresentable {
    |                           `- error: cannot find type 'UIViewRepresentable' in scope
 12 |     @Binding var value: Double
 13 |     var maxValue: Int
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:125:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
123 |
124 | @available(iOS 17, *)
125 | #Preview {
    | `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
126 |     @Previewable @State var rating = 2.5
127 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift /Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64_32/RatingControl-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name RatingControl -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64_32/RatingControl_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64_32/RatingControl.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64_32/RatingControl.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64_32/RatingControl-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64_32/RatingControl-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64_32/RatingControl-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64_32/RatingControl.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64_32/RatingControl.abi.json
SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'RatingControl' from project 'RatingControl')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'RatingControl' from project 'RatingControl')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64_32 Compiling\ RatingView.swift /Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift (in target 'RatingControl' from project 'RatingControl')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift (in target 'RatingControl' from project 'RatingControl')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RatingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:33:37: error: cannot find type 'Context' in scope
 31 |     }
 32 |
 33 |     public func makeUIView(context: Context) -> RatingControl {
    |                                     `- error: cannot find type 'Context' in scope
 34 |         let ratingControl = RatingControl()
 35 |         ratingControl.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:43:64: error: cannot find type 'Context' in scope
 41 |     }
 42 |
 43 |     public func updateUIView(_ uiView: RatingControl, context: Context) {
    |                                                                `- error: cannot find type 'Context' in scope
 44 |         uiView.value = value
 45 |         uiView.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:51:92: error: cannot find type 'Context' in scope
 49 |
 50 |     @available(iOS 16.0, *)
 51 |     public func sizeThatFits(_ proposal: ProposedViewSize, uiView: RatingControl, context: Context) -> CGSize? {
    |                                                                                            `- error: cannot find type 'Context' in scope
 52 |         return proposal.replacingUnspecifiedDimensions(by: uiView.systemLayoutSizeFitting(.zero))
 53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:11:27: error: cannot find type 'UIViewRepresentable' in scope
  9 |
 10 | /// SwiftUI wrapper for the RatingControl.
 11 | public struct RatingView: UIViewRepresentable {
    |                           `- error: cannot find type 'UIViewRepresentable' in scope
 12 |     @Binding var value: Double
 13 |     var maxValue: Int
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:125:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
123 |
124 | @available(iOS 17, *)
125 | #Preview {
    | `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
126 |     @Previewable @State var rating = 2.5
127 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:34:29: error: 'init()' is unavailable in watchOS
 32 |
 33 |     public func makeUIView(context: Context) -> RatingControl {
 34 |         let ratingControl = RatingControl()
    |                             `- error: 'init()' is unavailable in watchOS
 35 |         ratingControl.maxValue = maxValue
 36 |         ratingControl.value = value
/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/RatingControl/RatingView.swift:176:13: error: generic struct 'VStack' requires that 'RatingView' conform to 'View'
174 |     var body: some View {
175 |         VStack(alignment: .leading) {
176 |             RatingView(value: $rating)
    |             `- error: generic struct 'VStack' requires that 'RatingView' conform to 'View'
177 |
178 |             Text("Current value: \(rating, specifier: "%.1f")")
SwiftUI.TupleContent:2:11: note: requirement from conditional conformance of 'TupleContent<RatingView, Text>' to 'View'
1 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
2 | extension TupleContent : View where repeat each Content : View {
  |           `- note: requirement from conditional conformance of 'TupleContent<RatingView, Text>' to 'View'
3 |     nonisolated public static func _makeView(view: _GraphValue<TupleContent<repeat each Content>>, inputs: _ViewInputs) -> _ViewOutputs
4 |     nonisolated public static func _makeViewList(view: _GraphValue<TupleContent<repeat each Content>>, inputs: _ViewListInputs) -> _ViewListOutputs
SwiftCompile normal arm64_32 Compiling\ RatingControl.swift /Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift (in target 'RatingControl' from project 'RatingControl')
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:102:29: error: 'UIStackView' is unavailable in watchOS
100 |     // MARK: - Private Properties
101 |
102 |     private let stackView = UIStackView.centeredFillEqual()
    |                             `- error: 'UIStackView' is unavailable in watchOS
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
/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/RatingControl/RatingControl.swift:37:62: error: 'UIImageView' is unavailable in watchOS
 35 |     public var emptyImage: UIImage = .init(systemName: "star")! {
 36 |         didSet {
 37 |             for imageView in stackView.arrangedSubviews as? [UIImageView] ?? [] {
    |                                                              `- error: 'UIImageView' is unavailable in watchOS
 38 |                 imageView.image = emptyImage
 39 |             }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:103:35: error: 'UIStackView' is unavailable in watchOS
101 |
102 |     private let stackView = UIStackView.centeredFillEqual()
103 |     private let filledStackView = UIStackView.centeredFillEqual()
    |                                   `- error: 'UIStackView' is unavailable in watchOS
104 |     private let valueCropView = UIView()
105 |     private var valueCropConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:46:68: error: 'UIImageView' is unavailable in watchOS
 44 |     public var image: UIImage = .init(systemName: "star.fill")! {
 45 |         didSet {
 46 |             for imageView in filledStackView.arrangedSubviews as? [UIImageView] ?? [] {
    |                                                                    `- error: 'UIImageView' is unavailable in watchOS
 47 |                 imageView.image = image
 48 |             }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:95:26: error: cannot override 'prepareForInterfaceBuilder' which has been marked unavailable
 93 |     }
 94 |
 95 |     override public func prepareForInterfaceBuilder() {
    |                          |- error: cannot override 'prepareForInterfaceBuilder' which has been marked unavailable
    |                          `- note: remove 'override' modifier to declare a new 'prepareForInterfaceBuilder'
 96 |         super.prepareForInterfaceBuilder()
 97 |         value = 2.5
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h:24:1: note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
22 | @interface NSObject(UINibLoadingAdditions)
23 | - (void)awakeFromNib NS_REQUIRES_SUPER API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
24 | - (void)prepareForInterfaceBuilder API_AVAILABLE(ios(8.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
   | `- note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
25 | @end
26 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:104:33: error: 'UIView' is unavailable in watchOS
102 |     private let stackView = UIStackView.centeredFillEqual()
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
    |                                 `- error: 'UIView' is unavailable in watchOS
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:104:33: error: 'init()' is unavailable in watchOS
102 |     private let stackView = UIStackView.centeredFillEqual()
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
    |                                 `- error: 'init()' is unavailable in watchOS
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:105:38: error: 'NSLayoutConstraint' is unavailable in watchOS
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
105 |     private var valueCropConstraint: NSLayoutConstraint?
    |                                      `- error: 'NSLayoutConstraint' is unavailable in watchOS
106 |     private var widthConstraint: NSLayoutConstraint?
107 |     private var heightConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:106:34: error: 'NSLayoutConstraint' is unavailable in watchOS
104 |     private let valueCropView = UIView()
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
    |                                  `- error: 'NSLayoutConstraint' is unavailable in watchOS
107 |     private var heightConstraint: NSLayoutConstraint?
108 |     private var currentImageSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/RatingControl/RatingControl.swift:107:35: error: 'NSLayoutConstraint' is unavailable in watchOS
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
107 |     private var heightConstraint: NSLayoutConstraint?
    |                                   `- error: 'NSLayoutConstraint' is unavailable in watchOS
108 |     private var currentImageSize: CGSize = .zero
109 |
/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/RatingControl/RatingControl.swift:190:49: error: 'UIGestureRecognizer' is unavailable in watchOS
188 |     // MARK: - User Interaction
189 |
190 |     @objc private func handleGesture(_ gesture: UIGestureRecognizer) {
    |                                                 `- error: 'UIGestureRecognizer' is unavailable in watchOS
191 |         let location = gesture.location(in: self)
192 |         let itemWidth = effectiveWidth / CGFloat(maxValue) // bound.width may be incorrect when the control is inside a wider container like a 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/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:12:29: error: 'UIControl' is unavailable in watchOS
 10 | /// A control that displays a rating as a row of images and allows the user to edit it.
 11 | @IBDesignable
 12 | public class RatingControl: UIControl {
    |                             `- error: 'UIControl' is unavailable in watchOS
 13 |     /// Maximum rating value, default is 5
 14 |     @IBInspectable public var maxValue: Int = 5 {
/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/RatingControl/RatingControl.swift:207:40: error: 'UIStackView' is unavailable in watchOS
205 |
206 | extension UIStackView {
207 |     static func centeredFillEqual() -> UIStackView {
    |                                        `- error: 'UIStackView' is unavailable in watchOS
208 |         let stackView = UIStackView()
209 |         stackView.distribution = .fillEqually
/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/RatingControl/RatingControl.swift:206:11: error: 'UIStackView' is unavailable in watchOS
204 | // MARK: - Helpers
205 |
206 | extension UIStackView {
    |           `- error: 'UIStackView' is unavailable in watchOS
207 |     static func centeredFillEqual() -> UIStackView {
208 |         let stackView = UIStackView()
/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/RatingControl/RatingControl.swift:238:29: error: 'UIView' is unavailable in watchOS
236 |
237 | extension UIView {
238 |     func constrain(to view: UIView) {
    |                             `- error: 'UIView' is unavailable in watchOS
239 |         translatesAutoresizingMaskIntoConstraints = false
240 |         NSLayoutConstraint.activate([
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:237:11: error: 'UIView' is unavailable in watchOS
235 | }
236 |
237 | extension UIView {
    |           `- error: 'UIView' is unavailable in watchOS
238 |     func constrain(to view: UIView) {
239 |         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/RatingControl/RatingControl.swift:96:15: error: 'prepareForInterfaceBuilder()' is unavailable in watchOS
 94 |
 95 |     override public func prepareForInterfaceBuilder() {
 96 |         super.prepareForInterfaceBuilder()
    |               `- error: 'prepareForInterfaceBuilder()' is unavailable in watchOS
 97 |         value = 2.5
 98 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h:24:1: note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
22 | @interface NSObject(UINibLoadingAdditions)
23 | - (void)awakeFromNib NS_REQUIRES_SUPER API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
24 | - (void)prepareForInterfaceBuilder API_AVAILABLE(ios(8.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
   | `- note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
25 | @end
26 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:119:36: error: 'required' is unavailable in watchOS
117 |     private func setup() {
118 |         translatesAutoresizingMaskIntoConstraints = false
119 |         setContentHuggingPriority(.required, for: .horizontal)
    |                                    `- error: 'required' is unavailable in watchOS
120 |         setContentCompressionResistancePriority(.required, for: .horizontal)
121 |         setContentHuggingPriority(.required, for: .vertical)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:120:50: error: 'required' is unavailable in watchOS
118 |         translatesAutoresizingMaskIntoConstraints = false
119 |         setContentHuggingPriority(.required, for: .horizontal)
120 |         setContentCompressionResistancePriority(.required, for: .horizontal)
    |                                                  `- error: 'required' is unavailable in watchOS
121 |         setContentHuggingPriority(.required, for: .vertical)
122 |         setContentCompressionResistancePriority(.required, for: .vertical)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:121:36: error: 'required' is unavailable in watchOS
119 |         setContentHuggingPriority(.required, for: .horizontal)
120 |         setContentCompressionResistancePriority(.required, for: .horizontal)
121 |         setContentHuggingPriority(.required, for: .vertical)
    |                                    `- error: 'required' is unavailable in watchOS
122 |         setContentCompressionResistancePriority(.required, for: .vertical)
123 |
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:122:50: error: 'required' is unavailable in watchOS
120 |         setContentCompressionResistancePriority(.required, for: .horizontal)
121 |         setContentHuggingPriority(.required, for: .vertical)
122 |         setContentCompressionResistancePriority(.required, for: .vertical)
    |                                                  `- error: 'required' is unavailable in watchOS
123 |
124 |         stackView.spacing = spacing
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:131:9: error: 'NSLayoutConstraint' is unavailable in watchOS
129 |         addSubview(valueCropView)
130 |         valueCropView.translatesAutoresizingMaskIntoConstraints = false
131 |         NSLayoutConstraint.activate([
    |         `- error: 'NSLayoutConstraint' is unavailable in watchOS
132 |             valueCropView.topAnchor.constraint(equalTo: topAnchor),
133 |             valueCropView.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/RatingControl/RatingControl.swift:144:13: error: 'NSLayoutConstraint' is unavailable in watchOS
142 |         heightConstraint = heightAnchor.constraint(equalToConstant: 0)
143 |         if let widthConstraint = widthConstraint, let heightConstraint = heightConstraint {
144 |             NSLayoutConstraint.activate([widthConstraint, heightConstraint])
    |             `- error: 'NSLayoutConstraint' is unavailable in watchOS
145 |         }
146 |
/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/RatingControl/RatingControl.swift:147:30: error: 'UITapGestureRecognizer' is unavailable in watchOS
145 |         }
146 |
147 |         addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(handleGesture)))
    |                              `- error: 'UITapGestureRecognizer' is unavailable in watchOS
148 |         addGestureRecognizer(UIPanGestureRecognizer(target: self, action: #selector(handleGesture)))
149 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/RatingControl/RatingControl.swift:148:30: error: 'UIPanGestureRecognizer' is unavailable in watchOS
146 |
147 |         addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(handleGesture)))
148 |         addGestureRecognizer(UIPanGestureRecognizer(target: self, action: #selector(handleGesture)))
    |                              `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
149 |
150 |         setupImageSize()
/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/RatingControl/RatingControl.swift:208:25: error: 'UIStackView' is unavailable in watchOS
206 | extension UIStackView {
207 |     static func centeredFillEqual() -> UIStackView {
208 |         let stackView = UIStackView()
    |                         `- error: 'UIStackView' is unavailable in watchOS
209 |         stackView.distribution = .fillEqually
210 |         stackView.alignment = .center
/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/RatingControl/RatingControl.swift:208:25: error: 'init()' is unavailable in watchOS
206 | extension UIStackView {
207 |     static func centeredFillEqual() -> UIStackView {
208 |         let stackView = UIStackView()
    |                         `- error: 'init()' is unavailable in watchOS
209 |         stackView.distribution = .fillEqually
210 |         stackView.alignment = .center
/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/RatingControl/RatingControl.swift:222:25: error: 'UIImageView' is unavailable in watchOS
220 |
221 |     func addArrangedImageView(image: UIImage, imageSize: CGSize, tintColor: UIColor) {
222 |         let imageView = UIImageView(image: image)
    |                         `- error: 'UIImageView' is unavailable in watchOS
223 |         imageView.tintColor = tintColor
224 |         imageView.contentMode = .scaleAspectFit
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:228:46: error: 'required' is unavailable in watchOS
226 |
227 |         imageView.translatesAutoresizingMaskIntoConstraints = false
228 |         imageView.setContentHuggingPriority(.required, for: .horizontal)
    |                                              `- error: 'required' is unavailable in watchOS
229 |         imageView.setContentCompressionResistancePriority(.required, for: .horizontal)
230 |         NSLayoutConstraint.activate([
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:229:60: error: 'required' is unavailable in watchOS
227 |         imageView.translatesAutoresizingMaskIntoConstraints = false
228 |         imageView.setContentHuggingPriority(.required, for: .horizontal)
229 |         imageView.setContentCompressionResistancePriority(.required, for: .horizontal)
    |                                                            `- error: 'required' is unavailable in watchOS
230 |         NSLayoutConstraint.activate([
231 |             imageView.widthAnchor.constraint(equalToConstant: imageSize.width),
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:230:9: error: 'NSLayoutConstraint' is unavailable in watchOS
228 |         imageView.setContentHuggingPriority(.required, for: .horizontal)
229 |         imageView.setContentCompressionResistancePriority(.required, for: .horizontal)
230 |         NSLayoutConstraint.activate([
    |         `- error: 'NSLayoutConstraint' is unavailable in watchOS
231 |             imageView.widthAnchor.constraint(equalToConstant: imageSize.width),
232 |             imageView.heightAnchor.constraint(equalToConstant: imageSize.height),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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_32 /Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift (in target 'RatingControl' from project 'RatingControl')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RatingControl.swift
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'RatingControl' from project 'RatingControl')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'RatingControl' from project 'RatingControl')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64 Compiling\ RatingControl.swift /Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift (in target 'RatingControl' from project 'RatingControl')
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:102:29: error: 'UIStackView' is unavailable in watchOS
100 |     // MARK: - Private Properties
101 |
102 |     private let stackView = UIStackView.centeredFillEqual()
    |                             `- error: 'UIStackView' is unavailable in watchOS
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
/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/RatingControl/RatingControl.swift:37:62: error: 'UIImageView' is unavailable in watchOS
 35 |     public var emptyImage: UIImage = .init(systemName: "star")! {
 36 |         didSet {
 37 |             for imageView in stackView.arrangedSubviews as? [UIImageView] ?? [] {
    |                                                              `- error: 'UIImageView' is unavailable in watchOS
 38 |                 imageView.image = emptyImage
 39 |             }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:103:35: error: 'UIStackView' is unavailable in watchOS
101 |
102 |     private let stackView = UIStackView.centeredFillEqual()
103 |     private let filledStackView = UIStackView.centeredFillEqual()
    |                                   `- error: 'UIStackView' is unavailable in watchOS
104 |     private let valueCropView = UIView()
105 |     private var valueCropConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:46:68: error: 'UIImageView' is unavailable in watchOS
 44 |     public var image: UIImage = .init(systemName: "star.fill")! {
 45 |         didSet {
 46 |             for imageView in filledStackView.arrangedSubviews as? [UIImageView] ?? [] {
    |                                                                    `- error: 'UIImageView' is unavailable in watchOS
 47 |                 imageView.image = image
 48 |             }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:95:26: error: cannot override 'prepareForInterfaceBuilder' which has been marked unavailable
 93 |     }
 94 |
 95 |     override public func prepareForInterfaceBuilder() {
    |                          |- error: cannot override 'prepareForInterfaceBuilder' which has been marked unavailable
    |                          `- note: remove 'override' modifier to declare a new 'prepareForInterfaceBuilder'
 96 |         super.prepareForInterfaceBuilder()
 97 |         value = 2.5
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h:24:1: note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
22 | @interface NSObject(UINibLoadingAdditions)
23 | - (void)awakeFromNib NS_REQUIRES_SUPER API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
24 | - (void)prepareForInterfaceBuilder API_AVAILABLE(ios(8.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
   | `- note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
25 | @end
26 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:104:33: error: 'UIView' is unavailable in watchOS
102 |     private let stackView = UIStackView.centeredFillEqual()
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
    |                                 `- error: 'UIView' is unavailable in watchOS
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:104:33: error: 'init()' is unavailable in watchOS
102 |     private let stackView = UIStackView.centeredFillEqual()
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
    |                                 `- error: 'init()' is unavailable in watchOS
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:105:38: error: 'NSLayoutConstraint' is unavailable in watchOS
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
105 |     private var valueCropConstraint: NSLayoutConstraint?
    |                                      `- error: 'NSLayoutConstraint' is unavailable in watchOS
106 |     private var widthConstraint: NSLayoutConstraint?
107 |     private var heightConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:106:34: error: 'NSLayoutConstraint' is unavailable in watchOS
104 |     private let valueCropView = UIView()
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
    |                                  `- error: 'NSLayoutConstraint' is unavailable in watchOS
107 |     private var heightConstraint: NSLayoutConstraint?
108 |     private var currentImageSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/RatingControl/RatingControl.swift:107:35: error: 'NSLayoutConstraint' is unavailable in watchOS
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
107 |     private var heightConstraint: NSLayoutConstraint?
    |                                   `- error: 'NSLayoutConstraint' is unavailable in watchOS
108 |     private var currentImageSize: CGSize = .zero
109 |
/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/RatingControl/RatingControl.swift:190:49: error: 'UIGestureRecognizer' is unavailable in watchOS
188 |     // MARK: - User Interaction
189 |
190 |     @objc private func handleGesture(_ gesture: UIGestureRecognizer) {
    |                                                 `- error: 'UIGestureRecognizer' is unavailable in watchOS
191 |         let location = gesture.location(in: self)
192 |         let itemWidth = effectiveWidth / CGFloat(maxValue) // bound.width may be incorrect when the control is inside a wider container like a 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/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:12:29: error: 'UIControl' is unavailable in watchOS
 10 | /// A control that displays a rating as a row of images and allows the user to edit it.
 11 | @IBDesignable
 12 | public class RatingControl: UIControl {
    |                             `- error: 'UIControl' is unavailable in watchOS
 13 |     /// Maximum rating value, default is 5
 14 |     @IBInspectable public var maxValue: Int = 5 {
/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/RatingControl/RatingControl.swift:207:40: error: 'UIStackView' is unavailable in watchOS
205 |
206 | extension UIStackView {
207 |     static func centeredFillEqual() -> UIStackView {
    |                                        `- error: 'UIStackView' is unavailable in watchOS
208 |         let stackView = UIStackView()
209 |         stackView.distribution = .fillEqually
/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/RatingControl/RatingControl.swift:206:11: error: 'UIStackView' is unavailable in watchOS
204 | // MARK: - Helpers
205 |
206 | extension UIStackView {
    |           `- error: 'UIStackView' is unavailable in watchOS
207 |     static func centeredFillEqual() -> UIStackView {
208 |         let stackView = UIStackView()
/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/RatingControl/RatingControl.swift:238:29: error: 'UIView' is unavailable in watchOS
236 |
237 | extension UIView {
238 |     func constrain(to view: UIView) {
    |                             `- error: 'UIView' is unavailable in watchOS
239 |         translatesAutoresizingMaskIntoConstraints = false
240 |         NSLayoutConstraint.activate([
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:237:11: error: 'UIView' is unavailable in watchOS
235 | }
236 |
237 | extension UIView {
    |           `- error: 'UIView' is unavailable in watchOS
238 |     func constrain(to view: UIView) {
239 |         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/RatingControl/RatingControl.swift:96:15: error: 'prepareForInterfaceBuilder()' is unavailable in watchOS
 94 |
 95 |     override public func prepareForInterfaceBuilder() {
 96 |         super.prepareForInterfaceBuilder()
    |               `- error: 'prepareForInterfaceBuilder()' is unavailable in watchOS
 97 |         value = 2.5
 98 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h:24:1: note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
22 | @interface NSObject(UINibLoadingAdditions)
23 | - (void)awakeFromNib NS_REQUIRES_SUPER API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
24 | - (void)prepareForInterfaceBuilder API_AVAILABLE(ios(8.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
   | `- note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
25 | @end
26 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:119:36: error: 'required' is unavailable in watchOS
117 |     private func setup() {
118 |         translatesAutoresizingMaskIntoConstraints = false
119 |         setContentHuggingPriority(.required, for: .horizontal)
    |                                    `- error: 'required' is unavailable in watchOS
120 |         setContentCompressionResistancePriority(.required, for: .horizontal)
121 |         setContentHuggingPriority(.required, for: .vertical)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:120:50: error: 'required' is unavailable in watchOS
118 |         translatesAutoresizingMaskIntoConstraints = false
119 |         setContentHuggingPriority(.required, for: .horizontal)
120 |         setContentCompressionResistancePriority(.required, for: .horizontal)
    |                                                  `- error: 'required' is unavailable in watchOS
121 |         setContentHuggingPriority(.required, for: .vertical)
122 |         setContentCompressionResistancePriority(.required, for: .vertical)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:121:36: error: 'required' is unavailable in watchOS
119 |         setContentHuggingPriority(.required, for: .horizontal)
120 |         setContentCompressionResistancePriority(.required, for: .horizontal)
121 |         setContentHuggingPriority(.required, for: .vertical)
    |                                    `- error: 'required' is unavailable in watchOS
122 |         setContentCompressionResistancePriority(.required, for: .vertical)
123 |
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:122:50: error: 'required' is unavailable in watchOS
120 |         setContentCompressionResistancePriority(.required, for: .horizontal)
121 |         setContentHuggingPriority(.required, for: .vertical)
122 |         setContentCompressionResistancePriority(.required, for: .vertical)
    |                                                  `- error: 'required' is unavailable in watchOS
123 |
124 |         stackView.spacing = spacing
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:131:9: error: 'NSLayoutConstraint' is unavailable in watchOS
129 |         addSubview(valueCropView)
130 |         valueCropView.translatesAutoresizingMaskIntoConstraints = false
131 |         NSLayoutConstraint.activate([
    |         `- error: 'NSLayoutConstraint' is unavailable in watchOS
132 |             valueCropView.topAnchor.constraint(equalTo: topAnchor),
133 |             valueCropView.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/RatingControl/RatingControl.swift:144:13: error: 'NSLayoutConstraint' is unavailable in watchOS
142 |         heightConstraint = heightAnchor.constraint(equalToConstant: 0)
143 |         if let widthConstraint = widthConstraint, let heightConstraint = heightConstraint {
144 |             NSLayoutConstraint.activate([widthConstraint, heightConstraint])
    |             `- error: 'NSLayoutConstraint' is unavailable in watchOS
145 |         }
146 |
/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/RatingControl/RatingControl.swift:147:30: error: 'UITapGestureRecognizer' is unavailable in watchOS
145 |         }
146 |
147 |         addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(handleGesture)))
    |                              `- error: 'UITapGestureRecognizer' is unavailable in watchOS
148 |         addGestureRecognizer(UIPanGestureRecognizer(target: self, action: #selector(handleGesture)))
149 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/RatingControl/RatingControl.swift:148:30: error: 'UIPanGestureRecognizer' is unavailable in watchOS
146 |
147 |         addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(handleGesture)))
148 |         addGestureRecognizer(UIPanGestureRecognizer(target: self, action: #selector(handleGesture)))
    |                              `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
149 |
150 |         setupImageSize()
/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/RatingControl/RatingControl.swift:208:25: error: 'UIStackView' is unavailable in watchOS
206 | extension UIStackView {
207 |     static func centeredFillEqual() -> UIStackView {
208 |         let stackView = UIStackView()
    |                         `- error: 'UIStackView' is unavailable in watchOS
209 |         stackView.distribution = .fillEqually
210 |         stackView.alignment = .center
/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/RatingControl/RatingControl.swift:208:25: error: 'init()' is unavailable in watchOS
206 | extension UIStackView {
207 |     static func centeredFillEqual() -> UIStackView {
208 |         let stackView = UIStackView()
    |                         `- error: 'init()' is unavailable in watchOS
209 |         stackView.distribution = .fillEqually
210 |         stackView.alignment = .center
/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/RatingControl/RatingControl.swift:222:25: error: 'UIImageView' is unavailable in watchOS
220 |
221 |     func addArrangedImageView(image: UIImage, imageSize: CGSize, tintColor: UIColor) {
222 |         let imageView = UIImageView(image: image)
    |                         `- error: 'UIImageView' is unavailable in watchOS
223 |         imageView.tintColor = tintColor
224 |         imageView.contentMode = .scaleAspectFit
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:228:46: error: 'required' is unavailable in watchOS
226 |
227 |         imageView.translatesAutoresizingMaskIntoConstraints = false
228 |         imageView.setContentHuggingPriority(.required, for: .horizontal)
    |                                              `- error: 'required' is unavailable in watchOS
229 |         imageView.setContentCompressionResistancePriority(.required, for: .horizontal)
230 |         NSLayoutConstraint.activate([
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:229:60: error: 'required' is unavailable in watchOS
227 |         imageView.translatesAutoresizingMaskIntoConstraints = false
228 |         imageView.setContentHuggingPriority(.required, for: .horizontal)
229 |         imageView.setContentCompressionResistancePriority(.required, for: .horizontal)
    |                                                            `- error: 'required' is unavailable in watchOS
230 |         NSLayoutConstraint.activate([
231 |             imageView.widthAnchor.constraint(equalToConstant: imageSize.width),
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var required: UILayoutPriority { get }}
  |                     `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:230:9: error: 'NSLayoutConstraint' is unavailable in watchOS
228 |         imageView.setContentHuggingPriority(.required, for: .horizontal)
229 |         imageView.setContentCompressionResistancePriority(.required, for: .horizontal)
230 |         NSLayoutConstraint.activate([
    |         `- error: 'NSLayoutConstraint' is unavailable in watchOS
231 |             imageView.widthAnchor.constraint(equalToConstant: imageSize.width),
232 |             imageView.heightAnchor.constraint(equalToConstant: imageSize.height),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/RatingControl/RatingControl.swift (in target 'RatingControl' from project 'RatingControl')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RatingControl.swift
SwiftCompile normal arm64 Compiling\ RatingView.swift /Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift (in target 'RatingControl' from project 'RatingControl')
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:33:37: error: cannot find type 'Context' in scope
 31 |     }
 32 |
 33 |     public func makeUIView(context: Context) -> RatingControl {
    |                                     `- error: cannot find type 'Context' in scope
 34 |         let ratingControl = RatingControl()
 35 |         ratingControl.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:43:64: error: cannot find type 'Context' in scope
 41 |     }
 42 |
 43 |     public func updateUIView(_ uiView: RatingControl, context: Context) {
    |                                                                `- error: cannot find type 'Context' in scope
 44 |         uiView.value = value
 45 |         uiView.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:51:92: error: cannot find type 'Context' in scope
 49 |
 50 |     @available(iOS 16.0, *)
 51 |     public func sizeThatFits(_ proposal: ProposedViewSize, uiView: RatingControl, context: Context) -> CGSize? {
    |                                                                                            `- error: cannot find type 'Context' in scope
 52 |         return proposal.replacingUnspecifiedDimensions(by: uiView.systemLayoutSizeFitting(.zero))
 53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:11:27: error: cannot find type 'UIViewRepresentable' in scope
  9 |
 10 | /// SwiftUI wrapper for the RatingControl.
 11 | public struct RatingView: UIViewRepresentable {
    |                           `- error: cannot find type 'UIViewRepresentable' in scope
 12 |     @Binding var value: Double
 13 |     var maxValue: Int
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:125:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
123 |
124 | @available(iOS 17, *)
125 | #Preview {
    | `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
126 |     @Previewable @State var rating = 2.5
127 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:34:29: error: 'init()' is unavailable in watchOS
 32 |
 33 |     public func makeUIView(context: Context) -> RatingControl {
 34 |         let ratingControl = RatingControl()
    |                             `- error: 'init()' is unavailable in watchOS
 35 |         ratingControl.maxValue = maxValue
 36 |         ratingControl.value = value
/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/RatingControl/RatingView.swift:176:13: error: generic struct 'VStack' requires that 'RatingView' conform to 'View'
174 |     var body: some View {
175 |         VStack(alignment: .leading) {
176 |             RatingView(value: $rating)
    |             `- error: generic struct 'VStack' requires that 'RatingView' conform to 'View'
177 |
178 |             Text("Current value: \(rating, specifier: "%.1f")")
SwiftUI.TupleContent:2:11: note: requirement from conditional conformance of 'TupleContent<RatingView, Text>' to 'View'
1 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
2 | extension TupleContent : View where repeat each Content : View {
  |           `- note: requirement from conditional conformance of 'TupleContent<RatingView, Text>' to 'View'
3 |     nonisolated public static func _makeView(view: _GraphValue<TupleContent<repeat each Content>>, inputs: _ViewInputs) -> _ViewOutputs
4 |     nonisolated public static func _makeViewList(view: _GraphValue<TupleContent<repeat each Content>>, inputs: _ViewListInputs) -> _ViewListOutputs
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift (in target 'RatingControl' from project 'RatingControl')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RatingView.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ RatingControl (in target 'RatingControl' from project 'RatingControl')
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:102:29: error: 'UIStackView' is unavailable in watchOS
100 |     // MARK: - Private Properties
101 |
102 |     private let stackView = UIStackView.centeredFillEqual()
    |                             `- error: 'UIStackView' is unavailable in watchOS
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
/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/RatingControl/RatingControl.swift:37:62: error: 'UIImageView' is unavailable in watchOS
 35 |     public var emptyImage: UIImage = .init(systemName: "star")! {
 36 |         didSet {
 37 |             for imageView in stackView.arrangedSubviews as? [UIImageView] ?? [] {
    |                                                              `- error: 'UIImageView' is unavailable in watchOS
 38 |                 imageView.image = emptyImage
 39 |             }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:103:35: error: 'UIStackView' is unavailable in watchOS
101 |
102 |     private let stackView = UIStackView.centeredFillEqual()
103 |     private let filledStackView = UIStackView.centeredFillEqual()
    |                                   `- error: 'UIStackView' is unavailable in watchOS
104 |     private let valueCropView = UIView()
105 |     private var valueCropConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:46:68: error: 'UIImageView' is unavailable in watchOS
 44 |     public var image: UIImage = .init(systemName: "star.fill")! {
 45 |         didSet {
 46 |             for imageView in filledStackView.arrangedSubviews as? [UIImageView] ?? [] {
    |                                                                    `- error: 'UIImageView' is unavailable in watchOS
 47 |                 imageView.image = image
 48 |             }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:95:26: error: cannot override 'prepareForInterfaceBuilder' which has been marked unavailable
 93 |     }
 94 |
 95 |     override public func prepareForInterfaceBuilder() {
    |                          |- error: cannot override 'prepareForInterfaceBuilder' which has been marked unavailable
    |                          `- note: remove 'override' modifier to declare a new 'prepareForInterfaceBuilder'
 96 |         super.prepareForInterfaceBuilder()
 97 |         value = 2.5
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h:24:1: note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
22 | @interface NSObject(UINibLoadingAdditions)
23 | - (void)awakeFromNib NS_REQUIRES_SUPER API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
24 | - (void)prepareForInterfaceBuilder API_AVAILABLE(ios(8.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
   | `- note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
25 | @end
26 |
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:104:33: error: 'UIView' is unavailable in watchOS
102 |     private let stackView = UIStackView.centeredFillEqual()
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
    |                                 `- error: 'UIView' is unavailable in watchOS
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:104:33: error: 'init()' is unavailable in watchOS
102 |     private let stackView = UIStackView.centeredFillEqual()
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
    |                                 `- error: 'init()' is unavailable in watchOS
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:105:38: error: 'NSLayoutConstraint' is unavailable in watchOS
103 |     private let filledStackView = UIStackView.centeredFillEqual()
104 |     private let valueCropView = UIView()
105 |     private var valueCropConstraint: NSLayoutConstraint?
    |                                      `- error: 'NSLayoutConstraint' is unavailable in watchOS
106 |     private var widthConstraint: NSLayoutConstraint?
107 |     private var heightConstraint: NSLayoutConstraint?
/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/RatingControl/RatingControl.swift:106:34: error: 'NSLayoutConstraint' is unavailable in watchOS
104 |     private let valueCropView = UIView()
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
    |                                  `- error: 'NSLayoutConstraint' is unavailable in watchOS
107 |     private var heightConstraint: NSLayoutConstraint?
108 |     private var currentImageSize: CGSize = .zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/RatingControl/RatingControl.swift:107:35: error: 'NSLayoutConstraint' is unavailable in watchOS
105 |     private var valueCropConstraint: NSLayoutConstraint?
106 |     private var widthConstraint: NSLayoutConstraint?
107 |     private var heightConstraint: NSLayoutConstraint?
    |                                   `- error: 'NSLayoutConstraint' is unavailable in watchOS
108 |     private var currentImageSize: CGSize = .zero
109 |
/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/RatingControl/RatingControl.swift:190:49: error: 'UIGestureRecognizer' is unavailable in watchOS
188 |     // MARK: - User Interaction
189 |
190 |     @objc private func handleGesture(_ gesture: UIGestureRecognizer) {
    |                                                 `- error: 'UIGestureRecognizer' is unavailable in watchOS
191 |         let location = gesture.location(in: self)
192 |         let itemWidth = effectiveWidth / CGFloat(maxValue) // bound.width may be incorrect when the control is inside a wider container like a 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/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:12:29: error: 'UIControl' is unavailable in watchOS
 10 | /// A control that displays a rating as a row of images and allows the user to edit it.
 11 | @IBDesignable
 12 | public class RatingControl: UIControl {
    |                             `- error: 'UIControl' is unavailable in watchOS
 13 |     /// Maximum rating value, default is 5
 14 |     @IBInspectable public var maxValue: Int = 5 {
/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/RatingControl/RatingControl.swift:207:40: error: 'UIStackView' is unavailable in watchOS
205 |
206 | extension UIStackView {
207 |     static func centeredFillEqual() -> UIStackView {
    |                                        `- error: 'UIStackView' is unavailable in watchOS
208 |         let stackView = UIStackView()
209 |         stackView.distribution = .fillEqually
/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/RatingControl/RatingControl.swift:206:11: error: 'UIStackView' is unavailable in watchOS
204 | // MARK: - Helpers
205 |
206 | extension UIStackView {
    |           `- error: 'UIStackView' is unavailable in watchOS
207 |     static func centeredFillEqual() -> UIStackView {
208 |         let stackView = UIStackView()
/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/RatingControl/RatingControl.swift:238:29: error: 'UIView' is unavailable in watchOS
236 |
237 | extension UIView {
238 |     func constrain(to view: UIView) {
    |                             `- error: 'UIView' is unavailable in watchOS
239 |         translatesAutoresizingMaskIntoConstraints = false
240 |         NSLayoutConstraint.activate([
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:237:11: error: 'UIView' is unavailable in watchOS
235 | }
236 |
237 | extension UIView {
    |           `- error: 'UIView' is unavailable in watchOS
238 |     func constrain(to view: UIView) {
239 |         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/RatingControl/RatingView.swift:33:37: error: cannot find type 'Context' in scope
 31 |     }
 32 |
 33 |     public func makeUIView(context: Context) -> RatingControl {
    |                                     `- error: cannot find type 'Context' in scope
 34 |         let ratingControl = RatingControl()
 35 |         ratingControl.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:43:64: error: cannot find type 'Context' in scope
 41 |     }
 42 |
 43 |     public func updateUIView(_ uiView: RatingControl, context: Context) {
    |                                                                `- error: cannot find type 'Context' in scope
 44 |         uiView.value = value
 45 |         uiView.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:51:92: error: cannot find type 'Context' in scope
 49 |
 50 |     @available(iOS 16.0, *)
 51 |     public func sizeThatFits(_ proposal: ProposedViewSize, uiView: RatingControl, context: Context) -> CGSize? {
    |                                                                                            `- error: cannot find type 'Context' in scope
 52 |         return proposal.replacingUnspecifiedDimensions(by: uiView.systemLayoutSizeFitting(.zero))
 53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:11:27: error: cannot find type 'UIViewRepresentable' in scope
  9 |
 10 | /// SwiftUI wrapper for the RatingControl.
 11 | public struct RatingView: UIViewRepresentable {
    |                           `- error: cannot find type 'UIViewRepresentable' in scope
 12 |     @Binding var value: Double
 13 |     var maxValue: Int
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift:125:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
123 |
124 | @available(iOS 17, *)
125 | #Preview {
    | `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
126 |     @Previewable @State var rating = 2.5
127 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift /Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingView.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64/RatingControl-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name RatingControl -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64/RatingControl_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64/RatingControl.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64/RatingControl.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64/RatingControl-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64/RatingControl-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64/RatingControl-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64/RatingControl.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RatingControl.build/Debug-watchos/RatingControl-t.build/Objects-normal/arm64/RatingControl.abi.json
SwiftCompile normal arm64 (in target 'RatingControl' from project 'RatingControl')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-21 23:42:33.075 xcodebuild[814:4876] [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 'RatingControl' from project 'RatingControl')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ RatingControl (in target 'RatingControl' from project 'RatingControl')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ RatingControl (in target 'RatingControl' from project 'RatingControl')
	SwiftCompile normal arm64 (in target 'RatingControl' from project 'RatingControl')
	Building workspace RatingControl with scheme RatingControl
(5 failures)
BUILD FAILURE 6.4 watchOS