Build Information
Failed to build GradientLoadingBar, reference main (609442), with Swift 6.4 for watchOS using Xcode 27.0 on 10 Oct 2026 18:54:38 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme GradientLoadingBar -destination generic/platform=watchOSBuild Log
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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:125:21: error: 'CABasicAnimation' is unavailable in watchOS
123 | /// The progress animation.
124 | private let progressAnimation: CABasicAnimation = {
125 | let animation = CABasicAnimation(keyPath: "position.x")
| `- error: 'CABasicAnimation' is unavailable in watchOS
126 | animation.fromValue = 0
127 | animation.toValue = 0
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:160:24: error: cannot override 'updateProperties' which has been marked unavailable
158 | }
159 |
160 | override public func updateProperties() {
| |- error: cannot override 'updateProperties' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'updateProperties'
161 | super.updateProperties()
162 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:260:1: note: 'updateProperties()' has been explicitly marked unavailable here
258 | /// Override point for subclasses to update properties of this view.
259 | /// Never call this method directly; use `setNeedsUpdateProperties` to schedule an update.
260 | - (void)updateProperties NS_REQUIRES_SUPER API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos);
| `- note: 'updateProperties()' has been explicitly marked unavailable here
261 | /// Forces an immediate properties update for this view (and its view controller, if applicable)
262 | /// and any subviews, including any view controllers or views in its subtree.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:169:57: error: 'UIEvent' is unavailable in watchOS
167 | }
168 |
169 | override public func point(inside _: CGPoint, with _: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
170 | // Passing all touches to the next view (if any), in the view stack.
171 | false
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:75:45: error: 'UIView' is unavailable in watchOS
73 | ///
74 | /// - SeeAlso: ``GradientLoadingBarView`` for the SwiftUI equivalent.
75 | public class GradientActivityIndicatorView: UIView {
| `- error: 'UIView' is unavailable in watchOS
76 |
77 | // MARK: - Config
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:197:2: error: no macro named 'Preview'
195 | // MARK: - Preview
196 |
197 | #Preview {
| `- error: no macro named 'Preview'
198 | let viewController = UIViewController()
199 |
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:161:11: error: 'updateProperties()' is unavailable in watchOS
159 |
160 | override public func updateProperties() {
161 | super.updateProperties()
| `- error: 'updateProperties()' is unavailable in watchOS
162 |
163 | // Unfortunately the only way to update a running `CABasicAnimation`, is to restart it.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:260:1: note: 'updateProperties()' has been explicitly marked unavailable here
258 | /// Override point for subclasses to update properties of this view.
259 | /// Never call this method directly; use `setNeedsUpdateProperties` to schedule an update.
260 | - (void)updateProperties NS_REQUIRES_SUPER API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos);
| `- note: 'updateProperties()' has been explicitly marked unavailable here
261 | /// Forces an immediate properties update for this view (and its view controller, if applicable)
262 | /// and any subviews, including any view controllers or views in its subtree.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GradientActivityIndicatorView.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/Utilities/GradientActivityIndicatorView+AnimateIsHidden.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GradientActivityIndicatorView+AnimateIsHidden.swift
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:180:5: error: 'isAccessibilityElement' is unavailable in watchOS
178 | layer.masksToBounds = true
179 |
180 | isAccessibilityElement = false
| `- error: 'isAccessibilityElement' is unavailable in watchOS
181 | }
182 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
50 | Setting the property to YES will cause the receiver to be visible to assistive applications.
51 | */
52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
53 |
54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/Utilities/GradientActivityIndicatorView+AnimateIsHidden.swift:36:5: error: 'UIView' is unavailable in watchOS
34 | }
35 |
36 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
37 | withDuration: duration,
38 | delay: 0,
/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.
SwiftCompile normal arm64_32 Compiling\ NotchGradientLoadingBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController.swift:96:45: error: 'UIView' is unavailable in watchOS
94 | // MARK: - Internal Methods
95 |
96 | override func setupConstraints(superview: UIView) {
| `- error: 'UIView' is unavailable in watchOS
97 | guard let notchDevice = viewModel.notchDevice else {
98 | // No special masking required for devices without a notch.
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:46:50: error: 'UIApplication' is unavailable in watchOS
44 |
45 | init(
46 | sharedApplication: UIApplicationProtocol = UIApplication.shared,
| `- error: 'UIApplication' is unavailable in watchOS
47 | notificationCenter: NotificationCenter = .default,
48 | ) {
/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/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController+ViewModel.swift:33:37: error: 'UIDevice' is unavailable in watchOS
31 | // MARK: - Instance Lifecycle
32 |
33 | init(deviceIdentifier: String = UIDevice.identifier) {
| `- error: 'UIDevice' is unavailable in watchOS
34 | notchDevice = NotchDevice(deviceIdentifier: deviceIdentifier)
35 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:117:39: error: 'init()' is unavailable in watchOS
115 | /// - Note: This property needs to have an internal access level to allow
116 | /// accessing this view in ``NotchGradientLoadingBarController``.
117 | let gradientActivityIndicatorView = GradientActivityIndicatorView()
| `- error: 'init()' is unavailable in watchOS
118 |
119 | /// The height of the gradient bar.
/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/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController.swift:114:5: error: 'NSLayoutConstraint' is unavailable in watchOS
112 |
113 | let notchBezierPathSize = notchBezierPath.bounds.size
114 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
115 | gradientActivityIndicatorView.leadingAnchor.constraint(equalTo: superview.leadingAnchor),
116 | gradientActivityIndicatorView.trailingAnchor.constraint(equalTo: superview.trailingAnchor),
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController.swift:127:22: error: 'CAShapeLayer' is unavailable in watchOS
125 |
126 | private func maskView(with bezierPath: UIBezierPath) {
127 | let shapeLayer = CAShapeLayer()
| `- error: 'CAShapeLayer' is unavailable in watchOS
128 | shapeLayer.path = bezierPath.cgPath
129 | shapeLayer.fillColor = UIColor.white.cgColor
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController.swift:130:16: error: 'cornerCurve' is unavailable in watchOS
128 | shapeLayer.path = bezierPath.cgPath
129 | shapeLayer.fillColor = UIColor.white.cgColor
130 | shapeLayer.cornerCurve = .continuous
| `- error: 'cornerCurve' is unavailable in watchOS
131 |
132 | gradientActivityIndicatorView.layer.mask = shapeLayer
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:607:36: note: 'cornerCurve' has been explicitly marked unavailable here
605 | * Defaults to 'kCACornerCurveCircular'. */
606 |
607 | @property(copy) CALayerCornerCurve cornerCurve
| `- note: 'cornerCurve' has been explicitly marked unavailable here
608 | API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
609 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NotchGradientLoadingBarController.swift
SwiftCompile normal arm64_32 Compiling\ GradientLoadingBarView.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarView/GradientLoadingBarView.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarView/GradientLoadingBarView.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GradientLoadingBarView.swift
SwiftCompile normal arm64_32 Compiling\ GradientLoadingBarView+ViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarView/GradientLoadingBarView+ViewModel.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarView/GradientLoadingBarView+ViewModel.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GradientLoadingBarView+ViewModel.swift
SwiftCompile normal arm64_32 Compiling\ NotchGradientLoadingBarController+ViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController+ViewModel.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController+ViewModel.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NotchGradientLoadingBarController+ViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController+ViewModel.swift:33:37: error: 'UIDevice' is unavailable in watchOS
31 | // MARK: - Instance Lifecycle
32 |
33 | init(deviceIdentifier: String = UIDevice.identifier) {
| `- error: 'UIDevice' is unavailable in watchOS
34 | notchDevice = NotchDevice(deviceIdentifier: deviceIdentifier)
35 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
SwiftCompile normal arm64_32 Compiling\ UIColor+GradientLoadingBar.swift,\ GradientActivityIndicatorView+ViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/UIColor+GradientLoadingBar.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView+ViewModel.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/UIColor+GradientLoadingBar.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIColor+GradientLoadingBar.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView+ViewModel.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GradientActivityIndicatorView+ViewModel.swift
SwiftCompile normal arm64_32 Compiling\ CGFloat+GradientLoadingBar.swift,\ TimeInterval+GradientLoadingBar.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/CGFloat+GradientLoadingBar.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/TimeInterval+GradientLoadingBar.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/CGFloat+GradientLoadingBar.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CGFloat+GradientLoadingBar.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/TimeInterval+GradientLoadingBar.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TimeInterval+GradientLoadingBar.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ GradientLoadingBar (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:114:30: error: 'CAGradientLayer' is unavailable in watchOS
112 |
113 | /// The layer holding the gradient.
114 | private let gradientLayer: CAGradientLayer = {
| `- error: 'CAGradientLayer' is unavailable in watchOS
115 | let layer = CAGradientLayer()
116 | layer.anchorPoint = .zero
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h:20:12: note: 'CAGradientLayer' has been explicitly marked unavailable here
18 |
19 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20 | @interface CAGradientLayer : CALayer
| `- note: 'CAGradientLayer' has been explicitly marked unavailable here
21 |
22 | /* The array of CGColorRef objects defining the color of each gradient
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:115:17: error: 'CAGradientLayer' is unavailable in watchOS
113 | /// The layer holding the gradient.
114 | private let gradientLayer: CAGradientLayer = {
115 | let layer = CAGradientLayer()
| `- error: 'CAGradientLayer' is unavailable in watchOS
116 | layer.anchorPoint = .zero
117 | layer.startPoint = .zero
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h:20:12: note: 'CAGradientLayer' has been explicitly marked unavailable here
18 |
19 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20 | @interface CAGradientLayer : CALayer
| `- note: 'CAGradientLayer' has been explicitly marked unavailable here
21 |
22 | /* The array of CGColorRef objects defining the color of each gradient
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:124:34: error: 'CABasicAnimation' is unavailable in watchOS
122 |
123 | /// The progress animation.
124 | private let progressAnimation: CABasicAnimation = {
| `- error: 'CABasicAnimation' is unavailable in watchOS
125 | let animation = CABasicAnimation(keyPath: "position.x")
126 | animation.fromValue = 0
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:125:21: error: 'CABasicAnimation' is unavailable in watchOS
123 | /// The progress animation.
124 | private let progressAnimation: CABasicAnimation = {
125 | let animation = CABasicAnimation(keyPath: "position.x")
| `- error: 'CABasicAnimation' is unavailable in watchOS
126 | animation.fromValue = 0
127 | animation.toValue = 0
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:160:24: error: cannot override 'updateProperties' which has been marked unavailable
158 | }
159 |
160 | override public func updateProperties() {
| |- error: cannot override 'updateProperties' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'updateProperties'
161 | super.updateProperties()
162 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:260:1: note: 'updateProperties()' has been explicitly marked unavailable here
258 | /// Override point for subclasses to update properties of this view.
259 | /// Never call this method directly; use `setNeedsUpdateProperties` to schedule an update.
260 | - (void)updateProperties NS_REQUIRES_SUPER API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos);
| `- note: 'updateProperties()' has been explicitly marked unavailable here
261 | /// Forces an immediate properties update for this view (and its view controller, if applicable)
262 | /// and any subviews, including any view controllers or views in its subtree.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:169:57: error: 'UIEvent' is unavailable in watchOS
167 | }
168 |
169 | override public func point(inside _: CGPoint, with _: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
170 | // Passing all touches to the next view (if any), in the view stack.
171 | false
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:75:45: error: 'UIView' is unavailable in watchOS
73 | ///
74 | /// - SeeAlso: ``GradientLoadingBarView`` for the SwiftUI equivalent.
75 | public class GradientActivityIndicatorView: UIView {
| `- error: 'UIView' is unavailable in watchOS
76 |
77 | // MARK: - Config
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:197:2: error: no macro named 'Preview'
195 | // MARK: - Preview
196 |
197 | #Preview {
| `- error: no macro named 'Preview'
198 | let viewController = UIViewController()
199 |
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:17:31: error: 'UIView' is unavailable in watchOS
15 | protocol GradientLoadingBarViewModel: AnyObject {
16 | /// A publisher that emits the current superview (key window) for the gradient loading bar.
17 | var superview: AnyPublisher<UIView?, Never> { get }
| `- error: 'UIView' is unavailable in watchOS
18 | }
19 |
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:34:33: error: 'UIView' is unavailable in watchOS
32 |
33 | /// Observable for the superview of the gradient-view.
34 | var superview: AnyPublisher<UIView?, Never> {
| `- error: 'UIView' is unavailable in watchOS
35 | superviewSubject.eraseToAnyPublisher()
36 | }
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:40:56: error: 'UIView' is unavailable in watchOS
38 | // MARK: - Private Properties
39 |
40 | private let superviewSubject = CurrentValueSubject<UIView?, Never>(nil)
| `- error: 'UIView' is unavailable in watchOS
41 | private var subscriptions = Set<AnyCancellable>()
42 |
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:46:50: error: 'UIApplication' is unavailable in watchOS
44 |
45 | init(
46 | sharedApplication: UIApplicationProtocol = UIApplication.shared,
| `- error: 'UIApplication' is unavailable in watchOS
47 | notificationCenter: NotificationCenter = .default,
48 | ) {
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:83:23: error: 'UIWindow' is unavailable in watchOS
81 | protocol UIApplicationProtocol: AnyObject {
82 | /// The first window in the connected scenes that is currently the key window.
83 | var firstKeyWindow: UIWindow? { get }
| `- error: 'UIWindow' is unavailable in watchOS
84 | }
85 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:90:23: error: 'UIWindow' is unavailable in watchOS
88 | ///
89 | /// - SeeAlso: <https://stackoverflow.com/a/58031897>
90 | var firstKeyWindow: UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
91 | connectedScenes
92 | .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:86:11: error: 'UIApplication' is unavailable in watchOS
84 | }
85 |
86 | extension UIApplication: UIApplicationProtocol {
| `- error: 'UIApplication' is unavailable in watchOS
87 | /// The first window in the connected scenes that is currently the key window.
88 | ///
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:117:39: error: 'init()' is unavailable in watchOS
115 | /// - Note: This property needs to have an internal access level to allow
116 | /// accessing this view in ``NotchGradientLoadingBarController``.
117 | let gradientActivityIndicatorView = GradientActivityIndicatorView()
| `- error: 'init()' is unavailable in watchOS
118 |
119 | /// The height of the gradient bar.
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:218:36: error: 'UIView' is unavailable in watchOS
216 | /// - Note: This method needs to have an internal access level to allow
217 | /// overwriting it in ``NotchGradientLoadingBarController``.
218 | func setupConstraints(superview: UIView) {
| `- error: 'UIView' is unavailable in watchOS
219 | let superViewTopAnchor = if isRelativeToSafeArea {
220 | superview.safeAreaLayoutGuide.topAnchor
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:242:45: error: 'UIView' is unavailable in watchOS
240 | }
241 |
242 | private func updateSuperview(_ superview: UIView?) {
| `- error: 'UIView' is unavailable in watchOS
243 | // If the views superview is not `nil`, the superview releases the view.
244 | gradientActivityIndicatorView.removeFromSuperview()
/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/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController+ViewModel.swift:33:37: error: 'UIDevice' is unavailable in watchOS
31 | // MARK: - Instance Lifecycle
32 |
33 | init(deviceIdentifier: String = UIDevice.identifier) {
| `- error: 'UIDevice' is unavailable in watchOS
34 | notchDevice = NotchDevice(deviceIdentifier: deviceIdentifier)
35 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController+ViewModel.swift:84:19: error: 'UIDevice' is unavailable in watchOS
82 | }
83 |
84 | private extension UIDevice {
| `- error: 'UIDevice' is unavailable in watchOS
85 | /// The hardware model identifier for the current device (e.g. "iPhone14,5" for iPhone 13).
86 | ///
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController.swift:96:45: error: 'UIView' is unavailable in watchOS
94 | // MARK: - Internal Methods
95 |
96 | override func setupConstraints(superview: UIView) {
| `- error: 'UIView' is unavailable in watchOS
97 | guard let notchDevice = viewModel.notchDevice else {
98 | // No special masking required for devices without a notch.
/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/Sources/GradientLoadingBar/Config/CGFloat+GradientLoadingBar.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/TimeInterval+GradientLoadingBar.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/UIColor+GradientLoadingBar.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView+ViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/Utilities/GradientActivityIndicatorView+AnimateIsHidden.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarView/GradientLoadingBarView+ViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarView/GradientLoadingBarView.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/Model/NotchDevice.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/Model/NotchLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController+ViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController.swift -target arm64_32-apple-watchos26.0 -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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar-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\=5 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name GradientLoadingBar -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar_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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar.abi.json
SwiftCompile normal arm64_32 (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ NotchLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/Model/NotchLayout.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/Model/NotchLayout.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NotchLayout.swift
SwiftCompile normal arm64_32 Compiling\ NotchDevice.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/Model/NotchDevice.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/Model/NotchDevice.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NotchDevice.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ GradientLoadingBar (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
SwiftCompile normal arm64 (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-10-10 14:54:24.113 xcodebuild[870:5034] [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\ GradientLoadingBar (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
SwiftCompile normal arm64_32 (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
Building workspace GradientLoadingBar with scheme GradientLoadingBar
(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:
swift-custom-dump: https://github.com/pointfreeco/swift-custom-dump @ 1.7.3
swift-issue-reporting: https://github.com/pointfreeco/swift-issue-reporting @ 2.1.1
GradientLoadingBar: /Users/admin/builder/spi-builder-workspace
swift-syntax: https://github.com/swiftlang/swift-syntax @ 604.0.0
swift-snapshot-testing: https://github.com/pointfreeco/swift-snapshot-testing @ 1.19.6
resolved source packages: swift-custom-dump, swift-issue-reporting, GradientLoadingBar, swift-syntax, swift-snapshot-testing
2026-10-10 14:54:32.799 xcodebuild[1053:5766] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.12.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
}
],
"manifest_display_name" : "GradientLoadingBar",
"name" : "GradientLoadingBar",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "26.0"
}
],
"products" : [
{
"name" : "GradientLoadingBar",
"targets" : [
"GradientLoadingBar"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GradientLoadingBarTests",
"module_type" : "SwiftTarget",
"name" : "GradientLoadingBarTests",
"path" : "Tests/GradientLoadingBarTests",
"product_dependencies" : [
"SnapshotTesting"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GradientLoadingBarTests/SnapshotTests/__Snapshots__",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"SnapshotTests/GradientActivityIndicatorViewSnapshotTests.swift",
"SnapshotTests/GradientLoadingBarControllerSnapshotests.swift",
"SnapshotTests/GradientLoadingBarViewSnapshotTests.swift",
"SnapshotTests/NotchGradientLoadingBarControllerSnapshotTests.swift",
"UnitTests/GradientActivityIndicatorView+ViewModelTests.swift",
"UnitTests/GradientLoadingBarController+ViewModelTests.swift",
"UnitTests/GradientLoadingBarView+ViewModelTests.swift",
"UnitTests/NotchGradientLoadingBarController+ViewModelTests.swift"
],
"target_dependencies" : [
"GradientLoadingBar"
],
"type" : "test"
},
{
"c99name" : "GradientLoadingBar",
"module_type" : "SwiftTarget",
"name" : "GradientLoadingBar",
"path" : "Sources/GradientLoadingBar",
"product_memberships" : [
"GradientLoadingBar"
],
"sources" : [
"Config/CGFloat+GradientLoadingBar.swift",
"Config/TimeInterval+GradientLoadingBar.swift",
"Config/UIColor+GradientLoadingBar.swift",
"Features/GradientActivityIndicatorView/GradientActivityIndicatorView+ViewModel.swift",
"Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift",
"Features/GradientActivityIndicatorView/Utilities/GradientActivityIndicatorView+AnimateIsHidden.swift",
"Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift",
"Features/GradientLoadingBarController/GradientLoadingBarController.swift",
"Features/GradientLoadingBarView/GradientLoadingBarView+ViewModel.swift",
"Features/GradientLoadingBarView/GradientLoadingBarView.swift",
"Features/NotchGradientLoadingBarController/Model/NotchDevice.swift",
"Features/NotchGradientLoadingBarController/Model/NotchLayout.swift",
"Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController+ViewModel.swift",
"Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController.swift"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
{
"workspace" : {
"name" : "GradientLoadingBar",
"schemes" : [
"GradientLoadingBar"
]
}
}
2026-10-10 14:54:35.025 xcodebuild[1062:5839] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme GradientLoadingBar -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 GradientLoadingBar -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
swift-custom-dump: https://github.com/pointfreeco/swift-custom-dump @ 1.7.3
swift-syntax: https://github.com/swiftlang/swift-syntax @ 604.0.0
GradientLoadingBar: /Users/admin/builder/spi-builder-workspace
swift-issue-reporting: https://github.com/pointfreeco/swift-issue-reporting @ 2.1.1
swift-snapshot-testing: https://github.com/pointfreeco/swift-snapshot-testing @ 1.19.6
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'GradientLoadingBar-product' in project 'GradientLoadingBar'
➜ Explicit dependency on target 'GradientLoadingBar' in project 'GradientLoadingBar'
Target 'GradientLoadingBar' in project 'GradientLoadingBar' (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 GradientLoadingBar normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
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 GradientLoadingBar -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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-watchos26.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 6 -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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar-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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar-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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar_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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver GradientLoadingBar normal arm64 com.apple.xcode.tools.swift.compiler (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
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 GradientLoadingBar -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64/GradientLoadingBar.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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-watchos26.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 6 -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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64/GradientLoadingBar-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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64/GradientLoadingBar.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64/GradientLoadingBar-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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64/GradientLoadingBar_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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64/GradientLoadingBar-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ GradientActivityIndicatorView.swift,\ GradientActivityIndicatorView+AnimateIsHidden.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/Utilities/GradientActivityIndicatorView+AnimateIsHidden.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:114:30: error: 'CAGradientLayer' is unavailable in watchOS
112 |
113 | /// The layer holding the gradient.
114 | private let gradientLayer: CAGradientLayer = {
| `- error: 'CAGradientLayer' is unavailable in watchOS
115 | let layer = CAGradientLayer()
116 | layer.anchorPoint = .zero
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h:20:12: note: 'CAGradientLayer' has been explicitly marked unavailable here
18 |
19 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20 | @interface CAGradientLayer : CALayer
| `- note: 'CAGradientLayer' has been explicitly marked unavailable here
21 |
22 | /* The array of CGColorRef objects defining the color of each gradient
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:115:17: error: 'CAGradientLayer' is unavailable in watchOS
113 | /// The layer holding the gradient.
114 | private let gradientLayer: CAGradientLayer = {
115 | let layer = CAGradientLayer()
| `- error: 'CAGradientLayer' is unavailable in watchOS
116 | layer.anchorPoint = .zero
117 | layer.startPoint = .zero
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h:20:12: note: 'CAGradientLayer' has been explicitly marked unavailable here
18 |
19 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20 | @interface CAGradientLayer : CALayer
| `- note: 'CAGradientLayer' has been explicitly marked unavailable here
21 |
22 | /* The array of CGColorRef objects defining the color of each gradient
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:124:34: error: 'CABasicAnimation' is unavailable in watchOS
122 |
123 | /// The progress animation.
124 | private let progressAnimation: CABasicAnimation = {
| `- error: 'CABasicAnimation' is unavailable in watchOS
125 | let animation = CABasicAnimation(keyPath: "position.x")
126 | animation.fromValue = 0
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:125:21: error: 'CABasicAnimation' is unavailable in watchOS
123 | /// The progress animation.
124 | private let progressAnimation: CABasicAnimation = {
125 | let animation = CABasicAnimation(keyPath: "position.x")
| `- error: 'CABasicAnimation' is unavailable in watchOS
126 | animation.fromValue = 0
127 | animation.toValue = 0
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:160:24: error: cannot override 'updateProperties' which has been marked unavailable
158 | }
159 |
160 | override public func updateProperties() {
| |- error: cannot override 'updateProperties' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'updateProperties'
161 | super.updateProperties()
162 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:260:1: note: 'updateProperties()' has been explicitly marked unavailable here
258 | /// Override point for subclasses to update properties of this view.
259 | /// Never call this method directly; use `setNeedsUpdateProperties` to schedule an update.
260 | - (void)updateProperties NS_REQUIRES_SUPER API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos);
| `- note: 'updateProperties()' has been explicitly marked unavailable here
261 | /// Forces an immediate properties update for this view (and its view controller, if applicable)
262 | /// and any subviews, including any view controllers or views in its subtree.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:169:57: error: 'UIEvent' is unavailable in watchOS
167 | }
168 |
169 | override public func point(inside _: CGPoint, with _: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
170 | // Passing all touches to the next view (if any), in the view stack.
171 | false
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:75:45: error: 'UIView' is unavailable in watchOS
73 | ///
74 | /// - SeeAlso: ``GradientLoadingBarView`` for the SwiftUI equivalent.
75 | public class GradientActivityIndicatorView: UIView {
| `- error: 'UIView' is unavailable in watchOS
76 |
77 | // MARK: - Config
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:197:2: error: no macro named 'Preview'
195 | // MARK: - Preview
196 |
197 | #Preview {
| `- error: no macro named 'Preview'
198 | let viewController = UIViewController()
199 |
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:161:11: error: 'updateProperties()' is unavailable in watchOS
159 |
160 | override public func updateProperties() {
161 | super.updateProperties()
| `- error: 'updateProperties()' is unavailable in watchOS
162 |
163 | // Unfortunately the only way to update a running `CABasicAnimation`, is to restart it.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:260:1: note: 'updateProperties()' has been explicitly marked unavailable here
258 | /// Override point for subclasses to update properties of this view.
259 | /// Never call this method directly; use `setNeedsUpdateProperties` to schedule an update.
260 | - (void)updateProperties NS_REQUIRES_SUPER API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos);
| `- note: 'updateProperties()' has been explicitly marked unavailable here
261 | /// Forces an immediate properties update for this view (and its view controller, if applicable)
262 | /// and any subviews, including any view controllers or views in its subtree.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GradientActivityIndicatorView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/Utilities/GradientActivityIndicatorView+AnimateIsHidden.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GradientActivityIndicatorView+AnimateIsHidden.swift
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:180:5: error: 'isAccessibilityElement' is unavailable in watchOS
178 | layer.masksToBounds = true
179 |
180 | isAccessibilityElement = false
| `- error: 'isAccessibilityElement' is unavailable in watchOS
181 | }
182 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
50 | Setting the property to YES will cause the receiver to be visible to assistive applications.
51 | */
52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
53 |
54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/Utilities/GradientActivityIndicatorView+AnimateIsHidden.swift:36:5: error: 'UIView' is unavailable in watchOS
34 | }
35 |
36 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
37 | withDuration: duration,
38 | delay: 0,
/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.
SwiftCompile normal arm64 Compiling\ GradientLoadingBarView+ViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarView/GradientLoadingBarView+ViewModel.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarView/GradientLoadingBarView+ViewModel.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GradientLoadingBarView+ViewModel.swift
SwiftCompile normal arm64 Compiling\ CGFloat+GradientLoadingBar.swift,\ TimeInterval+GradientLoadingBar.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/CGFloat+GradientLoadingBar.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/TimeInterval+GradientLoadingBar.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/CGFloat+GradientLoadingBar.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CGFloat+GradientLoadingBar.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/TimeInterval+GradientLoadingBar.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TimeInterval+GradientLoadingBar.swift
SwiftCompile normal arm64 Compiling\ GradientLoadingBarController+ViewModel.swift,\ GradientLoadingBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:17:31: error: 'UIView' is unavailable in watchOS
15 | protocol GradientLoadingBarViewModel: AnyObject {
16 | /// A publisher that emits the current superview (key window) for the gradient loading bar.
17 | var superview: AnyPublisher<UIView?, Never> { get }
| `- error: 'UIView' is unavailable in watchOS
18 | }
19 |
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:34:33: error: 'UIView' is unavailable in watchOS
32 |
33 | /// Observable for the superview of the gradient-view.
34 | var superview: AnyPublisher<UIView?, Never> {
| `- error: 'UIView' is unavailable in watchOS
35 | superviewSubject.eraseToAnyPublisher()
36 | }
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:40:56: error: 'UIView' is unavailable in watchOS
38 | // MARK: - Private Properties
39 |
40 | private let superviewSubject = CurrentValueSubject<UIView?, Never>(nil)
| `- error: 'UIView' is unavailable in watchOS
41 | private var subscriptions = Set<AnyCancellable>()
42 |
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:46:50: error: 'UIApplication' is unavailable in watchOS
44 |
45 | init(
46 | sharedApplication: UIApplicationProtocol = UIApplication.shared,
| `- error: 'UIApplication' is unavailable in watchOS
47 | notificationCenter: NotificationCenter = .default,
48 | ) {
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:83:23: error: 'UIWindow' is unavailable in watchOS
81 | protocol UIApplicationProtocol: AnyObject {
82 | /// The first window in the connected scenes that is currently the key window.
83 | var firstKeyWindow: UIWindow? { get }
| `- error: 'UIWindow' is unavailable in watchOS
84 | }
85 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:90:23: error: 'UIWindow' is unavailable in watchOS
88 | ///
89 | /// - SeeAlso: <https://stackoverflow.com/a/58031897>
90 | var firstKeyWindow: UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
91 | connectedScenes
92 | .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:86:11: error: 'UIApplication' is unavailable in watchOS
84 | }
85 |
86 | extension UIApplication: UIApplicationProtocol {
| `- error: 'UIApplication' is unavailable in watchOS
87 | /// The first window in the connected scenes that is currently the key window.
88 | ///
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:57:25: error: 'UIWindow' is unavailable in watchOS
55 | // Also the key window can change. We therefore setup an observer be notified when a new window becomes the key window.
56 | notificationCenter
57 | .publisher(for: UIWindow.didBecomeKeyNotification)
| `- error: 'UIWindow' is unavailable in watchOS
58 | .compactMap { _ in sharedApplication.firstKeyWindow }
59 | .sink { [weak self] keyWindow in
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:57:34: error: 'didBecomeKeyNotification' is unavailable in watchOS
55 | // Also the key window can change. We therefore setup an observer be notified when a new window becomes the key window.
56 | notificationCenter
57 | .publisher(for: UIWindow.didBecomeKeyNotification)
| `- error: 'didBecomeKeyNotification' is unavailable in watchOS
58 | .compactMap { _ in sharedApplication.firstKeyWindow }
59 | .sink { [weak self] keyWindow in
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:120:39: note: 'didBecomeKeyNotification' has been explicitly marked unavailable here
118 | // becomes its scene's key window. For apps built against earlier SDKs, it will be posted when
119 | // the window becomes the application's key window.
120 | UIKIT_EXTERN NSNotificationName const UIWindowDidBecomeKeyNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'didBecomeKeyNotification' has been explicitly marked unavailable here
121 |
122 | // Posted when the window resigns key window status with a nil userInfo dictionary. In apps built
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:91:5: error: 'connectedScenes' is unavailable in watchOS
89 | /// - SeeAlso: <https://stackoverflow.com/a/58031897>
90 | var firstKeyWindow: UIWindow? {
91 | connectedScenes
| `- error: 'connectedScenes' is unavailable in watchOS
92 | .compactMap { $0 as? UIWindowScene }
93 | .flatMap(\.windows)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:189:50: note: 'connectedScenes' has been explicitly marked unavailable here
187 | #pragma mark -- UIScene --
188 | // All of the currently connected UIScene instances
189 | @property(nonatomic, readonly) NSSet<UIScene *> *connectedScenes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'connectedScenes' has been explicitly marked unavailable here
190 |
191 | // All of the representations that currently have connected UIScene instances or had their sessions persisted by the system (ex: visible in iOS' switcher)
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:92:28: error: 'UIWindowScene' is unavailable in watchOS
90 | var firstKeyWindow: UIWindow? {
91 | connectedScenes
92 | .compactMap { $0 as? UIWindowScene }
| `- error: 'UIWindowScene' is unavailable in watchOS
93 | .flatMap(\.windows)
94 | .first { $0.isKeyWindow }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:117:39: error: 'init()' is unavailable in watchOS
115 | /// - Note: This property needs to have an internal access level to allow
116 | /// accessing this view in ``NotchGradientLoadingBarController``.
117 | let gradientActivityIndicatorView = GradientActivityIndicatorView()
| `- error: 'init()' is unavailable in watchOS
118 |
119 | /// The height of the gradient bar.
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:218:36: error: 'UIView' is unavailable in watchOS
216 | /// - Note: This method needs to have an internal access level to allow
217 | /// overwriting it in ``NotchGradientLoadingBarController``.
218 | func setupConstraints(superview: UIView) {
| `- error: 'UIView' is unavailable in watchOS
219 | let superViewTopAnchor = if isRelativeToSafeArea {
220 | superview.safeAreaLayoutGuide.topAnchor
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:242:45: error: 'UIView' is unavailable in watchOS
240 | }
241 |
242 | private func updateSuperview(_ superview: UIView?) {
| `- error: 'UIView' is unavailable in watchOS
243 | // If the views superview is not `nil`, the superview releases the view.
244 | gradientActivityIndicatorView.removeFromSuperview()
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:220:17: error: 'safeAreaLayoutGuide' is unavailable in watchOS
218 | func setupConstraints(superview: UIView) {
219 | let superViewTopAnchor = if isRelativeToSafeArea {
220 | superview.safeAreaLayoutGuide.topAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
221 | } else {
222 | superview.topAnchor
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GradientLoadingBarController+ViewModel.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GradientLoadingBarController.swift
SwiftCompile normal arm64 Compiling\ UIColor+GradientLoadingBar.swift,\ GradientActivityIndicatorView+ViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/UIColor+GradientLoadingBar.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView+ViewModel.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/UIColor+GradientLoadingBar.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIColor+GradientLoadingBar.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView+ViewModel.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GradientActivityIndicatorView+ViewModel.swift
SwiftCompile normal arm64 Compiling\ NotchDevice.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/Model/NotchDevice.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/Model/NotchDevice.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NotchDevice.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ GradientLoadingBar (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:114:30: error: 'CAGradientLayer' is unavailable in watchOS
112 |
113 | /// The layer holding the gradient.
114 | private let gradientLayer: CAGradientLayer = {
| `- error: 'CAGradientLayer' is unavailable in watchOS
115 | let layer = CAGradientLayer()
116 | layer.anchorPoint = .zero
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h:20:12: note: 'CAGradientLayer' has been explicitly marked unavailable here
18 |
19 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20 | @interface CAGradientLayer : CALayer
| `- note: 'CAGradientLayer' has been explicitly marked unavailable here
21 |
22 | /* The array of CGColorRef objects defining the color of each gradient
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:115:17: error: 'CAGradientLayer' is unavailable in watchOS
113 | /// The layer holding the gradient.
114 | private let gradientLayer: CAGradientLayer = {
115 | let layer = CAGradientLayer()
| `- error: 'CAGradientLayer' is unavailable in watchOS
116 | layer.anchorPoint = .zero
117 | layer.startPoint = .zero
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h:20:12: note: 'CAGradientLayer' has been explicitly marked unavailable here
18 |
19 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20 | @interface CAGradientLayer : CALayer
| `- note: 'CAGradientLayer' has been explicitly marked unavailable here
21 |
22 | /* The array of CGColorRef objects defining the color of each gradient
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:124:34: error: 'CABasicAnimation' is unavailable in watchOS
122 |
123 | /// The progress animation.
124 | private let progressAnimation: CABasicAnimation = {
| `- error: 'CABasicAnimation' is unavailable in watchOS
125 | let animation = CABasicAnimation(keyPath: "position.x")
126 | animation.fromValue = 0
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:125:21: error: 'CABasicAnimation' is unavailable in watchOS
123 | /// The progress animation.
124 | private let progressAnimation: CABasicAnimation = {
125 | let animation = CABasicAnimation(keyPath: "position.x")
| `- error: 'CABasicAnimation' is unavailable in watchOS
126 | animation.fromValue = 0
127 | animation.toValue = 0
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:160:24: error: cannot override 'updateProperties' which has been marked unavailable
158 | }
159 |
160 | override public func updateProperties() {
| |- error: cannot override 'updateProperties' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'updateProperties'
161 | super.updateProperties()
162 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:260:1: note: 'updateProperties()' has been explicitly marked unavailable here
258 | /// Override point for subclasses to update properties of this view.
259 | /// Never call this method directly; use `setNeedsUpdateProperties` to schedule an update.
260 | - (void)updateProperties NS_REQUIRES_SUPER API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos);
| `- note: 'updateProperties()' has been explicitly marked unavailable here
261 | /// Forces an immediate properties update for this view (and its view controller, if applicable)
262 | /// and any subviews, including any view controllers or views in its subtree.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:169:57: error: 'UIEvent' is unavailable in watchOS
167 | }
168 |
169 | override public func point(inside _: CGPoint, with _: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
170 | // Passing all touches to the next view (if any), in the view stack.
171 | false
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:75:45: error: 'UIView' is unavailable in watchOS
73 | ///
74 | /// - SeeAlso: ``GradientLoadingBarView`` for the SwiftUI equivalent.
75 | public class GradientActivityIndicatorView: UIView {
| `- error: 'UIView' is unavailable in watchOS
76 |
77 | // MARK: - Config
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:197:2: error: no macro named 'Preview'
195 | // MARK: - Preview
196 |
197 | #Preview {
| `- error: no macro named 'Preview'
198 | let viewController = UIViewController()
199 |
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:17:31: error: 'UIView' is unavailable in watchOS
15 | protocol GradientLoadingBarViewModel: AnyObject {
16 | /// A publisher that emits the current superview (key window) for the gradient loading bar.
17 | var superview: AnyPublisher<UIView?, Never> { get }
| `- error: 'UIView' is unavailable in watchOS
18 | }
19 |
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:34:33: error: 'UIView' is unavailable in watchOS
32 |
33 | /// Observable for the superview of the gradient-view.
34 | var superview: AnyPublisher<UIView?, Never> {
| `- error: 'UIView' is unavailable in watchOS
35 | superviewSubject.eraseToAnyPublisher()
36 | }
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:40:56: error: 'UIView' is unavailable in watchOS
38 | // MARK: - Private Properties
39 |
40 | private let superviewSubject = CurrentValueSubject<UIView?, Never>(nil)
| `- error: 'UIView' is unavailable in watchOS
41 | private var subscriptions = Set<AnyCancellable>()
42 |
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:46:50: error: 'UIApplication' is unavailable in watchOS
44 |
45 | init(
46 | sharedApplication: UIApplicationProtocol = UIApplication.shared,
| `- error: 'UIApplication' is unavailable in watchOS
47 | notificationCenter: NotificationCenter = .default,
48 | ) {
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:83:23: error: 'UIWindow' is unavailable in watchOS
81 | protocol UIApplicationProtocol: AnyObject {
82 | /// The first window in the connected scenes that is currently the key window.
83 | var firstKeyWindow: UIWindow? { get }
| `- error: 'UIWindow' is unavailable in watchOS
84 | }
85 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:90:23: error: 'UIWindow' is unavailable in watchOS
88 | ///
89 | /// - SeeAlso: <https://stackoverflow.com/a/58031897>
90 | var firstKeyWindow: UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
91 | connectedScenes
92 | .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:86:11: error: 'UIApplication' is unavailable in watchOS
84 | }
85 |
86 | extension UIApplication: UIApplicationProtocol {
| `- error: 'UIApplication' is unavailable in watchOS
87 | /// The first window in the connected scenes that is currently the key window.
88 | ///
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:117:39: error: 'init()' is unavailable in watchOS
115 | /// - Note: This property needs to have an internal access level to allow
116 | /// accessing this view in ``NotchGradientLoadingBarController``.
117 | let gradientActivityIndicatorView = GradientActivityIndicatorView()
| `- error: 'init()' is unavailable in watchOS
118 |
119 | /// The height of the gradient bar.
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:218:36: error: 'UIView' is unavailable in watchOS
216 | /// - Note: This method needs to have an internal access level to allow
217 | /// overwriting it in ``NotchGradientLoadingBarController``.
218 | func setupConstraints(superview: UIView) {
| `- error: 'UIView' is unavailable in watchOS
219 | let superViewTopAnchor = if isRelativeToSafeArea {
220 | superview.safeAreaLayoutGuide.topAnchor
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:242:45: error: 'UIView' is unavailable in watchOS
240 | }
241 |
242 | private func updateSuperview(_ superview: UIView?) {
| `- error: 'UIView' is unavailable in watchOS
243 | // If the views superview is not `nil`, the superview releases the view.
244 | gradientActivityIndicatorView.removeFromSuperview()
/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/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController+ViewModel.swift:33:37: error: 'UIDevice' is unavailable in watchOS
31 | // MARK: - Instance Lifecycle
32 |
33 | init(deviceIdentifier: String = UIDevice.identifier) {
| `- error: 'UIDevice' is unavailable in watchOS
34 | notchDevice = NotchDevice(deviceIdentifier: deviceIdentifier)
35 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController+ViewModel.swift:84:19: error: 'UIDevice' is unavailable in watchOS
82 | }
83 |
84 | private extension UIDevice {
| `- error: 'UIDevice' is unavailable in watchOS
85 | /// The hardware model identifier for the current device (e.g. "iPhone14,5" for iPhone 13).
86 | ///
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController.swift:96:45: error: 'UIView' is unavailable in watchOS
94 | // MARK: - Internal Methods
95 |
96 | override func setupConstraints(superview: UIView) {
| `- error: 'UIView' is unavailable in watchOS
97 | guard let notchDevice = viewModel.notchDevice else {
98 | // No special masking required for devices without a notch.
/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/Sources/GradientLoadingBar/Config/CGFloat+GradientLoadingBar.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/TimeInterval+GradientLoadingBar.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Config/UIColor+GradientLoadingBar.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView+ViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/Utilities/GradientActivityIndicatorView+AnimateIsHidden.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarView/GradientLoadingBarView+ViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarView/GradientLoadingBarView.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/Model/NotchDevice.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/Model/NotchLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController+ViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController.swift -target arm64_32-apple-watchos26.0 -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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar-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\=5 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name GradientLoadingBar -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar_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/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GradientLoadingBar.build/Debug-watchos/GradientLoadingBar-t.build/Objects-normal/arm64_32/GradientLoadingBar.abi.json
SwiftCompile normal arm64_32 (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ GradientLoadingBar (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:114:30: error: 'CAGradientLayer' is unavailable in watchOS
112 |
113 | /// The layer holding the gradient.
114 | private let gradientLayer: CAGradientLayer = {
| `- error: 'CAGradientLayer' is unavailable in watchOS
115 | let layer = CAGradientLayer()
116 | layer.anchorPoint = .zero
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h:20:12: note: 'CAGradientLayer' has been explicitly marked unavailable here
18 |
19 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20 | @interface CAGradientLayer : CALayer
| `- note: 'CAGradientLayer' has been explicitly marked unavailable here
21 |
22 | /* The array of CGColorRef objects defining the color of each gradient
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:115:17: error: 'CAGradientLayer' is unavailable in watchOS
113 | /// The layer holding the gradient.
114 | private let gradientLayer: CAGradientLayer = {
115 | let layer = CAGradientLayer()
| `- error: 'CAGradientLayer' is unavailable in watchOS
116 | layer.anchorPoint = .zero
117 | layer.startPoint = .zero
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h:20:12: note: 'CAGradientLayer' has been explicitly marked unavailable here
18 |
19 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20 | @interface CAGradientLayer : CALayer
| `- note: 'CAGradientLayer' has been explicitly marked unavailable here
21 |
22 | /* The array of CGColorRef objects defining the color of each gradient
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:124:34: error: 'CABasicAnimation' is unavailable in watchOS
122 |
123 | /// The progress animation.
124 | private let progressAnimation: CABasicAnimation = {
| `- error: 'CABasicAnimation' is unavailable in watchOS
125 | let animation = CABasicAnimation(keyPath: "position.x")
126 | animation.fromValue = 0
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:125:21: error: 'CABasicAnimation' is unavailable in watchOS
123 | /// The progress animation.
124 | private let progressAnimation: CABasicAnimation = {
125 | let animation = CABasicAnimation(keyPath: "position.x")
| `- error: 'CABasicAnimation' is unavailable in watchOS
126 | animation.fromValue = 0
127 | animation.toValue = 0
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:160:24: error: cannot override 'updateProperties' which has been marked unavailable
158 | }
159 |
160 | override public func updateProperties() {
| |- error: cannot override 'updateProperties' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'updateProperties'
161 | super.updateProperties()
162 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:260:1: note: 'updateProperties()' has been explicitly marked unavailable here
258 | /// Override point for subclasses to update properties of this view.
259 | /// Never call this method directly; use `setNeedsUpdateProperties` to schedule an update.
260 | - (void)updateProperties NS_REQUIRES_SUPER API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos);
| `- note: 'updateProperties()' has been explicitly marked unavailable here
261 | /// Forces an immediate properties update for this view (and its view controller, if applicable)
262 | /// and any subviews, including any view controllers or views in its subtree.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:169:57: error: 'UIEvent' is unavailable in watchOS
167 | }
168 |
169 | override public func point(inside _: CGPoint, with _: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
170 | // Passing all touches to the next view (if any), in the view stack.
171 | false
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:75:45: error: 'UIView' is unavailable in watchOS
73 | ///
74 | /// - SeeAlso: ``GradientLoadingBarView`` for the SwiftUI equivalent.
75 | public class GradientActivityIndicatorView: UIView {
| `- error: 'UIView' is unavailable in watchOS
76 |
77 | // MARK: - Config
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:197:2: error: no macro named 'Preview'
195 | // MARK: - Preview
196 |
197 | #Preview {
| `- error: no macro named 'Preview'
198 | let viewController = UIViewController()
199 |
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:17:31: error: 'UIView' is unavailable in watchOS
15 | protocol GradientLoadingBarViewModel: AnyObject {
16 | /// A publisher that emits the current superview (key window) for the gradient loading bar.
17 | var superview: AnyPublisher<UIView?, Never> { get }
| `- error: 'UIView' is unavailable in watchOS
18 | }
19 |
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:34:33: error: 'UIView' is unavailable in watchOS
32 |
33 | /// Observable for the superview of the gradient-view.
34 | var superview: AnyPublisher<UIView?, Never> {
| `- error: 'UIView' is unavailable in watchOS
35 | superviewSubject.eraseToAnyPublisher()
36 | }
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:40:56: error: 'UIView' is unavailable in watchOS
38 | // MARK: - Private Properties
39 |
40 | private let superviewSubject = CurrentValueSubject<UIView?, Never>(nil)
| `- error: 'UIView' is unavailable in watchOS
41 | private var subscriptions = Set<AnyCancellable>()
42 |
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:46:50: error: 'UIApplication' is unavailable in watchOS
44 |
45 | init(
46 | sharedApplication: UIApplicationProtocol = UIApplication.shared,
| `- error: 'UIApplication' is unavailable in watchOS
47 | notificationCenter: NotificationCenter = .default,
48 | ) {
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:83:23: error: 'UIWindow' is unavailable in watchOS
81 | protocol UIApplicationProtocol: AnyObject {
82 | /// The first window in the connected scenes that is currently the key window.
83 | var firstKeyWindow: UIWindow? { get }
| `- error: 'UIWindow' is unavailable in watchOS
84 | }
85 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:90:23: error: 'UIWindow' is unavailable in watchOS
88 | ///
89 | /// - SeeAlso: <https://stackoverflow.com/a/58031897>
90 | var firstKeyWindow: UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
91 | connectedScenes
92 | .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:86:11: error: 'UIApplication' is unavailable in watchOS
84 | }
85 |
86 | extension UIApplication: UIApplicationProtocol {
| `- error: 'UIApplication' is unavailable in watchOS
87 | /// The first window in the connected scenes that is currently the key window.
88 | ///
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:117:39: error: 'init()' is unavailable in watchOS
115 | /// - Note: This property needs to have an internal access level to allow
116 | /// accessing this view in ``NotchGradientLoadingBarController``.
117 | let gradientActivityIndicatorView = GradientActivityIndicatorView()
| `- error: 'init()' is unavailable in watchOS
118 |
119 | /// The height of the gradient bar.
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:218:36: error: 'UIView' is unavailable in watchOS
216 | /// - Note: This method needs to have an internal access level to allow
217 | /// overwriting it in ``NotchGradientLoadingBarController``.
218 | func setupConstraints(superview: UIView) {
| `- error: 'UIView' is unavailable in watchOS
219 | let superViewTopAnchor = if isRelativeToSafeArea {
220 | superview.safeAreaLayoutGuide.topAnchor
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:242:45: error: 'UIView' is unavailable in watchOS
240 | }
241 |
242 | private func updateSuperview(_ superview: UIView?) {
| `- error: 'UIView' is unavailable in watchOS
243 | // If the views superview is not `nil`, the superview releases the view.
244 | gradientActivityIndicatorView.removeFromSuperview()
/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/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController+ViewModel.swift:33:37: error: 'UIDevice' is unavailable in watchOS
31 | // MARK: - Instance Lifecycle
32 |
33 | init(deviceIdentifier: String = UIDevice.identifier) {
| `- error: 'UIDevice' is unavailable in watchOS
34 | notchDevice = NotchDevice(deviceIdentifier: deviceIdentifier)
35 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
SwiftCompile normal arm64 (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ GradientActivityIndicatorView.swift,\ GradientActivityIndicatorView+AnimateIsHidden.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/Utilities/GradientActivityIndicatorView+AnimateIsHidden.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:114:30: error: 'CAGradientLayer' is unavailable in watchOS
112 |
113 | /// The layer holding the gradient.
114 | private let gradientLayer: CAGradientLayer = {
| `- error: 'CAGradientLayer' is unavailable in watchOS
115 | let layer = CAGradientLayer()
116 | layer.anchorPoint = .zero
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h:20:12: note: 'CAGradientLayer' has been explicitly marked unavailable here
18 |
19 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20 | @interface CAGradientLayer : CALayer
| `- note: 'CAGradientLayer' has been explicitly marked unavailable here
21 |
22 | /* The array of CGColorRef objects defining the color of each gradient
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:115:17: error: 'CAGradientLayer' is unavailable in watchOS
113 | /// The layer holding the gradient.
114 | private let gradientLayer: CAGradientLayer = {
115 | let layer = CAGradientLayer()
| `- error: 'CAGradientLayer' is unavailable in watchOS
116 | layer.anchorPoint = .zero
117 | layer.startPoint = .zero
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h:20:12: note: 'CAGradientLayer' has been explicitly marked unavailable here
18 |
19 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20 | @interface CAGradientLayer : CALayer
| `- note: 'CAGradientLayer' has been explicitly marked unavailable here
21 |
22 | /* The array of CGColorRef objects defining the color of each gradient
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:124:34: error: 'CABasicAnimation' is unavailable in watchOS
122 |
123 | /// The progress animation.
124 | private let progressAnimation: CABasicAnimation = {
| `- error: 'CABasicAnimation' is unavailable in watchOS
125 | let animation = CABasicAnimation(keyPath: "position.x")
126 | animation.fromValue = 0
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:125:21: error: 'CABasicAnimation' is unavailable in watchOS
123 | /// The progress animation.
124 | private let progressAnimation: CABasicAnimation = {
125 | let animation = CABasicAnimation(keyPath: "position.x")
| `- error: 'CABasicAnimation' is unavailable in watchOS
126 | animation.fromValue = 0
127 | animation.toValue = 0
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:160:24: error: cannot override 'updateProperties' which has been marked unavailable
158 | }
159 |
160 | override public func updateProperties() {
| |- error: cannot override 'updateProperties' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'updateProperties'
161 | super.updateProperties()
162 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:260:1: note: 'updateProperties()' has been explicitly marked unavailable here
258 | /// Override point for subclasses to update properties of this view.
259 | /// Never call this method directly; use `setNeedsUpdateProperties` to schedule an update.
260 | - (void)updateProperties NS_REQUIRES_SUPER API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos);
| `- note: 'updateProperties()' has been explicitly marked unavailable here
261 | /// Forces an immediate properties update for this view (and its view controller, if applicable)
262 | /// and any subviews, including any view controllers or views in its subtree.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:169:57: error: 'UIEvent' is unavailable in watchOS
167 | }
168 |
169 | override public func point(inside _: CGPoint, with _: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
170 | // Passing all touches to the next view (if any), in the view stack.
171 | false
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:75:45: error: 'UIView' is unavailable in watchOS
73 | ///
74 | /// - SeeAlso: ``GradientLoadingBarView`` for the SwiftUI equivalent.
75 | public class GradientActivityIndicatorView: UIView {
| `- error: 'UIView' is unavailable in watchOS
76 |
77 | // MARK: - Config
/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/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:197:2: error: no macro named 'Preview'
195 | // MARK: - Preview
196 |
197 | #Preview {
| `- error: no macro named 'Preview'
198 | let viewController = UIViewController()
199 |
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:161:11: error: 'updateProperties()' is unavailable in watchOS
159 |
160 | override public func updateProperties() {
161 | super.updateProperties()
| `- error: 'updateProperties()' is unavailable in watchOS
162 |
163 | // Unfortunately the only way to update a running `CABasicAnimation`, is to restart it.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:260:1: note: 'updateProperties()' has been explicitly marked unavailable here
258 | /// Override point for subclasses to update properties of this view.
259 | /// Never call this method directly; use `setNeedsUpdateProperties` to schedule an update.
260 | - (void)updateProperties NS_REQUIRES_SUPER API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos);
| `- note: 'updateProperties()' has been explicitly marked unavailable here
261 | /// Forces an immediate properties update for this view (and its view controller, if applicable)
262 | /// and any subviews, including any view controllers or views in its subtree.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift:180:5: error: 'isAccessibilityElement' is unavailable in watchOS
178 | layer.masksToBounds = true
179 |
180 | isAccessibilityElement = false
| `- error: 'isAccessibilityElement' is unavailable in watchOS
181 | }
182 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
50 | Setting the property to YES will cause the receiver to be visible to assistive applications.
51 | */
52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
53 |
54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/Utilities/GradientActivityIndicatorView+AnimateIsHidden.swift:36:5: error: 'UIView' is unavailable in watchOS
34 | }
35 |
36 | UIView.animate(
| `- error: 'UIView' is unavailable in watchOS
37 | withDuration: duration,
38 | delay: 0,
/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.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/GradientActivityIndicatorView.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GradientActivityIndicatorView.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientActivityIndicatorView/Utilities/GradientActivityIndicatorView+AnimateIsHidden.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GradientActivityIndicatorView+AnimateIsHidden.swift
SwiftCompile normal arm64_32 Compiling\ GradientLoadingBarController+ViewModel.swift,\ GradientLoadingBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:17:31: error: 'UIView' is unavailable in watchOS
15 | protocol GradientLoadingBarViewModel: AnyObject {
16 | /// A publisher that emits the current superview (key window) for the gradient loading bar.
17 | var superview: AnyPublisher<UIView?, Never> { get }
| `- error: 'UIView' is unavailable in watchOS
18 | }
19 |
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:34:33: error: 'UIView' is unavailable in watchOS
32 |
33 | /// Observable for the superview of the gradient-view.
34 | var superview: AnyPublisher<UIView?, Never> {
| `- error: 'UIView' is unavailable in watchOS
35 | superviewSubject.eraseToAnyPublisher()
36 | }
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:40:56: error: 'UIView' is unavailable in watchOS
38 | // MARK: - Private Properties
39 |
40 | private let superviewSubject = CurrentValueSubject<UIView?, Never>(nil)
| `- error: 'UIView' is unavailable in watchOS
41 | private var subscriptions = Set<AnyCancellable>()
42 |
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:46:50: error: 'UIApplication' is unavailable in watchOS
44 |
45 | init(
46 | sharedApplication: UIApplicationProtocol = UIApplication.shared,
| `- error: 'UIApplication' is unavailable in watchOS
47 | notificationCenter: NotificationCenter = .default,
48 | ) {
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:83:23: error: 'UIWindow' is unavailable in watchOS
81 | protocol UIApplicationProtocol: AnyObject {
82 | /// The first window in the connected scenes that is currently the key window.
83 | var firstKeyWindow: UIWindow? { get }
| `- error: 'UIWindow' is unavailable in watchOS
84 | }
85 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:90:23: error: 'UIWindow' is unavailable in watchOS
88 | ///
89 | /// - SeeAlso: <https://stackoverflow.com/a/58031897>
90 | var firstKeyWindow: UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
91 | connectedScenes
92 | .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:86:11: error: 'UIApplication' is unavailable in watchOS
84 | }
85 |
86 | extension UIApplication: UIApplicationProtocol {
| `- error: 'UIApplication' is unavailable in watchOS
87 | /// The first window in the connected scenes that is currently the key window.
88 | ///
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:57:25: error: 'UIWindow' is unavailable in watchOS
55 | // Also the key window can change. We therefore setup an observer be notified when a new window becomes the key window.
56 | notificationCenter
57 | .publisher(for: UIWindow.didBecomeKeyNotification)
| `- error: 'UIWindow' is unavailable in watchOS
58 | .compactMap { _ in sharedApplication.firstKeyWindow }
59 | .sink { [weak self] keyWindow in
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:57:34: error: 'didBecomeKeyNotification' is unavailable in watchOS
55 | // Also the key window can change. We therefore setup an observer be notified when a new window becomes the key window.
56 | notificationCenter
57 | .publisher(for: UIWindow.didBecomeKeyNotification)
| `- error: 'didBecomeKeyNotification' is unavailable in watchOS
58 | .compactMap { _ in sharedApplication.firstKeyWindow }
59 | .sink { [weak self] keyWindow in
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:120:39: note: 'didBecomeKeyNotification' has been explicitly marked unavailable here
118 | // becomes its scene's key window. For apps built against earlier SDKs, it will be posted when
119 | // the window becomes the application's key window.
120 | UIKIT_EXTERN NSNotificationName const UIWindowDidBecomeKeyNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'didBecomeKeyNotification' has been explicitly marked unavailable here
121 |
122 | // Posted when the window resigns key window status with a nil userInfo dictionary. In apps built
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:91:5: error: 'connectedScenes' is unavailable in watchOS
89 | /// - SeeAlso: <https://stackoverflow.com/a/58031897>
90 | var firstKeyWindow: UIWindow? {
91 | connectedScenes
| `- error: 'connectedScenes' is unavailable in watchOS
92 | .compactMap { $0 as? UIWindowScene }
93 | .flatMap(\.windows)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:189:50: note: 'connectedScenes' has been explicitly marked unavailable here
187 | #pragma mark -- UIScene --
188 | // All of the currently connected UIScene instances
189 | @property(nonatomic, readonly) NSSet<UIScene *> *connectedScenes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'connectedScenes' has been explicitly marked unavailable here
190 |
191 | // All of the representations that currently have connected UIScene instances or had their sessions persisted by the system (ex: visible in iOS' switcher)
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift:92:28: error: 'UIWindowScene' is unavailable in watchOS
90 | var firstKeyWindow: UIWindow? {
91 | connectedScenes
92 | .compactMap { $0 as? UIWindowScene }
| `- error: 'UIWindowScene' is unavailable in watchOS
93 | .flatMap(\.windows)
94 | .first { $0.isKeyWindow }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:117:39: error: 'init()' is unavailable in watchOS
115 | /// - Note: This property needs to have an internal access level to allow
116 | /// accessing this view in ``NotchGradientLoadingBarController``.
117 | let gradientActivityIndicatorView = GradientActivityIndicatorView()
| `- error: 'init()' is unavailable in watchOS
118 |
119 | /// The height of the gradient bar.
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:218:36: error: 'UIView' is unavailable in watchOS
216 | /// - Note: This method needs to have an internal access level to allow
217 | /// overwriting it in ``NotchGradientLoadingBarController``.
218 | func setupConstraints(superview: UIView) {
| `- error: 'UIView' is unavailable in watchOS
219 | let superViewTopAnchor = if isRelativeToSafeArea {
220 | superview.safeAreaLayoutGuide.topAnchor
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:242:45: error: 'UIView' is unavailable in watchOS
240 | }
241 |
242 | private func updateSuperview(_ superview: UIView?) {
| `- error: 'UIView' is unavailable in watchOS
243 | // If the views superview is not `nil`, the superview releases the view.
244 | gradientActivityIndicatorView.removeFromSuperview()
/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/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift:220:17: error: 'safeAreaLayoutGuide' is unavailable in watchOS
218 | func setupConstraints(superview: UIView) {
219 | let superViewTopAnchor = if isRelativeToSafeArea {
220 | superview.safeAreaLayoutGuide.topAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
221 | } else {
222 | superview.topAnchor
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController+ViewModel.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GradientLoadingBarController+ViewModel.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/GradientLoadingBarController/GradientLoadingBarController.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GradientLoadingBarController.swift
SwiftCompile normal arm64_32 Compiling\ NotchGradientLoadingBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GradientLoadingBar/Features/NotchGradientLoadingBarController/NotchGradientLoadingBarController.swift (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NotchGradientLoadingBarController.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-10-10 14:54:36.855 xcodebuild[1064:5872] [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\ GradientLoadingBar (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
SwiftCompile normal arm64_32 (in target 'GradientLoadingBar' from project 'GradientLoadingBar')
Building workspace GradientLoadingBar with scheme GradientLoadingBar
(3 failures)
BUILD FAILURE 6.4 watchOS