The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWAppLifeCycleManager, reference main (3164d1), with Swift 6.4 for watchOS using Xcode 27.0 on 27 Sep 2026 21:01:31 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 WWAppLifeCycleManager -destination generic/platform=watchOS

Build Log

 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
    |                                         `- error: 'UIScene' is unavailable in watchOS
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:28:40: error: 'UIScene' is unavailable in watchOS
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
    |                                        `- error: 'UIScene' is unavailable in watchOS
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:29:42: error: 'UIScene' is unavailable in watchOS
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
    |                                          `- error: 'UIScene' is unavailable in watchOS
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:30:43: error: 'UIScene' is unavailable in watchOS
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
    |                                           `- error: 'UIScene' is unavailable in watchOS
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:31:46: error: 'UIScene' is unavailable in watchOS
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
    |                                              `- error: 'UIScene' is unavailable in watchOS
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
 33 |     public var onSceneDidBecomeForeground: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:32:45: error: 'UIScene' is unavailable in watchOS
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
    |                                             `- error: 'UIScene' is unavailable in watchOS
 33 |     public var onSceneDidBecomeForeground: ((UIScene) -> Void)?
 34 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:33:46: error: 'UIScene' is unavailable in watchOS
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
 33 |     public var onSceneDidBecomeForeground: ((UIScene) -> Void)?
    |                                              `- error: 'UIScene' is unavailable in watchOS
 34 |
 35 |     // MARK: - URL / User Activity callbacks
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:12:40: error: 'UIWindowSceneDelegate' is unavailable in watchOS
 10 |
 11 | /// Scene lifecycle 與 User Notification 的共用 delegate
 12 | final class WWSceneDelegate: NSObject, UIWindowSceneDelegate, UNUserNotificationCenterDelegate {
    |                                        `- error: 'UIWindowSceneDelegate' is unavailable in watchOS
 13 |
 14 |     // MARK: - Notification callbacks
