The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWTouchEffectButton, reference 1.0.0 (1a4ee2), with Swift 6.4 for watchOS using Xcode 27.0 on 21 Sep 2026 00:06:25 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 WWTouchEffectButton -destination generic/platform=watchOS

Build Log

SwiftCompile normal arm64_32 (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64_32 Compiling\ Model.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Model.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Model.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Model.swift
SwiftCompile normal arm64 Compiling\ Model.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Model.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Model.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Model.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ WWTouchEffectButton (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Constant.swift:16:55: error: 'CABasicAnimation' is unavailable in watchOS
14 | extension Constant {
15 |
16 |     typealias BasicAnimationInformation = (animation: CABasicAnimation, keyPath: Constant.AnimationKeyPath) // Basic動畫資訊
   |                                                       `- error: 'CABasicAnimation' is unavailable in watchOS
17 | }
18 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
    |            `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:42:126: error: 'CAShapeLayer' is unavailable in watchOS
 40 |     ///   - lineWidth: 線寬
 41 |     /// - Returns: CAShapeLayer
 42 |     static func _shape(path: CGPath?, strokeColor: UIColor? = .black, fillColor: UIColor? = nil, lineWidth: CGFloat = 10) -> CAShapeLayer {
    |                                                                                                                              `- error: 'CAShapeLayer' is unavailable in watchOS
 43 |
 44 |         let layer = CAShapeLayer()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
 38 |
 39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 40 | @interface CAShapeLayer : CALayer
    |            `- note: 'CAShapeLayer' has been explicitly marked unavailable here
 41 |
 42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:32:11: error: 'CALayer' is unavailable in watchOS
 30 |
 31 | // MARK: - CALayer (static function)
 32 | extension CALayer {
    |           `- error: 'CALayer' is unavailable in watchOS
 33 |
 34 |     /// Layer產生器
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
 115 |
 116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
     |            `- note: 'CALayer' has been explicitly marked unavailable here
 118 |
 119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:64:79: error: 'CACornerMask' is unavailable in watchOS
 62 |     ///   - masksToBounds: Bool
 63 |     ///   - corners: 圓角要哪幾個邊
 64 |     func _maskedCorners(radius: CGFloat, masksToBounds: Bool = true, corners: CACornerMask = [.layerMinXMinYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMaxXMaxYCorner]) {
    |                                                                               `- error: 'CACornerMask' is unavailable in watchOS
 65 |         self.masksToBounds = masksToBounds
 66 |         self.maskedCorners = corners
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:106:33: note: 'CACornerMask' has been explicitly marked unavailable here
 104 | /* Bit definitions for `maskedCorners' property. */
 105 |
 106 | typedef NS_OPTIONS (NSUInteger, CACornerMask)
     |                                 `- note: 'CACornerMask' has been explicitly marked unavailable here
 107 | {
 108 |   kCALayerMinXMinYCorner = 1U << 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:56:11: error: 'CALayer' is unavailable in watchOS
 54 |
 55 | // MARK: - CALayer (function)
 56 | extension CALayer {
    |           `- error: 'CALayer' is unavailable in watchOS
 57 |
 58 |     /// [設定圓角](https://www.appcoda.com.tw/calayer-introduction/)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
 115 |
 116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
     |            `- note: 'CALayer' has been explicitly marked unavailable here
 118 |
 119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:92: error: 'CAAnimationDelegate' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                            `- error: 'CAAnimationDelegate' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 69 |
 70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
 71 | @protocol CAAnimationDelegate <NSObject>
    |           `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 72 | @optional
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:220: error: 'CAMediaTimingFillMode' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                                                                                                                                                            `- error: 'CAMediaTimingFillMode' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:32:20: note: 'CAMediaTimingFillMode' has been explicitly marked unavailable here
30 | @class NSString;
31 |
32 | typedef NSString * CAMediaTimingFillMode NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
   |                    `- note: 'CAMediaTimingFillMode' has been explicitly marked unavailable here
33 |
34 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:245: error: 'forwards' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                                                                                                                                                                                     `- error: 'forwards' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:86:39: note: 'forwards' has been explicitly marked unavailable here
84 | /* `fillMode' options. */
85 |
86 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeForwards
   |                                       `- note: 'forwards' has been explicitly marked unavailable here
87 |     API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
88 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeBackwards
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:72:11: error: 'CAAnimation' is unavailable in watchOS
 70 |
 71 | // MARK: - CAAnimation (static function)
 72 | extension CAAnimation {
    |           `- error: 'CAAnimation' is unavailable in watchOS
 73 |
 74 |     /// [Layer動畫產生器 (CABasicAnimation)](https://jjeremy-xue.medium.com/swift-說說-cabasicanimation-9be31ee3eae0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:37: error: 'CAAnimation' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                     `- error: 'CAAnimation' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:62: error: 'CAAnimationDelegate' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                              `- error: 'CAAnimationDelegate' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 69 |
 70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
 71 | @protocol CAAnimationDelegate <NSObject>
    |           `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 72 | @optional
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:166: error: 'CAMediaTimingFunctionName' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                      `- error: 'CAMediaTimingFunctionName' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:15:20: note: 'CAMediaTimingFunctionName' has been explicitly marked unavailable here
13 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
14 |
15 | typedef NSString * CAMediaTimingFunctionName NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
   |                    `- note: 'CAMediaTimingFunctionName' has been explicitly marked unavailable here
16 |
17 | /* Represents one segment of a function describing a timing curve. The
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:232: error: 'CAAnimationGroup' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                                                                                        `- error: 'CAAnimationGroup' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:195: error: 'linear' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                                                   `- error: 'linear' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:54:43: note: 'linear' has been explicitly marked unavailable here
52 | /** Timing function names. **/
53 |
54 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionLinear
   |                                           `- note: 'linear' has been explicitly marked unavailable here
55 |     API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
56 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionEaseIn
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:102:11: error: 'CAAnimationGroup' is unavailable in watchOS
100 |
101 | // MARK: - CAAnimationGroup (function)
102 | extension CAAnimationGroup {
    |           `- error: 'CAAnimationGroup' is unavailable in watchOS
103 |
104 |     /// 建立CAAnimationGroup
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Model.swift:11:17: error: 'CALayer' is unavailable in watchOS
 9 |
10 | // MARK: - SubLayer
11 | class SubLayer: CALayer {}
   |                 `- error: 'CALayer' is unavailable in watchOS
12 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
 115 |
 116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
     |            `- note: 'CALayer' has been explicitly marked unavailable here
 118 |
 119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift:17:54: error: 'UIControl' is unavailable in watchOS
15 |     ///   - button: WWTouchEffectButton
16 |     ///   - event: UIControl.Event
17 |     func touch(_ button: WWTouchEffectButton, event: UIControl.Event)
   |                                                      `- error: 'UIControl' is unavailable in watchOS
18 |
19 |     /// 長按的狀態
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
 74 |
 75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 76 | @interface UIControl : UIView
    |            `- note: 'UIControl' has been explicitly marked unavailable here
 77 |
 78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift:23:58: error: 'UIGestureRecognizer' is unavailable in watchOS
21 |     ///   - button: WWTouchEffectButton
22 |     ///   - state: UIGestureRecognizer.State
23 |     func longPress(_ button: WWTouchEffectButton, state: UIGestureRecognizer.State)
   |                                                          `- error: 'UIGestureRecognizer' is unavailable in watchOS
24 | }
25 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
SwiftCompile normal arm64 (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:42:126: error: 'CAShapeLayer' is unavailable in watchOS
 40 |     ///   - lineWidth: 線寬
 41 |     /// - Returns: CAShapeLayer
 42 |     static func _shape(path: CGPath?, strokeColor: UIColor? = .black, fillColor: UIColor? = nil, lineWidth: CGFloat = 10) -> CAShapeLayer {
    |                                                                                                                              `- error: 'CAShapeLayer' is unavailable in watchOS
 43 |
 44 |         let layer = CAShapeLayer()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
 38 |
 39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 40 | @interface CAShapeLayer : CALayer
    |            `- note: 'CAShapeLayer' has been explicitly marked unavailable here
 41 |
 42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:32:11: error: 'CALayer' is unavailable in watchOS
 30 |
 31 | // MARK: - CALayer (static function)
 32 | extension CALayer {
    |           `- error: 'CALayer' is unavailable in watchOS
 33 |
 34 |     /// Layer產生器
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
 115 |
 116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
     |            `- note: 'CALayer' has been explicitly marked unavailable here
 118 |
 119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:64:79: error: 'CACornerMask' is unavailable in watchOS
 62 |     ///   - masksToBounds: Bool
 63 |     ///   - corners: 圓角要哪幾個邊
 64 |     func _maskedCorners(radius: CGFloat, masksToBounds: Bool = true, corners: CACornerMask = [.layerMinXMinYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMaxXMaxYCorner]) {
    |                                                                               `- error: 'CACornerMask' is unavailable in watchOS
 65 |         self.masksToBounds = masksToBounds
 66 |         self.maskedCorners = corners
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:106:33: note: 'CACornerMask' has been explicitly marked unavailable here
 104 | /* Bit definitions for `maskedCorners' property. */
 105 |
 106 | typedef NS_OPTIONS (NSUInteger, CACornerMask)
     |                                 `- note: 'CACornerMask' has been explicitly marked unavailable here
 107 | {
 108 |   kCALayerMinXMinYCorner = 1U << 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:56:11: error: 'CALayer' is unavailable in watchOS
 54 |
 55 | // MARK: - CALayer (function)
 56 | extension CALayer {
    |           `- error: 'CALayer' is unavailable in watchOS
 57 |
 58 |     /// [設定圓角](https://www.appcoda.com.tw/calayer-introduction/)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
 115 |
 116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
     |            `- note: 'CALayer' has been explicitly marked unavailable here
 118 |
 119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:92: error: 'CAAnimationDelegate' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                            `- error: 'CAAnimationDelegate' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 69 |
 70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
 71 | @protocol CAAnimationDelegate <NSObject>
    |           `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 72 | @optional
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:220: error: 'CAMediaTimingFillMode' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                                                                                                                                                            `- error: 'CAMediaTimingFillMode' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:32:20: note: 'CAMediaTimingFillMode' has been explicitly marked unavailable here
30 | @class NSString;
31 |
32 | typedef NSString * CAMediaTimingFillMode NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
   |                    `- note: 'CAMediaTimingFillMode' has been explicitly marked unavailable here
33 |
34 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:245: error: 'forwards' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                                                                                                                                                                                     `- error: 'forwards' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:86:39: note: 'forwards' has been explicitly marked unavailable here
84 | /* `fillMode' options. */
85 |
86 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeForwards
   |                                       `- note: 'forwards' has been explicitly marked unavailable here
87 |     API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
88 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeBackwards
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:72:11: error: 'CAAnimation' is unavailable in watchOS
 70 |
 71 | // MARK: - CAAnimation (static function)
 72 | extension CAAnimation {
    |           `- error: 'CAAnimation' is unavailable in watchOS
 73 |
 74 |     /// [Layer動畫產生器 (CABasicAnimation)](https://jjeremy-xue.medium.com/swift-說說-cabasicanimation-9be31ee3eae0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:37: error: 'CAAnimation' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                     `- error: 'CAAnimation' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:62: error: 'CAAnimationDelegate' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                              `- error: 'CAAnimationDelegate' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 69 |
 70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
 71 | @protocol CAAnimationDelegate <NSObject>
    |           `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 72 | @optional
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:166: error: 'CAMediaTimingFunctionName' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                      `- error: 'CAMediaTimingFunctionName' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:15:20: note: 'CAMediaTimingFunctionName' has been explicitly marked unavailable here
13 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
14 |
15 | typedef NSString * CAMediaTimingFunctionName NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
   |                    `- note: 'CAMediaTimingFunctionName' has been explicitly marked unavailable here
16 |
17 | /* Represents one segment of a function describing a timing curve. The
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:232: error: 'CAAnimationGroup' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                                                                                        `- error: 'CAAnimationGroup' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:195: error: 'linear' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                                                   `- error: 'linear' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:54:43: note: 'linear' has been explicitly marked unavailable here
52 | /** Timing function names. **/
53 |
54 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionLinear
   |                                           `- note: 'linear' has been explicitly marked unavailable here
55 |     API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
56 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionEaseIn
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:102:11: error: 'CAAnimationGroup' is unavailable in watchOS
100 |
101 | // MARK: - CAAnimationGroup (function)
102 | extension CAAnimationGroup {
    |           `- error: 'CAAnimationGroup' is unavailable in watchOS
103 |
104 |     /// 建立CAAnimationGroup
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:44:21: error: 'CAShapeLayer' is unavailable in watchOS
 42 |     static func _shape(path: CGPath?, strokeColor: UIColor? = .black, fillColor: UIColor? = nil, lineWidth: CGFloat = 10) -> CAShapeLayer {
 43 |
 44 |         let layer = CAShapeLayer()
    |                     `- error: 'CAShapeLayer' is unavailable in watchOS
 45 |
 46 |         layer.path = path
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
 38 |
 39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 40 | @interface CAShapeLayer : CALayer
    |            `- note: 'CAShapeLayer' has been explicitly marked unavailable here
 41 |
 42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:66:14: error: 'maskedCorners' is unavailable in watchOS
 64 |     func _maskedCorners(radius: CGFloat, masksToBounds: Bool = true, corners: CACornerMask = [.layerMinXMinYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMaxXMaxYCorner]) {
 65 |         self.masksToBounds = masksToBounds
 66 |         self.maskedCorners = corners
    |              `- error: 'maskedCorners' is unavailable in watchOS
 67 |         self.cornerRadius = radius
 68 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:601:24: note: 'maskedCorners' has been explicitly marked unavailable here
 599 |  * `cornerRadius' property. Defaults to all four corners. */
 600 |
 601 | @property CACornerMask maskedCorners
     |                        `- note: 'maskedCorners' has been explicitly marked unavailable here
 602 |   API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
 603 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:87:25: error: 'CABasicAnimation' is unavailable in watchOS
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
    |                         `- error: 'CABasicAnimation' is unavailable in watchOS
 88 |
 89 |         animation.fromValue = fromValue
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
    |            `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:115:21: error: 'CAAnimationGroup' is unavailable in watchOS
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
114 |
115 |         let group = CAAnimationGroup()
    |                     `- error: 'CAAnimationGroup' is unavailable in watchOS
116 |
117 |         group.animations = animations
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Extension.swift
SwiftCompile normal arm64 Compiling\ Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Constant.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Constant.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Constant.swift
SwiftCompile normal arm64 Compiling\ Protocol.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Protocol.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-20 20:06:16.593 xcodebuild[662:4232] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWTouchEffectButton (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
	SwiftCompile normal arm64_32 (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
	Building workspace WWTouchEffectButton with scheme WWTouchEffectButton
(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
Invalid Resource 'Privacy': File not found.
Resolved source packages:
  WWTouchEffectButton: /Users/admin/builder/spi-builder-workspace
resolved source packages: WWTouchEffectButton
2026-09-20 20:06:22.610 xcodebuild[789:4720] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WWTouchEffectButton",
  "name" : "WWTouchEffectButton",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "WWTouchEffectButton",
      "targets" : [
        "WWTouchEffectButton"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "WWTouchEffectButton",
      "module_type" : "SwiftTarget",
      "name" : "WWTouchEffectButton",
      "path" : "Sources/WWTouchEffectButton",
      "product_memberships" : [
        "WWTouchEffectButton"
      ],
      "sources" : [
        "Utility/Constant.swift",
        "Utility/Extension.swift",
        "Utility/Model.swift",
        "Utility/Protocol.swift",
        "WWTouchEffectButton.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
warning: 'spi-builder-workspace': Invalid Resource 'Privacy': File not found.
{
  "workspace" : {
    "name" : "WWTouchEffectButton",
    "schemes" : [
      "WWTouchEffectButton"
    ]
  }
}
2026-09-20 20:06:23.801 xcodebuild[797:4788] [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 WWTouchEffectButton -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 WWTouchEffectButton -destination generic/platform=watchOS
Resolve Package Graph
Invalid Resource 'Privacy': File not found.
Resolved source packages:
  WWTouchEffectButton: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'WWTouchEffectButton-product' in project 'WWTouchEffectButton'
        ➜ Explicit dependency on target 'WWTouchEffectButton' in project 'WWTouchEffectButton'
    Target 'WWTouchEffectButton' in project 'WWTouchEffectButton' (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 WWTouchEffectButton normal arm64 com.apple.xcode.tools.swift.compiler (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    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 WWTouchEffectButton -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64/WWTouchEffectButton.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -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/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64/WWTouchEffectButton-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/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64/WWTouchEffectButton.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64/WWTouchEffectButton-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64/WWTouchEffectButton_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/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-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/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64/WWTouchEffectButton-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver WWTouchEffectButton normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    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 WWTouchEffectButton -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64_32/WWTouchEffectButton.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -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/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64_32/WWTouchEffectButton-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/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64_32/WWTouchEffectButton.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64_32/WWTouchEffectButton-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64_32/WWTouchEffectButton_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/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-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/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64_32/WWTouchEffectButton-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:42:126: error: 'CAShapeLayer' is unavailable in watchOS
 40 |     ///   - lineWidth: 線寬
 41 |     /// - Returns: CAShapeLayer
 42 |     static func _shape(path: CGPath?, strokeColor: UIColor? = .black, fillColor: UIColor? = nil, lineWidth: CGFloat = 10) -> CAShapeLayer {
    |                                                                                                                              `- error: 'CAShapeLayer' is unavailable in watchOS
 43 |
 44 |         let layer = CAShapeLayer()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
 38 |
 39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 40 | @interface CAShapeLayer : CALayer
    |            `- note: 'CAShapeLayer' has been explicitly marked unavailable here
 41 |
 42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:32:11: error: 'CALayer' is unavailable in watchOS
 30 |
 31 | // MARK: - CALayer (static function)
 32 | extension CALayer {
    |           `- error: 'CALayer' is unavailable in watchOS
 33 |
 34 |     /// Layer產生器
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
 115 |
 116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
     |            `- note: 'CALayer' has been explicitly marked unavailable here
 118 |
 119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:64:79: error: 'CACornerMask' is unavailable in watchOS
 62 |     ///   - masksToBounds: Bool
 63 |     ///   - corners: 圓角要哪幾個邊
 64 |     func _maskedCorners(radius: CGFloat, masksToBounds: Bool = true, corners: CACornerMask = [.layerMinXMinYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMaxXMaxYCorner]) {
    |                                                                               `- error: 'CACornerMask' is unavailable in watchOS
 65 |         self.masksToBounds = masksToBounds
 66 |         self.maskedCorners = corners
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:106:33: note: 'CACornerMask' has been explicitly marked unavailable here
 104 | /* Bit definitions for `maskedCorners' property. */
 105 |
 106 | typedef NS_OPTIONS (NSUInteger, CACornerMask)
     |                                 `- note: 'CACornerMask' has been explicitly marked unavailable here
 107 | {
 108 |   kCALayerMinXMinYCorner = 1U << 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:56:11: error: 'CALayer' is unavailable in watchOS
 54 |
 55 | // MARK: - CALayer (function)
 56 | extension CALayer {
    |           `- error: 'CALayer' is unavailable in watchOS
 57 |
 58 |     /// [設定圓角](https://www.appcoda.com.tw/calayer-introduction/)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
 115 |
 116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
     |            `- note: 'CALayer' has been explicitly marked unavailable here
 118 |
 119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:92: error: 'CAAnimationDelegate' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                            `- error: 'CAAnimationDelegate' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 69 |
 70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
 71 | @protocol CAAnimationDelegate <NSObject>
    |           `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 72 | @optional
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:220: error: 'CAMediaTimingFillMode' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                                                                                                                                                            `- error: 'CAMediaTimingFillMode' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:32:20: note: 'CAMediaTimingFillMode' has been explicitly marked unavailable here
30 | @class NSString;
31 |
32 | typedef NSString * CAMediaTimingFillMode NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
   |                    `- note: 'CAMediaTimingFillMode' has been explicitly marked unavailable here
33 |
34 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:245: error: 'forwards' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                                                                                                                                                                                     `- error: 'forwards' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:86:39: note: 'forwards' has been explicitly marked unavailable here
84 | /* `fillMode' options. */
85 |
86 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeForwards
   |                                       `- note: 'forwards' has been explicitly marked unavailable here
87 |     API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
88 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeBackwards
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:72:11: error: 'CAAnimation' is unavailable in watchOS
 70 |
 71 | // MARK: - CAAnimation (static function)
 72 | extension CAAnimation {
    |           `- error: 'CAAnimation' is unavailable in watchOS
 73 |
 74 |     /// [Layer動畫產生器 (CABasicAnimation)](https://jjeremy-xue.medium.com/swift-說說-cabasicanimation-9be31ee3eae0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:37: error: 'CAAnimation' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                     `- error: 'CAAnimation' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:62: error: 'CAAnimationDelegate' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                              `- error: 'CAAnimationDelegate' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 69 |
 70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
 71 | @protocol CAAnimationDelegate <NSObject>
    |           `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 72 | @optional
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:166: error: 'CAMediaTimingFunctionName' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                      `- error: 'CAMediaTimingFunctionName' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:15:20: note: 'CAMediaTimingFunctionName' has been explicitly marked unavailable here
13 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
14 |
15 | typedef NSString * CAMediaTimingFunctionName NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
   |                    `- note: 'CAMediaTimingFunctionName' has been explicitly marked unavailable here
16 |
17 | /* Represents one segment of a function describing a timing curve. The
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:232: error: 'CAAnimationGroup' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                                                                                        `- error: 'CAAnimationGroup' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:195: error: 'linear' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                                                   `- error: 'linear' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:54:43: note: 'linear' has been explicitly marked unavailable here
52 | /** Timing function names. **/
53 |
54 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionLinear
   |                                           `- note: 'linear' has been explicitly marked unavailable here
55 |     API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
56 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionEaseIn
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:102:11: error: 'CAAnimationGroup' is unavailable in watchOS
100 |
101 | // MARK: - CAAnimationGroup (function)
102 | extension CAAnimationGroup {
    |           `- error: 'CAAnimationGroup' is unavailable in watchOS
103 |
104 |     /// 建立CAAnimationGroup
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:44:21: error: 'CAShapeLayer' is unavailable in watchOS
 42 |     static func _shape(path: CGPath?, strokeColor: UIColor? = .black, fillColor: UIColor? = nil, lineWidth: CGFloat = 10) -> CAShapeLayer {
 43 |
 44 |         let layer = CAShapeLayer()
    |                     `- error: 'CAShapeLayer' is unavailable in watchOS
 45 |
 46 |         layer.path = path
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
 38 |
 39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 40 | @interface CAShapeLayer : CALayer
    |            `- note: 'CAShapeLayer' has been explicitly marked unavailable here
 41 |
 42 | /* The path defining the shape to be rendered. If the path extends
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:66:14: error: 'maskedCorners' is unavailable in watchOS
 64 |     func _maskedCorners(radius: CGFloat, masksToBounds: Bool = true, corners: CACornerMask = [.layerMinXMinYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMaxXMaxYCorner]) {
 65 |         self.masksToBounds = masksToBounds
 66 |         self.maskedCorners = corners
    |              `- error: 'maskedCorners' is unavailable in watchOS
 67 |         self.cornerRadius = radius
 68 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:601:24: note: 'maskedCorners' has been explicitly marked unavailable here
 599 |  * `cornerRadius' property. Defaults to all four corners. */
 600 |
 601 | @property CACornerMask maskedCorners
     |                        `- note: 'maskedCorners' has been explicitly marked unavailable here
 602 |   API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
 603 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:87:25: error: 'CABasicAnimation' is unavailable in watchOS
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
    |                         `- error: 'CABasicAnimation' is unavailable in watchOS
 88 |
 89 |         animation.fromValue = fromValue
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
    |            `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:115:21: error: 'CAAnimationGroup' is unavailable in watchOS
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
114 |
115 |         let group = CAAnimationGroup()
    |                     `- error: 'CAAnimationGroup' is unavailable in watchOS
116 |
117 |         group.animations = animations
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
SwiftCompile normal arm64 Compiling\ WWTouchEffectButton.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:11:33: error: 'UIButton' is unavailable in watchOS
  9 |
 10 | // MARK: - WWTouchEffectButton
 11 | open class WWTouchEffectButton: UIButton {
    |                                 `- error: 'UIButton' is unavailable in watchOS
 12 |
 13 |     @IBInspectable public var fromColor: UIColor = .white   // 點擊時顯示的顏色
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
 47 |
 48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 49 | @interface UIButton : UIControl <NSCoding>
    |            `- note: 'UIButton' has been explicitly marked unavailable here
 50 |
 51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:56:43: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
 54 |     /// 長按的動作
 55 |     /// - Parameter gesture: UILongPressGestureRecognizer
 56 |     @objc func longPressAction(_ gesture: UILongPressGestureRecognizer) {
    |                                           `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
 57 |         subLayerColor(longPress: gesture)
 58 |         delegate?.longPress(self, state: gesture.state)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:63:32: error: 'CAAnimationDelegate' is unavailable in watchOS
 61 |
 62 | // MARK: - CAAnimationDelegate
 63 | extension WWTouchEffectButton: CAAnimationDelegate {}
    |                                `- error: 'CAAnimationDelegate' is unavailable in watchOS
 64 | public extension WWTouchEffectButton {
 65 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 69 |
 70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
 71 | @protocol CAAnimationDelegate <NSObject>
    |           `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 72 | @optional
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:66:36: error: 'CAAnimation' is unavailable in watchOS
 64 | public extension WWTouchEffectButton {
 65 |
 66 |     func animationDidStart(_ anim: CAAnimation) {}
    |                                    `- error: 'CAAnimation' is unavailable in watchOS
 67 |
 68 |     func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:68:35: error: 'CAAnimation' is unavailable in watchOS
 66 |     func animationDidStart(_ anim: CAAnimation) {}
 67 |
 68 |     func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
    |                                   `- error: 'CAAnimation' is unavailable in watchOS
 69 |         animationDidStopAction(anim, finished: flag)
 70 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:107:41: error: 'CAAnimation' is unavailable in watchOS
105 |     ///   - anim: CAAnimation
106 |     ///   - isFinished: Bool
107 |     func animationDidStopAction(_ anim: CAAnimation, finished isFinished: Bool) {
    |                                         `- error: 'CAAnimation' is unavailable in watchOS
108 |
109 |         if (isFinished) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:131:35: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
129 |     /// [設定長按動作的顏色](https://jjeremy-xue.medium.com/初入-layer-calayer-58499a414e9a)
130 |     /// - Parameter longPress: UILongPressGestureRecognizer
131 |     func subLayerColor(longPress: UILongPressGestureRecognizer) {
    |                                   `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
132 |
133 |         switch longPress.state {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:79:25: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
 77 |     func initSetting() {
 78 |
 79 |         let longPress = UILongPressGestureRecognizer(target: self, action: #selector(self.longPressAction(_:)))
    |                         `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
 80 |
 81 |         originalBackgroundColor = self.backgroundColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:120:25: error: 'CAAnimation' is unavailable in watchOS
118 |
119 |         let subLayer = subLayerMaker()
120 |         let scaleInfo = CAAnimation._basicAnimation(keyPath: .width, fromValue: bounds.width * 0.25, toValue: bounds.width + bounds.height * 0.5, duration: duration)
    |                         `- error: 'CAAnimation' is unavailable in watchOS
121 |         let backgroundColorInfo = CAAnimation._basicAnimation(keyPath: .backgroundColor, fromValue: fromColor.cgColor, toValue: toColor.cgColor, duration: duration)
122 |         let animationGroup = CAAnimationGroup._build(animations: [scaleInfo.animation, backgroundColorInfo.animation], duration: duration)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WWTouchEffectButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:121:35: error: 'CAAnimation' is unavailable in watchOS
119 |         let subLayer = subLayerMaker()
120 |         let scaleInfo = CAAnimation._basicAnimation(keyPath: .width, fromValue: bounds.width * 0.25, toValue: bounds.width + bounds.height * 0.5, duration: duration)
121 |         let backgroundColorInfo = CAAnimation._basicAnimation(keyPath: .backgroundColor, fromValue: fromColor.cgColor, toValue: toColor.cgColor, duration: duration)
    |                                   `- error: 'CAAnimation' is unavailable in watchOS
122 |         let animationGroup = CAAnimationGroup._build(animations: [scaleInfo.animation, backgroundColorInfo.animation], duration: duration)
123 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:122:30: error: 'CAAnimationGroup' is unavailable in watchOS
120 |         let scaleInfo = CAAnimation._basicAnimation(keyPath: .width, fromValue: bounds.width * 0.25, toValue: bounds.width + bounds.height * 0.5, duration: duration)
121 |         let backgroundColorInfo = CAAnimation._basicAnimation(keyPath: .backgroundColor, fromValue: fromColor.cgColor, toValue: toColor.cgColor, duration: duration)
122 |         let animationGroup = CAAnimationGroup._build(animations: [scaleInfo.animation, backgroundColorInfo.animation], duration: duration)
    |                              `- error: 'CAAnimationGroup' is unavailable in watchOS
123 |
124 |         layer.addSublayer(subLayer)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:245: error: 'forwards' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                                                                                                                                                                                     `- error: 'forwards' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:86:39: note: 'forwards' has been explicitly marked unavailable here
84 | /* `fillMode' options. */
85 |
86 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeForwards
   |                                       `- note: 'forwards' has been explicitly marked unavailable here
87 |     API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
88 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeBackwards
SwiftCompile normal arm64 Compiling\ Protocol.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Protocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift:17:54: error: 'UIControl' is unavailable in watchOS
15 |     ///   - button: WWTouchEffectButton
16 |     ///   - event: UIControl.Event
17 |     func touch(_ button: WWTouchEffectButton, event: UIControl.Event)
   |                                                      `- error: 'UIControl' is unavailable in watchOS
18 |
19 |     /// 長按的狀態
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
 74 |
 75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 76 | @interface UIControl : UIView
    |            `- note: 'UIControl' has been explicitly marked unavailable here
 77 |
 78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
SwiftCompile normal arm64 Compiling\ Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Constant.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Constant.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Constant.swift
SwiftCompile normal arm64 Compiling\ Model.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Model.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Model.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Model.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ WWTouchEffectButton (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Constant.swift:16:55: error: 'CABasicAnimation' is unavailable in watchOS
14 | extension Constant {
15 |
16 |     typealias BasicAnimationInformation = (animation: CABasicAnimation, keyPath: Constant.AnimationKeyPath) // Basic動畫資訊
   |                                                       `- error: 'CABasicAnimation' is unavailable in watchOS
17 | }
18 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
    |            `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:42:126: error: 'CAShapeLayer' is unavailable in watchOS
 40 |     ///   - lineWidth: 線寬
 41 |     /// - Returns: CAShapeLayer
 42 |     static func _shape(path: CGPath?, strokeColor: UIColor? = .black, fillColor: UIColor? = nil, lineWidth: CGFloat = 10) -> CAShapeLayer {
    |                                                                                                                              `- error: 'CAShapeLayer' is unavailable in watchOS
 43 |
 44 |         let layer = CAShapeLayer()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
 38 |
 39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 40 | @interface CAShapeLayer : CALayer
    |            `- note: 'CAShapeLayer' has been explicitly marked unavailable here
 41 |
 42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:32:11: error: 'CALayer' is unavailable in watchOS
 30 |
 31 | // MARK: - CALayer (static function)
 32 | extension CALayer {
    |           `- error: 'CALayer' is unavailable in watchOS
 33 |
 34 |     /// Layer產生器
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
 115 |
 116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
     |            `- note: 'CALayer' has been explicitly marked unavailable here
 118 |
 119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:64:79: error: 'CACornerMask' is unavailable in watchOS
 62 |     ///   - masksToBounds: Bool
 63 |     ///   - corners: 圓角要哪幾個邊
 64 |     func _maskedCorners(radius: CGFloat, masksToBounds: Bool = true, corners: CACornerMask = [.layerMinXMinYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMaxXMaxYCorner]) {
    |                                                                               `- error: 'CACornerMask' is unavailable in watchOS
 65 |         self.masksToBounds = masksToBounds
 66 |         self.maskedCorners = corners
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:106:33: note: 'CACornerMask' has been explicitly marked unavailable here
 104 | /* Bit definitions for `maskedCorners' property. */
 105 |
 106 | typedef NS_OPTIONS (NSUInteger, CACornerMask)
     |                                 `- note: 'CACornerMask' has been explicitly marked unavailable here
 107 | {
 108 |   kCALayerMinXMinYCorner = 1U << 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:56:11: error: 'CALayer' is unavailable in watchOS
 54 |
 55 | // MARK: - CALayer (function)
 56 | extension CALayer {
    |           `- error: 'CALayer' is unavailable in watchOS
 57 |
 58 |     /// [設定圓角](https://www.appcoda.com.tw/calayer-introduction/)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
 115 |
 116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
     |            `- note: 'CALayer' has been explicitly marked unavailable here
 118 |
 119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:92: error: 'CAAnimationDelegate' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                            `- error: 'CAAnimationDelegate' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 69 |
 70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
 71 | @protocol CAAnimationDelegate <NSObject>
    |           `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 72 | @optional
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:220: error: 'CAMediaTimingFillMode' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                                                                                                                                                            `- error: 'CAMediaTimingFillMode' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:32:20: note: 'CAMediaTimingFillMode' has been explicitly marked unavailable here
30 | @class NSString;
31 |
32 | typedef NSString * CAMediaTimingFillMode NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
   |                    `- note: 'CAMediaTimingFillMode' has been explicitly marked unavailable here
33 |
34 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:245: error: 'forwards' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                                                                                                                                                                                     `- error: 'forwards' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:86:39: note: 'forwards' has been explicitly marked unavailable here
84 | /* `fillMode' options. */
85 |
86 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeForwards
   |                                       `- note: 'forwards' has been explicitly marked unavailable here
87 |     API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
88 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeBackwards
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:72:11: error: 'CAAnimation' is unavailable in watchOS
 70 |
 71 | // MARK: - CAAnimation (static function)
 72 | extension CAAnimation {
    |           `- error: 'CAAnimation' is unavailable in watchOS
 73 |
 74 |     /// [Layer動畫產生器 (CABasicAnimation)](https://jjeremy-xue.medium.com/swift-說說-cabasicanimation-9be31ee3eae0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:37: error: 'CAAnimation' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                     `- error: 'CAAnimation' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:62: error: 'CAAnimationDelegate' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                              `- error: 'CAAnimationDelegate' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 69 |
 70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
 71 | @protocol CAAnimationDelegate <NSObject>
    |           `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 72 | @optional
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:166: error: 'CAMediaTimingFunctionName' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                      `- error: 'CAMediaTimingFunctionName' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:15:20: note: 'CAMediaTimingFunctionName' has been explicitly marked unavailable here
13 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
14 |
15 | typedef NSString * CAMediaTimingFunctionName NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
   |                    `- note: 'CAMediaTimingFunctionName' has been explicitly marked unavailable here
16 |
17 | /* Represents one segment of a function describing a timing curve. The
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:232: error: 'CAAnimationGroup' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                                                                                        `- error: 'CAAnimationGroup' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:195: error: 'linear' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                                                   `- error: 'linear' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:54:43: note: 'linear' has been explicitly marked unavailable here
52 | /** Timing function names. **/
53 |
54 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionLinear
   |                                           `- note: 'linear' has been explicitly marked unavailable here
55 |     API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
56 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionEaseIn
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:102:11: error: 'CAAnimationGroup' is unavailable in watchOS
100 |
101 | // MARK: - CAAnimationGroup (function)
102 | extension CAAnimationGroup {
    |           `- error: 'CAAnimationGroup' is unavailable in watchOS
103 |
104 |     /// 建立CAAnimationGroup
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Model.swift:11:17: error: 'CALayer' is unavailable in watchOS
 9 |
10 | // MARK: - SubLayer
11 | class SubLayer: CALayer {}
   |                 `- error: 'CALayer' is unavailable in watchOS
12 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
 115 |
 116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
     |            `- note: 'CALayer' has been explicitly marked unavailable here
 118 |
 119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift:17:54: error: 'UIControl' is unavailable in watchOS
15 |     ///   - button: WWTouchEffectButton
16 |     ///   - event: UIControl.Event
17 |     func touch(_ button: WWTouchEffectButton, event: UIControl.Event)
   |                                                      `- error: 'UIControl' is unavailable in watchOS
18 |
19 |     /// 長按的狀態
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
 74 |
 75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 76 | @interface UIControl : UIView
    |            `- note: 'UIControl' has been explicitly marked unavailable here
 77 |
 78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift:23:58: error: 'UIGestureRecognizer' is unavailable in watchOS
21 |     ///   - button: WWTouchEffectButton
22 |     ///   - state: UIGestureRecognizer.State
23 |     func longPress(_ button: WWTouchEffectButton, state: UIGestureRecognizer.State)
   |                                                          `- error: 'UIGestureRecognizer' is unavailable in watchOS
24 | }
25 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:11:33: error: 'UIButton' is unavailable in watchOS
  9 |
 10 | // MARK: - WWTouchEffectButton
 11 | open class WWTouchEffectButton: UIButton {
    |                                 `- error: 'UIButton' is unavailable in watchOS
 12 |
 13 |     @IBInspectable public var fromColor: UIColor = .white   // 點擊時顯示的顏色
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
 47 |
 48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 49 | @interface UIButton : UIControl <NSCoding>
    |            `- note: 'UIButton' has been explicitly marked unavailable here
 50 |
 51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:56:43: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
 54 |     /// 長按的動作
 55 |     /// - Parameter gesture: UILongPressGestureRecognizer
 56 |     @objc func longPressAction(_ gesture: UILongPressGestureRecognizer) {
    |                                           `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
 57 |         subLayerColor(longPress: gesture)
 58 |         delegate?.longPress(self, state: gesture.state)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:63:32: error: 'CAAnimationDelegate' is unavailable in watchOS
 61 |
 62 | // MARK: - CAAnimationDelegate
 63 | extension WWTouchEffectButton: CAAnimationDelegate {}
    |                                `- error: 'CAAnimationDelegate' is unavailable in watchOS
 64 | public extension WWTouchEffectButton {
 65 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 69 |
 70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
 71 | @protocol CAAnimationDelegate <NSObject>
    |           `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 72 | @optional
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:66:36: error: 'CAAnimation' is unavailable in watchOS
 64 | public extension WWTouchEffectButton {
 65 |
 66 |     func animationDidStart(_ anim: CAAnimation) {}
    |                                    `- error: 'CAAnimation' is unavailable in watchOS
 67 |
 68 |     func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:68:35: error: 'CAAnimation' is unavailable in watchOS
 66 |     func animationDidStart(_ anim: CAAnimation) {}
 67 |
 68 |     func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
    |                                   `- error: 'CAAnimation' is unavailable in watchOS
 69 |         animationDidStopAction(anim, finished: flag)
 70 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:107:41: error: 'CAAnimation' is unavailable in watchOS
105 |     ///   - anim: CAAnimation
106 |     ///   - isFinished: Bool
107 |     func animationDidStopAction(_ anim: CAAnimation, finished isFinished: Bool) {
    |                                         `- error: 'CAAnimation' is unavailable in watchOS
108 |
109 |         if (isFinished) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:131:35: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
129 |     /// [設定長按動作的顏色](https://jjeremy-xue.medium.com/初入-layer-calayer-58499a414e9a)
130 |     /// - Parameter longPress: UILongPressGestureRecognizer
131 |     func subLayerColor(longPress: UILongPressGestureRecognizer) {
    |                                   `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
132 |
133 |         switch longPress.state {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Model.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/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/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64/WWTouchEffectButton-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_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWTouchEffectButton -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64/WWTouchEffectButton_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/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64/WWTouchEffectButton.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64/WWTouchEffectButton.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64/WWTouchEffectButton-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64/WWTouchEffectButton-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64/WWTouchEffectButton-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64/WWTouchEffectButton.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64/WWTouchEffectButton.abi.json
SwiftCompile normal arm64 (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWTouchEffectButton (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Constant.swift:16:55: error: 'CABasicAnimation' is unavailable in watchOS
14 | extension Constant {
15 |
16 |     typealias BasicAnimationInformation = (animation: CABasicAnimation, keyPath: Constant.AnimationKeyPath) // Basic動畫資訊
   |                                                       `- error: 'CABasicAnimation' is unavailable in watchOS
17 | }
18 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
    |            `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:42:126: error: 'CAShapeLayer' is unavailable in watchOS
 40 |     ///   - lineWidth: 線寬
 41 |     /// - Returns: CAShapeLayer
 42 |     static func _shape(path: CGPath?, strokeColor: UIColor? = .black, fillColor: UIColor? = nil, lineWidth: CGFloat = 10) -> CAShapeLayer {
    |                                                                                                                              `- error: 'CAShapeLayer' is unavailable in watchOS
 43 |
 44 |         let layer = CAShapeLayer()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
 38 |
 39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 40 | @interface CAShapeLayer : CALayer
    |            `- note: 'CAShapeLayer' has been explicitly marked unavailable here
 41 |
 42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:32:11: error: 'CALayer' is unavailable in watchOS
 30 |
 31 | // MARK: - CALayer (static function)
 32 | extension CALayer {
    |           `- error: 'CALayer' is unavailable in watchOS
 33 |
 34 |     /// Layer產生器
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
 115 |
 116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
     |            `- note: 'CALayer' has been explicitly marked unavailable here
 118 |
 119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:64:79: error: 'CACornerMask' is unavailable in watchOS
 62 |     ///   - masksToBounds: Bool
 63 |     ///   - corners: 圓角要哪幾個邊
 64 |     func _maskedCorners(radius: CGFloat, masksToBounds: Bool = true, corners: CACornerMask = [.layerMinXMinYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMaxXMaxYCorner]) {
    |                                                                               `- error: 'CACornerMask' is unavailable in watchOS
 65 |         self.masksToBounds = masksToBounds
 66 |         self.maskedCorners = corners
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:106:33: note: 'CACornerMask' has been explicitly marked unavailable here
 104 | /* Bit definitions for `maskedCorners' property. */
 105 |
 106 | typedef NS_OPTIONS (NSUInteger, CACornerMask)
     |                                 `- note: 'CACornerMask' has been explicitly marked unavailable here
 107 | {
 108 |   kCALayerMinXMinYCorner = 1U << 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:56:11: error: 'CALayer' is unavailable in watchOS
 54 |
 55 | // MARK: - CALayer (function)
 56 | extension CALayer {
    |           `- error: 'CALayer' is unavailable in watchOS
 57 |
 58 |     /// [設定圓角](https://www.appcoda.com.tw/calayer-introduction/)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
 115 |
 116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
     |            `- note: 'CALayer' has been explicitly marked unavailable here
 118 |
 119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:92: error: 'CAAnimationDelegate' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                            `- error: 'CAAnimationDelegate' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 69 |
 70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
 71 | @protocol CAAnimationDelegate <NSObject>
    |           `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 72 | @optional
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:220: error: 'CAMediaTimingFillMode' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                                                                                                                                                            `- error: 'CAMediaTimingFillMode' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:32:20: note: 'CAMediaTimingFillMode' has been explicitly marked unavailable here
30 | @class NSString;
31 |
32 | typedef NSString * CAMediaTimingFillMode NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
   |                    `- note: 'CAMediaTimingFillMode' has been explicitly marked unavailable here
33 |
34 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:245: error: 'forwards' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                                                                                                                                                                                     `- error: 'forwards' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:86:39: note: 'forwards' has been explicitly marked unavailable here
84 | /* `fillMode' options. */
85 |
86 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeForwards
   |                                       `- note: 'forwards' has been explicitly marked unavailable here
87 |     API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
88 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeBackwards
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:72:11: error: 'CAAnimation' is unavailable in watchOS
 70 |
 71 | // MARK: - CAAnimation (static function)
 72 | extension CAAnimation {
    |           `- error: 'CAAnimation' is unavailable in watchOS
 73 |
 74 |     /// [Layer動畫產生器 (CABasicAnimation)](https://jjeremy-xue.medium.com/swift-說說-cabasicanimation-9be31ee3eae0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:37: error: 'CAAnimation' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                     `- error: 'CAAnimation' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:62: error: 'CAAnimationDelegate' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                              `- error: 'CAAnimationDelegate' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 69 |
 70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
 71 | @protocol CAAnimationDelegate <NSObject>
    |           `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 72 | @optional
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:166: error: 'CAMediaTimingFunctionName' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                      `- error: 'CAMediaTimingFunctionName' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:15:20: note: 'CAMediaTimingFunctionName' has been explicitly marked unavailable here
13 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
14 |
15 | typedef NSString * CAMediaTimingFunctionName NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
   |                    `- note: 'CAMediaTimingFunctionName' has been explicitly marked unavailable here
16 |
17 | /* Represents one segment of a function describing a timing curve. The
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:232: error: 'CAAnimationGroup' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                                                                                        `- error: 'CAAnimationGroup' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:195: error: 'linear' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                                                   `- error: 'linear' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:54:43: note: 'linear' has been explicitly marked unavailable here
52 | /** Timing function names. **/
53 |
54 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionLinear
   |                                           `- note: 'linear' has been explicitly marked unavailable here
55 |     API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
56 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionEaseIn
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:102:11: error: 'CAAnimationGroup' is unavailable in watchOS
100 |
101 | // MARK: - CAAnimationGroup (function)
102 | extension CAAnimationGroup {
    |           `- error: 'CAAnimationGroup' is unavailable in watchOS
103 |
104 |     /// 建立CAAnimationGroup
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Model.swift:11:17: error: 'CALayer' is unavailable in watchOS
 9 |
10 | // MARK: - SubLayer
11 | class SubLayer: CALayer {}
   |                 `- error: 'CALayer' is unavailable in watchOS
12 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
 115 |
 116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
     |            `- note: 'CALayer' has been explicitly marked unavailable here
 118 |
 119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift:17:54: error: 'UIControl' is unavailable in watchOS
15 |     ///   - button: WWTouchEffectButton
16 |     ///   - event: UIControl.Event
17 |     func touch(_ button: WWTouchEffectButton, event: UIControl.Event)
   |                                                      `- error: 'UIControl' is unavailable in watchOS
18 |
19 |     /// 長按的狀態
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
 74 |
 75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 76 | @interface UIControl : UIView
    |            `- note: 'UIControl' has been explicitly marked unavailable here
 77 |
 78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift:23:58: error: 'UIGestureRecognizer' is unavailable in watchOS
21 |     ///   - button: WWTouchEffectButton
22 |     ///   - state: UIGestureRecognizer.State
23 |     func longPress(_ button: WWTouchEffectButton, state: UIGestureRecognizer.State)
   |                                                          `- error: 'UIGestureRecognizer' is unavailable in watchOS
24 | }
25 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:11:33: error: 'UIButton' is unavailable in watchOS
  9 |
 10 | // MARK: - WWTouchEffectButton
 11 | open class WWTouchEffectButton: UIButton {
    |                                 `- error: 'UIButton' is unavailable in watchOS
 12 |
 13 |     @IBInspectable public var fromColor: UIColor = .white   // 點擊時顯示的顏色
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
 47 |
 48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 49 | @interface UIButton : UIControl <NSCoding>
    |            `- note: 'UIButton' has been explicitly marked unavailable here
 50 |
 51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:56:43: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
 54 |     /// 長按的動作
 55 |     /// - Parameter gesture: UILongPressGestureRecognizer
 56 |     @objc func longPressAction(_ gesture: UILongPressGestureRecognizer) {
    |                                           `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
 57 |         subLayerColor(longPress: gesture)
 58 |         delegate?.longPress(self, state: gesture.state)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:63:32: error: 'CAAnimationDelegate' is unavailable in watchOS
 61 |
 62 | // MARK: - CAAnimationDelegate
 63 | extension WWTouchEffectButton: CAAnimationDelegate {}
    |                                `- error: 'CAAnimationDelegate' is unavailable in watchOS
 64 | public extension WWTouchEffectButton {
 65 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 69 |
 70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
 71 | @protocol CAAnimationDelegate <NSObject>
    |           `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 72 | @optional
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:66:36: error: 'CAAnimation' is unavailable in watchOS
 64 | public extension WWTouchEffectButton {
 65 |
 66 |     func animationDidStart(_ anim: CAAnimation) {}
    |                                    `- error: 'CAAnimation' is unavailable in watchOS
 67 |
 68 |     func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:68:35: error: 'CAAnimation' is unavailable in watchOS
 66 |     func animationDidStart(_ anim: CAAnimation) {}
 67 |
 68 |     func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
    |                                   `- error: 'CAAnimation' is unavailable in watchOS
 69 |         animationDidStopAction(anim, finished: flag)
 70 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:107:41: error: 'CAAnimation' is unavailable in watchOS
105 |     ///   - anim: CAAnimation
106 |     ///   - isFinished: Bool
107 |     func animationDidStopAction(_ anim: CAAnimation, finished isFinished: Bool) {
    |                                         `- error: 'CAAnimation' is unavailable in watchOS
108 |
109 |         if (isFinished) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift:131:35: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
129 |     /// [設定長按動作的顏色](https://jjeremy-xue.medium.com/初入-layer-calayer-58499a414e9a)
130 |     /// - Parameter longPress: UILongPressGestureRecognizer
131 |     func subLayerColor(longPress: UILongPressGestureRecognizer) {
    |                                   `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
132 |
133 |         switch longPress.state {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired;      // Default is 0. The number of full taps required before the press for gesture to be recognized
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Model.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/WWTouchEffectButton.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64_32/WWTouchEffectButton-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWTouchEffectButton -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64_32/WWTouchEffectButton_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64_32/WWTouchEffectButton.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64_32/WWTouchEffectButton.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64_32/WWTouchEffectButton-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64_32/WWTouchEffectButton-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64_32/WWTouchEffectButton-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64_32/WWTouchEffectButton.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWTouchEffectButton.build/Debug-watchos/WWTouchEffectButton-t.build/Objects-normal/arm64_32/WWTouchEffectButton.abi.json
SwiftCompile normal arm64_32 (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64_32 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:42:126: error: 'CAShapeLayer' is unavailable in watchOS
 40 |     ///   - lineWidth: 線寬
 41 |     /// - Returns: CAShapeLayer
 42 |     static func _shape(path: CGPath?, strokeColor: UIColor? = .black, fillColor: UIColor? = nil, lineWidth: CGFloat = 10) -> CAShapeLayer {
    |                                                                                                                              `- error: 'CAShapeLayer' is unavailable in watchOS
 43 |
 44 |         let layer = CAShapeLayer()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
 38 |
 39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 40 | @interface CAShapeLayer : CALayer
    |            `- note: 'CAShapeLayer' has been explicitly marked unavailable here
 41 |
 42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:32:11: error: 'CALayer' is unavailable in watchOS
 30 |
 31 | // MARK: - CALayer (static function)
 32 | extension CALayer {
    |           `- error: 'CALayer' is unavailable in watchOS
 33 |
 34 |     /// Layer產生器
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
 115 |
 116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
     |            `- note: 'CALayer' has been explicitly marked unavailable here
 118 |
 119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:64:79: error: 'CACornerMask' is unavailable in watchOS
 62 |     ///   - masksToBounds: Bool
 63 |     ///   - corners: 圓角要哪幾個邊
 64 |     func _maskedCorners(radius: CGFloat, masksToBounds: Bool = true, corners: CACornerMask = [.layerMinXMinYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMaxXMaxYCorner]) {
    |                                                                               `- error: 'CACornerMask' is unavailable in watchOS
 65 |         self.masksToBounds = masksToBounds
 66 |         self.maskedCorners = corners
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:106:33: note: 'CACornerMask' has been explicitly marked unavailable here
 104 | /* Bit definitions for `maskedCorners' property. */
 105 |
 106 | typedef NS_OPTIONS (NSUInteger, CACornerMask)
     |                                 `- note: 'CACornerMask' has been explicitly marked unavailable here
 107 | {
 108 |   kCALayerMinXMinYCorner = 1U << 0,
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:56:11: error: 'CALayer' is unavailable in watchOS
 54 |
 55 | // MARK: - CALayer (function)
 56 | extension CALayer {
    |           `- error: 'CALayer' is unavailable in watchOS
 57 |
 58 |     /// [設定圓角](https://www.appcoda.com.tw/calayer-introduction/)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
 115 |
 116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
     |            `- note: 'CALayer' has been explicitly marked unavailable here
 118 |
 119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:92: error: 'CAAnimationDelegate' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                            `- error: 'CAAnimationDelegate' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 69 |
 70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
 71 | @protocol CAAnimationDelegate <NSObject>
    |           `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 72 | @optional
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:220: error: 'CAMediaTimingFillMode' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                                                                                                                                                            `- error: 'CAMediaTimingFillMode' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:32:20: note: 'CAMediaTimingFillMode' has been explicitly marked unavailable here
30 | @class NSString;
31 |
32 | typedef NSString * CAMediaTimingFillMode NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
   |                    `- note: 'CAMediaTimingFillMode' has been explicitly marked unavailable here
33 |
34 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:85:245: error: 'forwards' is unavailable in watchOS
 83 |     ///   - isRemovedOnCompletion: Bool
 84 |     /// - Returns: Constant.CAAnimationInformation
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
    |                                                                                                                                                                                                                                                     `- error: 'forwards' is unavailable in watchOS
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:86:39: note: 'forwards' has been explicitly marked unavailable here
84 | /* `fillMode' options. */
85 |
86 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeForwards
   |                                       `- note: 'forwards' has been explicitly marked unavailable here
87 |     API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
88 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeBackwards
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:72:11: error: 'CAAnimation' is unavailable in watchOS
 70 |
 71 | // MARK: - CAAnimation (static function)
 72 | extension CAAnimation {
    |           `- error: 'CAAnimation' is unavailable in watchOS
 73 |
 74 |     /// [Layer動畫產生器 (CABasicAnimation)](https://jjeremy-xue.medium.com/swift-說說-cabasicanimation-9be31ee3eae0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:37: error: 'CAAnimation' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                     `- error: 'CAAnimation' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
 23 |
 24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 25 | @interface CAAnimation : NSObject
    |            `- note: 'CAAnimation' has been explicitly marked unavailable here
 26 |     <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
 27 | {
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:62: error: 'CAAnimationDelegate' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                              `- error: 'CAAnimationDelegate' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 69 |
 70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
 71 | @protocol CAAnimationDelegate <NSObject>
    |           `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
 72 | @optional
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:166: error: 'CAMediaTimingFunctionName' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                      `- error: 'CAMediaTimingFunctionName' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:15:20: note: 'CAMediaTimingFunctionName' has been explicitly marked unavailable here
13 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
14 |
15 | typedef NSString * CAMediaTimingFunctionName NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
   |                    `- note: 'CAMediaTimingFunctionName' has been explicitly marked unavailable here
16 |
17 | /* Represents one segment of a function describing a timing curve. The
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:232: error: 'CAAnimationGroup' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                                                                                        `- error: 'CAAnimationGroup' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:113:195: error: 'linear' is unavailable in watchOS
111 |     ///   - repeatCount: Float
112 |     /// - Returns: CAAnimationGroup
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
    |                                                                                                                                                                                                   `- error: 'linear' is unavailable in watchOS
114 |
115 |         let group = CAAnimationGroup()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:54:43: note: 'linear' has been explicitly marked unavailable here
52 | /** Timing function names. **/
53 |
54 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionLinear
   |                                           `- note: 'linear' has been explicitly marked unavailable here
55 |     API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
56 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionEaseIn
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:102:11: error: 'CAAnimationGroup' is unavailable in watchOS
100 |
101 | // MARK: - CAAnimationGroup (function)
102 | extension CAAnimationGroup {
    |           `- error: 'CAAnimationGroup' is unavailable in watchOS
103 |
104 |     /// 建立CAAnimationGroup
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:44:21: error: 'CAShapeLayer' is unavailable in watchOS
 42 |     static func _shape(path: CGPath?, strokeColor: UIColor? = .black, fillColor: UIColor? = nil, lineWidth: CGFloat = 10) -> CAShapeLayer {
 43 |
 44 |         let layer = CAShapeLayer()
    |                     `- error: 'CAShapeLayer' is unavailable in watchOS
 45 |
 46 |         layer.path = path
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
 38 |
 39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
 40 | @interface CAShapeLayer : CALayer
    |            `- note: 'CAShapeLayer' has been explicitly marked unavailable here
 41 |
 42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:66:14: error: 'maskedCorners' is unavailable in watchOS
 64 |     func _maskedCorners(radius: CGFloat, masksToBounds: Bool = true, corners: CACornerMask = [.layerMinXMinYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMaxXMaxYCorner]) {
 65 |         self.masksToBounds = masksToBounds
 66 |         self.maskedCorners = corners
    |              `- error: 'maskedCorners' is unavailable in watchOS
 67 |         self.cornerRadius = radius
 68 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:601:24: note: 'maskedCorners' has been explicitly marked unavailable here
 599 |  * `cornerRadius' property. Defaults to all four corners. */
 600 |
 601 | @property CACornerMask maskedCorners
     |                        `- note: 'maskedCorners' has been explicitly marked unavailable here
 602 |   API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
 603 |
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:87:25: error: 'CABasicAnimation' is unavailable in watchOS
 85 |     static func _basicAnimation(keyPath: Constant.AnimationKeyPath = .strokeEnd, delegate: CAAnimationDelegate? = nil, fromValue: Any?, toValue: Any?, duration: CFTimeInterval = 5.0, repeatCount: Float = 1.0, fillMode: CAMediaTimingFillMode = .forwards, isRemovedOnCompletion: Bool = false) -> Constant.BasicAnimationInformation {
 86 |
 87 |         let animation = CABasicAnimation(keyPath: keyPath.rawValue)
    |                         `- error: 'CABasicAnimation' is unavailable in watchOS
 88 |
 89 |         animation.fromValue = fromValue
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
    |            `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift:115:21: error: 'CAAnimationGroup' is unavailable in watchOS
113 |     static func _build(animations: [CAAnimation]?, delegate: CAAnimationDelegate? = nil, duration: CFTimeInterval, isAutoreverses: Bool = false, timingFunctionName: CAMediaTimingFunctionName = .linear, repeatCount: Float = 1.0) -> CAAnimationGroup {
114 |
115 |         let group = CAAnimationGroup()
    |                     `- error: 'CAAnimationGroup' is unavailable in watchOS
116 |
117 |         group.animations = animations
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
    |            `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Extension.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Extension.swift
SwiftCompile normal arm64_32 Compiling\ Protocol.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
/Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift:17:54: error: 'UIControl' is unavailable in watchOS
15 |     ///   - button: WWTouchEffectButton
16 |     ///   - event: UIControl.Event
17 |     func touch(_ button: WWTouchEffectButton, event: UIControl.Event)
   |                                                      `- error: 'UIControl' is unavailable in watchOS
18 |
19 |     /// 長按的狀態
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
 74 |
 75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 76 | @interface UIControl : UIView
    |            `- note: 'UIControl' has been explicitly marked unavailable here
 77 |
 78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Protocol.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Protocol.swift
SwiftCompile normal arm64_32 Compiling\ Model.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Model.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Model.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Model.swift
SwiftCompile normal arm64_32 Compiling\ Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Constant.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWTouchEffectButton/Utility/Constant.swift (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Constant.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-20 20:06:24.759 xcodebuild[798:4815] [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\ WWTouchEffectButton (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
	SwiftCompile normal arm64 (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWTouchEffectButton (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
	SwiftCompile normal arm64_32 (in target 'WWTouchEffectButton' from project 'WWTouchEffectButton')
	Building workspace WWTouchEffectButton with scheme WWTouchEffectButton
(5 failures)
BUILD FAILURE 6.4 watchOS