The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Y_SwiftUIAlert, reference 1.0.1 (81551d), with Swift 6.4 for watchOS using Xcode 27.0 on 22 Sep 2026 22:12:05 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 Y_SwiftUIAlert -destination generic/platform=watchOS

Build Log

 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/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
   |            `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:25:40: error: 'UIAlertAction' is unavailable in watchOS
 23 |
 24 |     // MARK: - 私有初始化方法
 25 |     private init(title: String, style: UIAlertAction.Style, actionType: Y_AlertActionType) {
    |                                        `- error: 'UIAlertAction' is unavailable in watchOS
 26 |         self.title = title
 27 |         self.style = style
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
   |            `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertConfig.swift:15:32: error: 'UIAlertController' is unavailable in watchOS
 13 |     case actionSheet    // ActionSheet样式
 14 |
 15 |     internal var uiAlertStyle: UIAlertController.Style {
    |                                `- error: 'UIAlertController' is unavailable in watchOS
 16 |         switch self {
 17 |         case .alert:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:13:32: error: 'UIWindow' is unavailable in watchOS
 11 | // MARK: - 窗口提供协议(便于测试)
 12 | public protocol Y_WindowProviding {
 13 |     func getCurrentWindow() -> UIWindow?
    |                                `- error: 'UIWindow' is unavailable in watchOS
 14 |     func getTopViewController() -> UIViewController?
 15 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Y_SwiftUIAlert/Y_AlertManager.swift:14:36: error: 'UIViewController' is unavailable in watchOS
 12 | public protocol Y_WindowProviding {
 13 |     func getCurrentWindow() -> UIWindow?
 14 |     func getTopViewController() -> UIViewController?
    |                                    `- error: 'UIViewController' is unavailable in watchOS
 15 | }
 16 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Y_SwiftUIAlert/Y_AlertManager.swift:21:39: error: 'UIWindow' is unavailable in watchOS
 19 |     public init() {}
 20 |
 21 |     public func getCurrentWindow() -> UIWindow? {
    |                                       `- error: 'UIWindow' is unavailable in watchOS
 22 |         guard let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
 23 |               let window = windowScene.windows.first(where: { $0.isKeyWindow }) else {
/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/Y_SwiftUIAlert/Y_AlertManager.swift:30:43: error: 'UIViewController' is unavailable in watchOS
 28 |     }
 29 |
 30 |     public func getTopViewController() -> UIViewController? {
    |                                           `- error: 'UIViewController' is unavailable in watchOS
 31 |         guard let window = getCurrentWindow(),
 32 |               let rootViewController = window.rootViewController else {
/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/Y_SwiftUIAlert/Y_AlertManager.swift:40:60: error: 'UIViewController' is unavailable in watchOS
 38 |     }
 39 |
 40 |     private func getTopViewController(from viewController: UIViewController) -> UIViewController {
    |                                                            `- error: 'UIViewController' is unavailable in watchOS
 41 |         if let presentedViewController = viewController.presentedViewController {
 42 |             return getTopViewController(from: presentedViewController)
/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/Y_SwiftUIAlert/Y_AlertManager.swift:40:81: error: 'UIViewController' is unavailable in watchOS
 38 |     }
 39 |
 40 |     private func getTopViewController(from viewController: UIViewController) -> UIViewController {
    |                                                                                 `- error: 'UIViewController' is unavailable in watchOS
 41 |         if let presentedViewController = viewController.presentedViewController {
 42 |             return getTopViewController(from: presentedViewController)
/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/Y_SwiftUIAlert/Y_AlertManager.swift:71:46: error: 'UIAlertController' is unavailable in watchOS
 69 |
 70 |     // 当前展示的Alert控制器(用于验证更新)
 71 |     private weak var currentAlertController: UIAlertController?
    |                                              `- error: 'UIAlertController' is unavailable in watchOS
 72 |     private var currentConfig: Y_AlertConfig?
 73 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:81:29: error: 'UITextField' is unavailable in watchOS
 79 |     /// 注意:callback闭包也可能需要弱引用处理
 80 |     private class WeakTextFieldCallback {
 81 |         weak var textField: UITextField?
    |                             `- error: 'UITextField' is unavailable in watchOS
 82 |         private let callback: (String) -> Void
 83 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Y_SwiftUIAlert/Y_AlertManager.swift:84:25: error: 'UITextField' is unavailable in watchOS
 82 |         private let callback: (String) -> Void
 83 |
 84 |         init(textField: UITextField, callback: @escaping (String) -> Void) {
    |                         `- error: 'UITextField' is unavailable in watchOS
 85 |             self.textField = textField
 86 |             // 使用weakly captured callback避免循环引用
/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/Y_SwiftUIAlert/Y_AlertManager.swift:152:78: error: 'UIAlertController' is unavailable in watchOS
150 |
151 |     /// 创建UIAlertController
152 |     private func createAlertController(from config: Y_AlertConfig) throws -> UIAlertController {
    |                                                                              `- error: 'UIAlertController' is unavailable in watchOS
153 |         // 创建新的AlertController
154 |         let alertController = UIAlertController(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:205:50: error: 'UITextField' is unavailable in watchOS
203 |
204 |     /// 配置TextField
205 |     private func configureTextField(_ textField: UITextField, with config: Y_TextFieldConfig, index: Int) {
    |                                                  `- error: 'UITextField' is unavailable in watchOS
206 |         debugLog("🔧 配置TextField[\(index)]: '\(config.placeholder)'")
207 |
/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/Y_SwiftUIAlert/Y_AlertManager.swift:263:56: error: 'UITextField' is unavailable in watchOS
261 |     // MARK: - TextField事件处理
262 |
263 |     @objc private func textFieldDidChange(_ textField: UITextField) {
    |                                                        `- error: 'UITextField' is unavailable in watchOS
264 |         let text = textField.text ?? ""
265 |
/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/Y_SwiftUIAlert/Y_AlertManager.swift:304:59: error: 'UITextField' is unavailable in watchOS
302 |     }
303 |
304 |     @objc private func textFieldEditingBegan(_ textField: UITextField) {
    |                                                           `- error: 'UITextField' is unavailable in watchOS
305 |         if let config = getCurrentTextFieldConfig(for: textField) {
306 |             config.onEditingBegan?()
/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/Y_SwiftUIAlert/Y_AlertManager.swift:310:59: error: 'UITextField' is unavailable in watchOS
308 |     }
309 |
310 |     @objc private func textFieldEditingEnded(_ textField: UITextField) {
    |                                                           `- error: 'UITextField' is unavailable in watchOS
311 |         if let config = getCurrentTextFieldConfig(for: textField) {
312 |             config.onEditingEnded?()
/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
SwiftCompile normal arm64 (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:317:59: error: 'UITextField' is unavailable in watchOS
315 |
316 |     /// 获取TextField对应的配置
317 |     private func getCurrentTextFieldConfig(for textField: UITextField) -> Y_TextFieldConfig? {
    |                                                           `- error: 'UITextField' is unavailable in watchOS
318 |         guard let alertController = currentAlertController,
319 |               let config = currentConfig,
/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/Y_SwiftUIAlert/Y_AlertManager.swift:352:55: error: 'UITextField' is unavailable in watchOS
350 |
351 |     /// 验证所有TextField
352 |     private func validateAllTextFields(_ textFields: [UITextField], configs: [Y_TextFieldConfig]) -> Bool {
    |                                                       `- error: 'UITextField' is unavailable in watchOS
353 |         guard textFields.count == configs.count else {
354 |             return 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/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/Y_SwiftUIAlert/Y_AlertManager.swift:367:55: error: 'UITextField' is unavailable in watchOS
365 |
366 |     /// 验证单个TextField
367 |     private func validateSingleTextField(_ textField: UITextField, with config: Y_TextFieldConfig) -> Bool {
    |                                                       `- error: 'UITextField' is unavailable in watchOS
368 |         let text = textField.text ?? ""
369 |
/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/Y_SwiftUIAlert/Y_AlertManager.swift:385:79: error: 'UIAlertController' is unavailable in watchOS
383 |
384 |     /// 处理Action点击
385 |     private func handleActionTapped(_ action: Y_AlertAction, alertController: UIAlertController, config: Y_AlertConfig) {
    |                                                                               `- error: 'UIAlertController' is unavailable in watchOS
386 |         debugLog("🎯 用户点击: '\(action.title)'")
387 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:65:30: warning: conformance of 'Y_AlertManager' to protocol 'Y_AlertPresentable' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
 63 | // MARK: - Alert管理器
 64 | @MainActor
 65 | public class Y_AlertManager: Y_AlertPresentable, ObservableObject {
    |                              |- warning: conformance of 'Y_AlertManager' to protocol 'Y_AlertPresentable' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
    |                              |- note: isolate this conformance to the main actor with '@MainActor'
    |                              `- note: turn data races into runtime errors with '@preconcurrency'
 66 |     public static let shared = Y_AlertManager()
 67 |
    :
115 |
116 |     /// 展示Alert(带完成回调)
117 |     public func presentAlert(_ config: Y_AlertConfig, completion: ((Result<Void, Y_AlertError>) -> Void)? = nil) {
    |                 |- note: main actor-isolated instance method 'presentAlert(_:completion:)' cannot satisfy nonisolated requirement
    |                 `- note: mark instance method 'presentAlert(_:completion:)' 'nonisolated'
118 |         debugLog("📱 准备展示Alert: '\(config.title)'")
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:422:17: warning: 'public' modifier is redundant for static method declared in a public extension
420 |
421 |     /// 开启调试日志输出
422 |     nonisolated public static func enableDebugLog() {
    |                 `- warning: 'public' modifier is redundant for static method declared in a public extension
423 |         Y_AlertManager.logEnabled = true
424 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:427:17: warning: 'public' modifier is redundant for static method declared in a public extension
425 |
426 |     /// 关闭调试日志输出
427 |     nonisolated public static func disableDebugLog() {
    |                 `- warning: 'public' modifier is redundant for static method declared in a public extension
428 |         Y_AlertManager.logEnabled = false
429 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertModifier.swift:33:77: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 31 |     let manager: Y_AlertManager
 32 |
 33 |     public init(config: Binding<Y_AlertConfig?>, manager: Y_AlertManager = .shared) {
    |                                                                             `- warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 34 |         self._config = config
 35 |         self.manager = manager
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:66:23: note: static property declared here
 64 | @MainActor
 65 | public class Y_AlertManager: Y_AlertPresentable, ObservableObject {
 66 |     public static let shared = Y_AlertManager()
    |                       `- note: static property declared here
 67 |
 68 |     private let windowProvider: Y_WindowProviding
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertModifier.swift:77:36: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 75 |         isPresented: Binding<Bool>,
 76 |         configFactory: @escaping () -> Y_AlertConfig?,
 77 |         manager: Y_AlertManager = .shared
    |                                    `- warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 78 |     ) {
 79 |         self._isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:66:23: note: static property declared here
 64 | @MainActor
 65 | public class Y_AlertManager: Y_AlertPresentable, ObservableObject {
 66 |     public static let shared = Y_AlertManager()
    |                       `- note: static property declared here
 67 |
 68 |     private let windowProvider: Y_WindowProviding
SwiftCompile normal arm64 Compiling\ Y_AlertConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertConfig.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertConfig.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Y_AlertConfig.swift
SwiftCompile normal arm64 Compiling\ Y_AlertModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertModifier.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertModifier.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Y_AlertModifier.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-22 18:11:54.083 xcodebuild[627:3883] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Y_SwiftUIAlert (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
	SwiftCompile normal arm64_32 (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
	Building workspace Y_SwiftUIAlert with scheme Y_SwiftUIAlert
(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:
  Y_SwiftUIAlert: /Users/admin/builder/spi-builder-workspace
resolved source packages: Y_SwiftUIAlert
2026-09-22 18:12:01.833 xcodebuild[803:4674] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Y_SwiftUIAlert",
  "name" : "Y_SwiftUIAlert",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Y_SwiftUIAlert",
      "targets" : [
        "Y_SwiftUIAlert"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Y_SwiftUIAlertTests",
      "module_type" : "SwiftTarget",
      "name" : "Y_SwiftUIAlertTests",
      "path" : "Tests/Y_SwiftUIAlertTests",
      "sources" : [
        "Y_SwiftUIAlertTests.swift"
      ],
      "target_dependencies" : [
        "Y_SwiftUIAlert"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Y_SwiftUIAlert",
      "module_type" : "SwiftTarget",
      "name" : "Y_SwiftUIAlert",
      "path" : "Sources/Y_SwiftUIAlert",
      "product_memberships" : [
        "Y_SwiftUIAlert"
      ],
      "sources" : [
        "Y_AlertAction.swift",
        "Y_AlertConfig.swift",
        "Y_AlertConstants.swift",
        "Y_AlertManager.swift",
        "Y_AlertModifier.swift",
        "Y_AlertValidation.swift",
        "Y_TextFieldConfig.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "Y_SwiftUIAlert",
    "schemes" : [
      "Y_SwiftUIAlert"
    ]
  }
}
2026-09-22 18:12:03.106 xcodebuild[811:4739] [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 Y_SwiftUIAlert -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 Y_SwiftUIAlert -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  Y_SwiftUIAlert: /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 'Y_SwiftUIAlert-product' in project 'Y_SwiftUIAlert'
        ➜ Explicit dependency on target 'Y_SwiftUIAlert' in project 'Y_SwiftUIAlert'
    Target 'Y_SwiftUIAlert' in project 'Y_SwiftUIAlert' (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 Y_SwiftUIAlert normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
    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 Y_SwiftUIAlert -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64_32/Y_SwiftUIAlert.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 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64_32/Y_SwiftUIAlert-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/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64_32/Y_SwiftUIAlert.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64_32/Y_SwiftUIAlert-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/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64_32/Y_SwiftUIAlert_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/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-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/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64_32/Y_SwiftUIAlert-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver Y_SwiftUIAlert normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
    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 Y_SwiftUIAlert -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64/Y_SwiftUIAlert.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 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64/Y_SwiftUIAlert-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/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64/Y_SwiftUIAlert.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64/Y_SwiftUIAlert-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/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64/Y_SwiftUIAlert_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/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-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/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64/Y_SwiftUIAlert-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\ Y_SwiftUIAlert (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:21:23: error: 'UIAlertAction' is unavailable in watchOS
 19 | public struct Y_AlertAction {
 20 |     public let title: String
 21 |     public let style: UIAlertAction.Style
    |                       `- error: 'UIAlertAction' is unavailable in watchOS
 22 |     internal let actionType: Y_AlertActionType
 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/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
   |            `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:25:40: error: 'UIAlertAction' is unavailable in watchOS
 23 |
 24 |     // MARK: - 私有初始化方法
 25 |     private init(title: String, style: UIAlertAction.Style, actionType: Y_AlertActionType) {
    |                                        `- error: 'UIAlertAction' is unavailable in watchOS
 26 |         self.title = title
 27 |         self.style = style
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
   |            `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertConfig.swift:15:32: error: 'UIAlertController' is unavailable in watchOS
 13 |     case actionSheet    // ActionSheet样式
 14 |
 15 |     internal var uiAlertStyle: UIAlertController.Style {
    |                                `- error: 'UIAlertController' is unavailable in watchOS
 16 |         switch self {
 17 |         case .alert:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:13:32: error: 'UIWindow' is unavailable in watchOS
 11 | // MARK: - 窗口提供协议(便于测试)
 12 | public protocol Y_WindowProviding {
 13 |     func getCurrentWindow() -> UIWindow?
    |                                `- error: 'UIWindow' is unavailable in watchOS
 14 |     func getTopViewController() -> UIViewController?
 15 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Y_SwiftUIAlert/Y_AlertManager.swift:14:36: error: 'UIViewController' is unavailable in watchOS
 12 | public protocol Y_WindowProviding {
 13 |     func getCurrentWindow() -> UIWindow?
 14 |     func getTopViewController() -> UIViewController?
    |                                    `- error: 'UIViewController' is unavailable in watchOS
 15 | }
 16 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Y_SwiftUIAlert/Y_AlertManager.swift:21:39: error: 'UIWindow' is unavailable in watchOS
 19 |     public init() {}
 20 |
 21 |     public func getCurrentWindow() -> UIWindow? {
    |                                       `- error: 'UIWindow' is unavailable in watchOS
 22 |         guard let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
 23 |               let window = windowScene.windows.first(where: { $0.isKeyWindow }) else {
/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/Y_SwiftUIAlert/Y_AlertManager.swift:30:43: error: 'UIViewController' is unavailable in watchOS
 28 |     }
 29 |
 30 |     public func getTopViewController() -> UIViewController? {
    |                                           `- error: 'UIViewController' is unavailable in watchOS
 31 |         guard let window = getCurrentWindow(),
 32 |               let rootViewController = window.rootViewController else {
/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/Y_SwiftUIAlert/Y_AlertManager.swift:40:60: error: 'UIViewController' is unavailable in watchOS
 38 |     }
 39 |
 40 |     private func getTopViewController(from viewController: UIViewController) -> UIViewController {
    |                                                            `- error: 'UIViewController' is unavailable in watchOS
 41 |         if let presentedViewController = viewController.presentedViewController {
 42 |             return getTopViewController(from: presentedViewController)
/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/Y_SwiftUIAlert/Y_AlertManager.swift:40:81: error: 'UIViewController' is unavailable in watchOS
 38 |     }
 39 |
 40 |     private func getTopViewController(from viewController: UIViewController) -> UIViewController {
    |                                                                                 `- error: 'UIViewController' is unavailable in watchOS
 41 |         if let presentedViewController = viewController.presentedViewController {
 42 |             return getTopViewController(from: presentedViewController)
/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/Y_SwiftUIAlert/Y_AlertManager.swift:71:46: error: 'UIAlertController' is unavailable in watchOS
 69 |
 70 |     // 当前展示的Alert控制器(用于验证更新)
 71 |     private weak var currentAlertController: UIAlertController?
    |                                              `- error: 'UIAlertController' is unavailable in watchOS
 72 |     private var currentConfig: Y_AlertConfig?
 73 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:81:29: error: 'UITextField' is unavailable in watchOS
 79 |     /// 注意:callback闭包也可能需要弱引用处理
 80 |     private class WeakTextFieldCallback {
 81 |         weak var textField: UITextField?
    |                             `- error: 'UITextField' is unavailable in watchOS
 82 |         private let callback: (String) -> Void
 83 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Y_SwiftUIAlert/Y_AlertManager.swift:84:25: error: 'UITextField' is unavailable in watchOS
 82 |         private let callback: (String) -> Void
 83 |
 84 |         init(textField: UITextField, callback: @escaping (String) -> Void) {
    |                         `- error: 'UITextField' is unavailable in watchOS
 85 |             self.textField = textField
 86 |             // 使用weakly captured callback避免循环引用
/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/Y_SwiftUIAlert/Y_AlertManager.swift:152:78: error: 'UIAlertController' is unavailable in watchOS
150 |
151 |     /// 创建UIAlertController
152 |     private func createAlertController(from config: Y_AlertConfig) throws -> UIAlertController {
    |                                                                              `- error: 'UIAlertController' is unavailable in watchOS
153 |         // 创建新的AlertController
154 |         let alertController = UIAlertController(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:205:50: error: 'UITextField' is unavailable in watchOS
203 |
204 |     /// 配置TextField
205 |     private func configureTextField(_ textField: UITextField, with config: Y_TextFieldConfig, index: Int) {
    |                                                  `- error: 'UITextField' is unavailable in watchOS
206 |         debugLog("🔧 配置TextField[\(index)]: '\(config.placeholder)'")
207 |
/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/Y_SwiftUIAlert/Y_AlertManager.swift:263:56: error: 'UITextField' is unavailable in watchOS
261 |     // MARK: - TextField事件处理
262 |
263 |     @objc private func textFieldDidChange(_ textField: UITextField) {
    |                                                        `- error: 'UITextField' is unavailable in watchOS
264 |         let text = textField.text ?? ""
265 |
/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/Y_SwiftUIAlert/Y_AlertManager.swift:304:59: error: 'UITextField' is unavailable in watchOS
302 |     }
303 |
304 |     @objc private func textFieldEditingBegan(_ textField: UITextField) {
    |                                                           `- error: 'UITextField' is unavailable in watchOS
305 |         if let config = getCurrentTextFieldConfig(for: textField) {
306 |             config.onEditingBegan?()
/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/Y_SwiftUIAlert/Y_AlertManager.swift:310:59: error: 'UITextField' is unavailable in watchOS
308 |     }
309 |
310 |     @objc private func textFieldEditingEnded(_ textField: UITextField) {
    |                                                           `- error: 'UITextField' is unavailable in watchOS
311 |         if let config = getCurrentTextFieldConfig(for: textField) {
312 |             config.onEditingEnded?()
/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/Y_SwiftUIAlert/Y_AlertManager.swift:317:59: error: 'UITextField' is unavailable in watchOS
315 |
316 |     /// 获取TextField对应的配置
317 |     private func getCurrentTextFieldConfig(for textField: UITextField) -> Y_TextFieldConfig? {
    |                                                           `- error: 'UITextField' is unavailable in watchOS
318 |         guard let alertController = currentAlertController,
319 |               let config = currentConfig,
/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/Y_SwiftUIAlert/Y_AlertManager.swift:352:55: error: 'UITextField' is unavailable in watchOS
350 |
351 |     /// 验证所有TextField
352 |     private func validateAllTextFields(_ textFields: [UITextField], configs: [Y_TextFieldConfig]) -> Bool {
    |                                                       `- error: 'UITextField' is unavailable in watchOS
353 |         guard textFields.count == configs.count else {
354 |             return 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/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/Y_SwiftUIAlert/Y_AlertManager.swift:367:55: error: 'UITextField' is unavailable in watchOS
365 |
366 |     /// 验证单个TextField
367 |     private func validateSingleTextField(_ textField: UITextField, with config: Y_TextFieldConfig) -> Bool {
    |                                                       `- error: 'UITextField' is unavailable in watchOS
368 |         let text = textField.text ?? ""
369 |
/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/Y_SwiftUIAlert/Y_AlertManager.swift:385:79: error: 'UIAlertController' is unavailable in watchOS
383 |
384 |     /// 处理Action点击
385 |     private func handleActionTapped(_ action: Y_AlertAction, alertController: UIAlertController, config: Y_AlertConfig) {
    |                                                                               `- error: 'UIAlertController' is unavailable in watchOS
386 |         debugLog("🎯 用户点击: '\(action.title)'")
387 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:65:30: warning: conformance of 'Y_AlertManager' to protocol 'Y_AlertPresentable' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
 63 | // MARK: - Alert管理器
 64 | @MainActor
 65 | public class Y_AlertManager: Y_AlertPresentable, ObservableObject {
    |                              |- warning: conformance of 'Y_AlertManager' to protocol 'Y_AlertPresentable' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
    |                              |- note: isolate this conformance to the main actor with '@MainActor'
    |                              `- note: turn data races into runtime errors with '@preconcurrency'
 66 |     public static let shared = Y_AlertManager()
 67 |
    :
115 |
116 |     /// 展示Alert(带完成回调)
117 |     public func presentAlert(_ config: Y_AlertConfig, completion: ((Result<Void, Y_AlertError>) -> Void)? = nil) {
    |                 |- note: main actor-isolated instance method 'presentAlert(_:completion:)' cannot satisfy nonisolated requirement
    |                 `- note: mark instance method 'presentAlert(_:completion:)' 'nonisolated'
118 |         debugLog("📱 准备展示Alert: '\(config.title)'")
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:422:17: warning: 'public' modifier is redundant for static method declared in a public extension
420 |
421 |     /// 开启调试日志输出
422 |     nonisolated public static func enableDebugLog() {
    |                 `- warning: 'public' modifier is redundant for static method declared in a public extension
423 |         Y_AlertManager.logEnabled = true
424 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:427:17: warning: 'public' modifier is redundant for static method declared in a public extension
425 |
426 |     /// 关闭调试日志输出
427 |     nonisolated public static func disableDebugLog() {
    |                 `- warning: 'public' modifier is redundant for static method declared in a public extension
428 |         Y_AlertManager.logEnabled = false
429 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertModifier.swift:33:77: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 31 |     let manager: Y_AlertManager
 32 |
 33 |     public init(config: Binding<Y_AlertConfig?>, manager: Y_AlertManager = .shared) {
    |                                                                             `- warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 34 |         self._config = config
 35 |         self.manager = manager
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:66:23: note: static property declared here
 64 | @MainActor
 65 | public class Y_AlertManager: Y_AlertPresentable, ObservableObject {
 66 |     public static let shared = Y_AlertManager()
    |                       `- note: static property declared here
 67 |
 68 |     private let windowProvider: Y_WindowProviding
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertModifier.swift:77:36: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 75 |         isPresented: Binding<Bool>,
 76 |         configFactory: @escaping () -> Y_AlertConfig?,
 77 |         manager: Y_AlertManager = .shared
    |                                    `- warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 78 |     ) {
 79 |         self._isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:66:23: note: static property declared here
 64 | @MainActor
 65 | public class Y_AlertManager: Y_AlertPresentable, ObservableObject {
 66 |     public static let shared = Y_AlertManager()
    |                       `- note: static property declared here
 67 |
 68 |     private let windowProvider: Y_WindowProviding
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:16:30: error: 'UIKeyboardType' is unavailable in watchOS
 14 |     public let placeholder: String
 15 |     public let initialText: String
 16 |     public let keyboardType: UIKeyboardType
    |                              `- error: 'UIKeyboardType' is unavailable in watchOS
 17 |     public let isSecure: Bool
 18 |     public let autocapitalizationType: UITextAutocapitalizationType
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
    |                            `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 |     UIKeyboardTypeDefault,                // Default type for the current input method.
129 |     UIKeyboardTypeASCIICapable,           // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:18:40: error: 'UITextAutocapitalizationType' is unavailable in watchOS
 16 |     public let keyboardType: UIKeyboardType
 17 |     public let isSecure: Bool
 18 |     public let autocapitalizationType: UITextAutocapitalizationType
    |                                        `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
 19 |     public let autocorrectionType: UITextAutocorrectionType
 20 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
 20 | // cases, these values are ignored by the keyboard/input method implementation.
 21 | //
 22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
    |                            `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
 23 |     UITextAutocapitalizationTypeNone,
 24 |     UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:19:36: error: 'UITextAutocorrectionType' is unavailable in watchOS
 17 |     public let isSecure: Bool
 18 |     public let autocapitalizationType: UITextAutocapitalizationType
 19 |     public let autocorrectionType: UITextAutocorrectionType
    |                                    `- error: 'UITextAutocorrectionType' is unavailable in watchOS
 20 |
 21 |     // 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/UITextInputTraits.h:37:28: note: 'UITextAutocorrectionType' has been explicitly marked unavailable here
 35 | // cases, these values are ignored by the keyboard/input method implementation.
 36 | //
 37 | typedef NS_ENUM(NSInteger, UITextAutocorrectionType) {
    |                            `- note: 'UITextAutocorrectionType' has been explicitly marked unavailable here
 38 |     UITextAutocorrectionTypeDefault,
 39 |     UITextAutocorrectionTypeNo,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:30:29: error: 'UITextField' is unavailable in watchOS
 28 |     public let font: UIFont?
 29 |     public let backgroundColor: UIColor?
 30 |     public let borderStyle: UITextField.BorderStyle?
    |                             `- error: 'UITextField' is unavailable in watchOS
 31 |     public let clearButtonMode: UITextField.ViewMode
 32 |     public let returnKeyType: UIReturnKeyType
/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:31:33: error: 'UITextField' is unavailable in watchOS
 29 |     public let backgroundColor: UIColor?
 30 |     public let borderStyle: UITextField.BorderStyle?
 31 |     public let clearButtonMode: UITextField.ViewMode
    |                                 `- error: 'UITextField' is unavailable in watchOS
 32 |     public let returnKeyType: UIReturnKeyType
 33 |
/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:32:31: error: 'UIReturnKeyType' is unavailable in watchOS
 30 |     public let borderStyle: UITextField.BorderStyle?
 31 |     public let clearButtonMode: UITextField.ViewMode
 32 |     public let returnKeyType: UIReturnKeyType
    |                               `- error: 'UIReturnKeyType' is unavailable in watchOS
 33 |
 34 |     // 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/UITextInputTraits.h:169:28: note: 'UIReturnKeyType' has been explicitly marked unavailable here
167 | // different implementation.
168 | //
169 | typedef NS_ENUM(NSInteger, UIReturnKeyType) {
    |                            `- note: 'UIReturnKeyType' has been explicitly marked unavailable here
170 |     UIReturnKeyDefault,
171 |     UIReturnKeyGo,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:35:39: error: 'UITextField' is unavailable in watchOS
 33 |
 34 |     // MARK: - 高级配置
 35 |     public let customConfiguration: ((UITextField) -> Void)?
    |                                       `- error: 'UITextField' is unavailable in watchOS
 36 |     public let maxLength: Int?
 37 |     public let allowedCharacters: CharacterSet?
/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:49:23: error: 'UIKeyboardType' is unavailable in watchOS
 47 |         placeholder: String,
 48 |         initialText: String = "",
 49 |         keyboardType: UIKeyboardType = .default,
    |                       `- error: 'UIKeyboardType' is unavailable in watchOS
 50 |         isSecure: Bool = false,
 51 |         autocapitalizationType: UITextAutocapitalizationType = .sentences,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
    |                            `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 |     UIKeyboardTypeDefault,                // Default type for the current input method.
129 |     UIKeyboardTypeASCIICapable,           // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:51:33: error: 'UITextAutocapitalizationType' is unavailable in watchOS
 49 |         keyboardType: UIKeyboardType = .default,
 50 |         isSecure: Bool = false,
 51 |         autocapitalizationType: UITextAutocapitalizationType = .sentences,
    |                                 `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
 52 |         autocorrectionType: UITextAutocorrectionType = .default,
 53 |         validationRules: Y_ValidationRuleSet? = 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/UITextInputTraits.h:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
 20 | // cases, these values are ignored by the keyboard/input method implementation.
 21 | //
 22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
    |                            `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
 23 |     UITextAutocapitalizationTypeNone,
 24 |     UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:52:29: error: 'UITextAutocorrectionType' is unavailable in watchOS
 50 |         isSecure: Bool = false,
 51 |         autocapitalizationType: UITextAutocapitalizationType = .sentences,
 52 |         autocorrectionType: UITextAutocorrectionType = .default,
    |                             `- error: 'UITextAutocorrectionType' is unavailable in watchOS
 53 |         validationRules: Y_ValidationRuleSet? = nil,
 54 |         validateOnChange: Bool = 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/UITextInputTraits.h:37:28: note: 'UITextAutocorrectionType' has been explicitly marked unavailable here
 35 | // cases, these values are ignored by the keyboard/input method implementation.
 36 | //
 37 | typedef NS_ENUM(NSInteger, UITextAutocorrectionType) {
    |                            `- note: 'UITextAutocorrectionType' has been explicitly marked unavailable here
 38 |     UITextAutocorrectionTypeDefault,
 39 |     UITextAutocorrectionTypeNo,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:59:22: error: 'UITextField' is unavailable in watchOS
 57 |         font: UIFont? = nil,
 58 |         backgroundColor: UIColor? = nil,
 59 |         borderStyle: UITextField.BorderStyle? = nil,
    |                      `- error: 'UITextField' is unavailable in watchOS
 60 |         clearButtonMode: UITextField.ViewMode = .whileEditing,
 61 |         returnKeyType: UIReturnKeyType = .default,
/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:60:26: error: 'UITextField' is unavailable in watchOS
 58 |         backgroundColor: UIColor? = nil,
 59 |         borderStyle: UITextField.BorderStyle? = nil,
 60 |         clearButtonMode: UITextField.ViewMode = .whileEditing,
    |                          `- error: 'UITextField' is unavailable in watchOS
 61 |         returnKeyType: UIReturnKeyType = .default,
 62 |         customConfiguration: ((UITextField) -> Void)? = 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/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:61:24: error: 'UIReturnKeyType' is unavailable in watchOS
 59 |         borderStyle: UITextField.BorderStyle? = nil,
 60 |         clearButtonMode: UITextField.ViewMode = .whileEditing,
 61 |         returnKeyType: UIReturnKeyType = .default,
    |                        `- error: 'UIReturnKeyType' is unavailable in watchOS
 62 |         customConfiguration: ((UITextField) -> Void)? = nil,
 63 |         maxLength: Int? = 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/UITextInputTraits.h:169:28: note: 'UIReturnKeyType' has been explicitly marked unavailable here
167 | // different implementation.
168 | //
169 | typedef NS_ENUM(NSInteger, UIReturnKeyType) {
    |                            `- note: 'UIReturnKeyType' has been explicitly marked unavailable here
170 |     UIReturnKeyDefault,
171 |     UIReturnKeyGo,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:62:32: error: 'UITextField' is unavailable in watchOS
 60 |         clearButtonMode: UITextField.ViewMode = .whileEditing,
 61 |         returnKeyType: UIReturnKeyType = .default,
 62 |         customConfiguration: ((UITextField) -> Void)? = nil,
    |                                `- error: 'UITextField' is unavailable in watchOS
 63 |         maxLength: Int? = nil,
 64 |         allowedCharacters: CharacterSet? = 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/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:254:38: error: 'UIKeyboardType' is unavailable in watchOS
252 |     }
253 |
254 |     public func keyboardType(_ type: UIKeyboardType) -> Self {
    |                                      `- error: 'UIKeyboardType' is unavailable in watchOS
255 |         // 类似的Builder方法实现...
256 |         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/UITextInputTraits.h:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
    |                            `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 |     UIKeyboardTypeDefault,                // Default type for the current input method.
129 |     UIKeyboardTypeASCIICapable,           // Displays a keyboard which can enter ASCII characters
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/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/Y_SwiftUIAlert/Y_AlertAction.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertConstants.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertValidation.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64_32/Y_SwiftUIAlert-dependencies-1.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 5 -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/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Y_SwiftUIAlert -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64_32/Y_SwiftUIAlert_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/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64_32/Y_SwiftUIAlert.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64_32/Y_SwiftUIAlert.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64_32/Y_SwiftUIAlert-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64_32/Y_SwiftUIAlert-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64_32/Y_SwiftUIAlert-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64_32/Y_SwiftUIAlert.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Y_SwiftUIAlert.build/Debug-watchos/Y_SwiftUIAlert-t.build/Objects-normal/arm64_32/Y_SwiftUIAlert.abi.json
SwiftCompile normal arm64_32 Compiling\ Y_AlertConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertConfig.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertConfig.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Y_AlertConfig.swift
SwiftCompile normal arm64_32 Compiling\ Y_AlertAction.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Y_AlertAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:21:23: error: 'UIAlertAction' is unavailable in watchOS
 19 | public struct Y_AlertAction {
 20 |     public let title: String
 21 |     public let style: UIAlertAction.Style
    |                       `- error: 'UIAlertAction' is unavailable in watchOS
 22 |     internal let actionType: Y_AlertActionType
 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/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
   |            `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:25:40: error: 'UIAlertAction' is unavailable in watchOS
 23 |
 24 |     // MARK: - 私有初始化方法
 25 |     private init(title: String, style: UIAlertAction.Style, actionType: Y_AlertActionType) {
    |                                        `- error: 'UIAlertAction' is unavailable in watchOS
 26 |         self.title = title
 27 |         self.style = style
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
   |            `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
SwiftCompile normal arm64_32 Compiling\ Y_AlertModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertModifier.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertModifier.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Y_AlertModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertModifier.swift:33:77: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 31 |     let manager: Y_AlertManager
 32 |
 33 |     public init(config: Binding<Y_AlertConfig?>, manager: Y_AlertManager = .shared) {
    |                                                                             `- warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 34 |         self._config = config
 35 |         self.manager = manager
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:66:23: note: static property declared here
 64 | @MainActor
 65 | public class Y_AlertManager: Y_AlertPresentable, ObservableObject {
 66 |     public static let shared = Y_AlertManager()
    |                       `- note: static property declared here
 67 |
 68 |     private let windowProvider: Y_WindowProviding
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertModifier.swift:77:36: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 75 |         isPresented: Binding<Bool>,
 76 |         configFactory: @escaping () -> Y_AlertConfig?,
 77 |         manager: Y_AlertManager = .shared
    |                                    `- warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 78 |     ) {
 79 |         self._isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:66:23: note: static property declared here
 64 | @MainActor
 65 | public class Y_AlertManager: Y_AlertPresentable, ObservableObject {
 66 |     public static let shared = Y_AlertManager()
    |                       `- note: static property declared here
 67 |
 68 |     private let windowProvider: Y_WindowProviding
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertModifier.swift:55:79: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
 53 |                 debugLog("✅ Alert展示成功")
 54 |             case .failure(let error):
 55 |                 debugLog("❌ Alert展示失败: \(error.localizedDescription ?? "未知错误")")
    |                                                                     `- warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
 56 |             }
 57 |
SwiftCompile normal arm64_32 Compiling\ Y_AlertConstants.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertConstants.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertConstants.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Y_AlertConstants.swift
SwiftCompile normal arm64_32 Compiling\ Y_AlertManager.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:13:32: error: 'UIWindow' is unavailable in watchOS
 11 | // MARK: - 窗口提供协议(便于测试)
 12 | public protocol Y_WindowProviding {
 13 |     func getCurrentWindow() -> UIWindow?
    |                                `- error: 'UIWindow' is unavailable in watchOS
 14 |     func getTopViewController() -> UIViewController?
 15 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Y_SwiftUIAlert/Y_AlertManager.swift:14:36: error: 'UIViewController' is unavailable in watchOS
 12 | public protocol Y_WindowProviding {
 13 |     func getCurrentWindow() -> UIWindow?
 14 |     func getTopViewController() -> UIViewController?
    |                                    `- error: 'UIViewController' is unavailable in watchOS
 15 | }
 16 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Y_SwiftUIAlert/Y_AlertManager.swift:21:39: error: 'UIWindow' is unavailable in watchOS
 19 |     public init() {}
 20 |
 21 |     public func getCurrentWindow() -> UIWindow? {
    |                                       `- error: 'UIWindow' is unavailable in watchOS
 22 |         guard let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
 23 |               let window = windowScene.windows.first(where: { $0.isKeyWindow }) else {
/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/Y_SwiftUIAlert/Y_AlertManager.swift:30:43: error: 'UIViewController' is unavailable in watchOS
 28 |     }
 29 |
 30 |     public func getTopViewController() -> UIViewController? {
    |                                           `- error: 'UIViewController' is unavailable in watchOS
 31 |         guard let window = getCurrentWindow(),
 32 |               let rootViewController = window.rootViewController else {
/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/Y_SwiftUIAlert/Y_AlertManager.swift:40:60: error: 'UIViewController' is unavailable in watchOS
 38 |     }
 39 |
 40 |     private func getTopViewController(from viewController: UIViewController) -> UIViewController {
    |                                                            `- error: 'UIViewController' is unavailable in watchOS
 41 |         if let presentedViewController = viewController.presentedViewController {
 42 |             return getTopViewController(from: presentedViewController)
/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/Y_SwiftUIAlert/Y_AlertManager.swift:40:81: error: 'UIViewController' is unavailable in watchOS
 38 |     }
 39 |
 40 |     private func getTopViewController(from viewController: UIViewController) -> UIViewController {
    |                                                                                 `- error: 'UIViewController' is unavailable in watchOS
 41 |         if let presentedViewController = viewController.presentedViewController {
 42 |             return getTopViewController(from: presentedViewController)
/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/Y_SwiftUIAlert/Y_AlertManager.swift:71:46: error: 'UIAlertController' is unavailable in watchOS
 69 |
 70 |     // 当前展示的Alert控制器(用于验证更新)
 71 |     private weak var currentAlertController: UIAlertController?
    |                                              `- error: 'UIAlertController' is unavailable in watchOS
 72 |     private var currentConfig: Y_AlertConfig?
 73 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:81:29: error: 'UITextField' is unavailable in watchOS
 79 |     /// 注意:callback闭包也可能需要弱引用处理
 80 |     private class WeakTextFieldCallback {
 81 |         weak var textField: UITextField?
    |                             `- error: 'UITextField' is unavailable in watchOS
 82 |         private let callback: (String) -> Void
 83 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Y_SwiftUIAlert/Y_AlertManager.swift:84:25: error: 'UITextField' is unavailable in watchOS
 82 |         private let callback: (String) -> Void
 83 |
 84 |         init(textField: UITextField, callback: @escaping (String) -> Void) {
    |                         `- error: 'UITextField' is unavailable in watchOS
 85 |             self.textField = textField
 86 |             // 使用weakly captured callback避免循环引用
/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/Y_SwiftUIAlert/Y_AlertManager.swift:152:78: error: 'UIAlertController' is unavailable in watchOS
150 |
151 |     /// 创建UIAlertController
152 |     private func createAlertController(from config: Y_AlertConfig) throws -> UIAlertController {
    |                                                                              `- error: 'UIAlertController' is unavailable in watchOS
153 |         // 创建新的AlertController
154 |         let alertController = UIAlertController(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:205:50: error: 'UITextField' is unavailable in watchOS
203 |
204 |     /// 配置TextField
205 |     private func configureTextField(_ textField: UITextField, with config: Y_TextFieldConfig, index: Int) {
    |                                                  `- error: 'UITextField' is unavailable in watchOS
206 |         debugLog("🔧 配置TextField[\(index)]: '\(config.placeholder)'")
207 |
/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/Y_SwiftUIAlert/Y_AlertManager.swift:263:56: error: 'UITextField' is unavailable in watchOS
261 |     // MARK: - TextField事件处理
262 |
263 |     @objc private func textFieldDidChange(_ textField: UITextField) {
    |                                                        `- error: 'UITextField' is unavailable in watchOS
264 |         let text = textField.text ?? ""
265 |
/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/Y_SwiftUIAlert/Y_AlertManager.swift:304:59: error: 'UITextField' is unavailable in watchOS
302 |     }
303 |
304 |     @objc private func textFieldEditingBegan(_ textField: UITextField) {
    |                                                           `- error: 'UITextField' is unavailable in watchOS
305 |         if let config = getCurrentTextFieldConfig(for: textField) {
306 |             config.onEditingBegan?()
/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/Y_SwiftUIAlert/Y_AlertManager.swift:310:59: error: 'UITextField' is unavailable in watchOS
308 |     }
309 |
310 |     @objc private func textFieldEditingEnded(_ textField: UITextField) {
    |                                                           `- error: 'UITextField' is unavailable in watchOS
311 |         if let config = getCurrentTextFieldConfig(for: textField) {
312 |             config.onEditingEnded?()
/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/Y_SwiftUIAlert/Y_AlertManager.swift:317:59: error: 'UITextField' is unavailable in watchOS
315 |
316 |     /// 获取TextField对应的配置
317 |     private func getCurrentTextFieldConfig(for textField: UITextField) -> Y_TextFieldConfig? {
    |                                                           `- error: 'UITextField' is unavailable in watchOS
318 |         guard let alertController = currentAlertController,
319 |               let config = currentConfig,
/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/Y_SwiftUIAlert/Y_AlertManager.swift:352:55: error: 'UITextField' is unavailable in watchOS
350 |
351 |     /// 验证所有TextField
352 |     private func validateAllTextFields(_ textFields: [UITextField], configs: [Y_TextFieldConfig]) -> Bool {
    |                                                       `- error: 'UITextField' is unavailable in watchOS
353 |         guard textFields.count == configs.count else {
354 |             return 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/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/Y_SwiftUIAlert/Y_AlertManager.swift:367:55: error: 'UITextField' is unavailable in watchOS
365 |
366 |     /// 验证单个TextField
367 |     private func validateSingleTextField(_ textField: UITextField, with config: Y_TextFieldConfig) -> Bool {
    |                                                       `- error: 'UITextField' is unavailable in watchOS
368 |         let text = textField.text ?? ""
369 |
/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/Y_SwiftUIAlert/Y_AlertManager.swift:385:79: error: 'UIAlertController' is unavailable in watchOS
383 |
384 |     /// 处理Action点击
385 |     private func handleActionTapped(_ action: Y_AlertAction, alertController: UIAlertController, config: Y_AlertConfig) {
    |                                                                               `- error: 'UIAlertController' is unavailable in watchOS
386 |         debugLog("🎯 用户点击: '\(action.title)'")
387 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:65:30: warning: conformance of 'Y_AlertManager' to protocol 'Y_AlertPresentable' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
 63 | // MARK: - Alert管理器
 64 | @MainActor
 65 | public class Y_AlertManager: Y_AlertPresentable, ObservableObject {
    |                              |- warning: conformance of 'Y_AlertManager' to protocol 'Y_AlertPresentable' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
    |                              |- note: isolate this conformance to the main actor with '@MainActor'
    |                              `- note: turn data races into runtime errors with '@preconcurrency'
 66 |     public static let shared = Y_AlertManager()
 67 |
    :
115 |
116 |     /// 展示Alert(带完成回调)
117 |     public func presentAlert(_ config: Y_AlertConfig, completion: ((Result<Void, Y_AlertError>) -> Void)? = nil) {
    |                 |- note: main actor-isolated instance method 'presentAlert(_:completion:)' cannot satisfy nonisolated requirement
    |                 `- note: mark instance method 'presentAlert(_:completion:)' 'nonisolated'
118 |         debugLog("📱 准备展示Alert: '\(config.title)'")
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:422:17: warning: 'public' modifier is redundant for static method declared in a public extension
420 |
421 |     /// 开启调试日志输出
422 |     nonisolated public static func enableDebugLog() {
    |                 `- warning: 'public' modifier is redundant for static method declared in a public extension
423 |         Y_AlertManager.logEnabled = true
424 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:427:17: warning: 'public' modifier is redundant for static method declared in a public extension
425 |
426 |     /// 关闭调试日志输出
427 |     nonisolated public static func disableDebugLog() {
    |                 `- warning: 'public' modifier is redundant for static method declared in a public extension
428 |         Y_AlertManager.logEnabled = false
429 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:22:80: error: 'UIWindowScene' is unavailable in watchOS
 20 |
 21 |     public func getCurrentWindow() -> UIWindow? {
 22 |         guard let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
    |                                                                                `- error: 'UIWindowScene' is unavailable in watchOS
 23 |               let window = windowScene.windows.first(where: { $0.isKeyWindow }) else {
 24 |             debugLog("⚠️ 无法获取当前窗口")
/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/Y_SwiftUIAlert/Y_AlertManager.swift:22:33: error: 'UIApplication' is unavailable in watchOS
 20 |
 21 |     public func getCurrentWindow() -> UIWindow? {
 22 |         guard let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
    |                                 `- error: 'UIApplication' is unavailable in watchOS
 23 |               let window = windowScene.windows.first(where: { $0.isKeyWindow }) else {
 24 |             debugLog("⚠️ 无法获取当前窗口")
/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/Y_SwiftUIAlert/Y_AlertManager.swift:22:54: error: 'connectedScenes' is unavailable in watchOS
 20 |
 21 |     public func getCurrentWindow() -> UIWindow? {
 22 |         guard let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
    |                                                      `- error: 'connectedScenes' is unavailable in watchOS
 23 |               let window = windowScene.windows.first(where: { $0.isKeyWindow }) else {
 24 |             debugLog("⚠️ 无法获取当前窗口")
/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/Y_SwiftUIAlert/Y_AlertManager.swift:45:58: error: 'UINavigationController' is unavailable in watchOS
 43 |         }
 44 |
 45 |         if let navigationController = viewController as? UINavigationController {
    |                                                          `- error: 'UINavigationController' is unavailable in watchOS
 46 |             return navigationController.visibleViewController ?? navigationController
 47 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
 44 |
 45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 46 | @interface UINavigationController : UIViewController
    |            `- note: 'UINavigationController' has been explicitly marked unavailable here
 47 |
 48 |
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:49:54: error: 'UITabBarController' is unavailable in watchOS
 47 |         }
 48 |
 49 |         if let tabBarController = viewController as? UITabBarController {
    |                                                      `- error: 'UITabBarController' is unavailable in watchOS
 50 |             return tabBarController.selectedViewController ?? tabBarController
 51 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
 62 |
 63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
    |            `- note: 'UITabBarController' has been explicitly marked unavailable here
 65 |
 66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:123:56: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
121 |         guard let topViewController = windowProvider.getTopViewController() else {
122 |             let error = Y_AlertError.noValidWindow
123 |             debugLog("❌ \(error.localizedDescription ?? "窗口获取失败")")
    |                                                      `- warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
124 |             completion?(.failure(error))
125 |             return
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:144:80: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
142 |         } catch {
143 |             let alertError = error as? Y_AlertError ?? Y_AlertError.presentationFailed(underlying: error)
144 |             debugLog("❌ Alert展示失败: \(alertError.localizedDescription ?? "未知错误")")
    |                                                                      `- warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
145 |             completion?(.failure(alertError))
146 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:154:31: error: 'UIAlertController' is unavailable in watchOS
152 |     private func createAlertController(from config: Y_AlertConfig) throws -> UIAlertController {
153 |         // 创建新的AlertController
154 |         let alertController = UIAlertController(
    |                               `- error: 'UIAlertController' is unavailable in watchOS
155 |             title: nil,
156 |             message: 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/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Y_AlertManager.swift
SwiftCompile normal arm64_32 Compiling\ Y_AlertValidation.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertValidation.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertValidation.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Y_AlertValidation.swift
SwiftCompile normal arm64_32 Compiling\ Y_TextFieldConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:16:30: error: 'UIKeyboardType' is unavailable in watchOS
 14 |     public let placeholder: String
 15 |     public let initialText: String
 16 |     public let keyboardType: UIKeyboardType
    |                              `- error: 'UIKeyboardType' is unavailable in watchOS
 17 |     public let isSecure: Bool
 18 |     public let autocapitalizationType: UITextAutocapitalizationType
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
    |                            `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 |     UIKeyboardTypeDefault,                // Default type for the current input method.
129 |     UIKeyboardTypeASCIICapable,           // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:18:40: error: 'UITextAutocapitalizationType' is unavailable in watchOS
 16 |     public let keyboardType: UIKeyboardType
 17 |     public let isSecure: Bool
 18 |     public let autocapitalizationType: UITextAutocapitalizationType
    |                                        `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
 19 |     public let autocorrectionType: UITextAutocorrectionType
 20 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
 20 | // cases, these values are ignored by the keyboard/input method implementation.
 21 | //
 22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
    |                            `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
 23 |     UITextAutocapitalizationTypeNone,
 24 |     UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:19:36: error: 'UITextAutocorrectionType' is unavailable in watchOS
 17 |     public let isSecure: Bool
 18 |     public let autocapitalizationType: UITextAutocapitalizationType
 19 |     public let autocorrectionType: UITextAutocorrectionType
    |                                    `- error: 'UITextAutocorrectionType' is unavailable in watchOS
 20 |
 21 |     // 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/UITextInputTraits.h:37:28: note: 'UITextAutocorrectionType' has been explicitly marked unavailable here
 35 | // cases, these values are ignored by the keyboard/input method implementation.
 36 | //
 37 | typedef NS_ENUM(NSInteger, UITextAutocorrectionType) {
    |                            `- note: 'UITextAutocorrectionType' has been explicitly marked unavailable here
 38 |     UITextAutocorrectionTypeDefault,
 39 |     UITextAutocorrectionTypeNo,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:30:29: error: 'UITextField' is unavailable in watchOS
 28 |     public let font: UIFont?
 29 |     public let backgroundColor: UIColor?
 30 |     public let borderStyle: UITextField.BorderStyle?
    |                             `- error: 'UITextField' is unavailable in watchOS
 31 |     public let clearButtonMode: UITextField.ViewMode
 32 |     public let returnKeyType: UIReturnKeyType
/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:31:33: error: 'UITextField' is unavailable in watchOS
 29 |     public let backgroundColor: UIColor?
 30 |     public let borderStyle: UITextField.BorderStyle?
 31 |     public let clearButtonMode: UITextField.ViewMode
    |                                 `- error: 'UITextField' is unavailable in watchOS
 32 |     public let returnKeyType: UIReturnKeyType
 33 |
/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:32:31: error: 'UIReturnKeyType' is unavailable in watchOS
 30 |     public let borderStyle: UITextField.BorderStyle?
 31 |     public let clearButtonMode: UITextField.ViewMode
 32 |     public let returnKeyType: UIReturnKeyType
    |                               `- error: 'UIReturnKeyType' is unavailable in watchOS
 33 |
 34 |     // 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/UITextInputTraits.h:169:28: note: 'UIReturnKeyType' has been explicitly marked unavailable here
167 | // different implementation.
168 | //
169 | typedef NS_ENUM(NSInteger, UIReturnKeyType) {
    |                            `- note: 'UIReturnKeyType' has been explicitly marked unavailable here
170 |     UIReturnKeyDefault,
171 |     UIReturnKeyGo,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:35:39: error: 'UITextField' is unavailable in watchOS
 33 |
 34 |     // MARK: - 高级配置
 35 |     public let customConfiguration: ((UITextField) -> Void)?
    |                                       `- error: 'UITextField' is unavailable in watchOS
 36 |     public let maxLength: Int?
 37 |     public let allowedCharacters: CharacterSet?
/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:49:23: error: 'UIKeyboardType' is unavailable in watchOS
 47 |         placeholder: String,
 48 |         initialText: String = "",
 49 |         keyboardType: UIKeyboardType = .default,
    |                       `- error: 'UIKeyboardType' is unavailable in watchOS
 50 |         isSecure: Bool = false,
 51 |         autocapitalizationType: UITextAutocapitalizationType = .sentences,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
    |                            `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 |     UIKeyboardTypeDefault,                // Default type for the current input method.
129 |     UIKeyboardTypeASCIICapable,           // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:51:33: error: 'UITextAutocapitalizationType' is unavailable in watchOS
 49 |         keyboardType: UIKeyboardType = .default,
 50 |         isSecure: Bool = false,
 51 |         autocapitalizationType: UITextAutocapitalizationType = .sentences,
    |                                 `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
 52 |         autocorrectionType: UITextAutocorrectionType = .default,
 53 |         validationRules: Y_ValidationRuleSet? = 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/UITextInputTraits.h:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
 20 | // cases, these values are ignored by the keyboard/input method implementation.
 21 | //
 22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
    |                            `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
 23 |     UITextAutocapitalizationTypeNone,
 24 |     UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:52:29: error: 'UITextAutocorrectionType' is unavailable in watchOS
 50 |         isSecure: Bool = false,
 51 |         autocapitalizationType: UITextAutocapitalizationType = .sentences,
 52 |         autocorrectionType: UITextAutocorrectionType = .default,
    |                             `- error: 'UITextAutocorrectionType' is unavailable in watchOS
 53 |         validationRules: Y_ValidationRuleSet? = nil,
 54 |         validateOnChange: Bool = 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/UITextInputTraits.h:37:28: note: 'UITextAutocorrectionType' has been explicitly marked unavailable here
 35 | // cases, these values are ignored by the keyboard/input method implementation.
 36 | //
 37 | typedef NS_ENUM(NSInteger, UITextAutocorrectionType) {
    |                            `- note: 'UITextAutocorrectionType' has been explicitly marked unavailable here
 38 |     UITextAutocorrectionTypeDefault,
 39 |     UITextAutocorrectionTypeNo,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:59:22: error: 'UITextField' is unavailable in watchOS
 57 |         font: UIFont? = nil,
 58 |         backgroundColor: UIColor? = nil,
 59 |         borderStyle: UITextField.BorderStyle? = nil,
    |                      `- error: 'UITextField' is unavailable in watchOS
 60 |         clearButtonMode: UITextField.ViewMode = .whileEditing,
 61 |         returnKeyType: UIReturnKeyType = .default,
/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:60:26: error: 'UITextField' is unavailable in watchOS
 58 |         backgroundColor: UIColor? = nil,
 59 |         borderStyle: UITextField.BorderStyle? = nil,
 60 |         clearButtonMode: UITextField.ViewMode = .whileEditing,
    |                          `- error: 'UITextField' is unavailable in watchOS
 61 |         returnKeyType: UIReturnKeyType = .default,
 62 |         customConfiguration: ((UITextField) -> Void)? = 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/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:61:24: error: 'UIReturnKeyType' is unavailable in watchOS
 59 |         borderStyle: UITextField.BorderStyle? = nil,
 60 |         clearButtonMode: UITextField.ViewMode = .whileEditing,
 61 |         returnKeyType: UIReturnKeyType = .default,
    |                        `- error: 'UIReturnKeyType' is unavailable in watchOS
 62 |         customConfiguration: ((UITextField) -> Void)? = nil,
 63 |         maxLength: Int? = 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/UITextInputTraits.h:169:28: note: 'UIReturnKeyType' has been explicitly marked unavailable here
167 | // different implementation.
168 | //
169 | typedef NS_ENUM(NSInteger, UIReturnKeyType) {
    |                            `- note: 'UIReturnKeyType' has been explicitly marked unavailable here
170 |     UIReturnKeyDefault,
171 |     UIReturnKeyGo,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:62:32: error: 'UITextField' is unavailable in watchOS
 60 |         clearButtonMode: UITextField.ViewMode = .whileEditing,
 61 |         returnKeyType: UIReturnKeyType = .default,
 62 |         customConfiguration: ((UITextField) -> Void)? = nil,
    |                                `- error: 'UITextField' is unavailable in watchOS
 63 |         maxLength: Int? = nil,
 64 |         allowedCharacters: CharacterSet? = 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/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:254:38: error: 'UIKeyboardType' is unavailable in watchOS
252 |     }
253 |
254 |     public func keyboardType(_ type: UIKeyboardType) -> Self {
    |                                      `- error: 'UIKeyboardType' is unavailable in watchOS
255 |         // 类似的Builder方法实现...
256 |         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/UITextInputTraits.h:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
    |                            `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 |     UIKeyboardTypeDefault,                // Default type for the current input method.
129 |     UIKeyboardTypeASCIICapable,           // Displays a keyboard which can enter ASCII characters
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Y_TextFieldConfig.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ Y_SwiftUIAlert (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:21:23: error: 'UIAlertAction' is unavailable in watchOS
 19 | public struct Y_AlertAction {
 20 |     public let title: String
 21 |     public let style: UIAlertAction.Style
    |                       `- error: 'UIAlertAction' is unavailable in watchOS
 22 |     internal let actionType: Y_AlertActionType
 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/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
   |            `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertAction.swift:25:40: error: 'UIAlertAction' is unavailable in watchOS
 23 |
 24 |     // MARK: - 私有初始化方法
 25 |     private init(title: String, style: UIAlertAction.Style, actionType: Y_AlertActionType) {
    |                                        `- error: 'UIAlertAction' is unavailable in watchOS
 26 |         self.title = title
 27 |         self.style = style
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
   |            `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertConfig.swift:15:32: error: 'UIAlertController' is unavailable in watchOS
 13 |     case actionSheet    // ActionSheet样式
 14 |
 15 |     internal var uiAlertStyle: UIAlertController.Style {
    |                                `- error: 'UIAlertController' is unavailable in watchOS
 16 |         switch self {
 17 |         case .alert:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:13:32: error: 'UIWindow' is unavailable in watchOS
 11 | // MARK: - 窗口提供协议(便于测试)
 12 | public protocol Y_WindowProviding {
 13 |     func getCurrentWindow() -> UIWindow?
    |                                `- error: 'UIWindow' is unavailable in watchOS
 14 |     func getTopViewController() -> UIViewController?
 15 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Y_SwiftUIAlert/Y_AlertManager.swift:14:36: error: 'UIViewController' is unavailable in watchOS
 12 | public protocol Y_WindowProviding {
 13 |     func getCurrentWindow() -> UIWindow?
 14 |     func getTopViewController() -> UIViewController?
    |                                    `- error: 'UIViewController' is unavailable in watchOS
 15 | }
 16 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Y_SwiftUIAlert/Y_AlertManager.swift:21:39: error: 'UIWindow' is unavailable in watchOS
 19 |     public init() {}
 20 |
 21 |     public func getCurrentWindow() -> UIWindow? {
    |                                       `- error: 'UIWindow' is unavailable in watchOS
 22 |         guard let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
 23 |               let window = windowScene.windows.first(where: { $0.isKeyWindow }) else {
/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/Y_SwiftUIAlert/Y_AlertManager.swift:30:43: error: 'UIViewController' is unavailable in watchOS
 28 |     }
 29 |
 30 |     public func getTopViewController() -> UIViewController? {
    |                                           `- error: 'UIViewController' is unavailable in watchOS
 31 |         guard let window = getCurrentWindow(),
 32 |               let rootViewController = window.rootViewController else {
/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/Y_SwiftUIAlert/Y_AlertManager.swift:40:60: error: 'UIViewController' is unavailable in watchOS
 38 |     }
 39 |
 40 |     private func getTopViewController(from viewController: UIViewController) -> UIViewController {
    |                                                            `- error: 'UIViewController' is unavailable in watchOS
 41 |         if let presentedViewController = viewController.presentedViewController {
 42 |             return getTopViewController(from: presentedViewController)
/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/Y_SwiftUIAlert/Y_AlertManager.swift:40:81: error: 'UIViewController' is unavailable in watchOS
 38 |     }
 39 |
 40 |     private func getTopViewController(from viewController: UIViewController) -> UIViewController {
    |                                                                                 `- error: 'UIViewController' is unavailable in watchOS
 41 |         if let presentedViewController = viewController.presentedViewController {
 42 |             return getTopViewController(from: presentedViewController)
/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/Y_SwiftUIAlert/Y_AlertManager.swift:71:46: error: 'UIAlertController' is unavailable in watchOS
 69 |
 70 |     // 当前展示的Alert控制器(用于验证更新)
 71 |     private weak var currentAlertController: UIAlertController?
    |                                              `- error: 'UIAlertController' is unavailable in watchOS
 72 |     private var currentConfig: Y_AlertConfig?
 73 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:81:29: error: 'UITextField' is unavailable in watchOS
 79 |     /// 注意:callback闭包也可能需要弱引用处理
 80 |     private class WeakTextFieldCallback {
 81 |         weak var textField: UITextField?
    |                             `- error: 'UITextField' is unavailable in watchOS
 82 |         private let callback: (String) -> Void
 83 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Y_SwiftUIAlert/Y_AlertManager.swift:84:25: error: 'UITextField' is unavailable in watchOS
 82 |         private let callback: (String) -> Void
 83 |
 84 |         init(textField: UITextField, callback: @escaping (String) -> Void) {
    |                         `- error: 'UITextField' is unavailable in watchOS
 85 |             self.textField = textField
 86 |             // 使用weakly captured callback避免循环引用
/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/Y_SwiftUIAlert/Y_AlertManager.swift:152:78: error: 'UIAlertController' is unavailable in watchOS
150 |
151 |     /// 创建UIAlertController
152 |     private func createAlertController(from config: Y_AlertConfig) throws -> UIAlertController {
    |                                                                              `- error: 'UIAlertController' is unavailable in watchOS
153 |         // 创建新的AlertController
154 |         let alertController = UIAlertController(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:205:50: error: 'UITextField' is unavailable in watchOS
203 |
204 |     /// 配置TextField
205 |     private func configureTextField(_ textField: UITextField, with config: Y_TextFieldConfig, index: Int) {
    |                                                  `- error: 'UITextField' is unavailable in watchOS
206 |         debugLog("🔧 配置TextField[\(index)]: '\(config.placeholder)'")
207 |
/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/Y_SwiftUIAlert/Y_AlertManager.swift:263:56: error: 'UITextField' is unavailable in watchOS
261 |     // MARK: - TextField事件处理
262 |
263 |     @objc private func textFieldDidChange(_ textField: UITextField) {
    |                                                        `- error: 'UITextField' is unavailable in watchOS
264 |         let text = textField.text ?? ""
265 |
/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/Y_SwiftUIAlert/Y_AlertManager.swift:304:59: error: 'UITextField' is unavailable in watchOS
302 |     }
303 |
304 |     @objc private func textFieldEditingBegan(_ textField: UITextField) {
    |                                                           `- error: 'UITextField' is unavailable in watchOS
305 |         if let config = getCurrentTextFieldConfig(for: textField) {
306 |             config.onEditingBegan?()
/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/Y_SwiftUIAlert/Y_AlertManager.swift:310:59: error: 'UITextField' is unavailable in watchOS
308 |     }
309 |
310 |     @objc private func textFieldEditingEnded(_ textField: UITextField) {
    |                                                           `- error: 'UITextField' is unavailable in watchOS
311 |         if let config = getCurrentTextFieldConfig(for: textField) {
312 |             config.onEditingEnded?()
/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/Y_SwiftUIAlert/Y_AlertManager.swift:317:59: error: 'UITextField' is unavailable in watchOS
315 |
316 |     /// 获取TextField对应的配置
317 |     private func getCurrentTextFieldConfig(for textField: UITextField) -> Y_TextFieldConfig? {
    |                                                           `- error: 'UITextField' is unavailable in watchOS
318 |         guard let alertController = currentAlertController,
319 |               let config = currentConfig,
/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/Y_SwiftUIAlert/Y_AlertManager.swift:352:55: error: 'UITextField' is unavailable in watchOS
350 |
351 |     /// 验证所有TextField
352 |     private func validateAllTextFields(_ textFields: [UITextField], configs: [Y_TextFieldConfig]) -> Bool {
    |                                                       `- error: 'UITextField' is unavailable in watchOS
353 |         guard textFields.count == configs.count else {
354 |             return 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/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/Y_SwiftUIAlert/Y_AlertManager.swift:367:55: error: 'UITextField' is unavailable in watchOS
365 |
366 |     /// 验证单个TextField
367 |     private func validateSingleTextField(_ textField: UITextField, with config: Y_TextFieldConfig) -> Bool {
    |                                                       `- error: 'UITextField' is unavailable in watchOS
368 |         let text = textField.text ?? ""
369 |
/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/Y_SwiftUIAlert/Y_AlertManager.swift:385:79: error: 'UIAlertController' is unavailable in watchOS
383 |
384 |     /// 处理Action点击
385 |     private func handleActionTapped(_ action: Y_AlertAction, alertController: UIAlertController, config: Y_AlertConfig) {
    |                                                                               `- error: 'UIAlertController' is unavailable in watchOS
386 |         debugLog("🎯 用户点击: '\(action.title)'")
387 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:65:30: warning: conformance of 'Y_AlertManager' to protocol 'Y_AlertPresentable' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
 63 | // MARK: - Alert管理器
 64 | @MainActor
 65 | public class Y_AlertManager: Y_AlertPresentable, ObservableObject {
    |                              |- warning: conformance of 'Y_AlertManager' to protocol 'Y_AlertPresentable' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
    |                              |- note: isolate this conformance to the main actor with '@MainActor'
    |                              `- note: turn data races into runtime errors with '@preconcurrency'
 66 |     public static let shared = Y_AlertManager()
 67 |
    :
115 |
116 |     /// 展示Alert(带完成回调)
117 |     public func presentAlert(_ config: Y_AlertConfig, completion: ((Result<Void, Y_AlertError>) -> Void)? = nil) {
    |                 |- note: main actor-isolated instance method 'presentAlert(_:completion:)' cannot satisfy nonisolated requirement
    |                 `- note: mark instance method 'presentAlert(_:completion:)' 'nonisolated'
118 |         debugLog("📱 准备展示Alert: '\(config.title)'")
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:422:17: warning: 'public' modifier is redundant for static method declared in a public extension
420 |
421 |     /// 开启调试日志输出
422 |     nonisolated public static func enableDebugLog() {
    |                 `- warning: 'public' modifier is redundant for static method declared in a public extension
423 |         Y_AlertManager.logEnabled = true
424 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:427:17: warning: 'public' modifier is redundant for static method declared in a public extension
425 |
426 |     /// 关闭调试日志输出
427 |     nonisolated public static func disableDebugLog() {
    |                 `- warning: 'public' modifier is redundant for static method declared in a public extension
428 |         Y_AlertManager.logEnabled = false
429 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertModifier.swift:33:77: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 31 |     let manager: Y_AlertManager
 32 |
 33 |     public init(config: Binding<Y_AlertConfig?>, manager: Y_AlertManager = .shared) {
    |                                                                             `- warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 34 |         self._config = config
 35 |         self.manager = manager
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:66:23: note: static property declared here
 64 | @MainActor
 65 | public class Y_AlertManager: Y_AlertPresentable, ObservableObject {
 66 |     public static let shared = Y_AlertManager()
    |                       `- note: static property declared here
 67 |
 68 |     private let windowProvider: Y_WindowProviding
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertModifier.swift:77:36: warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 75 |         isPresented: Binding<Bool>,
 76 |         configFactory: @escaping () -> Y_AlertConfig?,
 77 |         manager: Y_AlertManager = .shared
    |                                    `- warning: main actor-isolated static property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 78 |     ) {
 79 |         self._isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertManager.swift:66:23: note: static property declared here
 64 | @MainActor
 65 | public class Y_AlertManager: Y_AlertPresentable, ObservableObject {
 66 |     public static let shared = Y_AlertManager()
    |                       `- note: static property declared here
 67 |
 68 |     private let windowProvider: Y_WindowProviding
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:16:30: error: 'UIKeyboardType' is unavailable in watchOS
 14 |     public let placeholder: String
 15 |     public let initialText: String
 16 |     public let keyboardType: UIKeyboardType
    |                              `- error: 'UIKeyboardType' is unavailable in watchOS
 17 |     public let isSecure: Bool
 18 |     public let autocapitalizationType: UITextAutocapitalizationType
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
    |                            `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 |     UIKeyboardTypeDefault,                // Default type for the current input method.
129 |     UIKeyboardTypeASCIICapable,           // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:18:40: error: 'UITextAutocapitalizationType' is unavailable in watchOS
 16 |     public let keyboardType: UIKeyboardType
 17 |     public let isSecure: Bool
 18 |     public let autocapitalizationType: UITextAutocapitalizationType
    |                                        `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
 19 |     public let autocorrectionType: UITextAutocorrectionType
 20 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
 20 | // cases, these values are ignored by the keyboard/input method implementation.
 21 | //
 22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
    |                            `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
 23 |     UITextAutocapitalizationTypeNone,
 24 |     UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:19:36: error: 'UITextAutocorrectionType' is unavailable in watchOS
 17 |     public let isSecure: Bool
 18 |     public let autocapitalizationType: UITextAutocapitalizationType
 19 |     public let autocorrectionType: UITextAutocorrectionType
    |                                    `- error: 'UITextAutocorrectionType' is unavailable in watchOS
 20 |
 21 |     // 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/UITextInputTraits.h:37:28: note: 'UITextAutocorrectionType' has been explicitly marked unavailable here
 35 | // cases, these values are ignored by the keyboard/input method implementation.
 36 | //
 37 | typedef NS_ENUM(NSInteger, UITextAutocorrectionType) {
    |                            `- note: 'UITextAutocorrectionType' has been explicitly marked unavailable here
 38 |     UITextAutocorrectionTypeDefault,
 39 |     UITextAutocorrectionTypeNo,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:30:29: error: 'UITextField' is unavailable in watchOS
 28 |     public let font: UIFont?
 29 |     public let backgroundColor: UIColor?
 30 |     public let borderStyle: UITextField.BorderStyle?
    |                             `- error: 'UITextField' is unavailable in watchOS
 31 |     public let clearButtonMode: UITextField.ViewMode
 32 |     public let returnKeyType: UIReturnKeyType
/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:31:33: error: 'UITextField' is unavailable in watchOS
 29 |     public let backgroundColor: UIColor?
 30 |     public let borderStyle: UITextField.BorderStyle?
 31 |     public let clearButtonMode: UITextField.ViewMode
    |                                 `- error: 'UITextField' is unavailable in watchOS
 32 |     public let returnKeyType: UIReturnKeyType
 33 |
/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:32:31: error: 'UIReturnKeyType' is unavailable in watchOS
 30 |     public let borderStyle: UITextField.BorderStyle?
 31 |     public let clearButtonMode: UITextField.ViewMode
 32 |     public let returnKeyType: UIReturnKeyType
    |                               `- error: 'UIReturnKeyType' is unavailable in watchOS
 33 |
 34 |     // 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/UITextInputTraits.h:169:28: note: 'UIReturnKeyType' has been explicitly marked unavailable here
167 | // different implementation.
168 | //
169 | typedef NS_ENUM(NSInteger, UIReturnKeyType) {
    |                            `- note: 'UIReturnKeyType' has been explicitly marked unavailable here
170 |     UIReturnKeyDefault,
171 |     UIReturnKeyGo,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:35:39: error: 'UITextField' is unavailable in watchOS
 33 |
 34 |     // MARK: - 高级配置
 35 |     public let customConfiguration: ((UITextField) -> Void)?
    |                                       `- error: 'UITextField' is unavailable in watchOS
 36 |     public let maxLength: Int?
 37 |     public let allowedCharacters: CharacterSet?
/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:49:23: error: 'UIKeyboardType' is unavailable in watchOS
 47 |         placeholder: String,
 48 |         initialText: String = "",
 49 |         keyboardType: UIKeyboardType = .default,
    |                       `- error: 'UIKeyboardType' is unavailable in watchOS
 50 |         isSecure: Bool = false,
 51 |         autocapitalizationType: UITextAutocapitalizationType = .sentences,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
    |                            `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 |     UIKeyboardTypeDefault,                // Default type for the current input method.
129 |     UIKeyboardTypeASCIICapable,           // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:51:33: error: 'UITextAutocapitalizationType' is unavailable in watchOS
 49 |         keyboardType: UIKeyboardType = .default,
 50 |         isSecure: Bool = false,
 51 |         autocapitalizationType: UITextAutocapitalizationType = .sentences,
    |                                 `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
 52 |         autocorrectionType: UITextAutocorrectionType = .default,
 53 |         validationRules: Y_ValidationRuleSet? = 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/UITextInputTraits.h:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
 20 | // cases, these values are ignored by the keyboard/input method implementation.
 21 | //
 22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
    |                            `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
 23 |     UITextAutocapitalizationTypeNone,
 24 |     UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:52:29: error: 'UITextAutocorrectionType' is unavailable in watchOS
 50 |         isSecure: Bool = false,
 51 |         autocapitalizationType: UITextAutocapitalizationType = .sentences,
 52 |         autocorrectionType: UITextAutocorrectionType = .default,
    |                             `- error: 'UITextAutocorrectionType' is unavailable in watchOS
 53 |         validationRules: Y_ValidationRuleSet? = nil,
 54 |         validateOnChange: Bool = 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/UITextInputTraits.h:37:28: note: 'UITextAutocorrectionType' has been explicitly marked unavailable here
 35 | // cases, these values are ignored by the keyboard/input method implementation.
 36 | //
 37 | typedef NS_ENUM(NSInteger, UITextAutocorrectionType) {
    |                            `- note: 'UITextAutocorrectionType' has been explicitly marked unavailable here
 38 |     UITextAutocorrectionTypeDefault,
 39 |     UITextAutocorrectionTypeNo,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:59:22: error: 'UITextField' is unavailable in watchOS
 57 |         font: UIFont? = nil,
 58 |         backgroundColor: UIColor? = nil,
 59 |         borderStyle: UITextField.BorderStyle? = nil,
    |                      `- error: 'UITextField' is unavailable in watchOS
 60 |         clearButtonMode: UITextField.ViewMode = .whileEditing,
 61 |         returnKeyType: UIReturnKeyType = .default,
/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:60:26: error: 'UITextField' is unavailable in watchOS
 58 |         backgroundColor: UIColor? = nil,
 59 |         borderStyle: UITextField.BorderStyle? = nil,
 60 |         clearButtonMode: UITextField.ViewMode = .whileEditing,
    |                          `- error: 'UITextField' is unavailable in watchOS
 61 |         returnKeyType: UIReturnKeyType = .default,
 62 |         customConfiguration: ((UITextField) -> Void)? = 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/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:61:24: error: 'UIReturnKeyType' is unavailable in watchOS
 59 |         borderStyle: UITextField.BorderStyle? = nil,
 60 |         clearButtonMode: UITextField.ViewMode = .whileEditing,
 61 |         returnKeyType: UIReturnKeyType = .default,
    |                        `- error: 'UIReturnKeyType' is unavailable in watchOS
 62 |         customConfiguration: ((UITextField) -> Void)? = nil,
 63 |         maxLength: Int? = 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/UITextInputTraits.h:169:28: note: 'UIReturnKeyType' has been explicitly marked unavailable here
167 | // different implementation.
168 | //
169 | typedef NS_ENUM(NSInteger, UIReturnKeyType) {
    |                            `- note: 'UIReturnKeyType' has been explicitly marked unavailable here
170 |     UIReturnKeyDefault,
171 |     UIReturnKeyGo,
/Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_TextFieldConfig.swift:62:32: error: 'UITextField' is unavailable in watchOS
 60 |         clearButtonMode: UITextField.ViewMode = .whileEditing,
 61 |         returnKeyType: UIReturnKeyType = .default,
 62 |         customConfiguration: ((UITextField) -> Void)? = nil,
    |                                `- error: 'UITextField' is unavailable in watchOS
 63 |         maxLength: Int? = nil,
 64 |         allowedCharacters: CharacterSet? = 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/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/Y_SwiftUIAlert/Y_TextFieldConfig.swift:254:38: error: 'UIKeyboardType' is unavailable in watchOS
252 |     }
253 |
254 |     public func keyboardType(_ type: UIKeyboardType) -> Self {
    |                                      `- error: 'UIKeyboardType' is unavailable in watchOS
255 |         // 类似的Builder方法实现...
256 |         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/UITextInputTraits.h:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
    |                            `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 |     UIKeyboardTypeDefault,                // Default type for the current input method.
129 |     UIKeyboardTypeASCIICapable,           // Displays a keyboard which can enter ASCII characters
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
SwiftCompile normal arm64 (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ Y_AlertConstants.swift /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertConstants.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Y_SwiftUIAlert/Y_AlertConstants.swift (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Y_AlertConstants.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-22 18:12:04.125 xcodebuild[812:4764] [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 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Y_SwiftUIAlert (in target 'Y_SwiftUIAlert' from project 'Y_SwiftUIAlert')
	Building workspace Y_SwiftUIAlert with scheme Y_SwiftUIAlert
(3 failures)
BUILD FAILURE 6.4 watchOS