/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:83:11: note: 'UIWindowSceneDelegate' has been explicitly marked unavailable here
 81 | #pragma mark - UIWindowSceneDelegate
 82 | API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 83 | @protocol UIWindowSceneDelegate <UISceneDelegate>
    |           `- note: 'UIWindowSceneDelegate' has been explicitly marked unavailable here
 84 | @optional
 85 | @property (nullable, nonatomic, strong) UIWindow *window;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:53:25: error: 'UIScene' is unavailable in watchOS
 51 |     ///
 52 |     /// 這是處理冷啟動通知的主要入口
 53 |     func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    |                         `- error: 'UIScene' is unavailable in watchOS
 54 |
 55 |         WWAppLifeCycleManager.shared.sceneDelegate = 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:53:57: error: 'UISceneSession' is unavailable in watchOS
 51 |     ///
 52 |     /// 這是處理冷啟動通知的主要入口
 53 |     func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    |                                                         `- error: 'UISceneSession' is unavailable in watchOS
 54 |
 55 |         WWAppLifeCycleManager.shared.sceneDelegate = 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/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
   |            `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:53:100: error: 'UIScene' is unavailable in watchOS
 51 |     ///
 52 |     /// 這是處理冷啟動通知的主要入口
 53 |     func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    |                                                                                                    `- error: 'UIScene' is unavailable in watchOS
 54 |
 55 |         WWAppLifeCycleManager.shared.sceneDelegate = 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:75:35: error: 'UIScene' is unavailable in watchOS
 73 |
 74 |     /// Scene 已完成連線
 75 |     func sceneDidConnect(_ scene: UIScene) {
    |                                   `- error: 'UIScene' is unavailable in watchOS
 76 |         onSceneDidConnect?(scene)
 77 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:80:25: error: 'UIScene' is unavailable in watchOS
 78 |
 79 |     /// Scene 即將中斷連線
 80 |     func scene(_ scene: UIScene, willDisconnectFrom session: UISceneSession) {
    |                         `- error: 'UIScene' is unavailable in watchOS
 81 |         onSceneWillDisconnect?(scene)
 82 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:80:62: error: 'UISceneSession' is unavailable in watchOS
 78 |
 79 |     /// Scene 即將中斷連線
 80 |     func scene(_ scene: UIScene, willDisconnectFrom session: UISceneSession) {
    |                                                              `- error: 'UISceneSession' is unavailable in watchOS
 81 |         onSceneWillDisconnect?(scene)
 82 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
   |            `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:85:38: error: 'UIScene' is unavailable in watchOS
 83 |
 84 |     /// Scene 已中斷連線
 85 |     func sceneDidDisconnect(_ scene: UIScene) {
    |                                      `- error: 'UIScene' is unavailable in watchOS
 86 |         onSceneDidDisconnect?(scene)
 87 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:90:40: error: 'UIScene' is unavailable in watchOS
 88 |
 89 |     /// Scene 變成 active
 90 |     func sceneDidBecomeActive(_ scene: UIScene) {
    |                                        `- error: 'UIScene' is unavailable in watchOS
 91 |         onSceneDidBecomeActive?(scene)
 92 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:95:41: error: 'UIScene' is unavailable in watchOS
 93 |
 94 |     /// Scene 即將離開 active 狀態
 95 |     func sceneWillResignActive(_ scene: UIScene) {
    |                                         `- error: 'UIScene' is unavailable in watchOS
 96 |         onSceneWillResignActive?(scene)
 97 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:100:44: error: 'UIScene' is unavailable in watchOS
 98 |
 99 |     /// Scene 即將進入前景
100 |     func sceneWillEnterForeground(_ scene: UIScene) {
    |                                            `- error: 'UIScene' is unavailable in watchOS
101 |         onSceneWillEnterForeground?(scene)
102 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:105:43: error: 'UIScene' is unavailable in watchOS
103 |
104 |     /// Scene 進入背景
105 |     func sceneDidEnterBackground(_ scene: UIScene) {
    |                                           `- error: 'UIScene' is unavailable in watchOS
106 |         onSceneDidEnterBackground?(scene)
107 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:110:25: error: 'UIScene' is unavailable in watchOS
108 |
109 |     /// App 透過 User Activity 開啟或恢復時呼叫
110 |     func scene(_ scene: UIScene, continue userActivity: NSUserActivity) {
    |                         `- error: 'UIScene' is unavailable in watchOS
111 |         onContinueUserActivity?(userActivity)
112 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:115:25: error: 'UIScene' is unavailable in watchOS
113 |
114 |     /// App 透過 URL 開啟或恢復時呼叫
115 |     func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {
    |                         `- error: 'UIScene' is unavailable in watchOS
116 |         guard let url = URLContexts.first?.url else { return }
117 |         onOpenURL?(url)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWSceneDelegate.swift
SwiftCompile normal arm64_32 Compiling\ WWAppLifeCycleManager.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/WWAppLifeCycleManager.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/WWAppLifeCycleManager.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWAppLifeCycleManager.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-27 17:01:20.799 xcodebuild[627:3873] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64 (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ WWAppLifeCycleManager (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
	Building workspace WWAppLifeCycleManager with scheme WWAppLifeCycleManager
(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:
  WWAppLifeCycleManager: /Users/admin/builder/spi-builder-workspace
resolved source packages: WWAppLifeCycleManager
2026-09-27 17:01:27.943 xcodebuild[804:4654] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WWAppLifeCycleManager",
  "name" : "WWAppLifeCycleManager",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "WWAppLifeCycleManager",
      "targets" : [
        "WWAppLifeCycleManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WWAppLifeCycleManager",
      "module_type" : "SwiftTarget",
      "name" : "WWAppLifeCycleManager",
      "path" : "Sources",
      "product_memberships" : [
        "WWAppLifeCycleManager"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Privacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "WWAppLifeCycleManager/Delegate/WWAppDelegate.swift",
        "WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift",
        "WWAppLifeCycleManager/Utility/Enum.swift",
        "WWAppLifeCycleManager/Utility/RemoteNotificationsAuthorization.swift",
        "WWAppLifeCycleManager/WWAppLifeCycleManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
{
  "workspace" : {
    "name" : "WWAppLifeCycleManager",
    "schemes" : [
      "WWAppLifeCycleManager"
    ]
  }
}
2026-09-27 17:01:29.248 xcodebuild[812:4720] [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 WWAppLifeCycleManager -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 WWAppLifeCycleManager -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  WWAppLifeCycleManager: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
    Target 'WWAppLifeCycleManager-product' in project 'WWAppLifeCycleManager'
        ➜ Explicit dependency on target 'WWAppLifeCycleManager' in project 'WWAppLifeCycleManager'
        ➜ Explicit dependency on target 'WWAppLifeCycleManager_WWAppLifeCycleManager' in project 'WWAppLifeCycleManager'
    Target 'WWAppLifeCycleManager' in project 'WWAppLifeCycleManager'
        ➜ Explicit dependency on target 'WWAppLifeCycleManager_WWAppLifeCycleManager' in project 'WWAppLifeCycleManager'
    Target 'WWAppLifeCycleManager_WWAppLifeCycleManager' in project 'WWAppLifeCycleManager' (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 WWAppLifeCycleManager normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
    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 WWAppLifeCycleManager -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64_32/WWAppLifeCycleManager.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos10.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64_32/WWAppLifeCycleManager-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/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64_32/WWAppLifeCycleManager.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64_32/WWAppLifeCycleManager-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/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64_32/WWAppLifeCycleManager_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/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-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/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64_32/WWAppLifeCycleManager-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver WWAppLifeCycleManager normal arm64 com.apple.xcode.tools.swift.compiler (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
    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 WWAppLifeCycleManager -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64/WWAppLifeCycleManager.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos10.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64/WWAppLifeCycleManager-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/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64/WWAppLifeCycleManager.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64/WWAppLifeCycleManager-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/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64/WWAppLifeCycleManager_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/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-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/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64/WWAppLifeCycleManager-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64 Compiling\ WWSceneDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:25:38: error: 'UIScene' is unavailable in watchOS
 23 |
 24 |     // MARK: - Scene lifecycle callbacks
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
    |                                      `- error: 'UIScene' is unavailable in watchOS
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:25:47: error: 'UIScene' is unavailable in watchOS
 23 |
 24 |     // MARK: - Scene lifecycle callbacks
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
    |                                               `- error: 'UIScene' is unavailable in watchOS
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:26:37: error: 'UIScene' is unavailable in watchOS
 24 |     // MARK: - Scene lifecycle callbacks
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
    |                                     `- error: 'UIScene' is unavailable in watchOS
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:27:41: error: 'UIScene' is unavailable in watchOS
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
    |                                         `- error: 'UIScene' is unavailable in watchOS
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:28:40: error: 'UIScene' is unavailable in watchOS
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
    |                                        `- error: 'UIScene' is unavailable in watchOS
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:29:42: error: 'UIScene' is unavailable in watchOS
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
    |                                          `- error: 'UIScene' is unavailable in watchOS
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:30:43: error: 'UIScene' is unavailable in watchOS
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
    |                                           `- error: 'UIScene' is unavailable in watchOS
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:31:46: error: 'UIScene' is unavailable in watchOS
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
    |                                              `- error: 'UIScene' is unavailable in watchOS
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
 33 |     public var onSceneDidBecomeForeground: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:32:45: error: 'UIScene' is unavailable in watchOS
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
    |                                             `- error: 'UIScene' is unavailable in watchOS
 33 |     public var onSceneDidBecomeForeground: ((UIScene) -> Void)?
 34 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:33:46: error: 'UIScene' is unavailable in watchOS
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
 33 |     public var onSceneDidBecomeForeground: ((UIScene) -> Void)?
    |                                              `- error: 'UIScene' is unavailable in watchOS
 34 |
 35 |     // MARK: - URL / User Activity callbacks
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:12:40: error: 'UIWindowSceneDelegate' is unavailable in watchOS
 10 |
 11 | /// Scene lifecycle 與 User Notification 的共用 delegate
 12 | final class WWSceneDelegate: NSObject, UIWindowSceneDelegate, UNUserNotificationCenterDelegate {
    |                                        `- error: 'UIWindowSceneDelegate' is unavailable in watchOS
 13 |
 14 |     // MARK: - Notification callbacks
/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:83:11: note: 'UIWindowSceneDelegate' has been explicitly marked unavailable here
 81 | #pragma mark - UIWindowSceneDelegate
 82 | API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 83 | @protocol UIWindowSceneDelegate <UISceneDelegate>
    |           `- note: 'UIWindowSceneDelegate' has been explicitly marked unavailable here
 84 | @optional
 85 | @property (nullable, nonatomic, strong) UIWindow *window;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:53:25: error: 'UIScene' is unavailable in watchOS
 51 |     ///
 52 |     /// 這是處理冷啟動通知的主要入口
 53 |     func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    |                         `- error: 'UIScene' is unavailable in watchOS
 54 |
 55 |         WWAppLifeCycleManager.shared.sceneDelegate = 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:53:57: error: 'UISceneSession' is unavailable in watchOS
 51 |     ///
 52 |     /// 這是處理冷啟動通知的主要入口
 53 |     func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    |                                                         `- error: 'UISceneSession' is unavailable in watchOS
 54 |
 55 |         WWAppLifeCycleManager.shared.sceneDelegate = 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/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
   |            `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:53:100: error: 'UIScene' is unavailable in watchOS
 51 |     ///
 52 |     /// 這是處理冷啟動通知的主要入口
 53 |     func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    |                                                                                                    `- error: 'UIScene' is unavailable in watchOS
 54 |
 55 |         WWAppLifeCycleManager.shared.sceneDelegate = 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:75:35: error: 'UIScene' is unavailable in watchOS
 73 |
 74 |     /// Scene 已完成連線
 75 |     func sceneDidConnect(_ scene: UIScene) {
    |                                   `- error: 'UIScene' is unavailable in watchOS
 76 |         onSceneDidConnect?(scene)
 77 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:80:25: error: 'UIScene' is unavailable in watchOS
 78 |
 79 |     /// Scene 即將中斷連線
 80 |     func scene(_ scene: UIScene, willDisconnectFrom session: UISceneSession) {
    |                         `- error: 'UIScene' is unavailable in watchOS
 81 |         onSceneWillDisconnect?(scene)
 82 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:80:62: error: 'UISceneSession' is unavailable in watchOS
 78 |
 79 |     /// Scene 即將中斷連線
 80 |     func scene(_ scene: UIScene, willDisconnectFrom session: UISceneSession) {
    |                                                              `- error: 'UISceneSession' is unavailable in watchOS
 81 |         onSceneWillDisconnect?(scene)
 82 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
   |            `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:85:38: error: 'UIScene' is unavailable in watchOS
 83 |
 84 |     /// Scene 已中斷連線
 85 |     func sceneDidDisconnect(_ scene: UIScene) {
    |                                      `- error: 'UIScene' is unavailable in watchOS
 86 |         onSceneDidDisconnect?(scene)
 87 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:90:40: error: 'UIScene' is unavailable in watchOS
 88 |
 89 |     /// Scene 變成 active
 90 |     func sceneDidBecomeActive(_ scene: UIScene) {
    |                                        `- error: 'UIScene' is unavailable in watchOS
 91 |         onSceneDidBecomeActive?(scene)
 92 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:95:41: error: 'UIScene' is unavailable in watchOS
 93 |
 94 |     /// Scene 即將離開 active 狀態
 95 |     func sceneWillResignActive(_ scene: UIScene) {
    |                                         `- error: 'UIScene' is unavailable in watchOS
 96 |         onSceneWillResignActive?(scene)
 97 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:100:44: error: 'UIScene' is unavailable in watchOS
 98 |
 99 |     /// Scene 即將進入前景
100 |     func sceneWillEnterForeground(_ scene: UIScene) {
    |                                            `- error: 'UIScene' is unavailable in watchOS
101 |         onSceneWillEnterForeground?(scene)
102 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:105:43: error: 'UIScene' is unavailable in watchOS
103 |
104 |     /// Scene 進入背景
105 |     func sceneDidEnterBackground(_ scene: UIScene) {
    |                                           `- error: 'UIScene' is unavailable in watchOS
106 |         onSceneDidEnterBackground?(scene)
107 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:110:25: error: 'UIScene' is unavailable in watchOS
108 |
109 |     /// App 透過 User Activity 開啟或恢復時呼叫
110 |     func scene(_ scene: UIScene, continue userActivity: NSUserActivity) {
    |                         `- error: 'UIScene' is unavailable in watchOS
111 |         onContinueUserActivity?(userActivity)
112 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:115:25: error: 'UIScene' is unavailable in watchOS
113 |
114 |     /// App 透過 URL 開啟或恢復時呼叫
115 |     func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {
    |                         `- error: 'UIScene' is unavailable in watchOS
116 |         guard let url = URLContexts.first?.url else { return }
117 |         onOpenURL?(url)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWSceneDelegate.swift
SwiftCompile normal arm64 Compiling\ WWAppDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:13:45: error: 'UIApplicationDelegate' is unavailable in watchOS
11 | ///
12 | /// 繼承 `NSObject` 並遵循 `UIApplicationDelegate` 協議,以便透過 SwiftUI 的 `@UIApplicationDelegateAdaptor` 進行掛載
13 | final public class WWAppDelegate: NSObject, UIApplicationDelegate {
   |                                             `- error: 'UIApplicationDelegate' is unavailable in watchOS
14 |
15 |     /// 當遠端通知(Push Notification)註冊流程完成時的外部回調閉包
/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:374:11: note: 'UIApplicationDelegate' has been explicitly marked unavailable here
372 |
373 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
374 | @protocol UIApplicationDelegate<NSObject>
    |           `- note: 'UIApplicationDelegate' has been explicitly marked unavailable here
375 |
376 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:26:37: error: 'UIApplication' is unavailable in watchOS
24 |     ///
25 |     /// 在此階段,套件會將此 Delegate 實例與啟動參數暫存至 `NotificationManager` 單例中,隨後觸發主 App 綁定的回調
26 |     func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool {
   |                                     `- error: 'UIApplication' is unavailable in watchOS
27 |         WWAppLifeCycleManager.shared.appDelegate = self
28 |         return 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/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/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:26:98: error: 'UIApplication' is unavailable in watchOS
24 |     ///
25 |     /// 在此階段,套件會將此 Delegate 實例與啟動參數暫存至 `NotificationManager` 單例中,隨後觸發主 App 綁定的回調
26 |     func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool {
   |                                                                                                  `- error: 'UIApplication' is unavailable in watchOS
27 |         WWAppLifeCycleManager.shared.appDelegate = self
28 |         return 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/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/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:34:37: error: 'UIApplication' is unavailable in watchOS
32 |     ///
33 |     /// 這是純 SwiftUI 專案能夠攔截到 Scene 生命週期的核心機制;當系統或 SwiftUI 建立新的 Window 時,此方法會強行將套件內部的 `WWSceneDelegate` 設定為該 Window 的委派
34 |     func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
   |                                     `- error: 'UIApplication' is unavailable in watchOS
35 |
36 |         let config = UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
/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/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:34:103: error: 'UISceneSession' is unavailable in watchOS
32 |     ///
33 |     /// 這是純 SwiftUI 專案能夠攔截到 Scene 生命週期的核心機制;當系統或 SwiftUI 建立新的 Window 時,此方法會強行將套件內部的 `WWSceneDelegate` 設定為該 Window 的委派
34 |     func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
   |                                                                                                       `- error: 'UISceneSession' is unavailable in watchOS
35 |
36 |         let config = UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
   |            `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:34:128: error: 'UIScene' is unavailable in watchOS
32 |     ///
33 |     /// 這是純 SwiftUI 專案能夠攔截到 Scene 生命週期的核心機制;當系統或 SwiftUI 建立新的 Window 時,此方法會強行將套件內部的 `WWSceneDelegate` 設定為該 Window 的委派
34 |     func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
   |                                                                                                                                `- error: 'UIScene' is unavailable in watchOS
35 |
36 |         let config = UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:34:158: error: 'UISceneConfiguration' is unavailable in watchOS
32 |     ///
33 |     /// 這是純 SwiftUI 專案能夠攔截到 Scene 生命週期的核心機制;當系統或 SwiftUI 建立新的 Window 時,此方法會強行將套件內部的 `WWSceneDelegate` 設定為該 Window 的委派
34 |     func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
   |                                                                                                                                                              `- error: 'UISceneConfiguration' is unavailable in watchOS
35 |
36 |         let config = UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneConfiguration.h:18:12: note: 'UISceneConfiguration' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UISceneConfiguration : NSObject <NSCopying, NSSecureCoding>
   |            `- note: 'UISceneConfiguration' has been explicitly marked unavailable here
19 | // Creates a UISceneConfiguration instance from your Info.plist using the name and session role provided.
20 | // If nil is provided for the name, the first matching instance of the provided session role is used.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWAppDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:46:37: error: 'UIApplication' is unavailable in watchOS
44 |     /// 當呼叫 `registerForRemoteNotifications()` 且 Apple APNs 伺服器成功核發憑證後觸發
45 |     /// - Parameter deviceToken: 該裝置唯一的通知辨識碼,通常需傳送至 Firebase (FCM) 或自有的後端伺服器
46 |     func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
   |                                     `- error: 'UIApplication' is unavailable in watchOS
47 |         WWAppLifeCycleManager.shared.deviceToken = deviceToken
48 |         didRegisterNotifications?(.success(deviceToken))
/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/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:55:37: error: 'UIApplication' is unavailable in watchOS
53 |     /// 通常發生於模擬器測試(模擬器不支援原生 APNs)、網路錯誤或憑證配置(Provisioning Profile)不正確。
54 |     /// - Parameter error: 導致註冊失敗的錯誤原因
55 |     func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) {
   |                                     `- error: 'UIApplication' is unavailable in watchOS
56 |         didRegisterNotifications?(.failure(error))
57 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
 83 |
 84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 85 | @interface UIApplication : UIResponder
    |            `- note: 'UIApplication' has been explicitly marked unavailable here
 86 |
 87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
SwiftCompile normal arm64 Compiling\ RemoteNotificationsAuthorization.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Utility/RemoteNotificationsAuthorization.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Utility/RemoteNotificationsAuthorization.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RemoteNotificationsAuthorization.swift
SwiftCompile normal arm64 Compiling\ Enum.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Utility/Enum.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Utility/Enum.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Enum.swift
SwiftCompile normal arm64 Compiling\ WWAppLifeCycleManager.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/WWAppLifeCycleManager.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/WWAppLifeCycleManager.swift:106:48: error: 'UIScene' is unavailable in watchOS
104 |     /// - Returns: 返回 self 以支援鏈式呼叫
105 |     @discardableResult
106 |     func onSceneWillConnect(perform handler: ((UIScene, UIScene.ConnectionOptions) -> Void)?) -> Self {
    |                                                `- error: 'UIScene' is unavailable in watchOS
107 |
108 |         guard let sceneDelegate else { 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/WWAppLifeCycleManager.swift:106:57: error: 'UIScene' is unavailable in watchOS
104 |     /// - Returns: 返回 self 以支援鏈式呼叫
105 |     @discardableResult
106 |     func onSceneWillConnect(perform handler: ((UIScene, UIScene.ConnectionOptions) -> Void)?) -> Self {
    |                                                         `- error: 'UIScene' is unavailable in watchOS
107 |
108 |         guard let sceneDelegate else { 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/WWAppLifeCycleManager.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWAppLifeCycleManager.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWAppLifeCycleManager (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:13:45: error: 'UIApplicationDelegate' is unavailable in watchOS
11 | ///
12 | /// 繼承 `NSObject` 並遵循 `UIApplicationDelegate` 協議,以便透過 SwiftUI 的 `@UIApplicationDelegateAdaptor` 進行掛載
13 | final public class WWAppDelegate: NSObject, UIApplicationDelegate {
   |                                             `- error: 'UIApplicationDelegate' is unavailable in watchOS
14 |
15 |     /// 當遠端通知(Push Notification)註冊流程完成時的外部回調閉包
/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:374:11: note: 'UIApplicationDelegate' has been explicitly marked unavailable here
372 |
373 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
374 | @protocol UIApplicationDelegate<NSObject>
    |           `- note: 'UIApplicationDelegate' has been explicitly marked unavailable here
375 |
376 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:26:37: error: 'UIApplication' is unavailable in watchOS
24 |     ///
25 |     /// 在此階段,套件會將此 Delegate 實例與啟動參數暫存至 `NotificationManager` 單例中,隨後觸發主 App 綁定的回調
26 |     func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool {
   |                                     `- error: 'UIApplication' is unavailable in watchOS
27 |         WWAppLifeCycleManager.shared.appDelegate = self
28 |         return 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/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/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:26:98: error: 'UIApplication' is unavailable in watchOS
24 |     ///
25 |     /// 在此階段,套件會將此 Delegate 實例與啟動參數暫存至 `NotificationManager` 單例中,隨後觸發主 App 綁定的回調
26 |     func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool {
   |                                                                                                  `- error: 'UIApplication' is unavailable in watchOS
27 |         WWAppLifeCycleManager.shared.appDelegate = self
28 |         return 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/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/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:34:37: error: 'UIApplication' is unavailable in watchOS
32 |     ///
33 |     /// 這是純 SwiftUI 專案能夠攔截到 Scene 生命週期的核心機制;當系統或 SwiftUI 建立新的 Window 時,此方法會強行將套件內部的 `WWSceneDelegate` 設定為該 Window 的委派
34 |     func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
   |                                     `- error: 'UIApplication' is unavailable in watchOS
35 |
36 |         let config = UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
/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/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:34:103: error: 'UISceneSession' is unavailable in watchOS
32 |     ///
33 |     /// 這是純 SwiftUI 專案能夠攔截到 Scene 生命週期的核心機制;當系統或 SwiftUI 建立新的 Window 時,此方法會強行將套件內部的 `WWSceneDelegate` 設定為該 Window 的委派
34 |     func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
   |                                                                                                       `- error: 'UISceneSession' is unavailable in watchOS
35 |
36 |         let config = UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
   |            `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:34:128: error: 'UIScene' is unavailable in watchOS
32 |     ///
33 |     /// 這是純 SwiftUI 專案能夠攔截到 Scene 生命週期的核心機制;當系統或 SwiftUI 建立新的 Window 時,此方法會強行將套件內部的 `WWSceneDelegate` 設定為該 Window 的委派
34 |     func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
   |                                                                                                                                `- error: 'UIScene' is unavailable in watchOS
35 |
36 |         let config = UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:34:158: error: 'UISceneConfiguration' is unavailable in watchOS
32 |     ///
33 |     /// 這是純 SwiftUI 專案能夠攔截到 Scene 生命週期的核心機制;當系統或 SwiftUI 建立新的 Window 時,此方法會強行將套件內部的 `WWSceneDelegate` 設定為該 Window 的委派
34 |     func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
   |                                                                                                                                                              `- error: 'UISceneConfiguration' is unavailable in watchOS
35 |
36 |         let config = UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneConfiguration.h:18:12: note: 'UISceneConfiguration' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UISceneConfiguration : NSObject <NSCopying, NSSecureCoding>
   |            `- note: 'UISceneConfiguration' has been explicitly marked unavailable here
19 | // Creates a UISceneConfiguration instance from your Info.plist using the name and session role provided.
20 | // If nil is provided for the name, the first matching instance of the provided session role is used.
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:46:37: error: 'UIApplication' is unavailable in watchOS
44 |     /// 當呼叫 `registerForRemoteNotifications()` 且 Apple APNs 伺服器成功核發憑證後觸發
45 |     /// - Parameter deviceToken: 該裝置唯一的通知辨識碼,通常需傳送至 Firebase (FCM) 或自有的後端伺服器
46 |     func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
   |                                     `- error: 'UIApplication' is unavailable in watchOS
47 |         WWAppLifeCycleManager.shared.deviceToken = deviceToken
48 |         didRegisterNotifications?(.success(deviceToken))
/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/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:55:37: error: 'UIApplication' is unavailable in watchOS
53 |     /// 通常發生於模擬器測試(模擬器不支援原生 APNs)、網路錯誤或憑證配置(Provisioning Profile)不正確。
54 |     /// - Parameter error: 導致註冊失敗的錯誤原因
55 |     func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) {
   |                                     `- error: 'UIApplication' is unavailable in watchOS
56 |         didRegisterNotifications?(.failure(error))
57 |     }
/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/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:25:38: error: 'UIScene' is unavailable in watchOS
 23 |
 24 |     // MARK: - Scene lifecycle callbacks
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
    |                                      `- error: 'UIScene' is unavailable in watchOS
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:25:47: error: 'UIScene' is unavailable in watchOS
 23 |
 24 |     // MARK: - Scene lifecycle callbacks
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
    |                                               `- error: 'UIScene' is unavailable in watchOS
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:26:37: error: 'UIScene' is unavailable in watchOS
 24 |     // MARK: - Scene lifecycle callbacks
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
    |                                     `- error: 'UIScene' is unavailable in watchOS
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:27:41: error: 'UIScene' is unavailable in watchOS
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
    |                                         `- error: 'UIScene' is unavailable in watchOS
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:28:40: error: 'UIScene' is unavailable in watchOS
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
    |                                        `- error: 'UIScene' is unavailable in watchOS
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:29:42: error: 'UIScene' is unavailable in watchOS
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
    |                                          `- error: 'UIScene' is unavailable in watchOS
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:30:43: error: 'UIScene' is unavailable in watchOS
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
    |                                           `- error: 'UIScene' is unavailable in watchOS
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:31:46: error: 'UIScene' is unavailable in watchOS
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
    |                                              `- error: 'UIScene' is unavailable in watchOS
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
 33 |     public var onSceneDidBecomeForeground: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:32:45: error: 'UIScene' is unavailable in watchOS
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
    |                                             `- error: 'UIScene' is unavailable in watchOS
 33 |     public var onSceneDidBecomeForeground: ((UIScene) -> Void)?
 34 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:33:46: error: 'UIScene' is unavailable in watchOS
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
 33 |     public var onSceneDidBecomeForeground: ((UIScene) -> Void)?
    |                                              `- error: 'UIScene' is unavailable in watchOS
 34 |
 35 |     // MARK: - URL / User Activity callbacks
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:12:40: error: 'UIWindowSceneDelegate' is unavailable in watchOS
 10 |
 11 | /// Scene lifecycle 與 User Notification 的共用 delegate
 12 | final class WWSceneDelegate: NSObject, UIWindowSceneDelegate, UNUserNotificationCenterDelegate {
    |                                        `- error: 'UIWindowSceneDelegate' is unavailable in watchOS
 13 |
 14 |     // MARK: - Notification callbacks
/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:83:11: note: 'UIWindowSceneDelegate' has been explicitly marked unavailable here
 81 | #pragma mark - UIWindowSceneDelegate
 82 | API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 83 | @protocol UIWindowSceneDelegate <UISceneDelegate>
    |           `- note: 'UIWindowSceneDelegate' has been explicitly marked unavailable here
 84 | @optional
 85 | @property (nullable, nonatomic, strong) UIWindow *window;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:53:25: error: 'UIScene' is unavailable in watchOS
 51 |     ///
 52 |     /// 這是處理冷啟動通知的主要入口
 53 |     func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    |                         `- error: 'UIScene' is unavailable in watchOS
 54 |
 55 |         WWAppLifeCycleManager.shared.sceneDelegate = 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:53:57: error: 'UISceneSession' is unavailable in watchOS
 51 |     ///
 52 |     /// 這是處理冷啟動通知的主要入口
 53 |     func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    |                                                         `- error: 'UISceneSession' is unavailable in watchOS
 54 |
 55 |         WWAppLifeCycleManager.shared.sceneDelegate = 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/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
   |            `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:53:100: error: 'UIScene' is unavailable in watchOS
 51 |     ///
 52 |     /// 這是處理冷啟動通知的主要入口
 53 |     func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    |                                                                                                    `- error: 'UIScene' is unavailable in watchOS
 54 |
 55 |         WWAppLifeCycleManager.shared.sceneDelegate = 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:75:35: error: 'UIScene' is unavailable in watchOS
 73 |
 74 |     /// Scene 已完成連線
 75 |     func sceneDidConnect(_ scene: UIScene) {
    |                                   `- error: 'UIScene' is unavailable in watchOS
 76 |         onSceneDidConnect?(scene)
 77 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:80:25: error: 'UIScene' is unavailable in watchOS
 78 |
 79 |     /// Scene 即將中斷連線
 80 |     func scene(_ scene: UIScene, willDisconnectFrom session: UISceneSession) {
    |                         `- error: 'UIScene' is unavailable in watchOS
 81 |         onSceneWillDisconnect?(scene)
 82 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:80:62: error: 'UISceneSession' is unavailable in watchOS
 78 |
 79 |     /// Scene 即將中斷連線
 80 |     func scene(_ scene: UIScene, willDisconnectFrom session: UISceneSession) {
    |                                                              `- error: 'UISceneSession' is unavailable in watchOS
 81 |         onSceneWillDisconnect?(scene)
 82 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
   |            `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:85:38: error: 'UIScene' is unavailable in watchOS
 83 |
 84 |     /// Scene 已中斷連線
 85 |     func sceneDidDisconnect(_ scene: UIScene) {
    |                                      `- error: 'UIScene' is unavailable in watchOS
 86 |         onSceneDidDisconnect?(scene)
 87 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:90:40: error: 'UIScene' is unavailable in watchOS
 88 |
 89 |     /// Scene 變成 active
 90 |     func sceneDidBecomeActive(_ scene: UIScene) {
    |                                        `- error: 'UIScene' is unavailable in watchOS
 91 |         onSceneDidBecomeActive?(scene)
 92 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:95:41: error: 'UIScene' is unavailable in watchOS
 93 |
 94 |     /// Scene 即將離開 active 狀態
 95 |     func sceneWillResignActive(_ scene: UIScene) {
    |                                         `- error: 'UIScene' is unavailable in watchOS
 96 |         onSceneWillResignActive?(scene)
 97 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:100:44: error: 'UIScene' is unavailable in watchOS
 98 |
 99 |     /// Scene 即將進入前景
100 |     func sceneWillEnterForeground(_ scene: UIScene) {
    |                                            `- error: 'UIScene' is unavailable in watchOS
101 |         onSceneWillEnterForeground?(scene)
102 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:105:43: error: 'UIScene' is unavailable in watchOS
103 |
104 |     /// Scene 進入背景
105 |     func sceneDidEnterBackground(_ scene: UIScene) {
    |                                           `- error: 'UIScene' is unavailable in watchOS
106 |         onSceneDidEnterBackground?(scene)
107 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:110:25: error: 'UIScene' is unavailable in watchOS
108 |
109 |     /// App 透過 User Activity 開啟或恢復時呼叫
110 |     func scene(_ scene: UIScene, continue userActivity: NSUserActivity) {
    |                         `- error: 'UIScene' is unavailable in watchOS
111 |         onContinueUserActivity?(userActivity)
112 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:115:25: error: 'UIScene' is unavailable in watchOS
113 |
114 |     /// App 透過 URL 開啟或恢復時呼叫
115 |     func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {
    |                         `- error: 'UIScene' is unavailable in watchOS
116 |         guard let url = URLContexts.first?.url else { return }
117 |         onOpenURL?(url)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:115:67: error: 'UIOpenURLContext' is unavailable in watchOS
113 |
114 |     /// App 透過 URL 開啟或恢復時呼叫
115 |     func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {
    |                                                                   `- error: 'UIOpenURLContext' is unavailable in watchOS
116 |         guard let url = URLContexts.first?.url else { return }
117 |         onOpenURL?(url)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h:17:12: note: 'UIOpenURLContext' has been explicitly marked unavailable here
15 | // This object is vended to your application by UIKit when there are URLs to open
16 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIOpenURLContext : NSObject
   |            `- note: 'UIOpenURLContext' has been explicitly marked unavailable here
18 | + (instancetype)new NS_UNAVAILABLE;
19 | - (instancetype)init NS_UNAVAILABLE;
SwiftCompile normal arm64_32 (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/WWAppLifeCycleManager.swift:106:48: error: 'UIScene' is unavailable in watchOS
104 |     /// - Returns: 返回 self 以支援鏈式呼叫
105 |     @discardableResult
106 |     func onSceneWillConnect(perform handler: ((UIScene, UIScene.ConnectionOptions) -> Void)?) -> Self {
    |                                                `- error: 'UIScene' is unavailable in watchOS
107 |
108 |         guard let sceneDelegate else { 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/WWAppLifeCycleManager.swift:106:57: error: 'UIScene' is unavailable in watchOS
104 |     /// - Returns: 返回 self 以支援鏈式呼叫
105 |     @discardableResult
106 |     func onSceneWillConnect(perform handler: ((UIScene, UIScene.ConnectionOptions) -> Void)?) -> Self {
    |                                                         `- error: 'UIScene' is unavailable in watchOS
107 |
108 |         guard let sceneDelegate else { 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/WWAppLifeCycleManager.swift:120:67: error: 'UIScene' is unavailable in watchOS
118 |     /// - Returns: 返回 self 以支援鏈式呼叫
119 |     @discardableResult
120 |     func onScene(_ action: SceneConnectAction, perform handler: ((UIScene) -> Void)?) -> Self {
    |                                                                   `- error: 'UIScene' is unavailable in watchOS
121 |
122 |         guard let sceneDelegate else { 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
SwiftEmitModule normal arm64 Emitting\ module\ for\ WWAppLifeCycleManager (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:13:45: error: 'UIApplicationDelegate' is unavailable in watchOS
11 | ///
12 | /// 繼承 `NSObject` 並遵循 `UIApplicationDelegate` 協議,以便透過 SwiftUI 的 `@UIApplicationDelegateAdaptor` 進行掛載
13 | final public class WWAppDelegate: NSObject, UIApplicationDelegate {
   |                                             `- error: 'UIApplicationDelegate' is unavailable in watchOS
14 |
15 |     /// 當遠端通知(Push Notification)註冊流程完成時的外部回調閉包
/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:374:11: note: 'UIApplicationDelegate' has been explicitly marked unavailable here
372 |
373 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
374 | @protocol UIApplicationDelegate<NSObject>
    |           `- note: 'UIApplicationDelegate' has been explicitly marked unavailable here
375 |
376 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:26:37: error: 'UIApplication' is unavailable in watchOS
24 |     ///
25 |     /// 在此階段,套件會將此 Delegate 實例與啟動參數暫存至 `NotificationManager` 單例中,隨後觸發主 App 綁定的回調
26 |     func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool {
   |                                     `- error: 'UIApplication' is unavailable in watchOS
27 |         WWAppLifeCycleManager.shared.appDelegate = self
28 |         return 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/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/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:26:98: error: 'UIApplication' is unavailable in watchOS
24 |     ///
25 |     /// 在此階段,套件會將此 Delegate 實例與啟動參數暫存至 `NotificationManager` 單例中,隨後觸發主 App 綁定的回調
26 |     func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool {
   |                                                                                                  `- error: 'UIApplication' is unavailable in watchOS
27 |         WWAppLifeCycleManager.shared.appDelegate = self
28 |         return 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/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/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:34:37: error: 'UIApplication' is unavailable in watchOS
32 |     ///
33 |     /// 這是純 SwiftUI 專案能夠攔截到 Scene 生命週期的核心機制;當系統或 SwiftUI 建立新的 Window 時,此方法會強行將套件內部的 `WWSceneDelegate` 設定為該 Window 的委派
34 |     func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
   |                                     `- error: 'UIApplication' is unavailable in watchOS
35 |
36 |         let config = UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
/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/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:34:103: error: 'UISceneSession' is unavailable in watchOS
32 |     ///
33 |     /// 這是純 SwiftUI 專案能夠攔截到 Scene 生命週期的核心機制;當系統或 SwiftUI 建立新的 Window 時,此方法會強行將套件內部的 `WWSceneDelegate` 設定為該 Window 的委派
34 |     func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
   |                                                                                                       `- error: 'UISceneSession' is unavailable in watchOS
35 |
36 |         let config = UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
   |            `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:34:128: error: 'UIScene' is unavailable in watchOS
32 |     ///
33 |     /// 這是純 SwiftUI 專案能夠攔截到 Scene 生命週期的核心機制;當系統或 SwiftUI 建立新的 Window 時,此方法會強行將套件內部的 `WWSceneDelegate` 設定為該 Window 的委派
34 |     func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
   |                                                                                                                                `- error: 'UIScene' is unavailable in watchOS
35 |
36 |         let config = UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:34:158: error: 'UISceneConfiguration' is unavailable in watchOS
32 |     ///
33 |     /// 這是純 SwiftUI 專案能夠攔截到 Scene 生命週期的核心機制;當系統或 SwiftUI 建立新的 Window 時,此方法會強行將套件內部的 `WWSceneDelegate` 設定為該 Window 的委派
34 |     func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
   |                                                                                                                                                              `- error: 'UISceneConfiguration' is unavailable in watchOS
35 |
36 |         let config = UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneConfiguration.h:18:12: note: 'UISceneConfiguration' has been explicitly marked unavailable here
16 |
17 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UISceneConfiguration : NSObject <NSCopying, NSSecureCoding>
   |            `- note: 'UISceneConfiguration' has been explicitly marked unavailable here
19 | // Creates a UISceneConfiguration instance from your Info.plist using the name and session role provided.
20 | // If nil is provided for the name, the first matching instance of the provided session role is used.
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:46:37: error: 'UIApplication' is unavailable in watchOS
44 |     /// 當呼叫 `registerForRemoteNotifications()` 且 Apple APNs 伺服器成功核發憑證後觸發
45 |     /// - Parameter deviceToken: 該裝置唯一的通知辨識碼,通常需傳送至 Firebase (FCM) 或自有的後端伺服器
46 |     func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
   |                                     `- error: 'UIApplication' is unavailable in watchOS
47 |         WWAppLifeCycleManager.shared.deviceToken = deviceToken
48 |         didRegisterNotifications?(.success(deviceToken))
/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/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift:55:37: error: 'UIApplication' is unavailable in watchOS
53 |     /// 通常發生於模擬器測試(模擬器不支援原生 APNs)、網路錯誤或憑證配置(Provisioning Profile)不正確。
54 |     /// - Parameter error: 導致註冊失敗的錯誤原因
55 |     func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) {
   |                                     `- error: 'UIApplication' is unavailable in watchOS
56 |         didRegisterNotifications?(.failure(error))
57 |     }
/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/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:25:38: error: 'UIScene' is unavailable in watchOS
 23 |
 24 |     // MARK: - Scene lifecycle callbacks
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
    |                                      `- error: 'UIScene' is unavailable in watchOS
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:25:47: error: 'UIScene' is unavailable in watchOS
 23 |
 24 |     // MARK: - Scene lifecycle callbacks
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
    |                                               `- error: 'UIScene' is unavailable in watchOS
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:26:37: error: 'UIScene' is unavailable in watchOS
 24 |     // MARK: - Scene lifecycle callbacks
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
    |                                     `- error: 'UIScene' is unavailable in watchOS
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:27:41: error: 'UIScene' is unavailable in watchOS
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
    |                                         `- error: 'UIScene' is unavailable in watchOS
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:28:40: error: 'UIScene' is unavailable in watchOS
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
    |                                        `- error: 'UIScene' is unavailable in watchOS
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:29:42: error: 'UIScene' is unavailable in watchOS
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
    |                                          `- error: 'UIScene' is unavailable in watchOS
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:30:43: error: 'UIScene' is unavailable in watchOS
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
    |                                           `- error: 'UIScene' is unavailable in watchOS
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:31:46: error: 'UIScene' is unavailable in watchOS
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
    |                                              `- error: 'UIScene' is unavailable in watchOS
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
 33 |     public var onSceneDidBecomeForeground: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:32:45: error: 'UIScene' is unavailable in watchOS
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
    |                                             `- error: 'UIScene' is unavailable in watchOS
 33 |     public var onSceneDidBecomeForeground: ((UIScene) -> Void)?
 34 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:33:46: error: 'UIScene' is unavailable in watchOS
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
 33 |     public var onSceneDidBecomeForeground: ((UIScene) -> Void)?
    |                                              `- error: 'UIScene' is unavailable in watchOS
 34 |
 35 |     // MARK: - URL / User Activity callbacks
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:12:40: error: 'UIWindowSceneDelegate' is unavailable in watchOS
 10 |
 11 | /// Scene lifecycle 與 User Notification 的共用 delegate
 12 | final class WWSceneDelegate: NSObject, UIWindowSceneDelegate, UNUserNotificationCenterDelegate {
    |                                        `- error: 'UIWindowSceneDelegate' is unavailable in watchOS
 13 |
 14 |     // MARK: - Notification callbacks
/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:83:11: note: 'UIWindowSceneDelegate' has been explicitly marked unavailable here
 81 | #pragma mark - UIWindowSceneDelegate
 82 | API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 83 | @protocol UIWindowSceneDelegate <UISceneDelegate>
    |           `- note: 'UIWindowSceneDelegate' has been explicitly marked unavailable here
 84 | @optional
 85 | @property (nullable, nonatomic, strong) UIWindow *window;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:53:25: error: 'UIScene' is unavailable in watchOS
 51 |     ///
 52 |     /// 這是處理冷啟動通知的主要入口
 53 |     func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    |                         `- error: 'UIScene' is unavailable in watchOS
 54 |
 55 |         WWAppLifeCycleManager.shared.sceneDelegate = 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:53:57: error: 'UISceneSession' is unavailable in watchOS
 51 |     ///
 52 |     /// 這是處理冷啟動通知的主要入口
 53 |     func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    |                                                         `- error: 'UISceneSession' is unavailable in watchOS
 54 |
 55 |         WWAppLifeCycleManager.shared.sceneDelegate = 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/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
   |            `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:53:100: error: 'UIScene' is unavailable in watchOS
 51 |     ///
 52 |     /// 這是處理冷啟動通知的主要入口
 53 |     func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    |                                                                                                    `- error: 'UIScene' is unavailable in watchOS
 54 |
 55 |         WWAppLifeCycleManager.shared.sceneDelegate = 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:75:35: error: 'UIScene' is unavailable in watchOS
 73 |
 74 |     /// Scene 已完成連線
 75 |     func sceneDidConnect(_ scene: UIScene) {
    |                                   `- error: 'UIScene' is unavailable in watchOS
 76 |         onSceneDidConnect?(scene)
 77 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:80:25: error: 'UIScene' is unavailable in watchOS
 78 |
 79 |     /// Scene 即將中斷連線
 80 |     func scene(_ scene: UIScene, willDisconnectFrom session: UISceneSession) {
    |                         `- error: 'UIScene' is unavailable in watchOS
 81 |         onSceneWillDisconnect?(scene)
 82 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:80:62: error: 'UISceneSession' is unavailable in watchOS
 78 |
 79 |     /// Scene 即將中斷連線
 80 |     func scene(_ scene: UIScene, willDisconnectFrom session: UISceneSession) {
    |                                                              `- error: 'UISceneSession' is unavailable in watchOS
 81 |         onSceneWillDisconnect?(scene)
 82 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
   |            `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:85:38: error: 'UIScene' is unavailable in watchOS
 83 |
 84 |     /// Scene 已中斷連線
 85 |     func sceneDidDisconnect(_ scene: UIScene) {
    |                                      `- error: 'UIScene' is unavailable in watchOS
 86 |         onSceneDidDisconnect?(scene)
 87 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:90:40: error: 'UIScene' is unavailable in watchOS
 88 |
 89 |     /// Scene 變成 active
 90 |     func sceneDidBecomeActive(_ scene: UIScene) {
    |                                        `- error: 'UIScene' is unavailable in watchOS
 91 |         onSceneDidBecomeActive?(scene)
 92 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:95:41: error: 'UIScene' is unavailable in watchOS
 93 |
 94 |     /// Scene 即將離開 active 狀態
 95 |     func sceneWillResignActive(_ scene: UIScene) {
    |                                         `- error: 'UIScene' is unavailable in watchOS
 96 |         onSceneWillResignActive?(scene)
 97 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:100:44: error: 'UIScene' is unavailable in watchOS
 98 |
 99 |     /// Scene 即將進入前景
100 |     func sceneWillEnterForeground(_ scene: UIScene) {
    |                                            `- error: 'UIScene' is unavailable in watchOS
101 |         onSceneWillEnterForeground?(scene)
102 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:105:43: error: 'UIScene' is unavailable in watchOS
103 |
104 |     /// Scene 進入背景
105 |     func sceneDidEnterBackground(_ scene: UIScene) {
    |                                           `- error: 'UIScene' is unavailable in watchOS
106 |         onSceneDidEnterBackground?(scene)
107 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:110:25: error: 'UIScene' is unavailable in watchOS
108 |
109 |     /// App 透過 User Activity 開啟或恢復時呼叫
110 |     func scene(_ scene: UIScene, continue userActivity: NSUserActivity) {
    |                         `- error: 'UIScene' is unavailable in watchOS
111 |         onContinueUserActivity?(userActivity)
112 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:115:25: error: 'UIScene' is unavailable in watchOS
113 |
114 |     /// App 透過 URL 開啟或恢復時呼叫
115 |     func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {
    |                         `- error: 'UIScene' is unavailable in watchOS
116 |         guard let url = URLContexts.first?.url else { return }
117 |         onOpenURL?(url)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:115:67: error: 'UIOpenURLContext' is unavailable in watchOS
113 |
114 |     /// App 透過 URL 開啟或恢復時呼叫
115 |     func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {
    |                                                                   `- error: 'UIOpenURLContext' is unavailable in watchOS
116 |         guard let url = URLContexts.first?.url else { return }
117 |         onOpenURL?(url)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h:17:12: note: 'UIOpenURLContext' has been explicitly marked unavailable here
15 | // This object is vended to your application by UIKit when there are URLs to open
16 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIOpenURLContext : NSObject
   |            `- note: 'UIOpenURLContext' has been explicitly marked unavailable here
18 | + (instancetype)new NS_UNAVAILABLE;
19 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/WWAppLifeCycleManager.swift:106:48: error: 'UIScene' is unavailable in watchOS
104 |     /// - Returns: 返回 self 以支援鏈式呼叫
105 |     @discardableResult
106 |     func onSceneWillConnect(perform handler: ((UIScene, UIScene.ConnectionOptions) -> Void)?) -> Self {
    |                                                `- error: 'UIScene' is unavailable in watchOS
107 |
108 |         guard let sceneDelegate else { 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/WWAppLifeCycleManager.swift:106:57: error: 'UIScene' is unavailable in watchOS
104 |     /// - Returns: 返回 self 以支援鏈式呼叫
105 |     @discardableResult
106 |     func onSceneWillConnect(perform handler: ((UIScene, UIScene.ConnectionOptions) -> Void)?) -> Self {
    |                                                         `- error: 'UIScene' is unavailable in watchOS
107 |
108 |         guard let sceneDelegate else { 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/WWAppLifeCycleManager.swift:120:67: error: 'UIScene' is unavailable in watchOS
118 |     /// - Returns: 返回 self 以支援鏈式呼叫
119 |     @discardableResult
120 |     func onScene(_ action: SceneConnectAction, perform handler: ((UIScene) -> Void)?) -> Self {
    |                                                                   `- error: 'UIScene' is unavailable in watchOS
121 |
122 |         guard let sceneDelegate else { 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWAppDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Utility/Enum.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Utility/RemoteNotificationsAuthorization.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/WWAppLifeCycleManager.swift -target arm64-apple-watchos10.0 -disable-cross-import-overlay-search -swift-module-cross-import UserNotifications /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Modules/UserNotifications.swiftcrossimport/AppIntents.swiftoverlay -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/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64/WWAppLifeCycleManager-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWAppLifeCycleManager -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64/WWAppLifeCycleManager_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64/WWAppLifeCycleManager.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64/WWAppLifeCycleManager.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64/WWAppLifeCycleManager-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64/WWAppLifeCycleManager-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64/WWAppLifeCycleManager-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64/WWAppLifeCycleManager.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/Objects-normal/arm64/WWAppLifeCycleManager.abi.json
SwiftCompile normal arm64 (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAppLifeCycleManager.build/Debug-watchos/WWAppLifeCycleManager-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64_32 Compiling\ WWSceneDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:25:38: error: 'UIScene' is unavailable in watchOS
 23 |
 24 |     // MARK: - Scene lifecycle callbacks
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
    |                                      `- error: 'UIScene' is unavailable in watchOS
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:25:47: error: 'UIScene' is unavailable in watchOS
 23 |
 24 |     // MARK: - Scene lifecycle callbacks
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
    |                                               `- error: 'UIScene' is unavailable in watchOS
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:26:37: error: 'UIScene' is unavailable in watchOS
 24 |     // MARK: - Scene lifecycle callbacks
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
    |                                     `- error: 'UIScene' is unavailable in watchOS
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:27:41: error: 'UIScene' is unavailable in watchOS
 25 |     public var onSceneWillConnect: ((UIScene, UIScene.ConnectionOptions) -> Void)?
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
    |                                         `- error: 'UIScene' is unavailable in watchOS
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:28:40: error: 'UIScene' is unavailable in watchOS
 26 |     public var onSceneDidConnect: ((UIScene) -> Void)?
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
    |                                        `- error: 'UIScene' is unavailable in watchOS
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:29:42: error: 'UIScene' is unavailable in watchOS
 27 |     public var onSceneWillDisconnect: ((UIScene) -> Void)?
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
    |                                          `- error: 'UIScene' is unavailable in watchOS
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:30:43: error: 'UIScene' is unavailable in watchOS
 28 |     public var onSceneDidDisconnect: ((UIScene) -> Void)?
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
    |                                           `- error: 'UIScene' is unavailable in watchOS
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:31:46: error: 'UIScene' is unavailable in watchOS
 29 |     public var onSceneDidBecomeActive: ((UIScene) -> Void)?
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
    |                                              `- error: 'UIScene' is unavailable in watchOS
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
 33 |     public var onSceneDidBecomeForeground: ((UIScene) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:32:45: error: 'UIScene' is unavailable in watchOS
 30 |     public var onSceneWillResignActive: ((UIScene) -> Void)?
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
    |                                             `- error: 'UIScene' is unavailable in watchOS
 33 |     public var onSceneDidBecomeForeground: ((UIScene) -> Void)?
 34 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:33:46: error: 'UIScene' is unavailable in watchOS
 31 |     public var onSceneWillEnterForeground: ((UIScene) -> Void)?
 32 |     public var onSceneDidEnterBackground: ((UIScene) -> Void)?
 33 |     public var onSceneDidBecomeForeground: ((UIScene) -> Void)?
    |                                              `- error: 'UIScene' is unavailable in watchOS
 34 |
 35 |     // MARK: - URL / User Activity callbacks
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:12:40: error: 'UIWindowSceneDelegate' is unavailable in watchOS
 10 |
 11 | /// Scene lifecycle 與 User Notification 的共用 delegate
 12 | final class WWSceneDelegate: NSObject, UIWindowSceneDelegate, UNUserNotificationCenterDelegate {
    |                                        `- error: 'UIWindowSceneDelegate' is unavailable in watchOS
 13 |
 14 |     // MARK: - Notification callbacks
/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:83:11: note: 'UIWindowSceneDelegate' has been explicitly marked unavailable here
 81 | #pragma mark - UIWindowSceneDelegate
 82 | API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 83 | @protocol UIWindowSceneDelegate <UISceneDelegate>
    |           `- note: 'UIWindowSceneDelegate' has been explicitly marked unavailable here
 84 | @optional
 85 | @property (nullable, nonatomic, strong) UIWindow *window;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:53:25: error: 'UIScene' is unavailable in watchOS
 51 |     ///
 52 |     /// 這是處理冷啟動通知的主要入口
 53 |     func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    |                         `- error: 'UIScene' is unavailable in watchOS
 54 |
 55 |         WWAppLifeCycleManager.shared.sceneDelegate = 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:53:57: error: 'UISceneSession' is unavailable in watchOS
 51 |     ///
 52 |     /// 這是處理冷啟動通知的主要入口
 53 |     func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    |                                                         `- error: 'UISceneSession' is unavailable in watchOS
 54 |
 55 |         WWAppLifeCycleManager.shared.sceneDelegate = 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/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
   |            `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:53:100: error: 'UIScene' is unavailable in watchOS
 51 |     ///
 52 |     /// 這是處理冷啟動通知的主要入口
 53 |     func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
    |                                                                                                    `- error: 'UIScene' is unavailable in watchOS
 54 |
 55 |         WWAppLifeCycleManager.shared.sceneDelegate = 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/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:75:35: error: 'UIScene' is unavailable in watchOS
 73 |
 74 |     /// Scene 已完成連線
 75 |     func sceneDidConnect(_ scene: UIScene) {
    |                                   `- error: 'UIScene' is unavailable in watchOS
 76 |         onSceneDidConnect?(scene)
 77 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:80:25: error: 'UIScene' is unavailable in watchOS
 78 |
 79 |     /// Scene 即將中斷連線
 80 |     func scene(_ scene: UIScene, willDisconnectFrom session: UISceneSession) {
    |                         `- error: 'UIScene' is unavailable in watchOS
 81 |         onSceneWillDisconnect?(scene)
 82 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:80:62: error: 'UISceneSession' is unavailable in watchOS
 78 |
 79 |     /// Scene 即將中斷連線
 80 |     func scene(_ scene: UIScene, willDisconnectFrom session: UISceneSession) {
    |                                                              `- error: 'UISceneSession' is unavailable in watchOS
 81 |         onSceneWillDisconnect?(scene)
 82 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h:19:12: note: 'UISceneSession' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
19 | @interface UISceneSession : NSObject <NSSecureCoding>
   |            `- note: 'UISceneSession' has been explicitly marked unavailable here
20 | + (instancetype)new NS_UNAVAILABLE;
21 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:85:38: error: 'UIScene' is unavailable in watchOS
 83 |
 84 |     /// Scene 已中斷連線
 85 |     func sceneDidDisconnect(_ scene: UIScene) {
    |                                      `- error: 'UIScene' is unavailable in watchOS
 86 |         onSceneDidDisconnect?(scene)
 87 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:90:40: error: 'UIScene' is unavailable in watchOS
 88 |
 89 |     /// Scene 變成 active
 90 |     func sceneDidBecomeActive(_ scene: UIScene) {
    |                                        `- error: 'UIScene' is unavailable in watchOS
 91 |         onSceneDidBecomeActive?(scene)
 92 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:95:41: error: 'UIScene' is unavailable in watchOS
 93 |
 94 |     /// Scene 即將離開 active 狀態
 95 |     func sceneWillResignActive(_ scene: UIScene) {
    |                                         `- error: 'UIScene' is unavailable in watchOS
 96 |         onSceneWillResignActive?(scene)
 97 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:100:44: error: 'UIScene' is unavailable in watchOS
 98 |
 99 |     /// Scene 即將進入前景
100 |     func sceneWillEnterForeground(_ scene: UIScene) {
    |                                            `- error: 'UIScene' is unavailable in watchOS
101 |         onSceneWillEnterForeground?(scene)
102 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:105:43: error: 'UIScene' is unavailable in watchOS
103 |
104 |     /// Scene 進入背景
105 |     func sceneDidEnterBackground(_ scene: UIScene) {
    |                                           `- error: 'UIScene' is unavailable in watchOS
106 |         onSceneDidEnterBackground?(scene)
107 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:110:25: error: 'UIScene' is unavailable in watchOS
108 |
109 |     /// App 透過 User Activity 開啟或恢復時呼叫
110 |     func scene(_ scene: UIScene, continue userActivity: NSUserActivity) {
    |                         `- error: 'UIScene' is unavailable in watchOS
111 |         onContinueUserActivity?(userActivity)
112 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift:115:25: error: 'UIScene' is unavailable in watchOS
113 |
114 |     /// App 透過 URL 開啟或恢復時呼叫
115 |     func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {
    |                         `- error: 'UIScene' is unavailable in watchOS
116 |         guard let url = URLContexts.first?.url else { return }
117 |         onOpenURL?(url)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
 18 |
 19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 20 | @interface UIScene : UIResponder
    |            `- note: 'UIScene' has been explicitly marked unavailable here
 21 | + (instancetype)new NS_UNAVAILABLE;
 22 | - (instancetype)init NS_UNAVAILABLE;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/Delegate/WWSceneDelegate.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWSceneDelegate.swift
SwiftCompile normal arm64_32 Compiling\ WWAppLifeCycleManager.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/WWAppLifeCycleManager.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWAppLifeCycleManager/WWAppLifeCycleManager.swift (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWAppLifeCycleManager.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-27 17:01:30.259 xcodebuild[813:4744] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64 Emitting\ module\ for\ WWAppLifeCycleManager (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
	SwiftCompile normal arm64 (in target 'WWAppLifeCycleManager' from project 'WWAppLifeCycleManager')
	Building workspace WWAppLifeCycleManager with scheme WWAppLifeCycleManager
(3 failures)
BUILD FAILURE 6.4 watchOS