Build Information
Failed to build WWEmitterLayerEffect, reference main (c24568), with Swift 6.4 for watchOS using Xcode 27.0 on 23 Sep 2026 19:48:26 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 WWEmitterLayerEffect -destination generic/platform=watchOSBuild Log
151 |
152 | let cell = CAEmitterCell()._setting(image: image, birthRate: birthRate, lifetime: 100)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWEmitterLayerEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:35:25: error: 'CAEmitterLayer' is unavailable in watchOS
33 | case .snowFlake:
34 |
35 | let layer = CAEmitterLayer()
| `- error: 'CAEmitterLayer' is unavailable in watchOS
36 | ._setting(position: CGPoint(x: view.bounds.width / 2.0, y: -50), size: CGSize(width: view.bounds.width, height: 0), shape: .line)
37 | ._renderMode(renderMode)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:36:149: error: 'line' is unavailable in watchOS
34 |
35 | let layer = CAEmitterLayer()
36 | ._setting(position: CGPoint(x: view.bounds.width / 2.0, y: -50), size: CGSize(width: view.bounds.width, height: 0), shape: .line)
| `- error: 'line' is unavailable in watchOS
37 | ._renderMode(renderMode)
38 | ._timeOffset(offset: 10)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:114:44: note: 'line' has been explicitly marked unavailable here
112 | CA_EXTERN CAEmitterLayerEmitterShape const kCAEmitterLayerPoint
113 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
114 | CA_EXTERN CAEmitterLayerEmitterShape const kCAEmitterLayerLine
| `- note: 'line' has been explicitly marked unavailable here
115 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
116 | CA_EXTERN CAEmitterLayerEmitterShape const kCAEmitterLayerRectangle
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:48:25: error: 'CAEmitterLayer' is unavailable in watchOS
46 | case .firework(let subBirthRate):
47 |
48 | let layer = CAEmitterLayer()
| `- error: 'CAEmitterLayer' is unavailable in watchOS
49 | ._setting(position: CGPoint(x: view.bounds.width / 2, y: view.bounds.height), size: view.bounds.size)
50 | ._renderMode(renderMode)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:76:20: error: 'CAEmitterCell' is unavailable in watchOS
74 | let colorRange = colorRange ?? (0, 0, 0)
75 |
76 | let cell = CAEmitterCell()._setting(image: image, birthRate: birthRate, lifetime: lifetime)
| `- error: 'CAEmitterCell' is unavailable in watchOS
77 | ._scale(1.0, range: 0.3, speed: -0.02)
78 | ._acceleration(x: 5, y: 30)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:121:20: error: 'CAEmitterCell' is unavailable in watchOS
119 | let colorRange = colorRange ?? (0.9, 0.9, 0.9)
120 |
121 | let cell = CAEmitterCell()._setting(birthRate: birthRate, lifetime: lifetime)
| `- error: 'CAEmitterCell' is unavailable in watchOS
122 | ._color(color, redRange: colorRange.red, greenRange: colorRange.green, blueRange: colorRange.blue)
123 | ._velocity(-300, range: -100)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:135:20: error: 'CAEmitterCell' is unavailable in watchOS
133 | func fireworkTrailCell(image: UIImage) -> CAEmitterCell {
134 |
135 | let cell = CAEmitterCell()._setting(image: image, birthRate: 45.0, lifetime: 0.5)
| `- error: 'CAEmitterCell' is unavailable in watchOS
136 | ._scale(0.4, range: 0.1, speed: -0.1)
137 | ._acceleration(x: 0, y: 350)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ WWEmitterLayerEffect (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:20:59: error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
18 | /// - shape: 發射的方式 => 直線 / 圓形 / 矩型…,官方有數學式計算細節
19 | /// - Returns: CAEmitterLayer
20 | func _setting(position: CGPoint, size: CGSize, shape: CAEmitterLayerEmitterShape? = nil) -> Self {
| `- error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
21 |
22 | if let shape = shape { self.emitterShape = shape }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:21:20: note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
19 | #import <QuartzCore/CALayer.h>
20 |
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:33:26: error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
31 | /// - Parameter shape: 發射樣式
32 | /// - Returns: CAEmitterLayer
33 | func _shape(_ shape: CAEmitterLayerEmitterShape?) -> Self {
| `- error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
34 | if let shape = shape { self.emitterShape = shape }
35 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:21:20: note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
19 | #import <QuartzCore/CALayer.h>
20 |
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:41:36: error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
39 | /// - Parameter renderMode: 渲染效果
40 | /// - Returns: CAEmitterLayer
41 | func _renderMode(_ renderMode: CAEmitterLayerRenderMode?) -> Self {
| `- error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
42 | if let renderMode = renderMode { self.renderMode = renderMode }
43 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:23:20: note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
24 |
25 | @class CAEmitterCell;
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:12:11: error: 'CAEmitterLayer' is unavailable in watchOS
10 |
11 | // MARK: - CAEmitterLayer (function)
12 | extension CAEmitterLayer {
| `- error: 'CAEmitterLayer' is unavailable in watchOS
13 |
14 | /// 基本設定
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:64:80: error: 'CAEmitterCell' is unavailable in watchOS
62 | /// - lifetime: 存活時間 (s)
63 | /// - Returns: CAEmitterCell
64 | func _setting(image: UIImage? = nil, birthRate: Float, lifetime: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
65 |
66 | if let image = image { self.contents = image.cgImage }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:80:70: error: 'CAEmitterCell' is unavailable in watchOS
78 | /// - speed: 大小改變的速度 => -0.02 => 越變越小
79 | /// - Returns: CAEmitterCell
80 | func _scale(_ scale: CGFloat, range: CGFloat, speed: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
81 |
82 | self.scale = scale
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:94:60: error: 'CAEmitterCell' is unavailable in watchOS
92 | /// - range: 速度範圍 => (-30 - 20) ~ (-50 + -20)
93 | /// - Returns: CAEmitterCell
94 | func _velocity(_ velocity: CGFloat, range: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
95 |
96 | self.velocity = velocity
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:107:51: error: 'CAEmitterCell' is unavailable in watchOS
105 | /// - y: 上下移動的加速度
106 | /// - Returns: CAEmitterCell
107 | func _acceleration(x: CGFloat, y: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
108 |
109 | self.xAcceleration = x
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:120:78: error: 'CAEmitterCell' is unavailable in watchOS
118 | /// - beginTime: 開始時間
119 | /// - Returns: CAEmitterCell
120 | func _duration(_ duration: CFTimeInterval, beginTime: CFTimeInterval) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
121 |
122 | self.beginTime = beginTime
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:133:52: error: 'CAEmitterCell' is unavailable in watchOS
131 | /// - range: 旋轉速度範圍 => (-0.5 - 1.0) ~ (-0.5 + 1.0)
132 | /// - Returns: CAEmitterCell
133 | func _spin(_ spin: CGFloat, range: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
134 |
135 | self.spin = spin
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:147:78: error: 'CAEmitterCell' is unavailable in watchOS
145 | /// - longitude: Z軸方向的發射角度
146 | /// - Returns: CAEmitterCell
147 | func _emission(range: CGFloat, latitude: CGFloat, longitude: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
148 |
149 | self.emissionRange = range
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:163:99: error: 'CAEmitterCell' is unavailable in watchOS
161 | /// - blueRange: 顏色的變化範圍 (監)
162 | /// - Returns: CAEmitterCell
163 | func _color(_ color: UIColor? = nil, redRange: Float, greenRange: Float, blueRange: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
164 |
165 | if let color = color { self.color = color.cgColor }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:179:48: error: 'CAEmitterCell' is unavailable in watchOS
177 | /// - speed: 透明度改變的速度 => -0.15 => 越變越透明
178 | /// - Returns: CAEmitterCell
179 | func _alpha(range: Float, speed: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
180 |
181 | self.alphaRange = range
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:56:11: error: 'CAEmitterCell' is unavailable in watchOS
54 |
55 | // MARK: - CAEmitterCell (function)
56 | extension CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
57 |
58 | /// 基本設定
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
SwiftCompile normal arm64 (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ WWEmitterLayerEffect.swift /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:30:54: error: 'UIView' is unavailable in watchOS
28 | /// - renderMode: CAEmitterLayerRenderMode
29 | /// - Returns: CAEmitterLayer
30 | func maker(with effectType: EffectType, on view: UIView, image: UIImage, birthRate: Float, lifetime: Float, color: UIColor? = nil, colorRange: ColorRange? = nil, renderMode: CAEmitterLayerRenderMode? = nil) -> CAEmitterLayer {
| `- error: 'UIView' is unavailable in watchOS
31 |
32 | switch effectType {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:30:179: error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
28 | /// - renderMode: CAEmitterLayerRenderMode
29 | /// - Returns: CAEmitterLayer
30 | func maker(with effectType: EffectType, on view: UIView, image: UIImage, birthRate: Float, lifetime: Float, color: UIColor? = nil, colorRange: ColorRange? = nil, renderMode: CAEmitterLayerRenderMode? = nil) -> CAEmitterLayer {
| `- error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
31 |
32 | switch effectType {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:23:20: note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
24 |
25 | @class CAEmitterCell;
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:30:215: error: 'CAEmitterLayer' is unavailable in watchOS
28 | /// - renderMode: CAEmitterLayerRenderMode
29 | /// - Returns: CAEmitterLayer
30 | func maker(with effectType: EffectType, on view: UIView, image: UIImage, birthRate: Float, lifetime: Float, color: UIColor? = nil, colorRange: ColorRange? = nil, renderMode: CAEmitterLayerRenderMode? = nil) -> CAEmitterLayer {
| `- error: 'CAEmitterLayer' is unavailable in watchOS
31 |
32 | switch effectType {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:72:120: error: 'CAEmitterCell' is unavailable in watchOS
70 | /// - colorRange: 顏色變動的範圍
71 | /// - Returns: CAEmitterCell
72 | func snowFlakeCell(image: UIImage, birthRate: Float, lifetime: Float, color: UIColor?, colorRange: ColorRange?) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
73 |
74 | let colorRange = colorRange ?? (0, 0, 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:99:140: error: 'CAEmitterCell' is unavailable in watchOS
97 | /// - colorRange: 顏色變動的範圍
98 | /// - Returns: CAEmitterCell
99 | func fireworkCell(image: UIImage, birthRate: Float, subBirthRate: Float, lifetime: Float, color: UIColor?, colorRange: ColorRange?) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
100 |
101 | let emitterCell = fireworkEmitterCell(birthRate: birthRate, lifetime: lifetime, color: color, colorRange: colorRange)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:117:110: error: 'CAEmitterCell' is unavailable in watchOS
115 | /// - colorRange: 顏色變動的範圍
116 | /// - Returns: CAEmitterCell
117 | func fireworkEmitterCell(birthRate: Float, lifetime: Float, color: UIColor?, colorRange: ColorRange?) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
118 |
119 | let colorRange = colorRange ?? (0.9, 0.9, 0.9)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:133:47: error: 'CAEmitterCell' is unavailable in watchOS
131 | /// - Parameter image: 圖片
132 | /// - Returns: CAEmitterCell
133 | func fireworkTrailCell(image: UIImage) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
134 |
135 | let cell = CAEmitterCell()._setting(image: image, birthRate: 45.0, lifetime: 0.5)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWEmitterLayerEffect.swift
SwiftCompile normal arm64 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:20:59: error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
18 | /// - shape: 發射的方式 => 直線 / 圓形 / 矩型…,官方有數學式計算細節
19 | /// - Returns: CAEmitterLayer
20 | func _setting(position: CGPoint, size: CGSize, shape: CAEmitterLayerEmitterShape? = nil) -> Self {
| `- error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
21 |
22 | if let shape = shape { self.emitterShape = shape }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:21:20: note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
19 | #import <QuartzCore/CALayer.h>
20 |
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:33:26: error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
31 | /// - Parameter shape: 發射樣式
32 | /// - Returns: CAEmitterLayer
33 | func _shape(_ shape: CAEmitterLayerEmitterShape?) -> Self {
| `- error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
34 | if let shape = shape { self.emitterShape = shape }
35 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:21:20: note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
19 | #import <QuartzCore/CALayer.h>
20 |
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:41:36: error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
39 | /// - Parameter renderMode: 渲染效果
40 | /// - Returns: CAEmitterLayer
41 | func _renderMode(_ renderMode: CAEmitterLayerRenderMode?) -> Self {
| `- error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
42 | if let renderMode = renderMode { self.renderMode = renderMode }
43 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:23:20: note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
24 |
25 | @class CAEmitterCell;
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:12:11: error: 'CAEmitterLayer' is unavailable in watchOS
10 |
11 | // MARK: - CAEmitterLayer (function)
12 | extension CAEmitterLayer {
| `- error: 'CAEmitterLayer' is unavailable in watchOS
13 |
14 | /// 基本設定
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:64:80: error: 'CAEmitterCell' is unavailable in watchOS
62 | /// - lifetime: 存活時間 (s)
63 | /// - Returns: CAEmitterCell
64 | func _setting(image: UIImage? = nil, birthRate: Float, lifetime: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
65 |
66 | if let image = image { self.contents = image.cgImage }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:80:70: error: 'CAEmitterCell' is unavailable in watchOS
78 | /// - speed: 大小改變的速度 => -0.02 => 越變越小
79 | /// - Returns: CAEmitterCell
80 | func _scale(_ scale: CGFloat, range: CGFloat, speed: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
81 |
82 | self.scale = scale
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:94:60: error: 'CAEmitterCell' is unavailable in watchOS
92 | /// - range: 速度範圍 => (-30 - 20) ~ (-50 + -20)
93 | /// - Returns: CAEmitterCell
94 | func _velocity(_ velocity: CGFloat, range: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
95 |
96 | self.velocity = velocity
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:107:51: error: 'CAEmitterCell' is unavailable in watchOS
105 | /// - y: 上下移動的加速度
106 | /// - Returns: CAEmitterCell
107 | func _acceleration(x: CGFloat, y: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
108 |
109 | self.xAcceleration = x
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:120:78: error: 'CAEmitterCell' is unavailable in watchOS
118 | /// - beginTime: 開始時間
119 | /// - Returns: CAEmitterCell
120 | func _duration(_ duration: CFTimeInterval, beginTime: CFTimeInterval) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
121 |
122 | self.beginTime = beginTime
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:133:52: error: 'CAEmitterCell' is unavailable in watchOS
131 | /// - range: 旋轉速度範圍 => (-0.5 - 1.0) ~ (-0.5 + 1.0)
132 | /// - Returns: CAEmitterCell
133 | func _spin(_ spin: CGFloat, range: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
134 |
135 | self.spin = spin
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:147:78: error: 'CAEmitterCell' is unavailable in watchOS
145 | /// - longitude: Z軸方向的發射角度
146 | /// - Returns: CAEmitterCell
147 | func _emission(range: CGFloat, latitude: CGFloat, longitude: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
148 |
149 | self.emissionRange = range
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:163:99: error: 'CAEmitterCell' is unavailable in watchOS
161 | /// - blueRange: 顏色的變化範圍 (監)
162 | /// - Returns: CAEmitterCell
163 | func _color(_ color: UIColor? = nil, redRange: Float, greenRange: Float, blueRange: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
164 |
165 | if let color = color { self.color = color.cgColor }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:179:48: error: 'CAEmitterCell' is unavailable in watchOS
177 | /// - speed: 透明度改變的速度 => -0.15 => 越變越透明
178 | /// - Returns: CAEmitterCell
179 | func _alpha(range: Float, speed: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
180 |
181 | self.alphaRange = range
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:56:11: error: 'CAEmitterCell' is unavailable in watchOS
54 |
55 | // MARK: - CAEmitterCell (function)
56 | extension CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
57 |
58 | /// 基本設定
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
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/WWEmitterLayerEffect/Utility/Constant.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Constant.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Constant.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-23 15:48:16.952 xcodebuild[657:4261] [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\ WWEmitterLayerEffect (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
SwiftCompile normal arm64_32 (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
Building workspace WWEmitterLayerEffect with scheme WWEmitterLayerEffect
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
WWEmitterLayerEffect: /Users/admin/builder/spi-builder-workspace
resolved source packages: WWEmitterLayerEffect
2026-09-23 15:48:22.907 xcodebuild[785:4743] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "WWEmitterLayerEffect",
"name" : "WWEmitterLayerEffect",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "WWEmitterLayerEffect",
"targets" : [
"WWEmitterLayerEffect"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "WWEmitterLayerEffect",
"module_type" : "SwiftTarget",
"name" : "WWEmitterLayerEffect",
"path" : "Sources/WWEmitterLayerEffect",
"product_memberships" : [
"WWEmitterLayerEffect"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Privacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Utility/Constant.swift",
"Utility/Extension.swift",
"WWEmitterLayerEffect.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
{
"workspace" : {
"name" : "WWEmitterLayerEffect",
"schemes" : [
"WWEmitterLayerEffect"
]
}
}
2026-09-23 15:48:24.118 xcodebuild[793:4808] [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 WWEmitterLayerEffect -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 WWEmitterLayerEffect -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
WWEmitterLayerEffect: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
Target 'WWEmitterLayerEffect-product' in project 'WWEmitterLayerEffect'
➜ Explicit dependency on target 'WWEmitterLayerEffect' in project 'WWEmitterLayerEffect'
➜ Explicit dependency on target 'WWEmitterLayerEffect_WWEmitterLayerEffect' in project 'WWEmitterLayerEffect'
Target 'WWEmitterLayerEffect' in project 'WWEmitterLayerEffect'
➜ Explicit dependency on target 'WWEmitterLayerEffect_WWEmitterLayerEffect' in project 'WWEmitterLayerEffect'
Target 'WWEmitterLayerEffect_WWEmitterLayerEffect' in project 'WWEmitterLayerEffect' (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 WWEmitterLayerEffect normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
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 WWEmitterLayerEffect -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64_32/WWEmitterLayerEffect.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64_32/WWEmitterLayerEffect-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/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64_32/WWEmitterLayerEffect.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64_32/WWEmitterLayerEffect-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/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64_32/WWEmitterLayerEffect_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/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-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/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64_32/WWEmitterLayerEffect-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver WWEmitterLayerEffect normal arm64 com.apple.xcode.tools.swift.compiler (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
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 WWEmitterLayerEffect -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64/WWEmitterLayerEffect.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64/WWEmitterLayerEffect-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/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64/WWEmitterLayerEffect.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64/WWEmitterLayerEffect-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/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64/WWEmitterLayerEffect_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/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-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/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64/WWEmitterLayerEffect-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Constant.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Constant.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Constant.swift
SwiftCompile normal arm64 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:20:59: error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
18 | /// - shape: 發射的方式 => 直線 / 圓形 / 矩型…,官方有數學式計算細節
19 | /// - Returns: CAEmitterLayer
20 | func _setting(position: CGPoint, size: CGSize, shape: CAEmitterLayerEmitterShape? = nil) -> Self {
| `- error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
21 |
22 | if let shape = shape { self.emitterShape = shape }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:21:20: note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
19 | #import <QuartzCore/CALayer.h>
20 |
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:33:26: error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
31 | /// - Parameter shape: 發射樣式
32 | /// - Returns: CAEmitterLayer
33 | func _shape(_ shape: CAEmitterLayerEmitterShape?) -> Self {
| `- error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
34 | if let shape = shape { self.emitterShape = shape }
35 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:21:20: note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
19 | #import <QuartzCore/CALayer.h>
20 |
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:41:36: error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
39 | /// - Parameter renderMode: 渲染效果
40 | /// - Returns: CAEmitterLayer
41 | func _renderMode(_ renderMode: CAEmitterLayerRenderMode?) -> Self {
| `- error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
42 | if let renderMode = renderMode { self.renderMode = renderMode }
43 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:23:20: note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
24 |
25 | @class CAEmitterCell;
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:12:11: error: 'CAEmitterLayer' is unavailable in watchOS
10 |
11 | // MARK: - CAEmitterLayer (function)
12 | extension CAEmitterLayer {
| `- error: 'CAEmitterLayer' is unavailable in watchOS
13 |
14 | /// 基本設定
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:64:80: error: 'CAEmitterCell' is unavailable in watchOS
62 | /// - lifetime: 存活時間 (s)
63 | /// - Returns: CAEmitterCell
64 | func _setting(image: UIImage? = nil, birthRate: Float, lifetime: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
65 |
66 | if let image = image { self.contents = image.cgImage }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:80:70: error: 'CAEmitterCell' is unavailable in watchOS
78 | /// - speed: 大小改變的速度 => -0.02 => 越變越小
79 | /// - Returns: CAEmitterCell
80 | func _scale(_ scale: CGFloat, range: CGFloat, speed: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
81 |
82 | self.scale = scale
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:94:60: error: 'CAEmitterCell' is unavailable in watchOS
92 | /// - range: 速度範圍 => (-30 - 20) ~ (-50 + -20)
93 | /// - Returns: CAEmitterCell
94 | func _velocity(_ velocity: CGFloat, range: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
95 |
96 | self.velocity = velocity
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:107:51: error: 'CAEmitterCell' is unavailable in watchOS
105 | /// - y: 上下移動的加速度
106 | /// - Returns: CAEmitterCell
107 | func _acceleration(x: CGFloat, y: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
108 |
109 | self.xAcceleration = x
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:120:78: error: 'CAEmitterCell' is unavailable in watchOS
118 | /// - beginTime: 開始時間
119 | /// - Returns: CAEmitterCell
120 | func _duration(_ duration: CFTimeInterval, beginTime: CFTimeInterval) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
121 |
122 | self.beginTime = beginTime
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:133:52: error: 'CAEmitterCell' is unavailable in watchOS
131 | /// - range: 旋轉速度範圍 => (-0.5 - 1.0) ~ (-0.5 + 1.0)
132 | /// - Returns: CAEmitterCell
133 | func _spin(_ spin: CGFloat, range: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
134 |
135 | self.spin = spin
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:147:78: error: 'CAEmitterCell' is unavailable in watchOS
145 | /// - longitude: Z軸方向的發射角度
146 | /// - Returns: CAEmitterCell
147 | func _emission(range: CGFloat, latitude: CGFloat, longitude: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
148 |
149 | self.emissionRange = range
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:163:99: error: 'CAEmitterCell' is unavailable in watchOS
161 | /// - blueRange: 顏色的變化範圍 (監)
162 | /// - Returns: CAEmitterCell
163 | func _color(_ color: UIColor? = nil, redRange: Float, greenRange: Float, blueRange: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
164 |
165 | if let color = color { self.color = color.cgColor }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:179:48: error: 'CAEmitterCell' is unavailable in watchOS
177 | /// - speed: 透明度改變的速度 => -0.15 => 越變越透明
178 | /// - Returns: CAEmitterCell
179 | func _alpha(range: Float, speed: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
180 |
181 | self.alphaRange = range
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:56:11: error: 'CAEmitterCell' is unavailable in watchOS
54 |
55 | // MARK: - CAEmitterCell (function)
56 | extension CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
57 |
58 | /// 基本設定
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
SwiftCompile normal arm64 Compiling\ WWEmitterLayerEffect.swift /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:30:54: error: 'UIView' is unavailable in watchOS
28 | /// - renderMode: CAEmitterLayerRenderMode
29 | /// - Returns: CAEmitterLayer
30 | func maker(with effectType: EffectType, on view: UIView, image: UIImage, birthRate: Float, lifetime: Float, color: UIColor? = nil, colorRange: ColorRange? = nil, renderMode: CAEmitterLayerRenderMode? = nil) -> CAEmitterLayer {
| `- error: 'UIView' is unavailable in watchOS
31 |
32 | switch effectType {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:30:179: error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
28 | /// - renderMode: CAEmitterLayerRenderMode
29 | /// - Returns: CAEmitterLayer
30 | func maker(with effectType: EffectType, on view: UIView, image: UIImage, birthRate: Float, lifetime: Float, color: UIColor? = nil, colorRange: ColorRange? = nil, renderMode: CAEmitterLayerRenderMode? = nil) -> CAEmitterLayer {
| `- error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
31 |
32 | switch effectType {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:23:20: note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
24 |
25 | @class CAEmitterCell;
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:30:215: error: 'CAEmitterLayer' is unavailable in watchOS
28 | /// - renderMode: CAEmitterLayerRenderMode
29 | /// - Returns: CAEmitterLayer
30 | func maker(with effectType: EffectType, on view: UIView, image: UIImage, birthRate: Float, lifetime: Float, color: UIColor? = nil, colorRange: ColorRange? = nil, renderMode: CAEmitterLayerRenderMode? = nil) -> CAEmitterLayer {
| `- error: 'CAEmitterLayer' is unavailable in watchOS
31 |
32 | switch effectType {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:72:120: error: 'CAEmitterCell' is unavailable in watchOS
70 | /// - colorRange: 顏色變動的範圍
71 | /// - Returns: CAEmitterCell
72 | func snowFlakeCell(image: UIImage, birthRate: Float, lifetime: Float, color: UIColor?, colorRange: ColorRange?) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
73 |
74 | let colorRange = colorRange ?? (0, 0, 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:99:140: error: 'CAEmitterCell' is unavailable in watchOS
97 | /// - colorRange: 顏色變動的範圍
98 | /// - Returns: CAEmitterCell
99 | func fireworkCell(image: UIImage, birthRate: Float, subBirthRate: Float, lifetime: Float, color: UIColor?, colorRange: ColorRange?) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
100 |
101 | let emitterCell = fireworkEmitterCell(birthRate: birthRate, lifetime: lifetime, color: color, colorRange: colorRange)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:117:110: error: 'CAEmitterCell' is unavailable in watchOS
115 | /// - colorRange: 顏色變動的範圍
116 | /// - Returns: CAEmitterCell
117 | func fireworkEmitterCell(birthRate: Float, lifetime: Float, color: UIColor?, colorRange: ColorRange?) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
118 |
119 | let colorRange = colorRange ?? (0.9, 0.9, 0.9)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:133:47: error: 'CAEmitterCell' is unavailable in watchOS
131 | /// - Parameter image: 圖片
132 | /// - Returns: CAEmitterCell
133 | func fireworkTrailCell(image: UIImage) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
134 |
135 | let cell = CAEmitterCell()._setting(image: image, birthRate: 45.0, lifetime: 0.5)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:150:65: error: 'CAEmitterCell' is unavailable in watchOS
148 | /// - birthRate: 產生數量
149 | /// - Returns: CAEmitterCell
150 | func fireworkMainCell(image: UIImage, birthRate: CFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
151 |
152 | let cell = CAEmitterCell()._setting(image: image, birthRate: birthRate, lifetime: 100)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:35:25: error: 'CAEmitterLayer' is unavailable in watchOS
33 | case .snowFlake:
34 |
35 | let layer = CAEmitterLayer()
| `- error: 'CAEmitterLayer' is unavailable in watchOS
36 | ._setting(position: CGPoint(x: view.bounds.width / 2.0, y: -50), size: CGSize(width: view.bounds.width, height: 0), shape: .line)
37 | ._renderMode(renderMode)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:36:149: error: 'line' is unavailable in watchOS
34 |
35 | let layer = CAEmitterLayer()
36 | ._setting(position: CGPoint(x: view.bounds.width / 2.0, y: -50), size: CGSize(width: view.bounds.width, height: 0), shape: .line)
| `- error: 'line' is unavailable in watchOS
37 | ._renderMode(renderMode)
38 | ._timeOffset(offset: 10)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:114:44: note: 'line' has been explicitly marked unavailable here
112 | CA_EXTERN CAEmitterLayerEmitterShape const kCAEmitterLayerPoint
113 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
114 | CA_EXTERN CAEmitterLayerEmitterShape const kCAEmitterLayerLine
| `- note: 'line' has been explicitly marked unavailable here
115 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
116 | CA_EXTERN CAEmitterLayerEmitterShape const kCAEmitterLayerRectangle
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:48:25: error: 'CAEmitterLayer' is unavailable in watchOS
46 | case .firework(let subBirthRate):
47 |
48 | let layer = CAEmitterLayer()
| `- error: 'CAEmitterLayer' is unavailable in watchOS
49 | ._setting(position: CGPoint(x: view.bounds.width / 2, y: view.bounds.height), size: view.bounds.size)
50 | ._renderMode(renderMode)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:76:20: error: 'CAEmitterCell' is unavailable in watchOS
74 | let colorRange = colorRange ?? (0, 0, 0)
75 |
76 | let cell = CAEmitterCell()._setting(image: image, birthRate: birthRate, lifetime: lifetime)
| `- error: 'CAEmitterCell' is unavailable in watchOS
77 | ._scale(1.0, range: 0.3, speed: -0.02)
78 | ._acceleration(x: 5, y: 30)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:121:20: error: 'CAEmitterCell' is unavailable in watchOS
119 | let colorRange = colorRange ?? (0.9, 0.9, 0.9)
120 |
121 | let cell = CAEmitterCell()._setting(birthRate: birthRate, lifetime: lifetime)
| `- error: 'CAEmitterCell' is unavailable in watchOS
122 | ._color(color, redRange: colorRange.red, greenRange: colorRange.green, blueRange: colorRange.blue)
123 | ._velocity(-300, range: -100)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:135:20: error: 'CAEmitterCell' is unavailable in watchOS
133 | func fireworkTrailCell(image: UIImage) -> CAEmitterCell {
134 |
135 | let cell = CAEmitterCell()._setting(image: image, birthRate: 45.0, lifetime: 0.5)
| `- error: 'CAEmitterCell' is unavailable in watchOS
136 | ._scale(0.4, range: 0.1, speed: -0.1)
137 | ._acceleration(x: 0, y: 350)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWEmitterLayerEffect.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ WWEmitterLayerEffect (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:20:59: error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
18 | /// - shape: 發射的方式 => 直線 / 圓形 / 矩型…,官方有數學式計算細節
19 | /// - Returns: CAEmitterLayer
20 | func _setting(position: CGPoint, size: CGSize, shape: CAEmitterLayerEmitterShape? = nil) -> Self {
| `- error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
21 |
22 | if let shape = shape { self.emitterShape = shape }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:21:20: note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
19 | #import <QuartzCore/CALayer.h>
20 |
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:33:26: error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
31 | /// - Parameter shape: 發射樣式
32 | /// - Returns: CAEmitterLayer
33 | func _shape(_ shape: CAEmitterLayerEmitterShape?) -> Self {
| `- error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
34 | if let shape = shape { self.emitterShape = shape }
35 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:21:20: note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
19 | #import <QuartzCore/CALayer.h>
20 |
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:41:36: error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
39 | /// - Parameter renderMode: 渲染效果
40 | /// - Returns: CAEmitterLayer
41 | func _renderMode(_ renderMode: CAEmitterLayerRenderMode?) -> Self {
| `- error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
42 | if let renderMode = renderMode { self.renderMode = renderMode }
43 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:23:20: note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
24 |
25 | @class CAEmitterCell;
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:12:11: error: 'CAEmitterLayer' is unavailable in watchOS
10 |
11 | // MARK: - CAEmitterLayer (function)
12 | extension CAEmitterLayer {
| `- error: 'CAEmitterLayer' is unavailable in watchOS
13 |
14 | /// 基本設定
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:64:80: error: 'CAEmitterCell' is unavailable in watchOS
62 | /// - lifetime: 存活時間 (s)
63 | /// - Returns: CAEmitterCell
64 | func _setting(image: UIImage? = nil, birthRate: Float, lifetime: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
65 |
66 | if let image = image { self.contents = image.cgImage }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:80:70: error: 'CAEmitterCell' is unavailable in watchOS
78 | /// - speed: 大小改變的速度 => -0.02 => 越變越小
79 | /// - Returns: CAEmitterCell
80 | func _scale(_ scale: CGFloat, range: CGFloat, speed: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
81 |
82 | self.scale = scale
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:94:60: error: 'CAEmitterCell' is unavailable in watchOS
92 | /// - range: 速度範圍 => (-30 - 20) ~ (-50 + -20)
93 | /// - Returns: CAEmitterCell
94 | func _velocity(_ velocity: CGFloat, range: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
95 |
96 | self.velocity = velocity
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:107:51: error: 'CAEmitterCell' is unavailable in watchOS
105 | /// - y: 上下移動的加速度
106 | /// - Returns: CAEmitterCell
107 | func _acceleration(x: CGFloat, y: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
108 |
109 | self.xAcceleration = x
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:120:78: error: 'CAEmitterCell' is unavailable in watchOS
118 | /// - beginTime: 開始時間
119 | /// - Returns: CAEmitterCell
120 | func _duration(_ duration: CFTimeInterval, beginTime: CFTimeInterval) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
121 |
122 | self.beginTime = beginTime
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:133:52: error: 'CAEmitterCell' is unavailable in watchOS
131 | /// - range: 旋轉速度範圍 => (-0.5 - 1.0) ~ (-0.5 + 1.0)
132 | /// - Returns: CAEmitterCell
133 | func _spin(_ spin: CGFloat, range: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
134 |
135 | self.spin = spin
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:147:78: error: 'CAEmitterCell' is unavailable in watchOS
145 | /// - longitude: Z軸方向的發射角度
146 | /// - Returns: CAEmitterCell
147 | func _emission(range: CGFloat, latitude: CGFloat, longitude: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
148 |
149 | self.emissionRange = range
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:163:99: error: 'CAEmitterCell' is unavailable in watchOS
161 | /// - blueRange: 顏色的變化範圍 (監)
162 | /// - Returns: CAEmitterCell
163 | func _color(_ color: UIColor? = nil, redRange: Float, greenRange: Float, blueRange: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
164 |
165 | if let color = color { self.color = color.cgColor }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:179:48: error: 'CAEmitterCell' is unavailable in watchOS
177 | /// - speed: 透明度改變的速度 => -0.15 => 越變越透明
178 | /// - Returns: CAEmitterCell
179 | func _alpha(range: Float, speed: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
180 |
181 | self.alphaRange = range
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:56:11: error: 'CAEmitterCell' is unavailable in watchOS
54 |
55 | // MARK: - CAEmitterCell (function)
56 | extension CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
57 |
58 | /// 基本設定
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:30:54: error: 'UIView' is unavailable in watchOS
28 | /// - renderMode: CAEmitterLayerRenderMode
29 | /// - Returns: CAEmitterLayer
30 | func maker(with effectType: EffectType, on view: UIView, image: UIImage, birthRate: Float, lifetime: Float, color: UIColor? = nil, colorRange: ColorRange? = nil, renderMode: CAEmitterLayerRenderMode? = nil) -> CAEmitterLayer {
| `- error: 'UIView' is unavailable in watchOS
31 |
32 | switch effectType {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:30:179: error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
28 | /// - renderMode: CAEmitterLayerRenderMode
29 | /// - Returns: CAEmitterLayer
30 | func maker(with effectType: EffectType, on view: UIView, image: UIImage, birthRate: Float, lifetime: Float, color: UIColor? = nil, colorRange: ColorRange? = nil, renderMode: CAEmitterLayerRenderMode? = nil) -> CAEmitterLayer {
| `- error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
31 |
32 | switch effectType {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:23:20: note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
24 |
25 | @class CAEmitterCell;
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:30:215: error: 'CAEmitterLayer' is unavailable in watchOS
28 | /// - renderMode: CAEmitterLayerRenderMode
29 | /// - Returns: CAEmitterLayer
30 | func maker(with effectType: EffectType, on view: UIView, image: UIImage, birthRate: Float, lifetime: Float, color: UIColor? = nil, colorRange: ColorRange? = nil, renderMode: CAEmitterLayerRenderMode? = nil) -> CAEmitterLayer {
| `- error: 'CAEmitterLayer' is unavailable in watchOS
31 |
32 | switch effectType {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:72:120: error: 'CAEmitterCell' is unavailable in watchOS
70 | /// - colorRange: 顏色變動的範圍
71 | /// - Returns: CAEmitterCell
72 | func snowFlakeCell(image: UIImage, birthRate: Float, lifetime: Float, color: UIColor?, colorRange: ColorRange?) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
73 |
74 | let colorRange = colorRange ?? (0, 0, 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:99:140: error: 'CAEmitterCell' is unavailable in watchOS
97 | /// - colorRange: 顏色變動的範圍
98 | /// - Returns: CAEmitterCell
99 | func fireworkCell(image: UIImage, birthRate: Float, subBirthRate: Float, lifetime: Float, color: UIColor?, colorRange: ColorRange?) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
100 |
101 | let emitterCell = fireworkEmitterCell(birthRate: birthRate, lifetime: lifetime, color: color, colorRange: colorRange)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:117:110: error: 'CAEmitterCell' is unavailable in watchOS
115 | /// - colorRange: 顏色變動的範圍
116 | /// - Returns: CAEmitterCell
117 | func fireworkEmitterCell(birthRate: Float, lifetime: Float, color: UIColor?, colorRange: ColorRange?) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
118 |
119 | let colorRange = colorRange ?? (0.9, 0.9, 0.9)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:133:47: error: 'CAEmitterCell' is unavailable in watchOS
131 | /// - Parameter image: 圖片
132 | /// - Returns: CAEmitterCell
133 | func fireworkTrailCell(image: UIImage) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
134 |
135 | let cell = CAEmitterCell()._setting(image: image, birthRate: 45.0, lifetime: 0.5)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:150:65: error: 'CAEmitterCell' is unavailable in watchOS
148 | /// - birthRate: 產生數量
149 | /// - Returns: CAEmitterCell
150 | func fireworkMainCell(image: UIImage, birthRate: CFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
151 |
152 | let cell = CAEmitterCell()._setting(image: image, birthRate: birthRate, lifetime: 100)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.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/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64/WWEmitterLayerEffect-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWEmitterLayerEffect -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64/WWEmitterLayerEffect_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/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64/WWEmitterLayerEffect.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64/WWEmitterLayerEffect.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64/WWEmitterLayerEffect-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64/WWEmitterLayerEffect-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64/WWEmitterLayerEffect-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64/WWEmitterLayerEffect.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64/WWEmitterLayerEffect.abi.json
SwiftCompile normal arm64 (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWEmitterLayerEffect (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:20:59: error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
18 | /// - shape: 發射的方式 => 直線 / 圓形 / 矩型…,官方有數學式計算細節
19 | /// - Returns: CAEmitterLayer
20 | func _setting(position: CGPoint, size: CGSize, shape: CAEmitterLayerEmitterShape? = nil) -> Self {
| `- error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
21 |
22 | if let shape = shape { self.emitterShape = shape }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:21:20: note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
19 | #import <QuartzCore/CALayer.h>
20 |
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:33:26: error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
31 | /// - Parameter shape: 發射樣式
32 | /// - Returns: CAEmitterLayer
33 | func _shape(_ shape: CAEmitterLayerEmitterShape?) -> Self {
| `- error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
34 | if let shape = shape { self.emitterShape = shape }
35 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:21:20: note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
19 | #import <QuartzCore/CALayer.h>
20 |
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:41:36: error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
39 | /// - Parameter renderMode: 渲染效果
40 | /// - Returns: CAEmitterLayer
41 | func _renderMode(_ renderMode: CAEmitterLayerRenderMode?) -> Self {
| `- error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
42 | if let renderMode = renderMode { self.renderMode = renderMode }
43 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:23:20: note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
24 |
25 | @class CAEmitterCell;
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:12:11: error: 'CAEmitterLayer' is unavailable in watchOS
10 |
11 | // MARK: - CAEmitterLayer (function)
12 | extension CAEmitterLayer {
| `- error: 'CAEmitterLayer' is unavailable in watchOS
13 |
14 | /// 基本設定
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:64:80: error: 'CAEmitterCell' is unavailable in watchOS
62 | /// - lifetime: 存活時間 (s)
63 | /// - Returns: CAEmitterCell
64 | func _setting(image: UIImage? = nil, birthRate: Float, lifetime: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
65 |
66 | if let image = image { self.contents = image.cgImage }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:80:70: error: 'CAEmitterCell' is unavailable in watchOS
78 | /// - speed: 大小改變的速度 => -0.02 => 越變越小
79 | /// - Returns: CAEmitterCell
80 | func _scale(_ scale: CGFloat, range: CGFloat, speed: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
81 |
82 | self.scale = scale
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:94:60: error: 'CAEmitterCell' is unavailable in watchOS
92 | /// - range: 速度範圍 => (-30 - 20) ~ (-50 + -20)
93 | /// - Returns: CAEmitterCell
94 | func _velocity(_ velocity: CGFloat, range: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
95 |
96 | self.velocity = velocity
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:107:51: error: 'CAEmitterCell' is unavailable in watchOS
105 | /// - y: 上下移動的加速度
106 | /// - Returns: CAEmitterCell
107 | func _acceleration(x: CGFloat, y: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
108 |
109 | self.xAcceleration = x
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:120:78: error: 'CAEmitterCell' is unavailable in watchOS
118 | /// - beginTime: 開始時間
119 | /// - Returns: CAEmitterCell
120 | func _duration(_ duration: CFTimeInterval, beginTime: CFTimeInterval) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
121 |
122 | self.beginTime = beginTime
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:133:52: error: 'CAEmitterCell' is unavailable in watchOS
131 | /// - range: 旋轉速度範圍 => (-0.5 - 1.0) ~ (-0.5 + 1.0)
132 | /// - Returns: CAEmitterCell
133 | func _spin(_ spin: CGFloat, range: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
134 |
135 | self.spin = spin
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:147:78: error: 'CAEmitterCell' is unavailable in watchOS
145 | /// - longitude: Z軸方向的發射角度
146 | /// - Returns: CAEmitterCell
147 | func _emission(range: CGFloat, latitude: CGFloat, longitude: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
148 |
149 | self.emissionRange = range
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:163:99: error: 'CAEmitterCell' is unavailable in watchOS
161 | /// - blueRange: 顏色的變化範圍 (監)
162 | /// - Returns: CAEmitterCell
163 | func _color(_ color: UIColor? = nil, redRange: Float, greenRange: Float, blueRange: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
164 |
165 | if let color = color { self.color = color.cgColor }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:179:48: error: 'CAEmitterCell' is unavailable in watchOS
177 | /// - speed: 透明度改變的速度 => -0.15 => 越變越透明
178 | /// - Returns: CAEmitterCell
179 | func _alpha(range: Float, speed: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
180 |
181 | self.alphaRange = range
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:56:11: error: 'CAEmitterCell' is unavailable in watchOS
54 |
55 | // MARK: - CAEmitterCell (function)
56 | extension CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
57 |
58 | /// 基本設定
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:30:54: error: 'UIView' is unavailable in watchOS
28 | /// - renderMode: CAEmitterLayerRenderMode
29 | /// - Returns: CAEmitterLayer
30 | func maker(with effectType: EffectType, on view: UIView, image: UIImage, birthRate: Float, lifetime: Float, color: UIColor? = nil, colorRange: ColorRange? = nil, renderMode: CAEmitterLayerRenderMode? = nil) -> CAEmitterLayer {
| `- error: 'UIView' is unavailable in watchOS
31 |
32 | switch effectType {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:30:179: error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
28 | /// - renderMode: CAEmitterLayerRenderMode
29 | /// - Returns: CAEmitterLayer
30 | func maker(with effectType: EffectType, on view: UIView, image: UIImage, birthRate: Float, lifetime: Float, color: UIColor? = nil, colorRange: ColorRange? = nil, renderMode: CAEmitterLayerRenderMode? = nil) -> CAEmitterLayer {
| `- error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
31 |
32 | switch effectType {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:23:20: note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
24 |
25 | @class CAEmitterCell;
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:30:215: error: 'CAEmitterLayer' is unavailable in watchOS
28 | /// - renderMode: CAEmitterLayerRenderMode
29 | /// - Returns: CAEmitterLayer
30 | func maker(with effectType: EffectType, on view: UIView, image: UIImage, birthRate: Float, lifetime: Float, color: UIColor? = nil, colorRange: ColorRange? = nil, renderMode: CAEmitterLayerRenderMode? = nil) -> CAEmitterLayer {
| `- error: 'CAEmitterLayer' is unavailable in watchOS
31 |
32 | switch effectType {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:72:120: error: 'CAEmitterCell' is unavailable in watchOS
70 | /// - colorRange: 顏色變動的範圍
71 | /// - Returns: CAEmitterCell
72 | func snowFlakeCell(image: UIImage, birthRate: Float, lifetime: Float, color: UIColor?, colorRange: ColorRange?) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
73 |
74 | let colorRange = colorRange ?? (0, 0, 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:99:140: error: 'CAEmitterCell' is unavailable in watchOS
97 | /// - colorRange: 顏色變動的範圍
98 | /// - Returns: CAEmitterCell
99 | func fireworkCell(image: UIImage, birthRate: Float, subBirthRate: Float, lifetime: Float, color: UIColor?, colorRange: ColorRange?) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
100 |
101 | let emitterCell = fireworkEmitterCell(birthRate: birthRate, lifetime: lifetime, color: color, colorRange: colorRange)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:117:110: error: 'CAEmitterCell' is unavailable in watchOS
115 | /// - colorRange: 顏色變動的範圍
116 | /// - Returns: CAEmitterCell
117 | func fireworkEmitterCell(birthRate: Float, lifetime: Float, color: UIColor?, colorRange: ColorRange?) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
118 |
119 | let colorRange = colorRange ?? (0.9, 0.9, 0.9)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:133:47: error: 'CAEmitterCell' is unavailable in watchOS
131 | /// - Parameter image: 圖片
132 | /// - Returns: CAEmitterCell
133 | func fireworkTrailCell(image: UIImage) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
134 |
135 | let cell = CAEmitterCell()._setting(image: image, birthRate: 45.0, lifetime: 0.5)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:150:65: error: 'CAEmitterCell' is unavailable in watchOS
148 | /// - birthRate: 產生數量
149 | /// - Returns: CAEmitterCell
150 | func fireworkMainCell(image: UIImage, birthRate: CFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
151 |
152 | let cell = CAEmitterCell()._setting(image: image, birthRate: birthRate, lifetime: 100)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.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/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64_32/WWEmitterLayerEffect-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWEmitterLayerEffect -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64_32/WWEmitterLayerEffect_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/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64_32/WWEmitterLayerEffect.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64_32/WWEmitterLayerEffect.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64_32/WWEmitterLayerEffect-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64_32/WWEmitterLayerEffect-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64_32/WWEmitterLayerEffect-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64_32/WWEmitterLayerEffect.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/Objects-normal/arm64_32/WWEmitterLayerEffect.abi.json
SwiftCompile normal arm64_32 (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Constant.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Constant.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Constant.swift
SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWEmitterLayerEffect.build/Debug-watchos/WWEmitterLayerEffect-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64_32 Compiling\ WWEmitterLayerEffect.swift /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:30:54: error: 'UIView' is unavailable in watchOS
28 | /// - renderMode: CAEmitterLayerRenderMode
29 | /// - Returns: CAEmitterLayer
30 | func maker(with effectType: EffectType, on view: UIView, image: UIImage, birthRate: Float, lifetime: Float, color: UIColor? = nil, colorRange: ColorRange? = nil, renderMode: CAEmitterLayerRenderMode? = nil) -> CAEmitterLayer {
| `- error: 'UIView' is unavailable in watchOS
31 |
32 | switch effectType {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:30:179: error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
28 | /// - renderMode: CAEmitterLayerRenderMode
29 | /// - Returns: CAEmitterLayer
30 | func maker(with effectType: EffectType, on view: UIView, image: UIImage, birthRate: Float, lifetime: Float, color: UIColor? = nil, colorRange: ColorRange? = nil, renderMode: CAEmitterLayerRenderMode? = nil) -> CAEmitterLayer {
| `- error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
31 |
32 | switch effectType {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:23:20: note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
24 |
25 | @class CAEmitterCell;
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:30:215: error: 'CAEmitterLayer' is unavailable in watchOS
28 | /// - renderMode: CAEmitterLayerRenderMode
29 | /// - Returns: CAEmitterLayer
30 | func maker(with effectType: EffectType, on view: UIView, image: UIImage, birthRate: Float, lifetime: Float, color: UIColor? = nil, colorRange: ColorRange? = nil, renderMode: CAEmitterLayerRenderMode? = nil) -> CAEmitterLayer {
| `- error: 'CAEmitterLayer' is unavailable in watchOS
31 |
32 | switch effectType {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:72:120: error: 'CAEmitterCell' is unavailable in watchOS
70 | /// - colorRange: 顏色變動的範圍
71 | /// - Returns: CAEmitterCell
72 | func snowFlakeCell(image: UIImage, birthRate: Float, lifetime: Float, color: UIColor?, colorRange: ColorRange?) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
73 |
74 | let colorRange = colorRange ?? (0, 0, 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:99:140: error: 'CAEmitterCell' is unavailable in watchOS
97 | /// - colorRange: 顏色變動的範圍
98 | /// - Returns: CAEmitterCell
99 | func fireworkCell(image: UIImage, birthRate: Float, subBirthRate: Float, lifetime: Float, color: UIColor?, colorRange: ColorRange?) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
100 |
101 | let emitterCell = fireworkEmitterCell(birthRate: birthRate, lifetime: lifetime, color: color, colorRange: colorRange)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:117:110: error: 'CAEmitterCell' is unavailable in watchOS
115 | /// - colorRange: 顏色變動的範圍
116 | /// - Returns: CAEmitterCell
117 | func fireworkEmitterCell(birthRate: Float, lifetime: Float, color: UIColor?, colorRange: ColorRange?) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
118 |
119 | let colorRange = colorRange ?? (0.9, 0.9, 0.9)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:133:47: error: 'CAEmitterCell' is unavailable in watchOS
131 | /// - Parameter image: 圖片
132 | /// - Returns: CAEmitterCell
133 | func fireworkTrailCell(image: UIImage) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
134 |
135 | let cell = CAEmitterCell()._setting(image: image, birthRate: 45.0, lifetime: 0.5)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:150:65: error: 'CAEmitterCell' is unavailable in watchOS
148 | /// - birthRate: 產生數量
149 | /// - Returns: CAEmitterCell
150 | func fireworkMainCell(image: UIImage, birthRate: CFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
151 |
152 | let cell = CAEmitterCell()._setting(image: image, birthRate: birthRate, lifetime: 100)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:35:25: error: 'CAEmitterLayer' is unavailable in watchOS
33 | case .snowFlake:
34 |
35 | let layer = CAEmitterLayer()
| `- error: 'CAEmitterLayer' is unavailable in watchOS
36 | ._setting(position: CGPoint(x: view.bounds.width / 2.0, y: -50), size: CGSize(width: view.bounds.width, height: 0), shape: .line)
37 | ._renderMode(renderMode)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:36:149: error: 'line' is unavailable in watchOS
34 |
35 | let layer = CAEmitterLayer()
36 | ._setting(position: CGPoint(x: view.bounds.width / 2.0, y: -50), size: CGSize(width: view.bounds.width, height: 0), shape: .line)
| `- error: 'line' is unavailable in watchOS
37 | ._renderMode(renderMode)
38 | ._timeOffset(offset: 10)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:114:44: note: 'line' has been explicitly marked unavailable here
112 | CA_EXTERN CAEmitterLayerEmitterShape const kCAEmitterLayerPoint
113 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
114 | CA_EXTERN CAEmitterLayerEmitterShape const kCAEmitterLayerLine
| `- note: 'line' has been explicitly marked unavailable here
115 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
116 | CA_EXTERN CAEmitterLayerEmitterShape const kCAEmitterLayerRectangle
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:48:25: error: 'CAEmitterLayer' is unavailable in watchOS
46 | case .firework(let subBirthRate):
47 |
48 | let layer = CAEmitterLayer()
| `- error: 'CAEmitterLayer' is unavailable in watchOS
49 | ._setting(position: CGPoint(x: view.bounds.width / 2, y: view.bounds.height), size: view.bounds.size)
50 | ._renderMode(renderMode)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift:76:20: error: 'CAEmitterCell' is unavailable in watchOS
74 | let colorRange = colorRange ?? (0, 0, 0)
75 |
76 | let cell = CAEmitterCell()._setting(image: image, birthRate: birthRate, lifetime: lifetime)
| `- error: 'CAEmitterCell' is unavailable in watchOS
77 | ._scale(1.0, range: 0.3, speed: -0.02)
78 | ._acceleration(x: 5, y: 30)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/WWEmitterLayerEffect.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWEmitterLayerEffect.swift
SwiftCompile normal arm64_32 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:20:59: error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
18 | /// - shape: 發射的方式 => 直線 / 圓形 / 矩型…,官方有數學式計算細節
19 | /// - Returns: CAEmitterLayer
20 | func _setting(position: CGPoint, size: CGSize, shape: CAEmitterLayerEmitterShape? = nil) -> Self {
| `- error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
21 |
22 | if let shape = shape { self.emitterShape = shape }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:21:20: note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
19 | #import <QuartzCore/CALayer.h>
20 |
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:33:26: error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
31 | /// - Parameter shape: 發射樣式
32 | /// - Returns: CAEmitterLayer
33 | func _shape(_ shape: CAEmitterLayerEmitterShape?) -> Self {
| `- error: 'CAEmitterLayerEmitterShape' is unavailable in watchOS
34 | if let shape = shape { self.emitterShape = shape }
35 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:21:20: note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
19 | #import <QuartzCore/CALayer.h>
20 |
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerEmitterShape' has been explicitly marked unavailable here
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:41:36: error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
39 | /// - Parameter renderMode: 渲染效果
40 | /// - Returns: CAEmitterLayer
41 | func _renderMode(_ renderMode: CAEmitterLayerRenderMode?) -> Self {
| `- error: 'CAEmitterLayerRenderMode' is unavailable in watchOS
42 | if let renderMode = renderMode { self.renderMode = renderMode }
43 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:23:20: note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
21 | typedef NSString * CAEmitterLayerEmitterShape NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
22 | typedef NSString * CAEmitterLayerEmitterMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CAEmitterLayerRenderMode NS_TYPED_ENUM API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CAEmitterLayerRenderMode' has been explicitly marked unavailable here
24 |
25 | @class CAEmitterCell;
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:12:11: error: 'CAEmitterLayer' is unavailable in watchOS
10 |
11 | // MARK: - CAEmitterLayer (function)
12 | extension CAEmitterLayer {
| `- error: 'CAEmitterLayer' is unavailable in watchOS
13 |
14 | /// 基本設定
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:30:12: note: 'CAEmitterLayer' has been explicitly marked unavailable here
28 |
29 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
30 | @interface CAEmitterLayer : CALayer
| `- note: 'CAEmitterLayer' has been explicitly marked unavailable here
31 |
32 | /* The array of emitter cells attached to the layer. Each object must
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:64:80: error: 'CAEmitterCell' is unavailable in watchOS
62 | /// - lifetime: 存活時間 (s)
63 | /// - Returns: CAEmitterCell
64 | func _setting(image: UIImage? = nil, birthRate: Float, lifetime: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
65 |
66 | if let image = image { self.contents = image.cgImage }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:80:70: error: 'CAEmitterCell' is unavailable in watchOS
78 | /// - speed: 大小改變的速度 => -0.02 => 越變越小
79 | /// - Returns: CAEmitterCell
80 | func _scale(_ scale: CGFloat, range: CGFloat, speed: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
81 |
82 | self.scale = scale
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:94:60: error: 'CAEmitterCell' is unavailable in watchOS
92 | /// - range: 速度範圍 => (-30 - 20) ~ (-50 + -20)
93 | /// - Returns: CAEmitterCell
94 | func _velocity(_ velocity: CGFloat, range: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
95 |
96 | self.velocity = velocity
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:107:51: error: 'CAEmitterCell' is unavailable in watchOS
105 | /// - y: 上下移動的加速度
106 | /// - Returns: CAEmitterCell
107 | func _acceleration(x: CGFloat, y: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
108 |
109 | self.xAcceleration = x
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:120:78: error: 'CAEmitterCell' is unavailable in watchOS
118 | /// - beginTime: 開始時間
119 | /// - Returns: CAEmitterCell
120 | func _duration(_ duration: CFTimeInterval, beginTime: CFTimeInterval) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
121 |
122 | self.beginTime = beginTime
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:133:52: error: 'CAEmitterCell' is unavailable in watchOS
131 | /// - range: 旋轉速度範圍 => (-0.5 - 1.0) ~ (-0.5 + 1.0)
132 | /// - Returns: CAEmitterCell
133 | func _spin(_ spin: CGFloat, range: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
134 |
135 | self.spin = spin
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:147:78: error: 'CAEmitterCell' is unavailable in watchOS
145 | /// - longitude: Z軸方向的發射角度
146 | /// - Returns: CAEmitterCell
147 | func _emission(range: CGFloat, latitude: CGFloat, longitude: CGFloat) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
148 |
149 | self.emissionRange = range
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:163:99: error: 'CAEmitterCell' is unavailable in watchOS
161 | /// - blueRange: 顏色的變化範圍 (監)
162 | /// - Returns: CAEmitterCell
163 | func _color(_ color: UIColor? = nil, redRange: Float, greenRange: Float, blueRange: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
164 |
165 | if let color = color { self.color = color.cgColor }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:179:48: error: 'CAEmitterCell' is unavailable in watchOS
177 | /// - speed: 透明度改變的速度 => -0.15 => 越變越透明
178 | /// - Returns: CAEmitterCell
179 | func _alpha(range: Float, speed: Float) -> CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
180 |
181 | self.alphaRange = range
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
/Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift:56:11: error: 'CAEmitterCell' is unavailable in watchOS
54 |
55 | // MARK: - CAEmitterCell (function)
56 | extension CAEmitterCell {
| `- error: 'CAEmitterCell' is unavailable in watchOS
57 |
58 | /// 基本設定
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:13:12: note: 'CAEmitterCell' has been explicitly marked unavailable here
11 |
12 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos)
13 | @interface CAEmitterCell : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CAEmitterCell' has been explicitly marked unavailable here
14 | {
15 | @private
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWEmitterLayerEffect/Utility/Extension.swift (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extension.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-23 15:48:25.080 xcodebuild[794:4835] [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\ WWEmitterLayerEffect (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
SwiftCompile normal arm64 (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWEmitterLayerEffect (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
SwiftCompile normal arm64_32 (in target 'WWEmitterLayerEffect' from project 'WWEmitterLayerEffect')
Building workspace WWEmitterLayerEffect with scheme WWEmitterLayerEffect
(5 failures)
BUILD FAILURE 6.4 watchOS