The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftyUI, reference master (f71041), with Swift 6.4 for watchOS using Xcode 27.0 on 30 Sep 2026 21:08:00 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 SwiftyUI -destination generic/platform=watchOS

Build Log

 51 |
 52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UITextField' has been explicitly marked unavailable here
 54 |
 55 | @property(nullable, nonatomic,copy)   NSString               *text;                 // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:486:32: error: 'UITextView' is unavailable in watchOS
484 |   }
485 |
486 |   public func addTextView() -> UITextView {
    |                                `- error: 'UITextView' is unavailable in watchOS
487 |     // Add text view
488 |     let txt = UITextView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:546:42: error: 'UITapGestureRecognizer' is unavailable in watchOS
544 |
545 |   //Dismiss keyboard when tapped outside textfield & close SwiftyAlertView when hideWhenBackgroundViewIsTapped
546 |   @objc func tapped(_ gestureRecognizer: UITapGestureRecognizer) {
    |                                          `- error: 'UITapGestureRecognizer' is unavailable in watchOS
547 |     self.view.endEditing(true)
548 |
/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/SwiftyAlertView.swift:81:37: error: 'UIViewController' is unavailable in watchOS
 79 | // The Main Class
 80 | @MainActor
 81 | public final class SwiftyAlertView: UIViewController {
    |                                     `- error: 'UIViewController' is unavailable in watchOS
 82 |
 83 |   let appearance: SwiftyAppearance
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:138:7: error: 'UIView' is unavailable in watchOS
136 |     view.frame = SwiftyGlobal.keyWindow?.bounds ?? .zero
137 |     view.autoresizingMask = [
138 |       UIView.AutoresizingMask.flexibleHeight, UIView.AutoresizingMask.flexibleWidth,
    |       `- error: 'UIView' is unavailable in watchOS
139 |     ]
140 |     view.backgroundColor = UIColor(
/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/SwiftyAlertView.swift:138:47: error: 'UIView' is unavailable in watchOS
136 |     view.frame = SwiftyGlobal.keyWindow?.bounds ?? .zero
137 |     view.autoresizingMask = [
138 |       UIView.AutoresizingMask.flexibleHeight, UIView.AutoresizingMask.flexibleWidth,
    |                                               `- error: 'UIView' is unavailable in watchOS
139 |     ]
140 |     view.backgroundColor = UIColor(
/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/SwiftyAlertView.swift:143:10: error: 'accessibilityViewIsModal' is unavailable in watchOS
141 |       red: 0, green: 0, blue: 0, alpha: appearance.kDefaultShadowOpacity)
142 |     // 模态遮罩:VoiceOver 焦点不应跑到被遮住的内容上。
143 |     view.accessibilityViewIsModal = true
    |          `- error: 'accessibilityViewIsModal' is unavailable in watchOS
144 |     view.addSubview(baseView)
145 |     // Base View
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:167:28: note: 'accessibilityViewIsModal' has been explicitly marked unavailable here
165 |  default == NO
166 |  */
167 | @property (nonatomic) BOOL accessibilityViewIsModal API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                            `- note: 'accessibilityViewIsModal' has been explicitly marked unavailable here
168 |
169 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:190:24: error: 'UITapGestureRecognizer' is unavailable in watchOS
188 |     //Gesture Recognizer for tapping outside the textinput
189 |     if !appearance.disableTapGesture {
190 |       let tapGesture = UITapGestureRecognizer(
    |                        `- error: 'UITapGestureRecognizer' is unavailable in watchOS
191 |         target: self, action: #selector(SwiftyAlertView.tapped(_:)))
192 |       tapGesture.numberOfTapsRequired = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyAlertView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyButton.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyButton.swift
SwiftCompile normal arm64 Compiling\ SwiftyImage.swift,\ SwiftyImageView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift:31:31: error: 'preparingForDisplay()' is unavailable in watchOS
 29 |     // 手里没有原对象,换成副本不影响任何人。拿不到副本时退回 inflate()。
 30 |     let image: UIImage
 31 |     if let decoded = oriImage.preparingForDisplay() {
    |                               `- error: 'preparingForDisplay()' is unavailable in watchOS
 32 |       decoded.isInflated = true
 33 |       image = decoded
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h:296:1: note: 'preparingForDisplay()' has been explicitly marked unavailable here
294 | ///
295 | /// @note The prepared `UIImage` is not related to the original image. If the properties of the screen (such as its resolution or color gamut) change, or if the image is displayed on a different screen that the one it was prepared for, it may not render correctly.
296 | - (nullable UIImage *)imageByPreparingForDisplay API_AVAILABLE(ios(15.0), tvos(15.0)) API_UNAVAILABLE(watchos);
    | `- note: 'preparingForDisplay()' has been explicitly marked unavailable here
297 |
298 | /// Decodes an image asynchronously and provides a new one for display in views and animations.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift:179:18: error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
177 |   /// drawing 在 UIKit 的当前上下文里执行。库里的绘图都走这里(SwiftyAlertIcons 也用)。
178 |   static func render(size: CGSize, opaque: Bool, _ drawing: () -> Void) -> UIImage {
179 |     let format = UIGraphicsImageRendererFormat()
    |                  `- error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
180 |     format.opaque = opaque
181 |     format.preferredRange = .standard
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:27:12: note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
25 |
26 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos)
27 | @interface UIGraphicsImageRendererFormat : UIGraphicsRendererFormat
   |            `- note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
28 |
29 | @property (nonatomic) CGFloat scale; // display scale of the context. The preferredFormat uses the scale most appropriate for the main screen's current configuration.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift:181:12: error: 'preferredRange' is unavailable in watchOS
179 |     let format = UIGraphicsImageRendererFormat()
180 |     format.opaque = opaque
181 |     format.preferredRange = .standard
    |            `- error: 'preferredRange' is unavailable in watchOS
182 |     return UIGraphicsImageRenderer(size: size, format: format).image { _ in drawing() }
183 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:34:58: note: 'preferredRange' has been explicitly marked unavailable here
32 | @property (nonatomic, readonly, assign) BOOL supportsHighDynamicRange API_AVAILABLE(ios(17.0), tvos(17.0)) API_UNAVAILABLE(watchos); /// indicates if the format supports high dynamic range rendering.
33 |
34 | @property (nonatomic) UIGraphicsImageRendererFormatRange preferredRange API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos);
   |                                                          `- note: 'preferredRange' has been explicitly marked unavailable here
35 |
36 | // Returns a format optimized for the specified trait collection, taking into account properties such as displayScale and displayGamut.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift:182:12: error: 'UIGraphicsImageRenderer' is unavailable in watchOS
180 |     format.opaque = opaque
181 |     format.preferredRange = .standard
182 |     return UIGraphicsImageRenderer(size: size, format: format).image { _ in drawing() }
    |            `- error: 'UIGraphicsImageRenderer' is unavailable in watchOS
183 |   }
184 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:47:12: note: 'UIGraphicsImageRenderer' has been explicitly marked unavailable here
45 |
46 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos)
47 | @interface UIGraphicsImageRenderer : UIGraphicsRenderer
   |            `- note: 'UIGraphicsImageRenderer' has been explicitly marked unavailable here
48 | - (instancetype)initWithSize:(CGSize)size;
49 | - (instancetype)initWithSize:(CGSize)size format:(UIGraphicsImageRendererFormat *)format NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift:213:16: error: 'UIApplication' is unavailable in watchOS
211 |   init() {
212 |     memoryWarningObserver = NotificationCenter.default.addObserver(
213 |       forName: UIApplication.didReceiveMemoryWarningNotification,
    |                `- error: 'UIApplication' is unavailable in watchOS
214 |       object: nil,
215 |       queue: nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
 83 |
 84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 85 | @interface UIApplication : UIResponder
    |            `- note: 'UIApplication' has been explicitly marked unavailable here
 86 |
 87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift:213:30: error: 'didReceiveMemoryWarningNotification' is unavailable in watchOS
211 |   init() {
212 |     memoryWarningObserver = NotificationCenter.default.addObserver(
213 |       forName: UIApplication.didReceiveMemoryWarningNotification,
    |                              `- error: 'didReceiveMemoryWarningNotification' is unavailable in watchOS
214 |       object: nil,
215 |       queue: nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:575:39: note: 'didReceiveMemoryWarningNotification' has been explicitly marked unavailable here
573 | UIKIT_EXTERN NSNotificationName const UIApplicationDidBecomeActiveNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
574 | UIKIT_EXTERN NSNotificationName const UIApplicationWillResignActiveNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
575 | UIKIT_EXTERN NSNotificationName const UIApplicationDidReceiveMemoryWarningNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
    |                                       `- note: 'didReceiveMemoryWarningNotification' has been explicitly marked unavailable here
576 | UIKIT_EXTERN NSNotificationName const UIApplicationWillTerminateNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
577 | UIKIT_EXTERN NSNotificationName const UIApplicationSignificantTimeChangeNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift:12:31: error: 'UIView' is unavailable in watchOS
 10 |
 11 | @MainActor
 12 | public class SwiftyImageView: UIView, ImageSettable {
    |                               `- error: 'UIView' is unavailable in watchOS
 13 |   public var backgroundImage: UIImage? {
 14 |     didSet { applyBackgroundImage(backgroundImage) }
/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/SwiftyImageView.swift:51:25: error: 'UIView' is unavailable in watchOS
 49 |     case custom(
 50 |       duration: TimeInterval,
 51 |       animationOptions: UIView.AnimationOptions,
    |                         `- error: 'UIView' is unavailable in watchOS
 52 |       animations: (SwiftyImageView, UIImage) -> Void,
 53 |       completion: ((Bool) -> Void)?
/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/SwiftyImageView.swift:81:34: error: 'UIView' is unavailable in watchOS
 79 |
 80 |     /// The animation options of the image transition.
 81 |     public var animationOptions: UIView.AnimationOptions {
    |                                  `- error: 'UIView' is unavailable in watchOS
 82 |       switch self {
 83 |       case .noTransition:
/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/SwiftyImageView.swift:84:16: error: 'UIView' is unavailable in watchOS
 82 |       switch self {
 83 |       case .noTransition:
 84 |         return UIView.AnimationOptions()
    |                `- error: 'UIView' is unavailable in watchOS
 85 |       case .crossDissolve:
 86 |         return .transitionCrossDissolve
/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.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyImage.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyImageView.swift
SwiftCompile normal arm64 Compiling\ ImageCacheable.swift,\ ImageSettable.swift /Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift /Users/admin/builder/spi-builder-workspace/Sources/ImageSettable.swift (in target 'SwiftyUI' from project 'SwiftyUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ImageCacheable.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ImageSettable.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ImageSettable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageSettable.swift:15:32: error: 'UIView' is unavailable in watchOS
13 | /// 走 layer 而非 UIImageView 的绘制路径,交由 GPU 合成。
14 | @MainActor
15 | public protocol ImageSettable: UIView {
   |                                `- error: 'UIView' is unavailable in watchOS
16 |   var backgroundImage: UIImage? { get set }
17 | }
/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/ImageSettable.swift:45:18: error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
43 |     if imageOrientation == .up, let cgImage { return cgImage }
44 |     guard size.width > 0, size.height > 0 else { return cgImage }
45 |     let format = UIGraphicsImageRendererFormat()
   |                  `- error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
46 |     format.scale = scale
47 |     format.opaque = 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/UIGraphicsImageRenderer.h:27:12: note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
25 |
26 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos)
27 | @interface UIGraphicsImageRendererFormat : UIGraphicsRendererFormat
   |            `- note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
28 |
29 | @property (nonatomic) CGFloat scale; // display scale of the context. The preferredFormat uses the scale most appropriate for the main screen's current configuration.
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftyUI (in target 'SwiftyUI' from project 'SwiftyUI')
SwiftCompile normal arm64_32 (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-30 17:07:50.409 xcodebuild[649:4112] [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 'SwiftyUI' from project 'SwiftyUI')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftyUI (in target 'SwiftyUI' from project 'SwiftyUI')
	Building workspace SwiftyUI with scheme SwiftyUI
(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:
  SwiftyUI: /Users/admin/builder/spi-builder-workspace
resolved source packages: SwiftyUI
2026-09-30 17:07:56.762 xcodebuild[785:4667] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyUI",
  "name" : "SwiftyUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftyUI",
      "targets" : [
        "SwiftyUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyUITests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyUITests",
      "path" : "Tests/SwiftyUITests",
      "sources" : [
        "ImageCachePoolTests.swift",
        "SmokeTests.swift",
        "SwiftyAlertViewTests.swift",
        "SwiftyButtonTests.swift",
        "SwiftyColorTests.swift",
        "SwiftyGlobalTests.swift",
        "SwiftyImageTests.swift",
        "SwiftyImageViewTests.swift",
        "SwiftyLabelTests.swift",
        "SwiftyPromiseTests.swift",
        "SwiftyThreadPoolTests.swift",
        "SwiftyTimerTests.swift",
        "SwiftyToastTests.swift",
        "SwiftyViewTests.swift",
        "TestSupport.swift"
      ],
      "target_dependencies" : [
        "SwiftyUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyUI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyUI",
      "path" : "Sources",
      "product_memberships" : [
        "SwiftyUI"
      ],
      "sources" : [
        "ImageCacheable.swift",
        "ImageSettable.swift",
        "SwiftyAlertIcons.swift",
        "SwiftyAlertStyle.swift",
        "SwiftyAlertView.swift",
        "SwiftyButton.swift",
        "SwiftyColor.swift",
        "SwiftyGlobal.swift",
        "SwiftyImage.swift",
        "SwiftyImageView.swift",
        "SwiftyLabel.swift",
        "SwiftyPromise.swift",
        "SwiftyThreadPool.swift",
        "SwiftyTimer.swift",
        "SwiftyToast.swift",
        "SwiftyView.swift",
        "TextEditable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
{
  "workspace" : {
    "name" : "SwiftyUI",
    "schemes" : [
      "SwiftyUI"
    ]
  }
}
2026-09-30 17:07:57.979 xcodebuild[793:4749] [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 SwiftyUI -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 SwiftyUI -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  SwiftyUI: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'SwiftyUI-product' in project 'SwiftyUI'
        ➜ Explicit dependency on target 'SwiftyUI' in project 'SwiftyUI'
    Target 'SwiftyUI' in project 'SwiftyUI' (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 SwiftyUI normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftyUI' from project 'SwiftyUI')
    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 SwiftyUI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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 -profile-coverage-mapping -profile-generate -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 6 -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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI-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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI_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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftyUI normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftyUI' from project 'SwiftyUI')
    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 SwiftyUI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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 -profile-coverage-mapping -profile-generate -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 6 -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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI-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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI_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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI-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\ SwiftyUI (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/ImageSettable.swift:15:32: error: 'UIView' is unavailable in watchOS
13 | /// 走 layer 而非 UIImageView 的绘制路径,交由 GPU 合成。
14 | @MainActor
15 | public protocol ImageSettable: UIView {
   |                                `- error: 'UIView' is unavailable in watchOS
16 |   var backgroundImage: UIImage? { get set }
17 | }
/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/SwiftyAlertView.swift:20:63: error: 'UIEvent' is unavailable in watchOS
 18 |   /// 这里只把**命中区域**对称扩到至少 44pt,不改视觉:竖排相邻按钮间隔 10pt,
 19 |   /// 上下各扩 4.5pt 不会与邻居重叠。
 20 |   open override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
    |                                                               `- error: 'UIEvent' is unavailable in watchOS
 21 |     minimumHitTargetContains(point)
 22 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:12:31: error: 'UIButton' is unavailable in watchOS
 10 |
 11 | @MainActor
 12 | open class SwiftyAlertButton: UIButton {
    |                               `- error: 'UIButton' is unavailable in watchOS
 13 |   /// 可选而非隐式解包:hideView() 收尾时会把它清空,而同一个实例再次 showTitle
 14 |   /// 时重新上屏的正是这些按钮 —— 隐式解包的调用会在那次点击上 trap。
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
 47 |
 48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 49 | @interface UIButton : UIControl <NSCoding>
    |            `- note: 'UIButton' has been explicitly marked unavailable here
 50 |
 51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:28:58: error: 'UIEvent' is unavailable in watchOS
 26 | /// 与按钮同理只把命中区域扩到至少 44pt:文本框之间间隔 15pt,上下各扩 7pt 不会重叠。
 27 | final class SwiftyAlertTextField: UITextField {
 28 |   override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
    |                                                          `- error: 'UIEvent' is unavailable in watchOS
 29 |     minimumHitTargetContains(point)
 30 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:27:35: error: 'UITextField' is unavailable in watchOS
 25 | /// addTextField() 实际返回的类型。视觉高度是 30pt(见 layoutContents(in:)),
 26 | /// 与按钮同理只把命中区域扩到至少 44pt:文本框之间间隔 15pt,上下各扩 7pt 不会重叠。
 27 | final class SwiftyAlertTextField: UITextField {
    |                                   `- error: 'UITextField' is unavailable in watchOS
 28 |   override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
 29 |     minimumHitTargetContains(point)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
 51 |
 52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UITextField' has been explicitly marked unavailable here
 54 |
 55 | @property(nullable, nonatomic,copy)   NSString               *text;                 // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:33:11: error: 'UIView' is unavailable in watchOS
 31 | }
 32 |
 33 | extension UIView {
    |           `- error: 'UIView' is unavailable in watchOS
 34 |   /// 以 bounds 为中心、对称扩到至少 44×44pt 之后的区域是否包含 point。
 35 |   fileprivate func minimumHitTargetContains(_ point: CGPoint) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwiftyAlertView.swift:92:18: error: 'UIView' is unavailable in watchOS
 90 |
 91 |   // Members declaration
 92 |   var baseView = UIView()
    |                  `- error: 'UIView' is unavailable in watchOS
 93 |   var labelTitle = UILabel()
 94 |   var viewText = UITextView()
/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/SwiftyAlertView.swift:92:18: error: 'init()' is unavailable in watchOS
 90 |
 91 |   // Members declaration
 92 |   var baseView = UIView()
    |                  `- error: 'init()' is unavailable in watchOS
 93 |   var labelTitle = UILabel()
 94 |   var viewText = UITextView()
/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/SwiftyAlertView.swift:93:20: error: 'UILabel' is unavailable in watchOS
 91 |   // Members declaration
 92 |   var baseView = UIView()
 93 |   var labelTitle = UILabel()
    |                    `- error: 'UILabel' is unavailable in watchOS
 94 |   var viewText = UITextView()
 95 |   var contentView = 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/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:93:20: error: 'init()' is unavailable in watchOS
 91 |   // Members declaration
 92 |   var baseView = UIView()
 93 |   var labelTitle = UILabel()
    |                    `- error: 'init()' is unavailable in watchOS
 94 |   var viewText = UITextView()
 95 |   var contentView = 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/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/SwiftyAlertView.swift:94:18: error: 'UITextView' is unavailable in watchOS
 92 |   var baseView = UIView()
 93 |   var labelTitle = UILabel()
 94 |   var viewText = UITextView()
    |                  `- error: 'UITextView' is unavailable in watchOS
 95 |   var contentView = UIView()
 96 |   var circleBG = 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/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:94:18: error: 'init()' is unavailable in watchOS
 92 |   var baseView = UIView()
 93 |   var labelTitle = UILabel()
 94 |   var viewText = UITextView()
    |                  `- error: 'init()' is unavailable in watchOS
 95 |   var contentView = UIView()
 96 |   var circleBG = 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/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/SwiftyAlertView.swift:95:21: error: 'UIView' is unavailable in watchOS
 93 |   var labelTitle = UILabel()
 94 |   var viewText = UITextView()
 95 |   var contentView = UIView()
    |                     `- error: 'UIView' is unavailable in watchOS
 96 |   var circleBG = UIView(
 97 |     frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
/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/SwiftyAlertView.swift:95:21: error: 'init()' is unavailable in watchOS
 93 |   var labelTitle = UILabel()
 94 |   var viewText = UITextView()
 95 |   var contentView = UIView()
    |                     `- error: 'init()' is unavailable in watchOS
 96 |   var circleBG = UIView(
 97 |     frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
/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/SwiftyAlertView.swift:96:18: error: 'UIView' is unavailable in watchOS
 94 |   var viewText = UITextView()
 95 |   var contentView = UIView()
 96 |   var circleBG = UIView(
    |                  `- error: 'UIView' is unavailable in watchOS
 97 |     frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
 98 |   var circleView = 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/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/SwiftyAlertView.swift:98:20: error: 'UIView' is unavailable in watchOS
 96 |   var circleBG = UIView(
 97 |     frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
 98 |   var circleView = UIView()
    |                    `- error: 'UIView' is unavailable in watchOS
 99 |   var circleIconView: UIView?
100 |   var dismissBlock: (() -> Void)?
/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/SwiftyAlertView.swift:98:20: error: 'init()' is unavailable in watchOS
 96 |   var circleBG = UIView(
 97 |     frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
 98 |   var circleView = UIView()
    |                    `- error: 'init()' is unavailable in watchOS
 99 |   var circleIconView: UIView?
100 |   var dismissBlock: (() -> Void)?
/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/SwiftyAlertView.swift:99:23: error: 'UIView' is unavailable in watchOS
 97 |     frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
 98 |   var circleView = UIView()
 99 |   var circleIconView: UIView?
    |                       `- error: 'UIView' is unavailable in watchOS
100 |   var dismissBlock: (() -> Void)?
101 |   fileprivate var inputs = [UITextField]()
/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/SwiftyAlertView.swift:101:29: error: 'UITextField' is unavailable in watchOS
 99 |   var circleIconView: UIView?
100 |   var dismissBlock: (() -> Void)?
101 |   fileprivate var inputs = [UITextField]()
    |                             `- error: 'UITextField' is unavailable in watchOS
102 |   fileprivate var input = [UITextView]()
103 |   internal var buttons = [SwiftyAlertButton]()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
 51 |
 52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UITextField' has been explicitly marked unavailable here
 54 |
 55 | @property(nullable, nonatomic,copy)   NSString               *text;                 // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:102:28: error: 'UITextView' is unavailable in watchOS
100 |   var dismissBlock: (() -> Void)?
101 |   fileprivate var inputs = [UITextField]()
102 |   fileprivate var input = [UITextView]()
    |                            `- error: 'UITextView' is unavailable in watchOS
103 |   internal var buttons = [SwiftyAlertButton]()
104 |   fileprivate var selfReference: SwiftyAlertView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:464:52: error: 'UITouch' is unavailable in watchOS
462 |   }
463 |
464 |   override public func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                    `- error: 'UITouch' is unavailable in watchOS
465 |     if let count = event?.touches(for: view)?.count, count > 0 {
466 |       view.endEditing(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:464:74: error: 'UIEvent' is unavailable in watchOS
462 |   }
463 |
464 |   override public func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                          `- error: 'UIEvent' is unavailable in watchOS
465 |     if let count = event?.touches(for: view)?.count, count > 0 {
466 |       view.endEditing(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:471:55: error: 'UITextField' is unavailable in watchOS
469 |   }
470 |
471 |   public func addTextField(_ title: String? = nil) -> UITextField {
    |                                                       `- error: 'UITextField' is unavailable in watchOS
472 |     // Add text field
473 |     let txt = SwiftyAlertTextField()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
 51 |
 52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UITextField' has been explicitly marked unavailable here
 54 |
 55 | @property(nullable, nonatomic,copy)   NSString               *text;                 // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:486:32: error: 'UITextView' is unavailable in watchOS
484 |   }
485 |
486 |   public func addTextView() -> UITextView {
    |                                `- error: 'UITextView' is unavailable in watchOS
487 |     // Add text view
488 |     let txt = UITextView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:546:42: error: 'UITapGestureRecognizer' is unavailable in watchOS
544 |
545 |   //Dismiss keyboard when tapped outside textfield & close SwiftyAlertView when hideWhenBackgroundViewIsTapped
546 |   @objc func tapped(_ gestureRecognizer: UITapGestureRecognizer) {
    |                                          `- error: 'UITapGestureRecognizer' is unavailable in watchOS
547 |     self.view.endEditing(true)
548 |
/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/SwiftyAlertView.swift:81:37: error: 'UIViewController' is unavailable in watchOS
 79 | // The Main Class
 80 | @MainActor
 81 | public final class SwiftyAlertView: UIViewController {
    |                                     `- error: 'UIViewController' is unavailable in watchOS
 82 |
 83 |   let appearance: SwiftyAppearance
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyButton.swift:61:23: error: cannot override 'accessibilityLabel' which has been marked unavailable
59 |
60 |   /// 未显式设置时取当前标题。
61 |   public override var accessibilityLabel: String? {
   |                       |- error: cannot override 'accessibilityLabel' which has been marked unavailable
   |                       `- note: remove 'override' modifier to declare a new 'accessibilityLabel'
62 |     get { super.accessibilityLabel ?? titleLabel.text }
63 |     set { super.accessibilityLabel = newValue }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:64:49: note: 'accessibilityLabel' has been explicitly marked unavailable here
 62 |  Setting the property will change the label that is returned to the accessibility client.
 63 |  */
 64 | @property (nullable, nonatomic, copy) NSString *accessibilityLabel API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                                                 `- note: 'accessibilityLabel' has been explicitly marked unavailable here
 65 |
 66 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyButton.swift:12:28: error: 'UIControl' is unavailable in watchOS
10 |
11 | @MainActor
12 | public class SwiftyButton: UIControl, ImageSettable {
   |                            `- error: 'UIControl' is unavailable in watchOS
13 |   public lazy var titleLabel: SwiftyLabel = { [unowned self] in
14 |     let titleLabel = SwiftyLabel(nil, .black, .clear)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwiftyGlobal.swift:21:32: error: 'UIWindow' is unavailable in watchOS
 19 |   /// 1.x 返回非可选并强解包 `UIApplication.shared.keyWindow!`,无窗口时崩溃(B1)。
 20 |   /// 2.0 起返回可选,调用方需自行处理 nil。
 21 |   public static var keyWindow: UIWindow? {
    |                                `- error: 'UIWindow' is unavailable in watchOS
 22 |     UIApplication.shared.connectedScenes
 23 |       .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift:12:31: error: 'UIView' is unavailable in watchOS
 10 |
 11 | @MainActor
 12 | public class SwiftyImageView: UIView, ImageSettable {
    |                               `- error: 'UIView' is unavailable in watchOS
 13 |   public var backgroundImage: UIImage? {
 14 |     didSet { applyBackgroundImage(backgroundImage) }
/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/SwiftyImageView.swift:51:25: error: 'UIView' is unavailable in watchOS
 49 |     case custom(
 50 |       duration: TimeInterval,
 51 |       animationOptions: UIView.AnimationOptions,
    |                         `- error: 'UIView' is unavailable in watchOS
 52 |       animations: (SwiftyImageView, UIImage) -> Void,
 53 |       completion: ((Bool) -> Void)?
/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/SwiftyImageView.swift:81:34: error: 'UIView' is unavailable in watchOS
 79 |
 80 |     /// The animation options of the image transition.
 81 |     public var animationOptions: UIView.AnimationOptions {
    |                                  `- error: 'UIView' is unavailable in watchOS
 82 |       switch self {
 83 |       case .noTransition:
/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/SwiftyLabel.swift:21:27: error: 'NSTextContainer' is unavailable in watchOS
 19 |   // MARK: - TextKit
 20 |
 21 |   private let container = NSTextContainer()
    |                           `- error: 'NSTextContainer' is unavailable in watchOS
 22 |   private let layoutManager = NSLayoutManager()
 23 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
 34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
 35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
    |            `- note: 'NSTextContainer' has been explicitly marked unavailable here
 37 |
 38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:22:31: error: 'NSLayoutManager' is unavailable in watchOS
 20 |
 21 |   private let container = NSTextContainer()
 22 |   private let layoutManager = NSLayoutManager()
    |                               `- error: 'NSLayoutManager' is unavailable in watchOS
 23 |
 24 |   // MARK: - 存储属性
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:58:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
 56 |
 57 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0)) API_UNAVAILABLE(watchos)
 58 | @interface NSLayoutManager : NSObject <NSSecureCoding>
    |            `- note: 'NSLayoutManager' has been explicitly marked unavailable here
 59 |
 60 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:42:56: error: 'systemFontSize' is unavailable in watchOS
 40 |   }
 41 |
 42 |   public var font: UIFont = .systemFont(ofSize: UIFont.systemFontSize) {
    |                                                        `- error: 'systemFontSize' is unavailable in watchOS
 43 |     didSet { textLayoutDidChange() }
 44 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
    |                                               `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:101:23: error: cannot override 'accessibilityLabel' which has been marked unavailable
 99 |
100 |   /// 未显式设置时取当前文本。
101 |   public override var accessibilityLabel: String? {
    |                       |- error: cannot override 'accessibilityLabel' which has been marked unavailable
    |                       `- note: remove 'override' modifier to declare a new 'accessibilityLabel'
102 |     get { super.accessibilityLabel ?? attributedText?.string }
103 |     set { super.accessibilityLabel = newValue }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:64:49: note: 'accessibilityLabel' has been explicitly marked unavailable here
 62 |  Setting the property will change the label that is returned to the accessibility client.
 63 |  */
 64 | @property (nullable, nonatomic, copy) NSString *accessibilityLabel API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                                                 `- note: 'accessibilityLabel' has been explicitly marked unavailable here
 65 |
 66 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:17:27: error: 'UIView' is unavailable in watchOS
 15 | /// 至少 4 次哈希查找)。
 16 | @MainActor
 17 | public class SwiftyLabel: UIView, TextEditable {
    |                           `- error: 'UIView' is unavailable in watchOS
 18 |
 19 |   // MARK: - TextKit
/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/SwiftyToast.swift:83:38: error: 'UIWindow' is unavailable in watchOS
 81 |   /// 挪到 show() 的 `guard let window` 之后,一处修复同时解掉这两面,
 82 |   /// 而且窗口一定存在 —— 原来那句 `?? .zero` 的退化分支自然消失了。
 83 |   private func layoutView(in window: UIWindow) {
    |                                      `- error: 'UIWindow' is unavailable in watchOS
 84 |     let containerSize: CGSize = window.bounds.size
 85 |     let isPortrait: Bool = window.windowScene?.interfaceOrientation.isPortrait ?? true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift:13:26: error: 'UIView' is unavailable in watchOS
 11 | /// 轻量视图基类:自动维护 isOpaque,减少离屏混合。
 12 | @MainActor
 13 | public class SwiftyView: UIView {
    |                          `- error: 'UIView' is unavailable in watchOS
 14 |   public init() {
 15 |     super.init(frame: .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/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/SwiftyView.swift:41:35: error: 'UIView' is unavailable in watchOS
 39 |   /// 2.0 起本方法无副作用(B15)。
 40 |   @discardableResult
 41 |   public final func addTo(_ view: UIView) -> Self {
    |                                   `- error: 'UIView' is unavailable in watchOS
 42 |     view.addSubview(self)
 43 |     return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwiftyView.swift:35:11: error: 'UIView' is unavailable in watchOS
 33 | }
 34 |
 35 | extension UIView {
    |           `- error: 'UIView' is unavailable in watchOS
 36 |   /// 添加到父视图并返回自身,便于链式调用。
 37 |   ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwiftyView.swift:92:11: error: 'UIView' is unavailable in watchOS
 90 | }
 91 |
 92 | extension UIView {
    |           `- error: 'UIView' is unavailable in watchOS
 93 |   @objc
 94 |   fileprivate func swiftyui_setBackgroundColor(_ color: UIColor?) {
/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.
SwiftCompile normal arm64_32 (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/TextEditable.swift:56:31: error: 'UIView' is unavailable in watchOS
54 | /// SwiftyLabel 一个。2.0 起协议只声明契约,存储由实现者以真实属性提供。
55 | @MainActor
56 | public protocol TextEditable: UIView {
   |                               `- error: 'UIView' is unavailable in watchOS
57 |   var usesIntrinsicContentSize: Bool { get set }
58 |   var textAlignment: TextContentAlignment { get set }
/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.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift /Users/admin/builder/spi-builder-workspace/Sources/ImageSettable.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertIcons.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyButton.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyColor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyPromise.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyThreadPool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyTimer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyToast.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift /Users/admin/builder/spi-builder-workspace/Sources/TextEditable.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/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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftyUI -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI_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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI.abi.json
SwiftCompile normal arm64_32 Compiling\ SwiftyLabel.swift,\ SwiftyPromise.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyPromise.swift (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:21:27: error: 'NSTextContainer' is unavailable in watchOS
 19 |   // MARK: - TextKit
 20 |
 21 |   private let container = NSTextContainer()
    |                           `- error: 'NSTextContainer' is unavailable in watchOS
 22 |   private let layoutManager = NSLayoutManager()
 23 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
 34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
 35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
    |            `- note: 'NSTextContainer' has been explicitly marked unavailable here
 37 |
 38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:22:31: error: 'NSLayoutManager' is unavailable in watchOS
 20 |
 21 |   private let container = NSTextContainer()
 22 |   private let layoutManager = NSLayoutManager()
    |                               `- error: 'NSLayoutManager' is unavailable in watchOS
 23 |
 24 |   // MARK: - 存储属性
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:58:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
 56 |
 57 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0)) API_UNAVAILABLE(watchos)
 58 | @interface NSLayoutManager : NSObject <NSSecureCoding>
    |            `- note: 'NSLayoutManager' has been explicitly marked unavailable here
 59 |
 60 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:42:56: error: 'systemFontSize' is unavailable in watchOS
 40 |   }
 41 |
 42 |   public var font: UIFont = .systemFont(ofSize: UIFont.systemFontSize) {
    |                                                        `- error: 'systemFontSize' is unavailable in watchOS
 43 |     didSet { textLayoutDidChange() }
 44 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
    |                                               `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:101:23: error: cannot override 'accessibilityLabel' which has been marked unavailable
 99 |
100 |   /// 未显式设置时取当前文本。
101 |   public override var accessibilityLabel: String? {
    |                       |- error: cannot override 'accessibilityLabel' which has been marked unavailable
    |                       `- note: remove 'override' modifier to declare a new 'accessibilityLabel'
102 |     get { super.accessibilityLabel ?? attributedText?.string }
103 |     set { super.accessibilityLabel = newValue }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:64:49: note: 'accessibilityLabel' has been explicitly marked unavailable here
 62 |  Setting the property will change the label that is returned to the accessibility client.
 63 |  */
 64 | @property (nullable, nonatomic, copy) NSString *accessibilityLabel API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                                                 `- note: 'accessibilityLabel' has been explicitly marked unavailable here
 65 |
 66 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:17:27: error: 'UIView' is unavailable in watchOS
 15 | /// 至少 4 次哈希查找)。
 16 | @MainActor
 17 | public class SwiftyLabel: UIView, TextEditable {
    |                           `- error: 'UIView' is unavailable in watchOS
 18 |
 19 |   // MARK: - TextKit
/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/SwiftyLabel.swift:68:21: error: 'maximumNumberOfLines' is unavailable in watchOS
 66 |   /// 默认 0,表示不限行数。
 67 |   public var numberOfLines: Int {
 68 |     get { container.maximumNumberOfLines }
    |                     `- error: 'maximumNumberOfLines' is unavailable in watchOS
 69 |     set {
 70 |       container.maximumNumberOfLines = newValue
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:119:45: note: 'maximumNumberOfLines' has been explicitly marked unavailable here
117 | /// The default value of this property is `0`, which indicates that there is no
118 | /// limit.
119 | @property (NS_NONATOMIC_IOSONLY) NSUInteger maximumNumberOfLines API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    |                                             `- note: 'maximumNumberOfLines' has been explicitly marked unavailable here
120 |
121 | /**************************** Line fragments ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:70:17: error: 'maximumNumberOfLines' is unavailable in watchOS
 68 |     get { container.maximumNumberOfLines }
 69 |     set {
 70 |       container.maximumNumberOfLines = newValue
    |                 `- error: 'maximumNumberOfLines' is unavailable in watchOS
 71 |       textLayoutDidChange()
 72 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:119:45: note: 'maximumNumberOfLines' has been explicitly marked unavailable here
117 | /// The default value of this property is `0`, which indicates that there is no
118 | /// limit.
119 | @property (NS_NONATOMIC_IOSONLY) NSUInteger maximumNumberOfLines API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    |                                             `- note: 'maximumNumberOfLines' has been explicitly marked unavailable here
120 |
121 | /**************************** Line fragments ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:86:21: error: 'lineBreakMode' is unavailable in watchOS
 84 |   /// 默认 byTruncatingTail。
 85 |   public var lineBreakMode: NSLineBreakMode {
 86 |     get { container.lineBreakMode }
    |                     `- error: 'lineBreakMode' is unavailable in watchOS
 87 |     set {
 88 |       container.lineBreakMode = newValue
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:89:50: note: 'lineBreakMode' has been explicitly marked unavailable here
 87 | /// truncated. The default value of this property is
 88 | /// ``NSLineBreakMode/byWordWrapping``.
 89 | @property (NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    |                                                  `- note: 'lineBreakMode' has been explicitly marked unavailable here
 90 |
 91 | /// An array of path objects that represents the regions where text doesn't display in the text container.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:88:17: error: 'lineBreakMode' is unavailable in watchOS
 86 |     get { container.lineBreakMode }
 87 |     set {
 88 |       container.lineBreakMode = newValue
    |                 `- error: 'lineBreakMode' is unavailable in watchOS
 89 |       textLayoutDidChange()
 90 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:89:50: note: 'lineBreakMode' has been explicitly marked unavailable here
 87 | /// truncated. The default value of this property is
 88 | /// ``NSLineBreakMode/byWordWrapping``.
 89 | @property (NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    |                                                  `- note: 'lineBreakMode' has been explicitly marked unavailable here
 90 |
 91 | /// An array of path objects that represents the regions where text doesn't display in the text container.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:102:17: error: 'accessibilityLabel' is unavailable in watchOS
100 |   /// 未显式设置时取当前文本。
101 |   public override var accessibilityLabel: String? {
102 |     get { super.accessibilityLabel ?? attributedText?.string }
    |                 `- error: 'accessibilityLabel' is unavailable in watchOS
103 |     set { super.accessibilityLabel = newValue }
104 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:64:49: note: 'accessibilityLabel' has been explicitly marked unavailable here
 62 |  Setting the property will change the label that is returned to the accessibility client.
 63 |  */
 64 | @property (nullable, nonatomic, copy) NSString *accessibilityLabel API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                                                 `- note: 'accessibilityLabel' has been explicitly marked unavailable here
 65 |
 66 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:103:17: error: 'accessibilityLabel' is unavailable in watchOS
101 |   public override var accessibilityLabel: String? {
102 |     get { super.accessibilityLabel ?? attributedText?.string }
103 |     set { super.accessibilityLabel = newValue }
    |                 `- error: 'accessibilityLabel' is unavailable in watchOS
104 |   }
105 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:64:49: note: 'accessibilityLabel' has been explicitly marked unavailable here
 62 |  Setting the property will change the label that is returned to the accessibility client.
 63 |  */
 64 | @property (nullable, nonatomic, copy) NSString *accessibilityLabel API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                                                 `- note: 'accessibilityLabel' has been explicitly marked unavailable here
 65 |
 66 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:141:15: error: 'maximumNumberOfLines' is unavailable in watchOS
139 |     layoutManager.addTextContainer(container)
140 |
141 |     container.maximumNumberOfLines = 0
    |               `- error: 'maximumNumberOfLines' is unavailable in watchOS
142 |     container.lineFragmentPadding = 0
143 |     container.lineBreakMode = .byTruncatingTail
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:119:45: note: 'maximumNumberOfLines' has been explicitly marked unavailable here
117 | /// The default value of this property is `0`, which indicates that there is no
118 | /// limit.
119 | @property (NS_NONATOMIC_IOSONLY) NSUInteger maximumNumberOfLines API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    |                                             `- note: 'maximumNumberOfLines' has been explicitly marked unavailable here
120 |
121 | /**************************** Line fragments ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:143:15: error: 'lineBreakMode' is unavailable in watchOS
141 |     container.maximumNumberOfLines = 0
142 |     container.lineFragmentPadding = 0
143 |     container.lineBreakMode = .byTruncatingTail
    |               `- error: 'lineBreakMode' is unavailable in watchOS
144 |
145 |     isHidden = 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/NSTextContainer.h:89:50: note: 'lineBreakMode' has been explicitly marked unavailable here
 87 | /// truncated. The default value of this property is
 88 | /// ``NSLineBreakMode/byWordWrapping``.
 89 | @property (NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    |                                                  `- note: 'lineBreakMode' has been explicitly marked unavailable here
 90 |
 91 | /// An array of path objects that represents the regions where text doesn't display in the text container.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:151:5: error: 'isAccessibilityElement' is unavailable in watchOS
149 |     // 文本由 TextKit 自绘,不像 UILabel 那样自带无障碍暴露:默认按静态文本暴露,
150 |     // label 取当前文本(见 accessibilityLabel)。
151 |     isAccessibilityElement = true
    |     `- error: 'isAccessibilityElement' is unavailable in watchOS
152 |     accessibilityTraits = .staticText
153 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
 50 |  Setting the property to YES will cause the receiver to be visible to assistive applications.
 51 |  */
 52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                            `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
 53 |
 54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:152:5: error: 'accessibilityTraits' is unavailable in watchOS
150 |     // label 取当前文本(见 accessibilityLabel)。
151 |     isAccessibilityElement = true
152 |     accessibilityTraits = .staticText
    |     `- error: 'accessibilityTraits' is unavailable in watchOS
153 |
154 |     self.text = text
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:113:45: note: 'accessibilityTraits' has been explicitly marked unavailable here
111 |  Setting the property will change the traits that are returned to the accessibility client.
112 |  */
113 | @property (nonatomic) UIAccessibilityTraits accessibilityTraits API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                                             `- note: 'accessibilityTraits' has been explicitly marked unavailable here
114 |
115 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:183:19: error: 'NSTextStorage' is unavailable in watchOS
181 |     guard let attributedText = mergedAttributedText else { return }
182 |
183 |     let storage = NSTextStorage(attributedString: attributedText)
    |                   `- error: 'NSTextStorage' is unavailable in watchOS
184 |     storage.addLayoutManager(layoutManager)
185 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
 44 | /// `edited:range:changeInLength:` to get everything else to happen.
 45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
    |            `- note: 'NSTextStorage' has been explicitly marked unavailable here
 47 | /**************************** Pending edit info ****************************/
 48 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:189:15: error: 'size' is unavailable in watchOS
187 |     // (setNeedsDisplay(_:))时它只是 bounds 的一块,拿它当容器会把整段文本重排进去。
188 |     // 超出脏矩形的部分由 UIKit 的裁剪丢掉。
189 |     container.size = bounds.size
    |               `- error: 'size' is unavailable in watchOS
190 |     let used = layoutManager.usedRect(for: container)
191 |     let origin = textAlignment.alignOffset(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:80:41: note: 'size' has been explicitly marked unavailable here
 78 | /// If you don't specify an explicit size when you initialize a text container,
 79 | /// the system uses a default large size of (`10000000.0`, `10000000.0`).
 80 | @property (NS_NONATOMIC_IOSONLY) CGSize size API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    |                                         `- note: 'size' has been explicitly marked unavailable here
 81 |
 82 | /// The behavior of the last line inside the text container.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyLabel.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyPromise.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyPromise.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:213:19: error: 'NSTextStorage' is unavailable in watchOS
211 |     guard let attributedText = mergedAttributedText else { return .zero }
212 |
213 |     let storage = NSTextStorage(attributedString: attributedText)
    |                   `- error: 'NSTextStorage' is unavailable in watchOS
214 |     storage.addLayoutManager(layoutManager)
215 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
 44 | /// `edited:range:changeInLength:` to get everything else to happen.
 45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
    |            `- note: 'NSTextStorage' has been explicitly marked unavailable here
 47 | /**************************** Pending edit info ****************************/
 48 |
SwiftCompile normal arm64_32 Compiling\ SwiftyAlertView.swift,\ SwiftyButton.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyButton.swift (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:20:63: error: 'UIEvent' is unavailable in watchOS
 18 |   /// 这里只把**命中区域**对称扩到至少 44pt,不改视觉:竖排相邻按钮间隔 10pt,
 19 |   /// 上下各扩 4.5pt 不会与邻居重叠。
 20 |   open override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
    |                                                               `- error: 'UIEvent' is unavailable in watchOS
 21 |     minimumHitTargetContains(point)
 22 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:12:31: error: 'UIButton' is unavailable in watchOS
 10 |
 11 | @MainActor
 12 | open class SwiftyAlertButton: UIButton {
    |                               `- error: 'UIButton' is unavailable in watchOS
 13 |   /// 可选而非隐式解包:hideView() 收尾时会把它清空,而同一个实例再次 showTitle
 14 |   /// 时重新上屏的正是这些按钮 —— 隐式解包的调用会在那次点击上 trap。
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
 47 |
 48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 49 | @interface UIButton : UIControl <NSCoding>
    |            `- note: 'UIButton' has been explicitly marked unavailable here
 50 |
 51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:28:58: error: 'UIEvent' is unavailable in watchOS
 26 | /// 与按钮同理只把命中区域扩到至少 44pt:文本框之间间隔 15pt,上下各扩 7pt 不会重叠。
 27 | final class SwiftyAlertTextField: UITextField {
 28 |   override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
    |                                                          `- error: 'UIEvent' is unavailable in watchOS
 29 |     minimumHitTargetContains(point)
 30 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:27:35: error: 'UITextField' is unavailable in watchOS
 25 | /// addTextField() 实际返回的类型。视觉高度是 30pt(见 layoutContents(in:)),
 26 | /// 与按钮同理只把命中区域扩到至少 44pt:文本框之间间隔 15pt,上下各扩 7pt 不会重叠。
 27 | final class SwiftyAlertTextField: UITextField {
    |                                   `- error: 'UITextField' is unavailable in watchOS
 28 |   override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
 29 |     minimumHitTargetContains(point)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
 51 |
 52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UITextField' has been explicitly marked unavailable here
 54 |
 55 | @property(nullable, nonatomic,copy)   NSString               *text;                 // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:33:11: error: 'UIView' is unavailable in watchOS
 31 | }
 32 |
 33 | extension UIView {
    |           `- error: 'UIView' is unavailable in watchOS
 34 |   /// 以 bounds 为中心、对称扩到至少 44×44pt 之后的区域是否包含 point。
 35 |   fileprivate func minimumHitTargetContains(_ point: CGPoint) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwiftyAlertView.swift:92:18: error: 'UIView' is unavailable in watchOS
 90 |
 91 |   // Members declaration
 92 |   var baseView = UIView()
    |                  `- error: 'UIView' is unavailable in watchOS
 93 |   var labelTitle = UILabel()
 94 |   var viewText = UITextView()
/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/SwiftyAlertView.swift:92:18: error: 'init()' is unavailable in watchOS
 90 |
 91 |   // Members declaration
 92 |   var baseView = UIView()
    |                  `- error: 'init()' is unavailable in watchOS
 93 |   var labelTitle = UILabel()
 94 |   var viewText = UITextView()
/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/SwiftyAlertView.swift:93:20: error: 'UILabel' is unavailable in watchOS
 91 |   // Members declaration
 92 |   var baseView = UIView()
 93 |   var labelTitle = UILabel()
    |                    `- error: 'UILabel' is unavailable in watchOS
 94 |   var viewText = UITextView()
 95 |   var contentView = 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/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:93:20: error: 'init()' is unavailable in watchOS
 91 |   // Members declaration
 92 |   var baseView = UIView()
 93 |   var labelTitle = UILabel()
    |                    `- error: 'init()' is unavailable in watchOS
 94 |   var viewText = UITextView()
 95 |   var contentView = 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/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/SwiftyAlertView.swift:94:18: error: 'UITextView' is unavailable in watchOS
 92 |   var baseView = UIView()
 93 |   var labelTitle = UILabel()
 94 |   var viewText = UITextView()
    |                  `- error: 'UITextView' is unavailable in watchOS
 95 |   var contentView = UIView()
 96 |   var circleBG = 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/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:94:18: error: 'init()' is unavailable in watchOS
 92 |   var baseView = UIView()
 93 |   var labelTitle = UILabel()
 94 |   var viewText = UITextView()
    |                  `- error: 'init()' is unavailable in watchOS
 95 |   var contentView = UIView()
 96 |   var circleBG = 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/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/SwiftyAlertView.swift:95:21: error: 'UIView' is unavailable in watchOS
 93 |   var labelTitle = UILabel()
 94 |   var viewText = UITextView()
 95 |   var contentView = UIView()
    |                     `- error: 'UIView' is unavailable in watchOS
 96 |   var circleBG = UIView(
 97 |     frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
/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/SwiftyAlertView.swift:95:21: error: 'init()' is unavailable in watchOS
 93 |   var labelTitle = UILabel()
 94 |   var viewText = UITextView()
 95 |   var contentView = UIView()
    |                     `- error: 'init()' is unavailable in watchOS
 96 |   var circleBG = UIView(
 97 |     frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
/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/SwiftyAlertView.swift:96:18: error: 'UIView' is unavailable in watchOS
 94 |   var viewText = UITextView()
 95 |   var contentView = UIView()
 96 |   var circleBG = UIView(
    |                  `- error: 'UIView' is unavailable in watchOS
 97 |     frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
 98 |   var circleView = 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/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/SwiftyAlertView.swift:98:20: error: 'UIView' is unavailable in watchOS
 96 |   var circleBG = UIView(
 97 |     frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
 98 |   var circleView = UIView()
    |                    `- error: 'UIView' is unavailable in watchOS
 99 |   var circleIconView: UIView?
100 |   var dismissBlock: (() -> Void)?
/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/SwiftyAlertView.swift:98:20: error: 'init()' is unavailable in watchOS
 96 |   var circleBG = UIView(
 97 |     frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
 98 |   var circleView = UIView()
    |                    `- error: 'init()' is unavailable in watchOS
 99 |   var circleIconView: UIView?
100 |   var dismissBlock: (() -> Void)?
/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/SwiftyAlertView.swift:99:23: error: 'UIView' is unavailable in watchOS
 97 |     frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
 98 |   var circleView = UIView()
 99 |   var circleIconView: UIView?
    |                       `- error: 'UIView' is unavailable in watchOS
100 |   var dismissBlock: (() -> Void)?
101 |   fileprivate var inputs = [UITextField]()
/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/SwiftyAlertView.swift:101:29: error: 'UITextField' is unavailable in watchOS
 99 |   var circleIconView: UIView?
100 |   var dismissBlock: (() -> Void)?
101 |   fileprivate var inputs = [UITextField]()
    |                             `- error: 'UITextField' is unavailable in watchOS
102 |   fileprivate var input = [UITextView]()
103 |   internal var buttons = [SwiftyAlertButton]()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
 51 |
 52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UITextField' has been explicitly marked unavailable here
 54 |
 55 | @property(nullable, nonatomic,copy)   NSString               *text;                 // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:102:28: error: 'UITextView' is unavailable in watchOS
100 |   var dismissBlock: (() -> Void)?
101 |   fileprivate var inputs = [UITextField]()
102 |   fileprivate var input = [UITextView]()
    |                            `- error: 'UITextView' is unavailable in watchOS
103 |   internal var buttons = [SwiftyAlertButton]()
104 |   fileprivate var selfReference: SwiftyAlertView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:464:52: error: 'UITouch' is unavailable in watchOS
462 |   }
463 |
464 |   override public func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                    `- error: 'UITouch' is unavailable in watchOS
465 |     if let count = event?.touches(for: view)?.count, count > 0 {
466 |       view.endEditing(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:464:74: error: 'UIEvent' is unavailable in watchOS
462 |   }
463 |
464 |   override public func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
    |                                                                          `- error: 'UIEvent' is unavailable in watchOS
465 |     if let count = event?.touches(for: view)?.count, count > 0 {
466 |       view.endEditing(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
   |            `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType     type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:471:55: error: 'UITextField' is unavailable in watchOS
469 |   }
470 |
471 |   public func addTextField(_ title: String? = nil) -> UITextField {
    |                                                       `- error: 'UITextField' is unavailable in watchOS
472 |     // Add text field
473 |     let txt = SwiftyAlertTextField()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
 51 |
 52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UITextField' has been explicitly marked unavailable here
 54 |
 55 | @property(nullable, nonatomic,copy)   NSString               *text;                 // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:486:32: error: 'UITextView' is unavailable in watchOS
484 |   }
485 |
486 |   public func addTextView() -> UITextView {
    |                                `- error: 'UITextView' is unavailable in watchOS
487 |     // Add text view
488 |     let txt = UITextView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:546:42: error: 'UITapGestureRecognizer' is unavailable in watchOS
544 |
545 |   //Dismiss keyboard when tapped outside textfield & close SwiftyAlertView when hideWhenBackgroundViewIsTapped
546 |   @objc func tapped(_ gestureRecognizer: UITapGestureRecognizer) {
    |                                          `- error: 'UITapGestureRecognizer' is unavailable in watchOS
547 |     self.view.endEditing(true)
548 |
/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/SwiftyAlertView.swift:81:37: error: 'UIViewController' is unavailable in watchOS
 79 | // The Main Class
 80 | @MainActor
 81 | public final class SwiftyAlertView: UIViewController {
    |                                     `- error: 'UIViewController' is unavailable in watchOS
 82 |
 83 |   let appearance: SwiftyAppearance
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:138:7: error: 'UIView' is unavailable in watchOS
136 |     view.frame = SwiftyGlobal.keyWindow?.bounds ?? .zero
137 |     view.autoresizingMask = [
138 |       UIView.AutoresizingMask.flexibleHeight, UIView.AutoresizingMask.flexibleWidth,
    |       `- error: 'UIView' is unavailable in watchOS
139 |     ]
140 |     view.backgroundColor = UIColor(
/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/SwiftyAlertView.swift:138:47: error: 'UIView' is unavailable in watchOS
136 |     view.frame = SwiftyGlobal.keyWindow?.bounds ?? .zero
137 |     view.autoresizingMask = [
138 |       UIView.AutoresizingMask.flexibleHeight, UIView.AutoresizingMask.flexibleWidth,
    |                                               `- error: 'UIView' is unavailable in watchOS
139 |     ]
140 |     view.backgroundColor = UIColor(
/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/SwiftyAlertView.swift:143:10: error: 'accessibilityViewIsModal' is unavailable in watchOS
141 |       red: 0, green: 0, blue: 0, alpha: appearance.kDefaultShadowOpacity)
142 |     // 模态遮罩:VoiceOver 焦点不应跑到被遮住的内容上。
143 |     view.accessibilityViewIsModal = true
    |          `- error: 'accessibilityViewIsModal' is unavailable in watchOS
144 |     view.addSubview(baseView)
145 |     // Base View
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:167:28: note: 'accessibilityViewIsModal' has been explicitly marked unavailable here
165 |  default == NO
166 |  */
167 | @property (nonatomic) BOOL accessibilityViewIsModal API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                            `- note: 'accessibilityViewIsModal' has been explicitly marked unavailable here
168 |
169 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:190:24: error: 'UITapGestureRecognizer' is unavailable in watchOS
188 |     //Gesture Recognizer for tapping outside the textinput
189 |     if !appearance.disableTapGesture {
190 |       let tapGesture = UITapGestureRecognizer(
    |                        `- error: 'UITapGestureRecognizer' is unavailable in watchOS
191 |         target: self, action: #selector(SwiftyAlertView.tapped(_:)))
192 |       tapGesture.numberOfTapsRequired = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyAlertView.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyButton.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyButton.swift
SwiftCompile normal arm64_32 Compiling\ SwiftyToast.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyToast.swift (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyToast.swift:83:38: error: 'UIWindow' is unavailable in watchOS
 81 |   /// 挪到 show() 的 `guard let window` 之后,一处修复同时解掉这两面,
 82 |   /// 而且窗口一定存在 —— 原来那句 `?? .zero` 的退化分支自然消失了。
 83 |   private func layoutView(in window: UIWindow) {
    |                                      `- error: 'UIWindow' is unavailable in watchOS
 84 |     let containerSize: CGSize = window.bounds.size
 85 |     let isPortrait: Bool = window.windowScene?.interfaceOrientation.isPortrait ?? true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyToast.swift:85:35: error: 'windowScene' is unavailable in watchOS
 83 |   private func layoutView(in window: UIWindow) {
 84 |     let containerSize: CGSize = window.bounds.size
 85 |     let isPortrait: Bool = window.windowScene?.interfaceOrientation.isPortrait ?? true
    |                                   `- error: 'windowScene' is unavailable in watchOS
 86 |     let constraintSize: CGSize = CGSize(
 87 |       width: containerSize.width * (280.0 / 320.0), height: CGFloat.greatestFiniteMagnitude)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
 30 | // If nil, window will not appear on any screen.
 31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
 32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
    |                                                     `- note: 'windowScene' has been explicitly marked unavailable here
 33 |
 34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyToast.swift:85:69: error: 'isPortrait' is unavailable in watchOS
 83 |   private func layoutView(in window: UIWindow) {
 84 |     let containerSize: CGSize = window.bounds.size
 85 |     let isPortrait: Bool = window.windowScene?.interfaceOrientation.isPortrait ?? true
    |                                                                     `- error: 'isPortrait' is unavailable in watchOS
 86 |     let constraintSize: CGSize = CGSize(
 87 |       width: containerSize.width * (280.0 / 320.0), height: CGFloat.greatestFiniteMagnitude)
UIKit.UIInterfaceOrientation.isPortrait:3:14: note: 'isPortrait' has been explicitly marked unavailable here
1 | enum UIInterfaceOrientation {
2 | @available(watchOS, unavailable)
3 |   public var isPortrait: Bool { get }}
  |              `- note: 'isPortrait' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyToast.swift:126:23: error: 'post(notification:argument:)' is unavailable in watchOS
124 |       // toast 不会拿到 VoiceOver 焦点(alert 同时在屏时还被它的模态属性挡住),
125 |       // 不播报的话读屏用户根本不知道它出现过。没开 VoiceOver 时这是空操作。
126 |       UIAccessibility.post(notification: .announcement, argument: self.toastLabel.text)
    |                       `- error: 'post(notification:argument:)' is unavailable in watchOS
127 |
128 |       UIView.animate(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:521:19: note: 'post(notification:argument:)' has been explicitly marked unavailable here
519 |  See UIAccessibilityConstants.h for a list of notifications.
520 |  */
521 | UIKIT_EXTERN void UIAccessibilityPostNotification(UIAccessibilityNotifications notification, __nullable id argument) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                   `- note: 'post(notification:argument:)' has been explicitly marked unavailable here
522 |
523 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyToast.swift:128:7: error: 'UIView' is unavailable in watchOS
126 |       UIAccessibility.post(notification: .announcement, argument: self.toastLabel.text)
127 |
128 |       UIView.animate(
    |       `- error: 'UIView' is unavailable in watchOS
129 |         withDuration: 0.5, delay: 0.0, options: .beginFromCurrentState,
130 |         animations: {
/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/SwiftyToast.swift:134:11: error: 'UIView' is unavailable in watchOS
132 |         },
133 |         completion: { _ in
134 |           UIView.animate(
    |           `- error: 'UIView' is unavailable in watchOS
135 |             withDuration: 2.5,
136 |             animations: {
/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.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyToast.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyToast.swift
SwiftCompile normal arm64_32 Compiling\ SwiftyThreadPool.swift,\ SwiftyTimer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyThreadPool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyTimer.swift (in target 'SwiftyUI' from project 'SwiftyUI')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyThreadPool.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyThreadPool.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyTimer.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyTimer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyThreadPool.swift:59:16: error: 'UIApplication' is unavailable in watchOS
 57 |
 58 |     memoryWarningObserver = NotificationCenter.default.addObserver(
 59 |       forName: UIApplication.didReceiveMemoryWarningNotification,
    |                `- error: 'UIApplication' is unavailable in watchOS
 60 |       object: nil,
 61 |       queue: nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
 83 |
 84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 85 | @interface UIApplication : UIResponder
    |            `- note: 'UIApplication' has been explicitly marked unavailable here
 86 |
 87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
SwiftCompile normal arm64_32 Compiling\ SwiftyView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift:13:26: error: 'UIView' is unavailable in watchOS
 11 | /// 轻量视图基类:自动维护 isOpaque,减少离屏混合。
 12 | @MainActor
 13 | public class SwiftyView: UIView {
    |                          `- error: 'UIView' is unavailable in watchOS
 14 |   public init() {
 15 |     super.init(frame: .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/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/SwiftyView.swift:41:35: error: 'UIView' is unavailable in watchOS
 39 |   /// 2.0 起本方法无副作用(B15)。
 40 |   @discardableResult
 41 |   public final func addTo(_ view: UIView) -> Self {
    |                                   `- error: 'UIView' is unavailable in watchOS
 42 |     view.addSubview(self)
 43 |     return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwiftyView.swift:35:11: error: 'UIView' is unavailable in watchOS
 33 | }
 34 |
 35 | extension UIView {
    |           `- error: 'UIView' is unavailable in watchOS
 36 |   /// 添加到父视图并返回自身,便于链式调用。
 37 |   ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwiftyView.swift:92:11: error: 'UIView' is unavailable in watchOS
 90 | }
 91 |
 92 | extension UIView {
    |           `- error: 'UIView' is unavailable in watchOS
 93 |   @objc
 94 |   fileprivate func swiftyui_setBackgroundColor(_ color: UIColor?) {
/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/SwiftyView.swift:83:5: error: 'UIView' is unavailable in watchOS
 81 |     didEnableGlobalOpaqueOptimization = true
 82 |
 83 |     UIView.swizzleInstance(
    |     `- error: 'UIView' is unavailable in watchOS
 84 |       #selector(setter: UIView.backgroundColor),
 85 |       #selector(UIView.swiftyui_setBackgroundColor(_:)))
/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/SwiftyView.swift:84:25: error: 'UIView' is unavailable in watchOS
 82 |
 83 |     UIView.swizzleInstance(
 84 |       #selector(setter: UIView.backgroundColor),
    |                         `- error: 'UIView' is unavailable in watchOS
 85 |       #selector(UIView.swiftyui_setBackgroundColor(_:)))
 86 |     UIView.swizzleInstance(
/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/SwiftyView.swift:85:17: error: 'UIView' is unavailable in watchOS
 83 |     UIView.swizzleInstance(
 84 |       #selector(setter: UIView.backgroundColor),
 85 |       #selector(UIView.swiftyui_setBackgroundColor(_:)))
    |                 `- error: 'UIView' is unavailable in watchOS
 86 |     UIView.swizzleInstance(
 87 |       #selector(setter: UIView.alpha),
/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/SwiftyView.swift:86:5: error: 'UIView' is unavailable in watchOS
 84 |       #selector(setter: UIView.backgroundColor),
 85 |       #selector(UIView.swiftyui_setBackgroundColor(_:)))
 86 |     UIView.swizzleInstance(
    |     `- error: 'UIView' is unavailable in watchOS
 87 |       #selector(setter: UIView.alpha),
 88 |       #selector(UIView.swiftyui_setAlpha(_:)))
/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/SwiftyView.swift:87:25: error: 'UIView' is unavailable in watchOS
 85 |       #selector(UIView.swiftyui_setBackgroundColor(_:)))
 86 |     UIView.swizzleInstance(
 87 |       #selector(setter: UIView.alpha),
    |                         `- error: 'UIView' is unavailable in watchOS
 88 |       #selector(UIView.swiftyui_setAlpha(_:)))
 89 |   }
/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.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyView.swift
SwiftCompile normal arm64_32 Compiling\ SwiftyImage.swift,\ SwiftyImageView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift:31:31: error: 'preparingForDisplay()' is unavailable in watchOS
 29 |     // 手里没有原对象,换成副本不影响任何人。拿不到副本时退回 inflate()。
 30 |     let image: UIImage
 31 |     if let decoded = oriImage.preparingForDisplay() {
    |                               `- error: 'preparingForDisplay()' is unavailable in watchOS
 32 |       decoded.isInflated = true
 33 |       image = decoded
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h:296:1: note: 'preparingForDisplay()' has been explicitly marked unavailable here
294 | ///
295 | /// @note The prepared `UIImage` is not related to the original image. If the properties of the screen (such as its resolution or color gamut) change, or if the image is displayed on a different screen that the one it was prepared for, it may not render correctly.
296 | - (nullable UIImage *)imageByPreparingForDisplay API_AVAILABLE(ios(15.0), tvos(15.0)) API_UNAVAILABLE(watchos);
    | `- note: 'preparingForDisplay()' has been explicitly marked unavailable here
297 |
298 | /// Decodes an image asynchronously and provides a new one for display in views and animations.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift:179:18: error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
177 |   /// drawing 在 UIKit 的当前上下文里执行。库里的绘图都走这里(SwiftyAlertIcons 也用)。
178 |   static func render(size: CGSize, opaque: Bool, _ drawing: () -> Void) -> UIImage {
179 |     let format = UIGraphicsImageRendererFormat()
    |                  `- error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
180 |     format.opaque = opaque
181 |     format.preferredRange = .standard
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:27:12: note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
25 |
26 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos)
27 | @interface UIGraphicsImageRendererFormat : UIGraphicsRendererFormat
   |            `- note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
28 |
29 | @property (nonatomic) CGFloat scale; // display scale of the context. The preferredFormat uses the scale most appropriate for the main screen's current configuration.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift:181:12: error: 'preferredRange' is unavailable in watchOS
179 |     let format = UIGraphicsImageRendererFormat()
180 |     format.opaque = opaque
181 |     format.preferredRange = .standard
    |            `- error: 'preferredRange' is unavailable in watchOS
182 |     return UIGraphicsImageRenderer(size: size, format: format).image { _ in drawing() }
183 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:34:58: note: 'preferredRange' has been explicitly marked unavailable here
32 | @property (nonatomic, readonly, assign) BOOL supportsHighDynamicRange API_AVAILABLE(ios(17.0), tvos(17.0)) API_UNAVAILABLE(watchos); /// indicates if the format supports high dynamic range rendering.
33 |
34 | @property (nonatomic) UIGraphicsImageRendererFormatRange preferredRange API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos);
   |                                                          `- note: 'preferredRange' has been explicitly marked unavailable here
35 |
36 | // Returns a format optimized for the specified trait collection, taking into account properties such as displayScale and displayGamut.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift:182:12: error: 'UIGraphicsImageRenderer' is unavailable in watchOS
180 |     format.opaque = opaque
181 |     format.preferredRange = .standard
182 |     return UIGraphicsImageRenderer(size: size, format: format).image { _ in drawing() }
    |            `- error: 'UIGraphicsImageRenderer' is unavailable in watchOS
183 |   }
184 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:47:12: note: 'UIGraphicsImageRenderer' has been explicitly marked unavailable here
45 |
46 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos)
47 | @interface UIGraphicsImageRenderer : UIGraphicsRenderer
   |            `- note: 'UIGraphicsImageRenderer' has been explicitly marked unavailable here
48 | - (instancetype)initWithSize:(CGSize)size;
49 | - (instancetype)initWithSize:(CGSize)size format:(UIGraphicsImageRendererFormat *)format NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift:213:16: error: 'UIApplication' is unavailable in watchOS
211 |   init() {
212 |     memoryWarningObserver = NotificationCenter.default.addObserver(
213 |       forName: UIApplication.didReceiveMemoryWarningNotification,
    |                `- error: 'UIApplication' is unavailable in watchOS
214 |       object: nil,
215 |       queue: nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
 83 |
 84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 85 | @interface UIApplication : UIResponder
    |            `- note: 'UIApplication' has been explicitly marked unavailable here
 86 |
 87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift:213:30: error: 'didReceiveMemoryWarningNotification' is unavailable in watchOS
211 |   init() {
212 |     memoryWarningObserver = NotificationCenter.default.addObserver(
213 |       forName: UIApplication.didReceiveMemoryWarningNotification,
    |                              `- error: 'didReceiveMemoryWarningNotification' is unavailable in watchOS
214 |       object: nil,
215 |       queue: nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:575:39: note: 'didReceiveMemoryWarningNotification' has been explicitly marked unavailable here
573 | UIKIT_EXTERN NSNotificationName const UIApplicationDidBecomeActiveNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
574 | UIKIT_EXTERN NSNotificationName const UIApplicationWillResignActiveNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
575 | UIKIT_EXTERN NSNotificationName const UIApplicationDidReceiveMemoryWarningNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
    |                                       `- note: 'didReceiveMemoryWarningNotification' has been explicitly marked unavailable here
576 | UIKIT_EXTERN NSNotificationName const UIApplicationWillTerminateNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
577 | UIKIT_EXTERN NSNotificationName const UIApplicationSignificantTimeChangeNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift:12:31: error: 'UIView' is unavailable in watchOS
 10 |
 11 | @MainActor
 12 | public class SwiftyImageView: UIView, ImageSettable {
    |                               `- error: 'UIView' is unavailable in watchOS
 13 |   public var backgroundImage: UIImage? {
 14 |     didSet { applyBackgroundImage(backgroundImage) }
/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/SwiftyImageView.swift:51:25: error: 'UIView' is unavailable in watchOS
 49 |     case custom(
 50 |       duration: TimeInterval,
 51 |       animationOptions: UIView.AnimationOptions,
    |                         `- error: 'UIView' is unavailable in watchOS
 52 |       animations: (SwiftyImageView, UIImage) -> Void,
 53 |       completion: ((Bool) -> Void)?
/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/SwiftyImageView.swift:81:34: error: 'UIView' is unavailable in watchOS
 79 |
 80 |     /// The animation options of the image transition.
 81 |     public var animationOptions: UIView.AnimationOptions {
    |                                  `- error: 'UIView' is unavailable in watchOS
 82 |       switch self {
 83 |       case .noTransition:
/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/SwiftyImageView.swift:84:16: error: 'UIView' is unavailable in watchOS
 82 |       switch self {
 83 |       case .noTransition:
 84 |         return UIView.AnimationOptions()
    |                `- error: 'UIView' is unavailable in watchOS
 85 |       case .crossDissolve:
 86 |         return .transitionCrossDissolve
/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.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyImage.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyImageView.swift
SwiftCompile normal arm64_32 Compiling\ ImageCacheable.swift,\ ImageSettable.swift /Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift /Users/admin/builder/spi-builder-workspace/Sources/ImageSettable.swift (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/ImageSettable.swift:15:32: error: 'UIView' is unavailable in watchOS
13 | /// 走 layer 而非 UIImageView 的绘制路径,交由 GPU 合成。
14 | @MainActor
15 | public protocol ImageSettable: UIView {
   |                                `- error: 'UIView' is unavailable in watchOS
16 |   var backgroundImage: UIImage? { get set }
17 | }
/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/ImageSettable.swift:45:18: error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
43 |     if imageOrientation == .up, let cgImage { return cgImage }
44 |     guard size.width > 0, size.height > 0 else { return cgImage }
45 |     let format = UIGraphicsImageRendererFormat()
   |                  `- error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
46 |     format.scale = scale
47 |     format.opaque = 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/UIGraphicsImageRenderer.h:27:12: note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
25 |
26 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos)
27 | @interface UIGraphicsImageRendererFormat : UIGraphicsRendererFormat
   |            `- note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
28 |
29 | @property (nonatomic) CGFloat scale; // display scale of the context. The preferredFormat uses the scale most appropriate for the main screen's current configuration.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ImageCacheable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ImageSettable.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ImageSettable.swift
SwiftCompile normal arm64_32 Compiling\ SwiftyAlertIcons.swift,\ SwiftyAlertStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertIcons.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertStyle.swift (in target 'SwiftyUI' from project 'SwiftyUI')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertIcons.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyAlertIcons.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertStyle.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyAlertStyle.swift
SwiftCompile normal arm64_32 Compiling\ SwiftyColor.swift,\ SwiftyGlobal.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyColor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyColor.swift:240:18: error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
238 |     // 出图(@3x 设备上 750px 宽):像素量是设计值的 9 倍,而下方 x∈[5,10] 的背景采样带
239 |     // 随 scale 落在图上不同的位置,同一张图在不同设备上取出不同的颜色。
240 |     let format = UIGraphicsImageRendererFormat()
    |                  `- error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
241 |     format.scale = 1
242 |     format.opaque = isOpaque
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:27:12: note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
25 |
26 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos)
27 | @interface UIGraphicsImageRendererFormat : UIGraphicsRendererFormat
   |            `- note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
28 |
29 | @property (nonatomic) CGFloat scale; // display scale of the context. The preferredFormat uses the scale most appropriate for the main screen's current configuration.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyColor.swift:243:12: error: 'preferredRange' is unavailable in watchOS
241 |     format.scale = 1
242 |     format.opaque = isOpaque
243 |     format.preferredRange = .standard
    |            `- error: 'preferredRange' is unavailable in watchOS
244 |     let targetSize = CGSize(width: r_width, height: targetHeight)
245 |     let downsampled = UIGraphicsImageRenderer(size: targetSize, format: format).image { _ in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:34:58: note: 'preferredRange' has been explicitly marked unavailable here
32 | @property (nonatomic, readonly, assign) BOOL supportsHighDynamicRange API_AVAILABLE(ios(17.0), tvos(17.0)) API_UNAVAILABLE(watchos); /// indicates if the format supports high dynamic range rendering.
33 |
34 | @property (nonatomic) UIGraphicsImageRendererFormatRange preferredRange API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos);
   |                                                          `- note: 'preferredRange' has been explicitly marked unavailable here
35 |
36 | // Returns a format optimized for the specified trait collection, taking into account properties such as displayScale and displayGamut.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyColor.swift:245:23: error: 'UIGraphicsImageRenderer' is unavailable in watchOS
243 |     format.preferredRange = .standard
244 |     let targetSize = CGSize(width: r_width, height: targetHeight)
245 |     let downsampled = UIGraphicsImageRenderer(size: targetSize, format: format).image { _ in
    |                       `- error: 'UIGraphicsImageRenderer' is unavailable in watchOS
246 |       draw(in: CGRect(origin: .zero, size: targetSize))
247 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:47:12: note: 'UIGraphicsImageRenderer' has been explicitly marked unavailable here
45 |
46 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos)
47 | @interface UIGraphicsImageRenderer : UIGraphicsRenderer
   |            `- note: 'UIGraphicsImageRenderer' has been explicitly marked unavailable here
48 | - (instancetype)initWithSize:(CGSize)size;
49 | - (instancetype)initWithSize:(CGSize)size format:(UIGraphicsImageRendererFormat *)format NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift:21:32: error: 'UIWindow' is unavailable in watchOS
 19 |   /// 1.x 返回非可选并强解包 `UIApplication.shared.keyWindow!`,无窗口时崩溃(B1)。
 20 |   /// 2.0 起返回可选,调用方需自行处理 nil。
 21 |   public static var keyWindow: UIWindow? {
    |                                `- error: 'UIWindow' is unavailable in watchOS
 22 |     UIApplication.shared.connectedScenes
 23 |       .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift:22:5: error: 'UIApplication' is unavailable in watchOS
 20 |   /// 2.0 起返回可选,调用方需自行处理 nil。
 21 |   public static var keyWindow: UIWindow? {
 22 |     UIApplication.shared.connectedScenes
    |     `- error: 'UIApplication' is unavailable in watchOS
 23 |       .compactMap { $0 as? UIWindowScene }
 24 |       .first { $0.activationState == .foregroundActive }?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
 83 |
 84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 85 | @interface UIApplication : UIResponder
    |            `- note: 'UIApplication' has been explicitly marked unavailable here
 86 |
 87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift:22:26: error: 'connectedScenes' is unavailable in watchOS
 20 |   /// 2.0 起返回可选,调用方需自行处理 nil。
 21 |   public static var keyWindow: UIWindow? {
 22 |     UIApplication.shared.connectedScenes
    |                          `- error: 'connectedScenes' is unavailable in watchOS
 23 |       .compactMap { $0 as? UIWindowScene }
 24 |       .first { $0.activationState == .foregroundActive }?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:189:50: note: 'connectedScenes' has been explicitly marked unavailable here
187 | #pragma mark -- UIScene --
188 | // All of the currently connected UIScene instances
189 | @property(nonatomic, readonly) NSSet<UIScene *> *connectedScenes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
    |                                                  `- note: 'connectedScenes' has been explicitly marked unavailable here
190 |
191 | // All of the representations that currently have connected UIScene instances or had their sessions persisted by the system (ex: visible in iOS' switcher)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift:23:28: error: 'UIWindowScene' is unavailable in watchOS
 21 |   public static var keyWindow: UIWindow? {
 22 |     UIApplication.shared.connectedScenes
 23 |       .compactMap { $0 as? UIWindowScene }
    |                            `- error: 'UIWindowScene' is unavailable in watchOS
 24 |       .first { $0.activationState == .foregroundActive }?
 25 |       .keyWindow
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindowScene : UIScene
    |            `- note: 'UIWindowScene' has been explicitly marked unavailable here
 23 |
 24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift:25:8: error: 'keyWindow' is unavailable in watchOS
 23 |       .compactMap { $0 as? UIWindowScene }
 24 |       .first { $0.activationState == .foregroundActive }?
 25 |       .keyWindow
    |        `- error: 'keyWindow' is unavailable in watchOS
 26 |   }
 27 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:45:61: note: 'keyWindow' has been explicitly marked unavailable here
 43 |
 44 | // The key window for this UIWindowScene
 45 | @property (nonatomic, readonly, strong, nullable) UIWindow *keyWindow API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
    |                                                             `- note: 'keyWindow' has been explicitly marked unavailable here
 46 |
 47 | /// An optional object used as a source of scene-level activity items configuration
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift:35:16: error: 'windowScene' is unavailable in watchOS
 33 |
 34 |   public static var statusHeight: CGFloat {
 35 |     keyWindow?.windowScene?.statusBarManager?.statusBarFrame.height ?? 0
    |                `- error: 'windowScene' is unavailable in watchOS
 36 |   }
 37 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
 30 | // If nil, window will not appear on any screen.
 31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
 32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
    |                                                     `- note: 'windowScene' has been explicitly marked unavailable here
 33 |
 34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyColor.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyColor.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift (in target 'SwiftyUI' from project 'SwiftyUI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SwiftyGlobal.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftyUI (in target 'SwiftyUI' from project 'SwiftyUI')
SwiftCompile normal arm64 (in target 'SwiftyUI' from project 'SwiftyUI')
    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/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-30 17:07:58.898 xcodebuild[794:4776] [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 'SwiftyUI' from project 'SwiftyUI')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftyUI (in target 'SwiftyUI' from project 'SwiftyUI')
	Building workspace SwiftyUI with scheme SwiftyUI
(3 failures)
BUILD FAILURE 6.4 watchOS