Build Information
Failed to build PaperConfetti, reference 1.0.0 (07da42), with Swift 6.4 for watchOS using Xcode 27.0 on 8 Nov 2026 16:25:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PaperConfetti -destination generic/platform=watchOSBuild Log
| `- 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/PaperConfetti/ConfettiView.swift:32:43: error: 'accessibilityElementsHidden' is unavailable in watchOS
30 | private func configure() {
31 | isOpaque = false; backgroundColor = .clear
32 | isUserInteractionEnabled = false; accessibilityElementsHidden = true
| `- error: 'accessibilityElementsHidden' is unavailable in watchOS
33 | addSubview(renderer)
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:160:28: note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
158 | default == NO
159 | */
160 | @property (nonatomic) BOOL accessibilityElementsHidden API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
161 |
162 | /*
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:34:93: error: 'UIApplication' is unavailable in watchOS
32 | isUserInteractionEnabled = false; accessibilityElementsHidden = true
33 | addSubview(renderer)
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
| `- error: 'UIApplication' is unavailable in watchOS
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:34:107: error: 'willResignActiveNotification' is unavailable in watchOS
32 | isUserInteractionEnabled = false; accessibilityElementsHidden = true
33 | addSubview(renderer)
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
| `- error: 'willResignActiveNotification' is unavailable in watchOS
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:574:39: note: 'willResignActiveNotification' has been explicitly marked unavailable here
572 | UIKIT_EXTERN NSNotificationName const UIApplicationDidFinishLaunchingNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
573 | UIKIT_EXTERN NSNotificationName const UIApplicationDidBecomeActiveNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
574 | UIKIT_EXTERN NSNotificationName const UIApplicationWillResignActiveNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'willResignActiveNotification' has been explicitly marked unavailable here
575 | UIKIT_EXTERN NSNotificationName const UIApplicationDidReceiveMemoryWarningNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
576 | UIKIT_EXTERN NSNotificationName const UIApplicationWillTerminateNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:35:103: error: 'UIScene' is unavailable in watchOS
33 | addSubview(renderer)
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
| `- error: 'UIScene' is unavailable in watchOS
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
37 | UIAccessibility.reduceMotionStatusDidChangeNotification] {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:35:111: error: 'willDeactivateNotification' is unavailable in watchOS
33 | addSubview(renderer)
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
| `- error: 'willDeactivateNotification' is unavailable in watchOS
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
37 | UIAccessibility.reduceMotionStatusDidChangeNotification] {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:109:39: note: 'willDeactivateNotification' has been explicitly marked unavailable here
107 | UIKIT_EXTERN NSNotificationName const UISceneDidDisconnectNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
108 | UIKIT_EXTERN NSNotificationName const UISceneDidActivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
109 | UIKIT_EXTERN NSNotificationName const UISceneWillDeactivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'willDeactivateNotification' has been explicitly marked unavailable here
110 | UIKIT_EXTERN NSNotificationName const UISceneWillEnterForegroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
111 | UIKIT_EXTERN NSNotificationName const UISceneDidEnterBackgroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:36:22: error: 'UIApplication' is unavailable in watchOS
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
| `- error: 'UIApplication' is unavailable in watchOS
37 | UIAccessibility.reduceMotionStatusDidChangeNotification] {
38 | NotificationCenter.default.addObserver(self, selector: #selector(refreshPolicy), name: name, object: nil)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:36:36: error: 'didBecomeActiveNotification' is unavailable in watchOS
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
| `- error: 'didBecomeActiveNotification' is unavailable in watchOS
37 | UIAccessibility.reduceMotionStatusDidChangeNotification] {
38 | NotificationCenter.default.addObserver(self, selector: #selector(refreshPolicy), name: name, object: nil)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:573:39: note: 'didBecomeActiveNotification' has been explicitly marked unavailable here
571 | UIKIT_EXTERN NSNotificationName const UIApplicationWillEnterForegroundNotification API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
572 | UIKIT_EXTERN NSNotificationName const UIApplicationDidFinishLaunchingNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
573 | UIKIT_EXTERN NSNotificationName const UIApplicationDidBecomeActiveNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'didBecomeActiveNotification' has been explicitly marked unavailable here
574 | UIKIT_EXTERN NSNotificationName const UIApplicationWillResignActiveNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
575 | UIKIT_EXTERN NSNotificationName const UIApplicationDidReceiveMemoryWarningNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:36:65: error: 'UIScene' is unavailable in watchOS
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
| `- error: 'UIScene' is unavailable in watchOS
37 | UIAccessibility.reduceMotionStatusDidChangeNotification] {
38 | NotificationCenter.default.addObserver(self, selector: #selector(refreshPolicy), name: name, object: nil)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:36:73: error: 'didActivateNotification' is unavailable in watchOS
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
| `- error: 'didActivateNotification' is unavailable in watchOS
37 | UIAccessibility.reduceMotionStatusDidChangeNotification] {
38 | NotificationCenter.default.addObserver(self, selector: #selector(refreshPolicy), name: name, object: nil)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:108:39: note: 'didActivateNotification' has been explicitly marked unavailable here
106 | UIKIT_EXTERN NSNotificationName const UISceneWillConnectNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
107 | UIKIT_EXTERN NSNotificationName const UISceneDidDisconnectNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
108 | UIKIT_EXTERN NSNotificationName const UISceneDidActivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'didActivateNotification' has been explicitly marked unavailable here
109 | UIKIT_EXTERN NSNotificationName const UISceneWillDeactivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
110 | UIKIT_EXTERN NSNotificationName const UISceneWillEnterForegroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:37:38: error: 'reduceMotionStatusDidChangeNotification' is unavailable in watchOS
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
37 | UIAccessibility.reduceMotionStatusDidChangeNotification] {
| `- error: 'reduceMotionStatusDidChangeNotification' is unavailable in watchOS
38 | NotificationCenter.default.addObserver(self, selector: #selector(refreshPolicy), name: name, object: nil)
39 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:567:39: note: 'reduceMotionStatusDidChangeNotification' has been explicitly marked unavailable here
565 | // Returns whether the system preference for reduce motion is enabled
566 | UIKIT_EXTERN BOOL UIAccessibilityIsReduceMotionEnabled(void) API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
567 | UIKIT_EXTERN NSNotificationName const UIAccessibilityReduceMotionStatusDidChangeNotification API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'reduceMotionStatusDidChangeNotification' has been explicitly marked unavailable here
568 |
569 | // Returns whether the system preference for reduce motion: prefer cross-fade transitions is enabled
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:49:89: error: 'isReduceMotionEnabled' is unavailable in watchOS
47 | }
48 | @objc private func deactivate() {
49 | controller.attach(renderer, sceneIsActive: false, reduceMotion: UIAccessibility.isReduceMotionEnabled)
| `- error: 'isReduceMotionEnabled' is unavailable in watchOS
50 | }
51 | @objc private func sceneDeactivated(_ notification: Notification) {
UIKit.UIAccessibility.isReduceMotionEnabled:3:32: note: 'isReduceMotionEnabled' has been explicitly marked unavailable here
1 | struct UIAccessibility {
2 | @available(watchOS, unavailable)
3 | @MainActor public static var isReduceMotionEnabled: Bool { get }}
| `- note: 'isReduceMotionEnabled' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:52:51: error: 'UIScene' is unavailable in watchOS
50 | }
51 | @objc private func sceneDeactivated(_ notification: Notification) {
52 | guard let scene = notification.object as? UIScene, scene === window?.windowScene else { return }
| `- error: 'UIScene' is unavailable in watchOS
53 | deactivate()
54 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:52:78: error: 'windowScene' is unavailable in watchOS
50 | }
51 | @objc private func sceneDeactivated(_ notification: Notification) {
52 | guard let scene = notification.object as? UIScene, scene === window?.windowScene else { return }
| `- error: 'windowScene' is unavailable in watchOS
53 | deactivate()
54 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:58:36: error: 'windowScene' is unavailable in watchOS
56 | guard window != nil else { return }
57 | controller.attach(renderer,
58 | sceneIsActive: window?.windowScene?.activationState == .foregroundActive && UIApplication.shared.applicationState == .active,
| `- error: 'windowScene' is unavailable in watchOS
59 | reduceMotion: UIAccessibility.isReduceMotionEnabled)
60 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:58:89: error: 'UIApplication' is unavailable in watchOS
56 | guard window != nil else { return }
57 | controller.attach(renderer,
58 | sceneIsActive: window?.windowScene?.activationState == .foregroundActive && UIApplication.shared.applicationState == .active,
| `- error: 'UIApplication' is unavailable in watchOS
59 | reduceMotion: UIAccessibility.isReduceMotionEnabled)
60 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
SwiftCompile normal arm64_32 Compiling\ ConfettiShapePath.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiShapePath.swift (in target 'PaperConfetti' from project 'PaperConfetti')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiShapePath.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiShapePath.swift
SwiftCompile normal arm64_32 Compiling\ ConfettiShape.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiShape.swift (in target 'PaperConfetti' from project 'PaperConfetti')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiShape.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiShape.swift
SwiftCompile normal arm64_32 Compiling\ ConfettiOverlay.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift (in target 'PaperConfetti' from project 'PaperConfetti')
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:29:34: error: cannot find type 'Context' in scope
27 | let colors: [UIColor]
28 | let enabled: Bool
29 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
| `- error: cannot find type 'Context' in scope
30 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
31 | view.show(burst: burst, colors: colors, enabled: enabled)
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:30:63: error: cannot find type 'Context' in scope
28 | let enabled: Bool
29 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
30 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
| `- error: cannot find type 'Context' in scope
31 | view.show(burst: burst, colors: colors, enabled: enabled)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:25:48: error: cannot find type 'UIViewRepresentable' in scope
23 | }
24 |
25 | private struct ConfettiLayerRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
26 | let burst: ConfettiBurst
27 | let colors: [UIColor]
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:21:14: error: value of type 'ConfettiLayerRepresentable' has no member 'allowsHitTesting'
19 | enabled: !reduceMotion && scenePhase == .active
20 | )
21 | .allowsHitTesting(false).accessibilityHidden(true)
| `- error: value of type 'ConfettiLayerRepresentable' has no member 'allowsHitTesting'
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:29:66: error: 'init()' is unavailable in watchOS
27 | let colors: [UIColor]
28 | let enabled: Bool
29 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
| `- error: 'init()' is unavailable in watchOS
30 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
31 | view.show(burst: burst, colors: colors, enabled: enabled)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:31:18: error: call to main actor-isolated instance method 'show(burst:colors:enabled:)' in a synchronous nonisolated context [#ActorIsolatedCall]
28 | let enabled: Bool
29 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
30 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
31 | view.show(burst: burst, colors: colors, enabled: enabled)
| `- error: call to main actor-isolated instance method 'show(burst:colors:enabled:)' in a synchronous nonisolated context [#ActorIsolatedCall]
32 | }
33 | static func dismantleUIView(_ view: ConfettiLayerView, coordinator: ()) { view.cancel() }
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:34:17: note: calls to instance method 'show(burst:colors:enabled:)' from outside of its actor context are implicitly asynchronous
32 | }
33 |
34 | public func show(burst: ConfettiBurst, colors: [UIColor], enabled: Bool = true) {
| `- note: calls to instance method 'show(burst:colors:enabled:)' from outside of its actor context are implicitly asynchronous
35 | guard burst != lastBurst else { if !enabled { cancel() }; return }
36 | lastBurst = burst
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiOverlay.swift
SwiftCompile normal arm64_32 Compiling\ ConfettiOutcome.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOutcome.swift (in target 'PaperConfetti' from project 'PaperConfetti')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOutcome.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiOutcome.swift
SwiftCompile normal arm64_32 Compiling\ ConfettiNativeTextures.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiNativeTextures.swift (in target 'PaperConfetti' from project 'PaperConfetti')
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiNativeTextures.swift:30:26: error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
28 | let image = ConfettiTextures.make(colors: [color], size: size, scale: scale, shapes: [particle.shape])[0]
29 | let side = ceil(hypot(Double(image.width), Double(image.height))) + 2
30 | let format = UIGraphicsImageRendererFormat()
| `- error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
31 | format.scale = 1; format.opaque = false
32 | let result = UIGraphicsImageRenderer(size: CGSize(width: side, height: side), format: format).image { context in
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:27:12: note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
25 |
26 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos)
27 | @interface UIGraphicsImageRendererFormat : UIGraphicsRendererFormat
| `- note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
28 |
29 | @property (nonatomic) CGFloat scale; // display scale of the context. The preferredFormat uses the scale most appropriate for the main screen's current configuration.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiNativeTextures.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiNativeTextures.swift
SwiftCompile normal arm64_32 Compiling\ ConfettiLayerView.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift (in target 'PaperConfetti' from project 'PaperConfetti')
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:149:64: error: 'UIEvent' is unavailable in watchOS
147 | completion?.resolve(outcome)
148 | }
149 | public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { nil }
| `- error: 'UIEvent' is unavailable in watchOS
150 | public override func layoutSubviews() { super.layoutSubviews(); layoutReady?() }
151 | public override func didMoveToWindow() {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:149:77: error: 'UIView' is unavailable in watchOS
147 | completion?.resolve(outcome)
148 | }
149 | public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { nil }
| `- error: 'UIView' is unavailable in watchOS
150 | public override func layoutSubviews() { super.layoutSubviews(); layoutReady?() }
151 | public override func didMoveToWindow() {
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiLayerView.swift:6:65: error: 'UIView' is unavailable in watchOS
4 | /// Native-particle renderer for UIKit and the SwiftUI overlays. A pop replaces the
5 | /// previous burst. Particle positions stay in the view's captured local coordinates.
6 | @_spi(Testing) @MainActor public final class ConfettiLayerView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | private(set) var hasEnteredWindow = false
8 | var layoutReady: (() -> Void)?
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiLayerView.swift:160:40: error: 'CAAnimation' is unavailable in watchOS
158 | let ready: @MainActor () -> Void
159 | init(_ ready: @escaping @MainActor () -> Void) { self.ready = ready }
160 | func animationDidStop(_ animation: CAAnimation, finished: Bool) {
| `- error: 'CAAnimation' is unavailable in watchOS
161 | guard finished else { return }
162 | // Transfer the actor-isolated closure, not this non-Sendable delegate.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:157:51: error: 'CAAnimationDelegate' is unavailable in watchOS
155 | }
156 |
157 | private final class ConfettiLaunchGate: NSObject, CAAnimationDelegate {
| `- error: 'CAAnimationDelegate' is unavailable in watchOS
158 | let ready: @MainActor () -> Void
159 | init(_ ready: @escaping @MainActor () -> Void) { self.ready = ready }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
69 |
70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
71 | @protocol CAAnimationDelegate <NSObject>
| `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
72 | @optional
73 |
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:26:9: error: 'accessibilityElementsHidden' is unavailable in watchOS
24 | super.init(frame: frame)
25 | isUserInteractionEnabled = false; backgroundColor = .clear; isOpaque = false
26 | accessibilityElementsHidden = true
| `- error: 'accessibilityElementsHidden' is unavailable in watchOS
27 | }
28 | required init?(coder: NSCoder) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:160:28: note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
158 | default == NO
159 | */
160 | @property (nonatomic) BOOL accessibilityElementsHidden API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
161 |
162 | /*
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:31:9: error: 'accessibilityElementsHidden' is unavailable in watchOS
29 | super.init(coder: coder)
30 | isUserInteractionEnabled = false; backgroundColor = .clear; isOpaque = false
31 | accessibilityElementsHidden = true
| `- error: 'accessibilityElementsHidden' is unavailable in watchOS
32 | }
33 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:160:28: note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
158 | default == NO
159 | */
160 | @property (nonatomic) BOOL accessibilityElementsHidden API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
161 |
162 | /*
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:50:23: error: 'CACurrentMediaTime()' is unavailable in watchOS
48 | cancel(); scheduledStartDelay = nil
49 | self.completion = completion
50 | let started = CACurrentMediaTime()
| `- error: 'CACurrentMediaTime()' is unavailable in watchOS
51 | let particles = burst.particles(paletteCount: colors.count)
52 | guard !particles.isEmpty else { complete(.notPresented); return }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h:127:26: note: 'CACurrentMediaTime()' has been explicitly marked unavailable here
125 | * calling mach_absolute_time () and converting the units to seconds. */
126 |
127 | CA_EXTERN CFTimeInterval CACurrentMediaTime (void)
| `- note: 'CACurrentMediaTime()' has been explicitly marked unavailable here
128 | API_AVAILABLE(macos(10.5), ios(2.0)) API_UNAVAILABLE(watchos);
129 |
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:53:49: error: 'resolvedColor(with:)' is unavailable in watchOS
51 | let particles = burst.particles(paletteCount: colors.count)
52 | guard !particles.isEmpty else { complete(.notPresented); return }
53 | let colors = colors.prefix(16).map { $0.resolvedColor(with: traitCollection) }
| `- error: 'resolvedColor(with:)' is unavailable in watchOS
54 | let scale = max(1, window?.screen.scale ?? traitCollection.displayScale)
55 | let textures = ConfettiNativeTextures.make(particles: particles, colors: colors, size: burst.size, scale: scale)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:148:1: note: 'resolvedColor(with:)' has been explicitly marked unavailable here
146 | /* Resolve any color to its most fundamental form (a non-dynamic color) for a specific trait collection.
147 | */
148 | - (UIColor *)resolvedColorWithTraitCollection:(UITraitCollection *)traitCollection API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'resolvedColor(with:)' has been explicitly marked unavailable here
149 |
150 | @end
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:56:21: error: 'CALayer' is unavailable in watchOS
54 | let scale = max(1, window?.screen.scale ?? traitCollection.displayScale)
55 | let textures = ConfettiNativeTextures.make(particles: particles, colors: colors, size: burst.size, scale: scale)
56 | let clock = CALayer(); clock.name = "PaperConfetti.Clock"
| `- error: 'CALayer' is unavailable in watchOS
57 | clock.speed = 0; clock.timeOffset = Self.emissionPeriod
58 | let token = generation
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:59:9: error: 'CATransaction' is unavailable in watchOS
57 | clock.speed = 0; clock.timeOffset = Self.emissionPeriod
58 | let token = generation
59 | CATransaction.begin(); CATransaction.setDisableActions(true)
| `- error: 'CATransaction' is unavailable in watchOS
60 | for (p, texture) in zip(particles, textures) {
61 | let emitter = CAEmitterLayer()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:59:32: error: 'CATransaction' is unavailable in watchOS
57 | clock.speed = 0; clock.timeOffset = Self.emissionPeriod
58 | let token = generation
59 | CATransaction.begin(); CATransaction.setDisableActions(true)
| `- error: 'CATransaction' is unavailable in watchOS
60 | for (p, texture) in zip(particles, textures) {
61 | let emitter = CAEmitterLayer()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:61:27: error: 'CAEmitterLayer' is unavailable in watchOS
59 | CATransaction.begin(); CATransaction.setDisableActions(true)
60 | for (p, texture) in zip(particles, textures) {
61 | let emitter = CAEmitterLayer()
| `- error: 'CAEmitterLayer' is unavailable in watchOS
62 | emitter.emitterPosition = .zero; emitter.emitterShape = .rectangle
63 | emitter.emitterSize = CGSize(width: 12, height: 8)
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiLayerView.swift:62:70: error: 'rectangle' is unavailable in watchOS
60 | for (p, texture) in zip(particles, textures) {
61 | let emitter = CAEmitterLayer()
62 | emitter.emitterPosition = .zero; emitter.emitterShape = .rectangle
| `- error: 'rectangle' is unavailable in watchOS
63 | emitter.emitterSize = CGSize(width: 12, height: 8)
64 | emitter.renderMode = .unordered; emitter.preservesDepth = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:116:44: note: 'rectangle' has been explicitly marked unavailable here
114 | CA_EXTERN CAEmitterLayerEmitterShape const kCAEmitterLayerLine
115 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
116 | CA_EXTERN CAEmitterLayerEmitterShape const kCAEmitterLayerRectangle
| `- note: 'rectangle' has been explicitly marked unavailable here
117 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
118 | CA_EXTERN CAEmitterLayerEmitterShape const kCAEmitterLayerCuboid
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:64:35: error: 'unordered' is unavailable in watchOS
62 | emitter.emitterPosition = .zero; emitter.emitterShape = .rectangle
63 | emitter.emitterSize = CGSize(width: 12, height: 8)
64 | emitter.renderMode = .unordered; emitter.preservesDepth = false
| `- error: 'unordered' is unavailable in watchOS
65 | emitter.seed = UInt32(truncatingIfNeeded: p.phase.bitPattern ^ p.delay.bitPattern ^ p.dx.bitPattern)
66 | emitter.opacity = 0
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:138:42: note: 'unordered' has been explicitly marked unavailable here
136 | /** `renderMode' values. **/
137 |
138 | CA_EXTERN CAEmitterLayerRenderMode const kCAEmitterLayerUnordered
| `- note: 'unordered' has been explicitly marked unavailable here
139 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
140 | CA_EXTERN CAEmitterLayerRenderMode const kCAEmitterLayerOldestFirst
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:69:24: error: 'CAEmitterCell' is unavailable in watchOS
67 | // All cells share a clock. Cannon delays apply to visible flight only.
68 | emitter.beginTime = 0.000001
69 | let cell = CAEmitterCell()
| `- error: 'CAEmitterCell' is unavailable in watchOS
70 | cell.contents = texture
71 | cell.contentsScale = scale
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiLayerView.swift:85:26: error: 'CAKeyframeAnimation' is unavailable in watchOS
83 | emitter.emitterCells = [cell]
84 | let track = ConfettiTrack(p)
85 | let motion = CAKeyframeAnimation(keyPath: "position")
| `- error: 'CAKeyframeAnimation' is unavailable in watchOS
86 | motion.values = track.positions.map { NSValue(cgPoint: $0) }
87 | motion.keyTimes = track.times.map { NSNumber(value: $0 / p.lifetime) }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:166:12: note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
164 |
165 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
166 | @interface CAKeyframeAnimation : CAPropertyAnimation
| `- note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
167 |
168 | /* An array of objects providing the value of the animation function for
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:88:39: error: 'linear' is unavailable in watchOS
86 | motion.values = track.positions.map { NSValue(cgPoint: $0) }
87 | motion.keyTimes = track.times.map { NSNumber(value: $0 / p.lifetime) }
88 | motion.calculationMode = .linear
| `- error: 'linear' is unavailable in watchOS
89 | let opacity = CAKeyframeAnimation(keyPath: "opacity")
90 | opacity.values = track.opacities; opacity.keyTimes = motion.keyTimes
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:238:44: note: 'linear' has been explicitly marked unavailable here
236 | /* `calculationMode' strings. */
237 |
238 | CA_EXTERN CAAnimationCalculationMode const kCAAnimationLinear
| `- note: 'linear' has been explicitly marked unavailable here
239 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
240 | CA_EXTERN CAAnimationCalculationMode const kCAAnimationDiscrete
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:89:27: error: 'CAKeyframeAnimation' is unavailable in watchOS
87 | motion.keyTimes = track.times.map { NSNumber(value: $0 / p.lifetime) }
88 | motion.calculationMode = .linear
89 | let opacity = CAKeyframeAnimation(keyPath: "opacity")
| `- error: 'CAKeyframeAnimation' is unavailable in watchOS
90 | opacity.values = track.opacities; opacity.keyTimes = motion.keyTimes
91 | let group = CAAnimationGroup(); group.animations = [motion, opacity]
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:166:12: note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
164 |
165 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
166 | @interface CAKeyframeAnimation : CAPropertyAnimation
| `- note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
167 |
168 | /* An array of objects providing the value of the animation function for
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:91:25: error: 'CAAnimationGroup' is unavailable in watchOS
89 | let opacity = CAKeyframeAnimation(keyPath: "opacity")
90 | opacity.values = track.opacities; opacity.keyTimes = motion.keyTimes
91 | let group = CAAnimationGroup(); group.animations = [motion, opacity]
| `- error: 'CAAnimationGroup' is unavailable in watchOS
92 | if burst.appearance == .threeDimensional {
93 | let tilt = CABasicAnimation(keyPath: "transform.rotation.x")
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
| `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:93:28: error: 'CABasicAnimation' is unavailable in watchOS
91 | let group = CAAnimationGroup(); group.animations = [motion, opacity]
92 | if burst.appearance == .threeDimensional {
93 | let tilt = CABasicAnimation(keyPath: "transform.rotation.x")
| `- error: 'CABasicAnimation' is unavailable in watchOS
94 | tilt.fromValue = p.phase; tilt.toValue = p.phase + p.tumble * p.lifetime
95 | group.animations?.append(tilt)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:98:36: error: 'CAMediaTimingFunction' is unavailable in watchOS
96 | }
97 | group.duration = p.lifetime; group.beginTime = Self.emissionPeriod + max(0.000001, p.delay)
98 | group.timingFunction = CAMediaTimingFunction(name: .linear)
| `- error: 'CAMediaTimingFunction' is unavailable in watchOS
99 | group.animations?.forEach { $0.duration = p.lifetime }
100 | clock.addSublayer(emitter); emitter.add(group, forKey: "flight")
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:24:12: note: 'CAMediaTimingFunction' has been explicitly marked unavailable here
22 |
23 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
24 | @interface CAMediaTimingFunction : NSObject <NSSecureCoding>
| `- note: 'CAMediaTimingFunction' has been explicitly marked unavailable here
25 | {
26 | @private
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:98:65: error: 'linear' is unavailable in watchOS
96 | }
97 | group.duration = p.lifetime; group.beginTime = Self.emissionPeriod + max(0.000001, p.delay)
98 | group.timingFunction = CAMediaTimingFunction(name: .linear)
| `- error: 'linear' is unavailable in watchOS
99 | group.animations?.forEach { $0.duration = p.lifetime }
100 | clock.addSublayer(emitter); emitter.add(group, forKey: "flight")
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:54:43: note: 'linear' has been explicitly marked unavailable here
52 | /** Timing function names. **/
53 |
54 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionLinear
| `- note: 'linear' has been explicitly marked unavailable here
55 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
56 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionEaseIn
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiLayerView.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ PaperConfetti (in target 'PaperConfetti' from project 'PaperConfetti')
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:316:30: error: cannot find type 'Context' in scope
314 | let sceneIsActive: Bool
315 | let reduceMotion: Bool
316 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
| `- error: cannot find type 'Context' in scope
317 | func makeCoordinator() -> Coordinator { Coordinator(controller) }
318 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:318:59: error: cannot find type 'Context' in scope
316 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
317 | func makeCoordinator() -> Coordinator { Coordinator(controller) }
318 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
| `- error: cannot find type 'Context' in scope
319 | if context.coordinator.controller !== controller {
320 | context.coordinator.controller.detach(view)
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:311:43: error: cannot find type 'UIViewRepresentable' in scope
309 | }
310 |
311 | private struct ControlledConfettiOverlay: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
312 | let controller: ConfettiController
313 | let sources: [AnyHashable: CGPoint]
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:149:64: error: 'UIEvent' is unavailable in watchOS
147 | completion?.resolve(outcome)
148 | }
149 | public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { nil }
| `- error: 'UIEvent' is unavailable in watchOS
150 | public override func layoutSubviews() { super.layoutSubviews(); layoutReady?() }
151 | public override func didMoveToWindow() {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:149:77: error: 'UIView' is unavailable in watchOS
147 | completion?.resolve(outcome)
148 | }
149 | public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { nil }
| `- error: 'UIView' is unavailable in watchOS
150 | public override func layoutSubviews() { super.layoutSubviews(); layoutReady?() }
151 | public override func didMoveToWindow() {
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiLayerView.swift:6:65: error: 'UIView' is unavailable in watchOS
4 | /// Native-particle renderer for UIKit and the SwiftUI overlays. A pop replaces the
5 | /// previous burst. Particle positions stay in the view's captured local coordinates.
6 | @_spi(Testing) @MainActor public final class ConfettiLayerView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | private(set) var hasEnteredWindow = false
8 | var layoutReady: (() -> Void)?
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiLayerView.swift:160:40: error: 'CAAnimation' is unavailable in watchOS
158 | let ready: @MainActor () -> Void
159 | init(_ ready: @escaping @MainActor () -> Void) { self.ready = ready }
160 | func animationDidStop(_ animation: CAAnimation, finished: Bool) {
| `- error: 'CAAnimation' is unavailable in watchOS
161 | guard finished else { return }
162 | // Transfer the actor-isolated closure, not this non-Sendable delegate.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:157:51: error: 'CAAnimationDelegate' is unavailable in watchOS
155 | }
156 |
157 | private final class ConfettiLaunchGate: NSObject, CAAnimationDelegate {
| `- error: 'CAAnimationDelegate' is unavailable in watchOS
158 | let ready: @MainActor () -> Void
159 | init(_ ready: @escaping @MainActor () -> Void) { self.ready = ready }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
69 |
70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
71 | @protocol CAAnimationDelegate <NSObject>
| `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
72 | @optional
73 |
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:29:34: error: cannot find type 'Context' in scope
27 | let colors: [UIColor]
28 | let enabled: Bool
29 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
| `- error: cannot find type 'Context' in scope
30 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
31 | view.show(burst: burst, colors: colors, enabled: enabled)
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:30:63: error: cannot find type 'Context' in scope
28 | let enabled: Bool
29 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
30 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
| `- error: cannot find type 'Context' in scope
31 | view.show(burst: burst, colors: colors, enabled: enabled)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:25:48: error: cannot find type 'UIViewRepresentable' in scope
23 | }
24 |
25 | private struct ConfettiLayerRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
26 | let burst: ConfettiBurst
27 | let colors: [UIColor]
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:7:28: error: 'init()' is unavailable in watchOS
5 | /// completion behavior as the SwiftUI modifier. Add it to a stable container.
6 | @MainActor public final class ConfettiView: UIView {
7 | private let renderer = ConfettiLayerView()
| `- error: 'init()' is unavailable in watchOS
8 | private let controller = ConfettiController()
9 | /// Whether a flight is being prepared or is active; this is not a visible-pixel measurement.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:102:64: error: 'UIEvent' is unavailable in watchOS
100 | /// - event: The event associated with the hit test, if any.
101 | /// - Returns: Always `nil`, even if user interaction is accidentally enabled.
102 | public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { nil }
| `- error: 'UIEvent' is unavailable in watchOS
103 | }
104 | #endif
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:102:77: error: 'UIView' is unavailable in watchOS
100 | /// - event: The event associated with the hit test, if any.
101 | /// - Returns: Always `nil`, even if user interaction is accidentally enabled.
102 | public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { nil }
| `- error: 'UIView' is unavailable in watchOS
103 | }
104 | #endif
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiView.swift:6:45: error: 'UIView' is unavailable in watchOS
4 | /// A touch-transparent UIKit host with the same lifecycle, accessibility and
5 | /// completion behavior as the SwiftUI modifier. Add it to a stable container.
6 | @MainActor public final class ConfettiView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | private let renderer = ConfettiLayerView()
8 | private let controller = ConfettiController()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
/Applications/Xcode-27.0.0.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/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiNativeTextures.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOutcome.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiPhysics.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiShape.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiShapePath.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiTextures.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift -target arm64_32-apple-watchos9.0 -module-can-import-version SwiftUI 8.0.84.1 8.0.84 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0.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/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0.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.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.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_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-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.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/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PaperConfetti -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti_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.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/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti.abi.json
SwiftCompile normal arm64_32 (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift,\ ConfettiController.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift (in target 'PaperConfetti' from project 'PaperConfetti')
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:316:30: error: cannot find type 'Context' in scope
314 | let sceneIsActive: Bool
315 | let reduceMotion: Bool
316 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
| `- error: cannot find type 'Context' in scope
317 | func makeCoordinator() -> Coordinator { Coordinator(controller) }
318 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:318:59: error: cannot find type 'Context' in scope
316 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
317 | func makeCoordinator() -> Coordinator { Coordinator(controller) }
318 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
| `- error: cannot find type 'Context' in scope
319 | if context.coordinator.controller !== controller {
320 | context.coordinator.controller.detach(view)
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:311:43: error: cannot find type 'UIViewRepresentable' in scope
309 | }
310 |
311 | private struct ControlledConfettiOverlay: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
312 | let controller: ConfettiController
313 | let sources: [AnyHashable: CGPoint]
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:316:62: error: 'init()' is unavailable in watchOS
314 | let sceneIsActive: Bool
315 | let reduceMotion: Bool
316 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
| `- error: 'init()' is unavailable in watchOS
317 | func makeCoordinator() -> Coordinator { Coordinator(controller) }
318 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:323:20: error: call to main actor-isolated instance method 'updateSources' in a synchronous nonisolated context [#ActorIsolatedCall]
306 | })
307 | }
308 | fileprivate func updateSources(_ sources: [AnyHashable: CGPoint]) { self.sources = sources }
| `- note: calls to instance method 'updateSources' from outside of its actor context are implicitly asynchronous
309 | }
310 |
:
316 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
317 | func makeCoordinator() -> Coordinator { Coordinator(controller) }
318 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
319 | if context.coordinator.controller !== controller {
320 | context.coordinator.controller.detach(view)
321 | context.coordinator.controller = controller
322 | }
323 | controller.updateSources(sources)
| `- error: call to main actor-isolated instance method 'updateSources' in a synchronous nonisolated context [#ActorIsolatedCall]
324 | controller.attach(view, sceneIsActive: sceneIsActive, reduceMotion: reduceMotion)
325 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:324:20: error: call to main actor-isolated instance method 'attach(_:sceneIsActive:reduceMotion:)' in a synchronous nonisolated context [#ActorIsolatedCall]
269 | return true
270 | }
271 | func attach(_ view: ConfettiLayerView, sceneIsActive: Bool, reduceMotion: Bool) {
| `- note: calls to instance method 'attach(_:sceneIsActive:reduceMotion:)' from outside of its actor context are implicitly asynchronous
272 | if renderer !== view {
273 | renderer?.layoutReady = nil
:
316 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
317 | func makeCoordinator() -> Coordinator { Coordinator(controller) }
318 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
319 | if context.coordinator.controller !== controller {
320 | context.coordinator.controller.detach(view)
:
322 | }
323 | controller.updateSources(sources)
324 | controller.attach(view, sceneIsActive: sceneIsActive, reduceMotion: reduceMotion)
| `- error: call to main actor-isolated instance method 'attach(_:sceneIsActive:reduceMotion:)' in a synchronous nonisolated context [#ActorIsolatedCall]
325 | }
326 | static func dismantleUIView(_ view: ConfettiLayerView, coordinator: Coordinator) { coordinator.controller.detach(view) }
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiController.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ PaperConfetti (in target 'PaperConfetti' from project 'PaperConfetti')
SwiftCompile normal arm64 (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
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-11-08 11:25:00.946 xcodebuild[625:3838] [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\ PaperConfetti (in target 'PaperConfetti' from project 'PaperConfetti')
SwiftCompile normal arm64_32 (in target 'PaperConfetti' from project 'PaperConfetti')
Building workspace PaperConfetti with scheme PaperConfetti
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
PaperConfetti: /Users/admin/builder/spi-builder-workspace
resolved source packages: PaperConfetti
2026-11-08 11:25:07.995 xcodebuild[773:4384] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "PaperConfetti",
"name" : "PaperConfetti",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "PaperConfetti",
"targets" : [
"PaperConfetti"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PaperConfettiTests",
"module_type" : "SwiftTarget",
"name" : "PaperConfettiTests",
"path" : "Tests/PaperConfettiTests",
"sources" : [
"ConfettiCompletionTests.swift",
"ConfettiContractTests.swift",
"ConfettiPhysicsTests.swift",
"ConfettiRendererTests.swift",
"ConfettiShapeTests.swift",
"ConfettiSourceTests.swift",
"ConfettiTextureTests.swift"
],
"target_dependencies" : [
"PaperConfetti"
],
"type" : "test"
},
{
"c99name" : "PaperConfetti",
"module_type" : "SwiftTarget",
"name" : "PaperConfetti",
"path" : "Sources/PaperConfetti",
"product_memberships" : [
"PaperConfetti"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/Resources/ThirdPartyNotices.txt",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ConfettiController.swift",
"ConfettiLayerView.swift",
"ConfettiNativeTextures.swift",
"ConfettiOutcome.swift",
"ConfettiOverlay.swift",
"ConfettiPhysics.swift",
"ConfettiShape.swift",
"ConfettiShapePath.swift",
"ConfettiTextures.swift",
"ConfettiView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "PaperConfetti",
"schemes" : [
"PaperConfetti"
]
}
}
2026-11-08 11:25:09.342 xcodebuild[782:4467] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PaperConfetti -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0.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 PaperConfetti -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
PaperConfetti: /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 'PaperConfetti-product' in project 'PaperConfetti'
➜ Explicit dependency on target 'PaperConfetti' in project 'PaperConfetti'
➜ Explicit dependency on target 'PaperConfetti_PaperConfetti' in project 'PaperConfetti'
Target 'PaperConfetti' in project 'PaperConfetti'
➜ Explicit dependency on target 'PaperConfetti_PaperConfetti' in project 'PaperConfetti'
Target 'PaperConfetti_PaperConfetti' in project 'PaperConfetti' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
SwiftDriver PaperConfetti normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name PaperConfetti -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.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.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.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-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti-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/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti_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/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-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/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver PaperConfetti normal arm64 com.apple.xcode.tools.swift.compiler (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name PaperConfetti -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64/PaperConfetti.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.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.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.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-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64/PaperConfetti-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/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64/PaperConfetti.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64/PaperConfetti-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64/PaperConfetti_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/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-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/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64/PaperConfetti-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ PaperConfetti (in target 'PaperConfetti' from project 'PaperConfetti')
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:316:30: error: cannot find type 'Context' in scope
314 | let sceneIsActive: Bool
315 | let reduceMotion: Bool
316 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
| `- error: cannot find type 'Context' in scope
317 | func makeCoordinator() -> Coordinator { Coordinator(controller) }
318 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:318:59: error: cannot find type 'Context' in scope
316 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
317 | func makeCoordinator() -> Coordinator { Coordinator(controller) }
318 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
| `- error: cannot find type 'Context' in scope
319 | if context.coordinator.controller !== controller {
320 | context.coordinator.controller.detach(view)
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:311:43: error: cannot find type 'UIViewRepresentable' in scope
309 | }
310 |
311 | private struct ControlledConfettiOverlay: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
312 | let controller: ConfettiController
313 | let sources: [AnyHashable: CGPoint]
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:149:64: error: 'UIEvent' is unavailable in watchOS
147 | completion?.resolve(outcome)
148 | }
149 | public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { nil }
| `- error: 'UIEvent' is unavailable in watchOS
150 | public override func layoutSubviews() { super.layoutSubviews(); layoutReady?() }
151 | public override func didMoveToWindow() {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:149:77: error: 'UIView' is unavailable in watchOS
147 | completion?.resolve(outcome)
148 | }
149 | public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { nil }
| `- error: 'UIView' is unavailable in watchOS
150 | public override func layoutSubviews() { super.layoutSubviews(); layoutReady?() }
151 | public override func didMoveToWindow() {
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiLayerView.swift:6:65: error: 'UIView' is unavailable in watchOS
4 | /// Native-particle renderer for UIKit and the SwiftUI overlays. A pop replaces the
5 | /// previous burst. Particle positions stay in the view's captured local coordinates.
6 | @_spi(Testing) @MainActor public final class ConfettiLayerView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | private(set) var hasEnteredWindow = false
8 | var layoutReady: (() -> Void)?
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiLayerView.swift:160:40: error: 'CAAnimation' is unavailable in watchOS
158 | let ready: @MainActor () -> Void
159 | init(_ ready: @escaping @MainActor () -> Void) { self.ready = ready }
160 | func animationDidStop(_ animation: CAAnimation, finished: Bool) {
| `- error: 'CAAnimation' is unavailable in watchOS
161 | guard finished else { return }
162 | // Transfer the actor-isolated closure, not this non-Sendable delegate.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:157:51: error: 'CAAnimationDelegate' is unavailable in watchOS
155 | }
156 |
157 | private final class ConfettiLaunchGate: NSObject, CAAnimationDelegate {
| `- error: 'CAAnimationDelegate' is unavailable in watchOS
158 | let ready: @MainActor () -> Void
159 | init(_ ready: @escaping @MainActor () -> Void) { self.ready = ready }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
69 |
70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
71 | @protocol CAAnimationDelegate <NSObject>
| `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
72 | @optional
73 |
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:29:34: error: cannot find type 'Context' in scope
27 | let colors: [UIColor]
28 | let enabled: Bool
29 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
| `- error: cannot find type 'Context' in scope
30 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
31 | view.show(burst: burst, colors: colors, enabled: enabled)
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:30:63: error: cannot find type 'Context' in scope
28 | let enabled: Bool
29 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
30 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
| `- error: cannot find type 'Context' in scope
31 | view.show(burst: burst, colors: colors, enabled: enabled)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:25:48: error: cannot find type 'UIViewRepresentable' in scope
23 | }
24 |
25 | private struct ConfettiLayerRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
26 | let burst: ConfettiBurst
27 | let colors: [UIColor]
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:7:28: error: 'init()' is unavailable in watchOS
5 | /// completion behavior as the SwiftUI modifier. Add it to a stable container.
6 | @MainActor public final class ConfettiView: UIView {
7 | private let renderer = ConfettiLayerView()
| `- error: 'init()' is unavailable in watchOS
8 | private let controller = ConfettiController()
9 | /// Whether a flight is being prepared or is active; this is not a visible-pixel measurement.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:102:64: error: 'UIEvent' is unavailable in watchOS
100 | /// - event: The event associated with the hit test, if any.
101 | /// - Returns: Always `nil`, even if user interaction is accidentally enabled.
102 | public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { nil }
| `- error: 'UIEvent' is unavailable in watchOS
103 | }
104 | #endif
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:102:77: error: 'UIView' is unavailable in watchOS
100 | /// - event: The event associated with the hit test, if any.
101 | /// - Returns: Always `nil`, even if user interaction is accidentally enabled.
102 | public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { nil }
| `- error: 'UIView' is unavailable in watchOS
103 | }
104 | #endif
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiView.swift:6:45: error: 'UIView' is unavailable in watchOS
4 | /// A touch-transparent UIKit host with the same lifecycle, accessibility and
5 | /// completion behavior as the SwiftUI modifier. Add it to a stable container.
6 | @MainActor public final class ConfettiView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | private let renderer = ConfettiLayerView()
8 | private let controller = ConfettiController()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0.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/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiNativeTextures.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOutcome.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiPhysics.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiShape.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiShapePath.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiTextures.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift -target arm64_32-apple-watchos9.0 -module-can-import-version SwiftUI 8.0.84.1 8.0.84 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0.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/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0.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.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.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_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-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.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/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PaperConfetti -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti_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.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/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/Objects-normal/arm64_32/PaperConfetti.abi.json
SwiftCompile normal arm64_32 Compiling\ ConfettiNativeTextures.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiNativeTextures.swift (in target 'PaperConfetti' from project 'PaperConfetti')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiNativeTextures.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiNativeTextures.swift
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiNativeTextures.swift:30:26: error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
28 | let image = ConfettiTextures.make(colors: [color], size: size, scale: scale, shapes: [particle.shape])[0]
29 | let side = ceil(hypot(Double(image.width), Double(image.height))) + 2
30 | let format = UIGraphicsImageRendererFormat()
| `- error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
31 | format.scale = 1; format.opaque = false
32 | let result = UIGraphicsImageRenderer(size: CGSize(width: side, height: side), format: format).image { context in
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:27:12: note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
25 |
26 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos)
27 | @interface UIGraphicsImageRendererFormat : UIGraphicsRendererFormat
| `- note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
28 |
29 | @property (nonatomic) CGFloat scale; // display scale of the context. The preferredFormat uses the scale most appropriate for the main screen's current configuration.
SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift,\ ConfettiController.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift (in target 'PaperConfetti' from project 'PaperConfetti')
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:316:30: error: cannot find type 'Context' in scope
314 | let sceneIsActive: Bool
315 | let reduceMotion: Bool
316 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
| `- error: cannot find type 'Context' in scope
317 | func makeCoordinator() -> Coordinator { Coordinator(controller) }
318 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:318:59: error: cannot find type 'Context' in scope
316 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
317 | func makeCoordinator() -> Coordinator { Coordinator(controller) }
318 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
| `- error: cannot find type 'Context' in scope
319 | if context.coordinator.controller !== controller {
320 | context.coordinator.controller.detach(view)
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:311:43: error: cannot find type 'UIViewRepresentable' in scope
309 | }
310 |
311 | private struct ControlledConfettiOverlay: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
312 | let controller: ConfettiController
313 | let sources: [AnyHashable: CGPoint]
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:316:62: error: 'init()' is unavailable in watchOS
314 | let sceneIsActive: Bool
315 | let reduceMotion: Bool
316 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
| `- error: 'init()' is unavailable in watchOS
317 | func makeCoordinator() -> Coordinator { Coordinator(controller) }
318 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:323:20: error: call to main actor-isolated instance method 'updateSources' in a synchronous nonisolated context [#ActorIsolatedCall]
306 | })
307 | }
308 | fileprivate func updateSources(_ sources: [AnyHashable: CGPoint]) { self.sources = sources }
| `- note: calls to instance method 'updateSources' from outside of its actor context are implicitly asynchronous
309 | }
310 |
:
316 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
317 | func makeCoordinator() -> Coordinator { Coordinator(controller) }
318 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
319 | if context.coordinator.controller !== controller {
320 | context.coordinator.controller.detach(view)
321 | context.coordinator.controller = controller
322 | }
323 | controller.updateSources(sources)
| `- error: call to main actor-isolated instance method 'updateSources' in a synchronous nonisolated context [#ActorIsolatedCall]
324 | controller.attach(view, sceneIsActive: sceneIsActive, reduceMotion: reduceMotion)
325 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:324:20: error: call to main actor-isolated instance method 'attach(_:sceneIsActive:reduceMotion:)' in a synchronous nonisolated context [#ActorIsolatedCall]
269 | return true
270 | }
271 | func attach(_ view: ConfettiLayerView, sceneIsActive: Bool, reduceMotion: Bool) {
| `- note: calls to instance method 'attach(_:sceneIsActive:reduceMotion:)' from outside of its actor context are implicitly asynchronous
272 | if renderer !== view {
273 | renderer?.layoutReady = nil
:
316 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
317 | func makeCoordinator() -> Coordinator { Coordinator(controller) }
318 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
319 | if context.coordinator.controller !== controller {
320 | context.coordinator.controller.detach(view)
:
322 | }
323 | controller.updateSources(sources)
324 | controller.attach(view, sceneIsActive: sceneIsActive, reduceMotion: reduceMotion)
| `- error: call to main actor-isolated instance method 'attach(_:sceneIsActive:reduceMotion:)' in a synchronous nonisolated context [#ActorIsolatedCall]
325 | }
326 | static func dismantleUIView(_ view: ConfettiLayerView, coordinator: Coordinator) { coordinator.controller.detach(view) }
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift:326:111: error: call to main actor-isolated instance method 'detach' in a synchronous nonisolated context [#ActorIsolatedCall]
288 | }
289 | }
290 | func detach(_ view: ConfettiLayerView) {
| `- note: calls to instance method 'detach' from outside of its actor context are implicitly asynchronous
291 | guard renderer === view else { return }
292 | cancel(); view.layoutReady = nil; renderer = nil; sceneIsActive = false; sources = [:]
:
324 | controller.attach(view, sceneIsActive: sceneIsActive, reduceMotion: reduceMotion)
325 | }
326 | static func dismantleUIView(_ view: ConfettiLayerView, coordinator: Coordinator) { coordinator.controller.detach(view) }
| | `- error: call to main actor-isolated instance method 'detach' in a synchronous nonisolated context [#ActorIsolatedCall]
| `- note: add '@MainActor' to make static method 'dismantleUIView(_:coordinator:)' part of global actor 'MainActor'
327 | final class Coordinator {
328 | var controller: ConfettiController
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PaperConfetti.build/Debug-watchos/PaperConfetti-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiController.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiController.swift
SwiftCompile normal arm64_32 Compiling\ ConfettiPhysics.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiPhysics.swift (in target 'PaperConfetti' from project 'PaperConfetti')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiPhysics.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiPhysics.swift
SwiftCompile normal arm64_32 Compiling\ ConfettiLayerView.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift (in target 'PaperConfetti' from project 'PaperConfetti')
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:149:64: error: 'UIEvent' is unavailable in watchOS
147 | completion?.resolve(outcome)
148 | }
149 | public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { nil }
| `- error: 'UIEvent' is unavailable in watchOS
150 | public override func layoutSubviews() { super.layoutSubviews(); layoutReady?() }
151 | public override func didMoveToWindow() {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:149:77: error: 'UIView' is unavailable in watchOS
147 | completion?.resolve(outcome)
148 | }
149 | public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { nil }
| `- error: 'UIView' is unavailable in watchOS
150 | public override func layoutSubviews() { super.layoutSubviews(); layoutReady?() }
151 | public override func didMoveToWindow() {
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiLayerView.swift:6:65: error: 'UIView' is unavailable in watchOS
4 | /// Native-particle renderer for UIKit and the SwiftUI overlays. A pop replaces the
5 | /// previous burst. Particle positions stay in the view's captured local coordinates.
6 | @_spi(Testing) @MainActor public final class ConfettiLayerView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | private(set) var hasEnteredWindow = false
8 | var layoutReady: (() -> Void)?
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiLayerView.swift:160:40: error: 'CAAnimation' is unavailable in watchOS
158 | let ready: @MainActor () -> Void
159 | init(_ ready: @escaping @MainActor () -> Void) { self.ready = ready }
160 | func animationDidStop(_ animation: CAAnimation, finished: Bool) {
| `- error: 'CAAnimation' is unavailable in watchOS
161 | guard finished else { return }
162 | // Transfer the actor-isolated closure, not this non-Sendable delegate.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:157:51: error: 'CAAnimationDelegate' is unavailable in watchOS
155 | }
156 |
157 | private final class ConfettiLaunchGate: NSObject, CAAnimationDelegate {
| `- error: 'CAAnimationDelegate' is unavailable in watchOS
158 | let ready: @MainActor () -> Void
159 | init(_ ready: @escaping @MainActor () -> Void) { self.ready = ready }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
69 |
70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
71 | @protocol CAAnimationDelegate <NSObject>
| `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
72 | @optional
73 |
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:26:9: error: 'accessibilityElementsHidden' is unavailable in watchOS
24 | super.init(frame: frame)
25 | isUserInteractionEnabled = false; backgroundColor = .clear; isOpaque = false
26 | accessibilityElementsHidden = true
| `- error: 'accessibilityElementsHidden' is unavailable in watchOS
27 | }
28 | required init?(coder: NSCoder) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:160:28: note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
158 | default == NO
159 | */
160 | @property (nonatomic) BOOL accessibilityElementsHidden API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
161 |
162 | /*
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:31:9: error: 'accessibilityElementsHidden' is unavailable in watchOS
29 | super.init(coder: coder)
30 | isUserInteractionEnabled = false; backgroundColor = .clear; isOpaque = false
31 | accessibilityElementsHidden = true
| `- error: 'accessibilityElementsHidden' is unavailable in watchOS
32 | }
33 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:160:28: note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
158 | default == NO
159 | */
160 | @property (nonatomic) BOOL accessibilityElementsHidden API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
161 |
162 | /*
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:50:23: error: 'CACurrentMediaTime()' is unavailable in watchOS
48 | cancel(); scheduledStartDelay = nil
49 | self.completion = completion
50 | let started = CACurrentMediaTime()
| `- error: 'CACurrentMediaTime()' is unavailable in watchOS
51 | let particles = burst.particles(paletteCount: colors.count)
52 | guard !particles.isEmpty else { complete(.notPresented); return }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h:127:26: note: 'CACurrentMediaTime()' has been explicitly marked unavailable here
125 | * calling mach_absolute_time () and converting the units to seconds. */
126 |
127 | CA_EXTERN CFTimeInterval CACurrentMediaTime (void)
| `- note: 'CACurrentMediaTime()' has been explicitly marked unavailable here
128 | API_AVAILABLE(macos(10.5), ios(2.0)) API_UNAVAILABLE(watchos);
129 |
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:53:49: error: 'resolvedColor(with:)' is unavailable in watchOS
51 | let particles = burst.particles(paletteCount: colors.count)
52 | guard !particles.isEmpty else { complete(.notPresented); return }
53 | let colors = colors.prefix(16).map { $0.resolvedColor(with: traitCollection) }
| `- error: 'resolvedColor(with:)' is unavailable in watchOS
54 | let scale = max(1, window?.screen.scale ?? traitCollection.displayScale)
55 | let textures = ConfettiNativeTextures.make(particles: particles, colors: colors, size: burst.size, scale: scale)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:148:1: note: 'resolvedColor(with:)' has been explicitly marked unavailable here
146 | /* Resolve any color to its most fundamental form (a non-dynamic color) for a specific trait collection.
147 | */
148 | - (UIColor *)resolvedColorWithTraitCollection:(UITraitCollection *)traitCollection API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'resolvedColor(with:)' has been explicitly marked unavailable here
149 |
150 | @end
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:56:21: error: 'CALayer' is unavailable in watchOS
54 | let scale = max(1, window?.screen.scale ?? traitCollection.displayScale)
55 | let textures = ConfettiNativeTextures.make(particles: particles, colors: colors, size: burst.size, scale: scale)
56 | let clock = CALayer(); clock.name = "PaperConfetti.Clock"
| `- error: 'CALayer' is unavailable in watchOS
57 | clock.speed = 0; clock.timeOffset = Self.emissionPeriod
58 | let token = generation
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:59:9: error: 'CATransaction' is unavailable in watchOS
57 | clock.speed = 0; clock.timeOffset = Self.emissionPeriod
58 | let token = generation
59 | CATransaction.begin(); CATransaction.setDisableActions(true)
| `- error: 'CATransaction' is unavailable in watchOS
60 | for (p, texture) in zip(particles, textures) {
61 | let emitter = CAEmitterLayer()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:59:32: error: 'CATransaction' is unavailable in watchOS
57 | clock.speed = 0; clock.timeOffset = Self.emissionPeriod
58 | let token = generation
59 | CATransaction.begin(); CATransaction.setDisableActions(true)
| `- error: 'CATransaction' is unavailable in watchOS
60 | for (p, texture) in zip(particles, textures) {
61 | let emitter = CAEmitterLayer()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:61:27: error: 'CAEmitterLayer' is unavailable in watchOS
59 | CATransaction.begin(); CATransaction.setDisableActions(true)
60 | for (p, texture) in zip(particles, textures) {
61 | let emitter = CAEmitterLayer()
| `- error: 'CAEmitterLayer' is unavailable in watchOS
62 | emitter.emitterPosition = .zero; emitter.emitterShape = .rectangle
63 | emitter.emitterSize = CGSize(width: 12, height: 8)
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiLayerView.swift:62:70: error: 'rectangle' is unavailable in watchOS
60 | for (p, texture) in zip(particles, textures) {
61 | let emitter = CAEmitterLayer()
62 | emitter.emitterPosition = .zero; emitter.emitterShape = .rectangle
| `- error: 'rectangle' is unavailable in watchOS
63 | emitter.emitterSize = CGSize(width: 12, height: 8)
64 | emitter.renderMode = .unordered; emitter.preservesDepth = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:116:44: note: 'rectangle' has been explicitly marked unavailable here
114 | CA_EXTERN CAEmitterLayerEmitterShape const kCAEmitterLayerLine
115 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
116 | CA_EXTERN CAEmitterLayerEmitterShape const kCAEmitterLayerRectangle
| `- note: 'rectangle' has been explicitly marked unavailable here
117 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
118 | CA_EXTERN CAEmitterLayerEmitterShape const kCAEmitterLayerCuboid
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:64:35: error: 'unordered' is unavailable in watchOS
62 | emitter.emitterPosition = .zero; emitter.emitterShape = .rectangle
63 | emitter.emitterSize = CGSize(width: 12, height: 8)
64 | emitter.renderMode = .unordered; emitter.preservesDepth = false
| `- error: 'unordered' is unavailable in watchOS
65 | emitter.seed = UInt32(truncatingIfNeeded: p.phase.bitPattern ^ p.delay.bitPattern ^ p.dx.bitPattern)
66 | emitter.opacity = 0
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:138:42: note: 'unordered' has been explicitly marked unavailable here
136 | /** `renderMode' values. **/
137 |
138 | CA_EXTERN CAEmitterLayerRenderMode const kCAEmitterLayerUnordered
| `- note: 'unordered' has been explicitly marked unavailable here
139 | API_AVAILABLE(macos(10.6), ios(5.0), tvos(9.0)) API_UNAVAILABLE(watchos);
140 | CA_EXTERN CAEmitterLayerRenderMode const kCAEmitterLayerOldestFirst
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:69:24: error: 'CAEmitterCell' is unavailable in watchOS
67 | // All cells share a clock. Cannon delays apply to visible flight only.
68 | emitter.beginTime = 0.000001
69 | let cell = CAEmitterCell()
| `- error: 'CAEmitterCell' is unavailable in watchOS
70 | cell.contents = texture
71 | cell.contentsScale = scale
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiLayerView.swift:85:26: error: 'CAKeyframeAnimation' is unavailable in watchOS
83 | emitter.emitterCells = [cell]
84 | let track = ConfettiTrack(p)
85 | let motion = CAKeyframeAnimation(keyPath: "position")
| `- error: 'CAKeyframeAnimation' is unavailable in watchOS
86 | motion.values = track.positions.map { NSValue(cgPoint: $0) }
87 | motion.keyTimes = track.times.map { NSNumber(value: $0 / p.lifetime) }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:166:12: note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
164 |
165 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
166 | @interface CAKeyframeAnimation : CAPropertyAnimation
| `- note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
167 |
168 | /* An array of objects providing the value of the animation function for
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:88:39: error: 'linear' is unavailable in watchOS
86 | motion.values = track.positions.map { NSValue(cgPoint: $0) }
87 | motion.keyTimes = track.times.map { NSNumber(value: $0 / p.lifetime) }
88 | motion.calculationMode = .linear
| `- error: 'linear' is unavailable in watchOS
89 | let opacity = CAKeyframeAnimation(keyPath: "opacity")
90 | opacity.values = track.opacities; opacity.keyTimes = motion.keyTimes
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:238:44: note: 'linear' has been explicitly marked unavailable here
236 | /* `calculationMode' strings. */
237 |
238 | CA_EXTERN CAAnimationCalculationMode const kCAAnimationLinear
| `- note: 'linear' has been explicitly marked unavailable here
239 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
240 | CA_EXTERN CAAnimationCalculationMode const kCAAnimationDiscrete
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:89:27: error: 'CAKeyframeAnimation' is unavailable in watchOS
87 | motion.keyTimes = track.times.map { NSNumber(value: $0 / p.lifetime) }
88 | motion.calculationMode = .linear
89 | let opacity = CAKeyframeAnimation(keyPath: "opacity")
| `- error: 'CAKeyframeAnimation' is unavailable in watchOS
90 | opacity.values = track.opacities; opacity.keyTimes = motion.keyTimes
91 | let group = CAAnimationGroup(); group.animations = [motion, opacity]
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:166:12: note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
164 |
165 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
166 | @interface CAKeyframeAnimation : CAPropertyAnimation
| `- note: 'CAKeyframeAnimation' has been explicitly marked unavailable here
167 |
168 | /* An array of objects providing the value of the animation function for
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:91:25: error: 'CAAnimationGroup' is unavailable in watchOS
89 | let opacity = CAKeyframeAnimation(keyPath: "opacity")
90 | opacity.values = track.opacities; opacity.keyTimes = motion.keyTimes
91 | let group = CAAnimationGroup(); group.animations = [motion, opacity]
| `- error: 'CAAnimationGroup' is unavailable in watchOS
92 | if burst.appearance == .threeDimensional {
93 | let tilt = CABasicAnimation(keyPath: "transform.rotation.x")
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
| `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:93:28: error: 'CABasicAnimation' is unavailable in watchOS
91 | let group = CAAnimationGroup(); group.animations = [motion, opacity]
92 | if burst.appearance == .threeDimensional {
93 | let tilt = CABasicAnimation(keyPath: "transform.rotation.x")
| `- error: 'CABasicAnimation' is unavailable in watchOS
94 | tilt.fromValue = p.phase; tilt.toValue = p.phase + p.tumble * p.lifetime
95 | group.animations?.append(tilt)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:98:36: error: 'CAMediaTimingFunction' is unavailable in watchOS
96 | }
97 | group.duration = p.lifetime; group.beginTime = Self.emissionPeriod + max(0.000001, p.delay)
98 | group.timingFunction = CAMediaTimingFunction(name: .linear)
| `- error: 'CAMediaTimingFunction' is unavailable in watchOS
99 | group.animations?.forEach { $0.duration = p.lifetime }
100 | clock.addSublayer(emitter); emitter.add(group, forKey: "flight")
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:24:12: note: 'CAMediaTimingFunction' has been explicitly marked unavailable here
22 |
23 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
24 | @interface CAMediaTimingFunction : NSObject <NSSecureCoding>
| `- note: 'CAMediaTimingFunction' has been explicitly marked unavailable here
25 | {
26 | @private
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiLayerView.swift
SwiftCompile normal arm64_32 Compiling\ ConfettiOverlay.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift (in target 'PaperConfetti' from project 'PaperConfetti')
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:29:34: error: cannot find type 'Context' in scope
27 | let colors: [UIColor]
28 | let enabled: Bool
29 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
| `- error: cannot find type 'Context' in scope
30 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
31 | view.show(burst: burst, colors: colors, enabled: enabled)
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:30:63: error: cannot find type 'Context' in scope
28 | let enabled: Bool
29 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
30 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
| `- error: cannot find type 'Context' in scope
31 | view.show(burst: burst, colors: colors, enabled: enabled)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:25:48: error: cannot find type 'UIViewRepresentable' in scope
23 | }
24 |
25 | private struct ConfettiLayerRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
26 | let burst: ConfettiBurst
27 | let colors: [UIColor]
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:21:14: error: value of type 'ConfettiLayerRepresentable' has no member 'allowsHitTesting'
19 | enabled: !reduceMotion && scenePhase == .active
20 | )
21 | .allowsHitTesting(false).accessibilityHidden(true)
| `- error: value of type 'ConfettiLayerRepresentable' has no member 'allowsHitTesting'
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:29:66: error: 'init()' is unavailable in watchOS
27 | let colors: [UIColor]
28 | let enabled: Bool
29 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
| `- error: 'init()' is unavailable in watchOS
30 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
31 | view.show(burst: burst, colors: colors, enabled: enabled)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift:31:18: error: call to main actor-isolated instance method 'show(burst:colors:enabled:)' in a synchronous nonisolated context [#ActorIsolatedCall]
28 | let enabled: Bool
29 | func makeUIView(context: Context) -> ConfettiLayerView { ConfettiLayerView() }
30 | func updateUIView(_ view: ConfettiLayerView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
31 | view.show(burst: burst, colors: colors, enabled: enabled)
| `- error: call to main actor-isolated instance method 'show(burst:colors:enabled:)' in a synchronous nonisolated context [#ActorIsolatedCall]
32 | }
33 | static func dismantleUIView(_ view: ConfettiLayerView, coordinator: ()) { view.cancel() }
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiLayerView.swift:34:17: note: calls to instance method 'show(burst:colors:enabled:)' from outside of its actor context are implicitly asynchronous
32 | }
33 |
34 | public func show(burst: ConfettiBurst, colors: [UIColor], enabled: Bool = true) {
| `- note: calls to instance method 'show(burst:colors:enabled:)' from outside of its actor context are implicitly asynchronous
35 | guard burst != lastBurst else { if !enabled { cancel() }; return }
36 | lastBurst = burst
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiOverlay.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiOverlay.swift
SwiftCompile normal arm64_32 Compiling\ ConfettiShape.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiShape.swift (in target 'PaperConfetti' from project 'PaperConfetti')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiShape.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiShape.swift
SwiftCompile normal arm64_32 Compiling\ ConfettiView.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift (in target 'PaperConfetti' from project 'PaperConfetti')
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:7:28: error: 'init()' is unavailable in watchOS
5 | /// completion behavior as the SwiftUI modifier. Add it to a stable container.
6 | @MainActor public final class ConfettiView: UIView {
7 | private let renderer = ConfettiLayerView()
| `- error: 'init()' is unavailable in watchOS
8 | private let controller = ConfettiController()
9 | /// Whether a flight is being prepared or is active; this is not a visible-pixel measurement.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:102:64: error: 'UIEvent' is unavailable in watchOS
100 | /// - event: The event associated with the hit test, if any.
101 | /// - Returns: Always `nil`, even if user interaction is accidentally enabled.
102 | public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { nil }
| `- error: 'UIEvent' is unavailable in watchOS
103 | }
104 | #endif
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:102:77: error: 'UIView' is unavailable in watchOS
100 | /// - event: The event associated with the hit test, if any.
101 | /// - Returns: Always `nil`, even if user interaction is accidentally enabled.
102 | public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { nil }
| `- error: 'UIView' is unavailable in watchOS
103 | }
104 | #endif
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiView.swift:6:45: error: 'UIView' is unavailable in watchOS
4 | /// A touch-transparent UIKit host with the same lifecycle, accessibility and
5 | /// completion behavior as the SwiftUI modifier. Add it to a stable container.
6 | @MainActor public final class ConfettiView: UIView {
| `- error: 'UIView' is unavailable in watchOS
7 | private let renderer = ConfettiLayerView()
8 | private let controller = ConfettiController()
/Applications/Xcode-27.0.0.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/PaperConfetti/ConfettiView.swift:32:43: error: 'accessibilityElementsHidden' is unavailable in watchOS
30 | private func configure() {
31 | isOpaque = false; backgroundColor = .clear
32 | isUserInteractionEnabled = false; accessibilityElementsHidden = true
| `- error: 'accessibilityElementsHidden' is unavailable in watchOS
33 | addSubview(renderer)
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:160:28: note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
158 | default == NO
159 | */
160 | @property (nonatomic) BOOL accessibilityElementsHidden API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityElementsHidden' has been explicitly marked unavailable here
161 |
162 | /*
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:34:93: error: 'UIApplication' is unavailable in watchOS
32 | isUserInteractionEnabled = false; accessibilityElementsHidden = true
33 | addSubview(renderer)
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
| `- error: 'UIApplication' is unavailable in watchOS
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:34:107: error: 'willResignActiveNotification' is unavailable in watchOS
32 | isUserInteractionEnabled = false; accessibilityElementsHidden = true
33 | addSubview(renderer)
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
| `- error: 'willResignActiveNotification' is unavailable in watchOS
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:574:39: note: 'willResignActiveNotification' has been explicitly marked unavailable here
572 | UIKIT_EXTERN NSNotificationName const UIApplicationDidFinishLaunchingNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
573 | UIKIT_EXTERN NSNotificationName const UIApplicationDidBecomeActiveNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
574 | UIKIT_EXTERN NSNotificationName const UIApplicationWillResignActiveNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'willResignActiveNotification' has been explicitly marked unavailable here
575 | UIKIT_EXTERN NSNotificationName const UIApplicationDidReceiveMemoryWarningNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
576 | UIKIT_EXTERN NSNotificationName const UIApplicationWillTerminateNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:35:103: error: 'UIScene' is unavailable in watchOS
33 | addSubview(renderer)
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
| `- error: 'UIScene' is unavailable in watchOS
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
37 | UIAccessibility.reduceMotionStatusDidChangeNotification] {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:35:111: error: 'willDeactivateNotification' is unavailable in watchOS
33 | addSubview(renderer)
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
| `- error: 'willDeactivateNotification' is unavailable in watchOS
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
37 | UIAccessibility.reduceMotionStatusDidChangeNotification] {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:109:39: note: 'willDeactivateNotification' has been explicitly marked unavailable here
107 | UIKIT_EXTERN NSNotificationName const UISceneDidDisconnectNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
108 | UIKIT_EXTERN NSNotificationName const UISceneDidActivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
109 | UIKIT_EXTERN NSNotificationName const UISceneWillDeactivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'willDeactivateNotification' has been explicitly marked unavailable here
110 | UIKIT_EXTERN NSNotificationName const UISceneWillEnterForegroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
111 | UIKIT_EXTERN NSNotificationName const UISceneDidEnterBackgroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:36:22: error: 'UIApplication' is unavailable in watchOS
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
| `- error: 'UIApplication' is unavailable in watchOS
37 | UIAccessibility.reduceMotionStatusDidChangeNotification] {
38 | NotificationCenter.default.addObserver(self, selector: #selector(refreshPolicy), name: name, object: nil)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:36:36: error: 'didBecomeActiveNotification' is unavailable in watchOS
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
| `- error: 'didBecomeActiveNotification' is unavailable in watchOS
37 | UIAccessibility.reduceMotionStatusDidChangeNotification] {
38 | NotificationCenter.default.addObserver(self, selector: #selector(refreshPolicy), name: name, object: nil)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:573:39: note: 'didBecomeActiveNotification' has been explicitly marked unavailable here
571 | UIKIT_EXTERN NSNotificationName const UIApplicationWillEnterForegroundNotification API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
572 | UIKIT_EXTERN NSNotificationName const UIApplicationDidFinishLaunchingNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
573 | UIKIT_EXTERN NSNotificationName const UIApplicationDidBecomeActiveNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'didBecomeActiveNotification' has been explicitly marked unavailable here
574 | UIKIT_EXTERN NSNotificationName const UIApplicationWillResignActiveNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
575 | UIKIT_EXTERN NSNotificationName const UIApplicationDidReceiveMemoryWarningNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:36:65: error: 'UIScene' is unavailable in watchOS
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
| `- error: 'UIScene' is unavailable in watchOS
37 | UIAccessibility.reduceMotionStatusDidChangeNotification] {
38 | NotificationCenter.default.addObserver(self, selector: #selector(refreshPolicy), name: name, object: nil)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetyp
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiView.swift
e)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:36:73: error: 'didActivateNotification' is unavailable in watchOS
34 | NotificationCenter.default.addObserver(self, selector: #selector(deactivate), name: UIApplication.willResignActiveNotification, object: nil)
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
| `- error: 'didActivateNotification' is unavailable in watchOS
37 | UIAccessibility.reduceMotionStatusDidChangeNotification] {
38 | NotificationCenter.default.addObserver(self, selector: #selector(refreshPolicy), name: name, object: nil)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:108:39: note: 'didActivateNotification' has been explicitly marked unavailable here
106 | UIKIT_EXTERN NSNotificationName const UISceneWillConnectNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
107 | UIKIT_EXTERN NSNotificationName const UISceneDidDisconnectNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
108 | UIKIT_EXTERN NSNotificationName const UISceneDidActivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'didActivateNotification' has been explicitly marked unavailable here
109 | UIKIT_EXTERN NSNotificationName const UISceneWillDeactivateNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
110 | UIKIT_EXTERN NSNotificationName const UISceneWillEnterForegroundNotification API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:37:38: error: 'reduceMotionStatusDidChangeNotification' is unavailable in watchOS
35 | NotificationCenter.default.addObserver(self, selector: #selector(sceneDeactivated(_:)), name: UIScene.willDeactivateNotification, object: nil)
36 | for name in [UIApplication.didBecomeActiveNotification, UIScene.didActivateNotification,
37 | UIAccessibility.reduceMotionStatusDidChangeNotification] {
| `- error: 'reduceMotionStatusDidChangeNotification' is unavailable in watchOS
38 | NotificationCenter.default.addObserver(self, selector: #selector(refreshPolicy), name: name, object: nil)
39 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:567:39: note: 'reduceMotionStatusDidChangeNotification' has been explicitly marked unavailable here
565 | // Returns whether the system preference for reduce motion is enabled
566 | UIKIT_EXTERN BOOL UIAccessibilityIsReduceMotionEnabled(void) API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
567 | UIKIT_EXTERN NSNotificationName const UIAccessibilityReduceMotionStatusDidChangeNotification API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'reduceMotionStatusDidChangeNotification' has been explicitly marked unavailable here
568 |
569 | // Returns whether the system preference for reduce motion: prefer cross-fade transitions is enabled
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:49:89: error: 'isReduceMotionEnabled' is unavailable in watchOS
47 | }
48 | @objc private func deactivate() {
49 | controller.attach(renderer, sceneIsActive: false, reduceMotion: UIAccessibility.isReduceMotionEnabled)
| `- error: 'isReduceMotionEnabled' is unavailable in watchOS
50 | }
51 | @objc private func sceneDeactivated(_ notification: Notification) {
UIKit.UIAccessibility.isReduceMotionEnabled:3:32: note: 'isReduceMotionEnabled' has been explicitly marked unavailable here
1 | struct UIAccessibility {
2 | @available(watchOS, unavailable)
3 | @MainActor public static var isReduceMotionEnabled: Bool { get }}
| `- note: 'isReduceMotionEnabled' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:52:51: error: 'UIScene' is unavailable in watchOS
50 | }
51 | @objc private func sceneDeactivated(_ notification: Notification) {
52 | guard let scene = notification.object as? UIScene, scene === window?.windowScene else { return }
| `- error: 'UIScene' is unavailable in watchOS
53 | deactivate()
54 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h:20:12: note: 'UIScene' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIScene : UIResponder
| `- note: 'UIScene' has been explicitly marked unavailable here
21 | + (instancetype)new NS_UNAVAILABLE;
22 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:52:78: error: 'windowScene' is unavailable in watchOS
50 | }
51 | @objc private func sceneDeactivated(_ notification: Notification) {
52 | guard let scene = notification.object as? UIScene, scene === window?.windowScene else { return }
| `- error: 'windowScene' is unavailable in watchOS
53 | deactivate()
54 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:58:36: error: 'windowScene' is unavailable in watchOS
56 | guard window != nil else { return }
57 | controller.attach(renderer,
58 | sceneIsActive: window?.windowScene?.activationState == .foregroundActive && UIApplication.shared.applicationState == .active,
| `- error: 'windowScene' is unavailable in watchOS
59 | reduceMotion: UIAccessibility.isReduceMotionEnabled)
60 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiView.swift:58:89: error: 'UIApplication' is unavailable in watchOS
56 | guard window != nil else { return }
57 | controller.attach(renderer,
58 | sceneIsActive: window?.windowScene?.activationState == .foregroundActive && UIApplication.shared.applicationState == .active,
| `- error: 'UIApplication' is unavailable in watchOS
59 | reduceMotion: UIAccessibility.isReduceMotionEnabled)
60 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
SwiftCompile normal arm64_32 Compiling\ ConfettiShapePath.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiShapePath.swift (in target 'PaperConfetti' from project 'PaperConfetti')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiShapePath.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiShapePath.swift
SwiftCompile normal arm64_32 Compiling\ ConfettiTextures.swift /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiTextures.swift (in target 'PaperConfetti' from project 'PaperConfetti')
/Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiTextures.swift:49:34: error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
47 | if let image = cache.object(forKey: key)?.cgImage { return image }
48 | let dimensions = CGSize(width: max(1, size * shape.relativeWidth), height: max(1, size * shape.relativeHeight))
49 | let format = UIGraphicsImageRendererFormat()
| `- error: 'UIGraphicsImageRendererFormat' is unavailable in watchOS
50 | format.scale = scale
51 | format.opaque = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:27:12: note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
25 |
26 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos)
27 | @interface UIGraphicsImageRendererFormat : UIGraphicsRendererFormat
| `- note: 'UIGraphicsImageRendererFormat' has been explicitly marked unavailable here
28 |
29 | @property (nonatomic) CGFloat scale; // display scale of the context. The preferredFormat uses the scale most appropriate for the main screen's current configuration.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/PaperConfetti/ConfettiTextures.swift (in target 'PaperConfetti' from project 'PaperConfetti')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfettiTextures.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-11-08 11:25:10.329 xcodebuild[807:4659] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'PaperConfetti' from project 'PaperConfetti')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ PaperConfetti (in target 'PaperConfetti' from project 'PaperConfetti')
Building workspace PaperConfetti with scheme PaperConfetti
(3 failures)
BUILD FAILURE 6.4 watchOS