Build Information
Failed to build AHDownloadButton, reference master (5ea4c1), with Swift 6.4 for watchOS using Xcode 27.0 on 17 Sep 2026 18:31:32 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 AHDownloadButton -destination generic/platform=watchOSBuild Log
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/AHDownloadButton/Classes/ProgressButton.swift:30:26: error: 'init()' is unavailable in watchOS
28 |
29 | lazy var trackCircleView: CircleView = {
30 | let circleView = CircleView()
| `- error: 'init()' is unavailable in watchOS
31 | circleView.lineWidth = circleViewLineWidth
32 | circleView.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/ProgressButton.swift:37:20: error: 'init()' is unavailable in watchOS
35 |
36 | lazy var progressCircleView: ProgressCircleView = {
37 | let view = ProgressCircleView()
| `- error: 'init()' is unavailable in watchOS
38 | view.lineWidth = circleViewLineWidth
39 | view.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/ProgressButton.swift:11:29: error: 'UIControl' is unavailable in watchOS
9 | import UIKit
10 |
11 | final class ProgressButton: UIControl {
| `- error: 'UIControl' is unavailable in watchOS
12 |
13 | // MARK: Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift:15:20: error: 'init()' is unavailable in watchOS
13 |
14 | private let circleView: CircleView = {
15 | let view = CircleView()
| `- error: 'init()' is unavailable in watchOS
16 | view.circleColor = .red
17 | view.startAngleRadians = -CGFloat.pi / 2
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/ProgressCircleView.swift:10:33: error: 'UIView' is unavailable in watchOS
8 | import UIKit
9 |
10 | final class ProgressCircleView: UIView {
| `- error: 'UIView' is unavailable in watchOS
11 |
12 | // MARK: Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift:82:35: error: 'CAAnimation' is unavailable in watchOS
80 |
81 | extension ProgressCircleView: CAAnimationDelegate {
82 | func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
| `- error: 'CAAnimation' is unavailable in watchOS
83 | isAnimating = false
84 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift:81:31: error: 'CAAnimationDelegate' is unavailable in watchOS
79 | }
80 |
81 | extension ProgressCircleView: CAAnimationDelegate {
| `- error: 'CAAnimationDelegate' is unavailable in watchOS
82 | func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
83 | isAnimating = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
69 |
70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
71 | @protocol CAAnimationDelegate <NSObject>
| `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
72 | @optional
73 |
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift:11:11: error: 'UIButton' is unavailable in watchOS
9 | import UIKit
10 |
11 | extension UIButton {
| `- error: 'UIButton' is unavailable in watchOS
12 |
13 | var titleWidth: CGFloat {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift:14:32: error: 'NSLayoutConstraint' is unavailable in watchOS
12 |
13 | @discardableResult
14 | func constraint(attribute: NSLayoutConstraint.Attribute, relation: NSLayoutConstraint.Relation = .equal, toItem: Any? = nil, toAttribute: NSLayoutConstraint.Attribute = .notAnAttribute, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
15 | translatesAutoresizingMaskIntoConstraints = false
16 | let constraint = NSLayoutConstraint(item: self,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/AHDownloadButton/Classes/UIView+Constraint.swift:14:72: error: 'NSLayoutConstraint' is unavailable in watchOS
12 |
13 | @discardableResult
14 | func constraint(attribute: NSLayoutConstraint.Attribute, relation: NSLayoutConstraint.Relation = .equal, toItem: Any? = nil, toAttribute: NSLayoutConstraint.Attribute = .notAnAttribute, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
15 | translatesAutoresizingMaskIntoConstraints = false
16 | let constraint = NSLayoutConstraint(item: self,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/AHDownloadButton/Classes/UIView+Constraint.swift:14:143: error: 'NSLayoutConstraint' is unavailable in watchOS
12 |
13 | @discardableResult
14 | func constraint(attribute: NSLayoutConstraint.Attribute, relation: NSLayoutConstraint.Relation = .equal, toItem: Any? = nil, toAttribute: NSLayoutConstraint.Attribute = .notAnAttribute, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
15 | translatesAutoresizingMaskIntoConstraints = false
16 | let constraint = NSLayoutConstraint(item: self,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/AHDownloadButton/Classes/UIView+Constraint.swift:14:242: error: 'NSLayoutConstraint' is unavailable in watchOS
12 |
13 | @discardableResult
14 | func constraint(attribute: NSLayoutConstraint.Attribute, relation: NSLayoutConstraint.Relation = .equal, toItem: Any? = nil, toAttribute: NSLayoutConstraint.Attribute = .notAnAttribute, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
15 | translatesAutoresizingMaskIntoConstraints = false
16 | let constraint = NSLayoutConstraint(item: self,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/AHDownloadButton/Classes/UIView+Constraint.swift:11:11: error: 'UIView' is unavailable in watchOS
9 | import UIKit
10 |
11 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | @discardableResult
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AHDownloadButton -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton.abi.json
SwiftCompile normal arm64_32 (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:47:9: error: 'UIView' is unavailable in watchOS
45 | startDownloadButton.titleLabel?.alpha = 0
46 | startDownloadButtonWidthConstraint.constant = pendingViewWidthConstraint.constant
47 | UIView.animate(withDuration: transitionAnimationDuration, animations: {
| `- error: 'UIView' is unavailable in watchOS
48 | self.layoutIfNeeded()
49 | }, completion: { completed in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:59:9: error: 'UIView' is unavailable in watchOS
57 | startDownloadButton.titleLabel?.alpha = 0
58 | startDownloadButtonWidthConstraint.constant = downloadingButtonWidthConstraint.constant
59 | UIView.animate(withDuration: transitionAnimationDuration, animations: {
| `- error: 'UIView' is unavailable in watchOS
60 | self.layoutIfNeeded()
61 | }, completion: { completed in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:73:9: error: 'UIView' is unavailable in watchOS
71 | startDownloadButton.alpha = 1
72 | startDownloadButtonWidthConstraint.constant = startDownloadButtonFullWidth
73 | UIView.animate(withDuration: transitionAnimationDuration, animations: {
| `- error: 'UIView' is unavailable in watchOS
74 | self.pendingCircleView.alpha = 0
75 | self.startDownloadButton.titleLabel?.alpha = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:83:9: error: 'UIView' is unavailable in watchOS
81 | pendingCircleView.alpha = 1
82 | downloadingButton.alpha = 0
83 | UIView.animate(withDuration: transitionAnimationDuration, animations: {
| `- error: 'UIView' is unavailable in watchOS
84 | self.pendingCircleView.alpha = 0
85 | self.downloadingButton.alpha = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:96:9: error: 'UIView' is unavailable in watchOS
94 | downloadedButton.titleLabel?.alpha = 0
95 | downloadedButtonWidthConstraint.constant = downloadedButtonFullWidth
96 | UIView.animate(withDuration: transitionAnimationDuration, animations: {
| `- error: 'UIView' is unavailable in watchOS
97 | self.downloadingButton.alpha = 0
98 | self.downloadedButton.titleLabel?.alpha = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AHDownloadButton+StateTransitionAnimation.swift
SwiftCompile normal arm64_32 Compiling\ AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:36:38: error: 'NSLayoutConstraint' is unavailable in watchOS
34 | case center, left, right
35 |
36 | var relativeLayoutAttribute: NSLayoutConstraint.Attribute {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
37 | switch self {
38 | case .center: return .centerX
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:228:22: error: 'init()' is unavailable in watchOS
226 |
227 | let startDownloadButton: HighlightableRoundedButton = {
228 | let button = HighlightableRoundedButton()
| `- error: 'init()' is unavailable in watchOS
229 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
230 | return button
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:229:26: warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
227 | let startDownloadButton: HighlightableRoundedButton = {
228 | let button = HighlightableRoundedButton()
229 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
| |- warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
| `- note: use 'AHDownloadButton.self' to silence this warning
230 | return button
231 | }()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:234:20: error: 'init()' is unavailable in watchOS
232 |
233 | let pendingCircleView: CircleView = {
234 | let view = CircleView()
| `- error: 'init()' is unavailable in watchOS
235 | view.endAngleRadians = view.startAngleRadians + 12 * .pi / 7
236 | return view
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:240:22: error: 'init()' is unavailable in watchOS
238 |
239 | let downloadingButton: ProgressButton = {
240 | let button = ProgressButton()
| `- error: 'init()' is unavailable in watchOS
241 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
242 | return button
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:241:26: warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
239 | let downloadingButton: ProgressButton = {
240 | let button = ProgressButton()
241 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
| |- warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
| `- note: use 'AHDownloadButton.self' to silence this warning
242 | return button
243 | }()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:246:22: error: 'init()' is unavailable in watchOS
244 |
245 | let downloadedButton: HighlightableRoundedButton = {
246 | let button = HighlightableRoundedButton()
| `- error: 'init()' is unavailable in watchOS
247 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
248 | return button
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:247:26: warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
245 | let downloadedButton: HighlightableRoundedButton = {
246 | let button = HighlightableRoundedButton()
247 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
| |- warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
| `- note: use 'AHDownloadButton.self' to silence this warning
248 | return button
249 | }()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:260:45: error: 'NSLayoutConstraint' is unavailable in watchOS
258 | // MARK: Constraints
259 |
260 | var startDownloadButtonWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:261:37: error: 'NSLayoutConstraint' is unavailable in watchOS
259 |
260 | var startDownloadButtonWidthConstraint: NSLayoutConstraint!
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:262:43: error: 'NSLayoutConstraint' is unavailable in watchOS
260 | var startDownloadButtonWidthConstraint: NSLayoutConstraint!
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
264 | var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:263:42: error: 'NSLayoutConstraint' is unavailable in watchOS
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
264 | var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
265 | return contentHorizontalAlignment.relativeLayoutAttribute
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:264:39: error: 'NSLayoutConstraint' is unavailable in watchOS
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
264 | var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
265 | return contentHorizontalAlignment.relativeLayoutAttribute
266 | }
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:24:38: error: 'UIView' is unavailable in watchOS
22 | }
23 |
24 | public final class AHDownloadButton: UIView {
| `- error: 'UIView' is unavailable in watchOS
25 |
26 | public enum State {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/AHDownloadButton/Classes/AHDownloadButton.swift:342:26: error: 'UITapGestureRecognizer' is unavailable in watchOS
340 | pendingCircleView.alpha = 0
341 |
342 | let tapGesture = UITapGestureRecognizer(target: self, action: #selector(currentButtonTapped))
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
343 | pendingCircleView.addGestureRecognizer(tapGesture)
344 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:377:9: error: 'NSLayoutConstraint' is unavailable in watchOS
375 | startDownloadButtonWidthConstraint = startDownloadButton.constraint(attribute: .width, constant: 50)
376 |
377 | NSLayoutConstraint.activate([topConstraint, bottomConstraint, horizontalPositionConstraint, startDownloadButtonWidthConstraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
378 | }
379 |
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:386:9: error: 'NSLayoutConstraint' is unavailable in watchOS
384 |
385 | pendingViewWidthConstraint = pendingCircleView.constraint(attribute: .width, constant: 30)
386 | NSLayoutConstraint.activate([horizontalPositionConstraint, verticalPositionConstraint, heightConstraint, pendingViewWidthConstraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
387 | }
388 |
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:397:9: error: 'NSLayoutConstraint' is unavailable in watchOS
395 | downloadingButtonWidthConstraint = downloadingButton.constraint(attribute: .width, constant: 30)
396 |
397 | NSLayoutConstraint.activate([horizontalPositionConstraint, verticalPositionConstraint, heightConstraint, downloadingButtonWidthConstraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
398 | }
399 |
/Applications/Xcode-27.0.0-Release.Candidate.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).
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AHDownloadButton.swift
SwiftCompile normal arm64_32 Compiling\ HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HighlightableRoundedButton.swift
SwiftCompile normal arm64_32 Compiling\ CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:31:22: error: 'CAShapeLayer' is unavailable in watchOS
29 | }
30 |
31 | let circleLayer: CAShapeLayer = {
| `- error: 'CAShapeLayer' is unavailable in watchOS
32 | let layer = CAShapeLayer()
33 | layer.fillColor = UIColor.clear.cgColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/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/AHDownloadButton/Classes/CircleView.swift:32:21: error: 'CAShapeLayer' is unavailable in watchOS
30 |
31 | let circleLayer: CAShapeLayer = {
32 | let layer = CAShapeLayer()
| `- error: 'CAShapeLayer' is unavailable in watchOS
33 | layer.fillColor = UIColor.clear.cgColor
34 | layer.lineCap = .round
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:34:26: error: 'round' is unavailable in watchOS
32 | let layer = CAShapeLayer()
33 | layer.fillColor = UIColor.clear.cgColor
34 | layer.lineCap = .round
| `- error: 'round' is unavailable in watchOS
35 | return layer
36 | }()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:128:37: note: 'round' has been explicitly marked unavailable here
126 | CA_EXTERN CAShapeLayerLineCap const kCALineCapButt
127 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
128 | CA_EXTERN CAShapeLayerLineCap const kCALineCapRound
| `- note: 'round' has been explicitly marked unavailable here
129 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
130 | CA_EXTERN CAShapeLayerLineCap const kCALineCapSquare
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:11:25: error: 'UIView' is unavailable in watchOS
9 | import UIKit
10 |
11 | final class CircleView: UIView {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | // MARK: Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CircleView.swift
SwiftCompile normal arm64_32 Compiling\ Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Color.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ AHDownloadButton (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64 (in target 'AHDownloadButton' from project 'AHDownloadButton')
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/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-17 14:31:23.173 xcodebuild[661:4071] [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\ AHDownloadButton (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 (in target 'AHDownloadButton' from project 'AHDownloadButton')
Building workspace AHDownloadButton with scheme AHDownloadButton
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
AHDownloadButton: /Users/admin/builder/spi-builder-workspace
resolved source packages: AHDownloadButton
2026-09-17 14:31:29.338 xcodebuild[820:4786] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "AHDownloadButton",
"name" : "AHDownloadButton",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "8.0"
}
],
"products" : [
{
"name" : "AHDownloadButton",
"targets" : [
"AHDownloadButton"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "AHDownloadButton",
"module_type" : "SwiftTarget",
"name" : "AHDownloadButton",
"path" : "Sources/AHDownloadButton",
"product_memberships" : [
"AHDownloadButton"
],
"sources" : [
"Classes/AHDownloadButton+StateTransitionAnimation.swift",
"Classes/AHDownloadButton.swift",
"Classes/CircleView.swift",
"Classes/Color.swift",
"Classes/HighlightableRoundedButton.swift",
"Classes/ProgressButton.swift",
"Classes/ProgressCircleView.swift",
"Classes/UIButton+TitleWidth.swift",
"Classes/UIView+Constraint.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
{
"workspace" : {
"name" : "AHDownloadButton",
"schemes" : [
"AHDownloadButton"
]
}
}
2026-09-17 14:31:30.600 xcodebuild[828:4854] [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 AHDownloadButton -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme AHDownloadButton -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
AHDownloadButton: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'AHDownloadButton-product' in project 'AHDownloadButton'
➜ Explicit dependency on target 'AHDownloadButton' in project 'AHDownloadButton'
Target 'AHDownloadButton' in project 'AHDownloadButton' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver AHDownloadButton normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name AHDownloadButton -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64/AHDownloadButton.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64/AHDownloadButton-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/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64/AHDownloadButton.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64/AHDownloadButton-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64/AHDownloadButton_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/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-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/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64/AHDownloadButton-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver AHDownloadButton normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name AHDownloadButton -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton-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/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton_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/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-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/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ AHDownloadButton (in target 'AHDownloadButton' from project 'AHDownloadButton')
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:36:38: error: 'NSLayoutConstraint' is unavailable in watchOS
34 | case center, left, right
35 |
36 | var relativeLayoutAttribute: NSLayoutConstraint.Attribute {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
37 | switch self {
38 | case .center: return .centerX
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:228:22: error: 'init()' is unavailable in watchOS
226 |
227 | let startDownloadButton: HighlightableRoundedButton = {
228 | let button = HighlightableRoundedButton()
| `- error: 'init()' is unavailable in watchOS
229 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
230 | return button
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:229:26: warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
227 | let startDownloadButton: HighlightableRoundedButton = {
228 | let button = HighlightableRoundedButton()
229 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
| |- warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
| `- note: use 'AHDownloadButton.self' to silence this warning
230 | return button
231 | }()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:234:20: error: 'init()' is unavailable in watchOS
232 |
233 | let pendingCircleView: CircleView = {
234 | let view = CircleView()
| `- error: 'init()' is unavailable in watchOS
235 | view.endAngleRadians = view.startAngleRadians + 12 * .pi / 7
236 | return view
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:240:22: error: 'init()' is unavailable in watchOS
238 |
239 | let downloadingButton: ProgressButton = {
240 | let button = ProgressButton()
| `- error: 'init()' is unavailable in watchOS
241 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
242 | return button
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:241:26: warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
239 | let downloadingButton: ProgressButton = {
240 | let button = ProgressButton()
241 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
| |- warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
| `- note: use 'AHDownloadButton.self' to silence this warning
242 | return button
243 | }()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:246:22: error: 'init()' is unavailable in watchOS
244 |
245 | let downloadedButton: HighlightableRoundedButton = {
246 | let button = HighlightableRoundedButton()
| `- error: 'init()' is unavailable in watchOS
247 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
248 | return button
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:247:26: warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
245 | let downloadedButton: HighlightableRoundedButton = {
246 | let button = HighlightableRoundedButton()
247 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
| |- warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
| `- note: use 'AHDownloadButton.self' to silence this warning
248 | return button
249 | }()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:260:45: error: 'NSLayoutConstraint' is unavailable in watchOS
258 | // MARK: Constraints
259 |
260 | var startDownloadButtonWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:261:37: error: 'NSLayoutConstraint' is unavailable in watchOS
259 |
260 | var startDownloadButtonWidthConstraint: NSLayoutConstraint!
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:262:43: error: 'NSLayoutConstraint' is unavailable in watchOS
260 | var startDownloadButtonWidthConstraint: NSLayoutConstraint!
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
264 | var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:263:42: error: 'NSLayoutConstraint' is unavailable in watchOS
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
264 | var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
265 | return contentHorizontalAlignment.relativeLayoutAttribute
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:264:39: error: 'NSLayoutConstraint' is unavailable in watchOS
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
264 | var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
265 | return contentHorizontalAlignment.relativeLayoutAttribute
266 | }
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:24:38: error: 'UIView' is unavailable in watchOS
22 | }
23 |
24 | public final class AHDownloadButton: UIView {
| `- error: 'UIView' is unavailable in watchOS
25 |
26 | public enum State {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/AHDownloadButton/Classes/CircleView.swift:31:22: error: 'CAShapeLayer' is unavailable in watchOS
29 | }
30 |
31 | let circleLayer: CAShapeLayer = {
| `- error: 'CAShapeLayer' is unavailable in watchOS
32 | let layer = CAShapeLayer()
33 | layer.fillColor = UIColor.clear.cgColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/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/AHDownloadButton/Classes/CircleView.swift:32:21: error: 'CAShapeLayer' is unavailable in watchOS
30 |
31 | let circleLayer: CAShapeLayer = {
32 | let layer = CAShapeLayer()
| `- error: 'CAShapeLayer' is unavailable in watchOS
33 | layer.fillColor = UIColor.clear.cgColor
34 | layer.lineCap = .round
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:34:26: error: 'round' is unavailable in watchOS
32 | let layer = CAShapeLayer()
33 | layer.fillColor = UIColor.clear.cgColor
34 | layer.lineCap = .round
| `- error: 'round' is unavailable in watchOS
35 | return layer
36 | }()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:128:37: note: 'round' has been explicitly marked unavailable here
126 | CA_EXTERN CAShapeLayerLineCap const kCALineCapButt
127 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
128 | CA_EXTERN CAShapeLayerLineCap const kCALineCapRound
| `- note: 'round' has been explicitly marked unavailable here
129 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
130 | CA_EXTERN CAShapeLayerLineCap const kCALineCapSquare
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:11:25: error: 'UIView' is unavailable in watchOS
9 | import UIKit
10 |
11 | final class CircleView: UIView {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | // MARK: Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:11:41: error: 'UIButton' is unavailable in watchOS
9 | import UIKit
10 |
11 | final class HighlightableRoundedButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
12 |
13 | // MARK: Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:22:19: error: 'UIView' is unavailable in watchOS
20 | }
21 |
22 | let stopView: UIView = {
| `- error: 'UIView' is unavailable in watchOS
23 | let view = UIView()
24 | view.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:23:20: error: 'UIView' is unavailable in watchOS
21 |
22 | let stopView: UIView = {
23 | let view = UIView()
| `- error: 'UIView' is unavailable in watchOS
24 | view.isUserInteractionEnabled = false
25 | view.layer.cornerRadius = 3
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:23:20: error: 'init()' is unavailable in watchOS
21 |
22 | let stopView: UIView = {
23 | let view = UIView()
| `- error: 'init()' is unavailable in watchOS
24 | view.isUserInteractionEnabled = false
25 | view.layer.cornerRadius = 3
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/ProgressButton.swift:30:26: error: 'init()' is unavailable in watchOS
28 |
29 | lazy var trackCircleView: CircleView = {
30 | let circleView = CircleView()
| `- error: 'init()' is unavailable in watchOS
31 | circleView.lineWidth = circleViewLineWidth
32 | circleView.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/ProgressButton.swift:37:20: error: 'init()' is unavailable in watchOS
35 |
36 | lazy var progressCircleView: ProgressCircleView = {
37 | let view = ProgressCircleView()
| `- error: 'init()' is unavailable in watchOS
38 | view.lineWidth = circleViewLineWidth
39 | view.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/ProgressButton.swift:11:29: error: 'UIControl' is unavailable in watchOS
9 | import UIKit
10 |
11 | final class ProgressButton: UIControl {
| `- error: 'UIControl' is unavailable in watchOS
12 |
13 | // MARK: Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift:15:20: error: 'init()' is unavailable in watchOS
13 |
14 | private let circleView: CircleView = {
15 | let view = CircleView()
| `- error: 'init()' is unavailable in watchOS
16 | view.circleColor = .red
17 | view.startAngleRadians = -CGFloat.pi / 2
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/ProgressCircleView.swift:10:33: error: 'UIView' is unavailable in watchOS
8 | import UIKit
9 |
10 | final class ProgressCircleView: UIView {
| `- error: 'UIView' is unavailable in watchOS
11 |
12 | // MARK: Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift:82:35: error: 'CAAnimation' is unavailable in watchOS
80 |
81 | extension ProgressCircleView: CAAnimationDelegate {
82 | func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
| `- error: 'CAAnimation' is unavailable in watchOS
83 | isAnimating = false
84 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:25:12: note: 'CAAnimation' has been explicitly marked unavailable here
23 |
24 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
25 | @interface CAAnimation : NSObject
| `- note: 'CAAnimation' has been explicitly marked unavailable here
26 | <NSSecureCoding, NSCopying, CAMediaTiming, CAAction>
27 | {
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift:81:31: error: 'CAAnimationDelegate' is unavailable in watchOS
79 | }
80 |
81 | extension ProgressCircleView: CAAnimationDelegate {
| `- error: 'CAAnimationDelegate' is unavailable in watchOS
82 | func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
83 | isAnimating = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:71:11: note: 'CAAnimationDelegate' has been explicitly marked unavailable here
69 |
70 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos)
71 | @protocol CAAnimationDelegate <NSObject>
| `- note: 'CAAnimationDelegate' has been explicitly marked unavailable here
72 | @optional
73 |
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift:11:11: error: 'UIButton' is unavailable in watchOS
9 | import UIKit
10 |
11 | extension UIButton {
| `- error: 'UIButton' is unavailable in watchOS
12 |
13 | var titleWidth: CGFloat {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift:14:32: error: 'NSLayoutConstraint' is unavailable in watchOS
12 |
13 | @discardableResult
14 | func constraint(attribute: NSLayoutConstraint.Attribute, relation: NSLayoutConstraint.Relation = .equal, toItem: Any? = nil, toAttribute: NSLayoutConstraint.Attribute = .notAnAttribute, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
15 | translatesAutoresizingMaskIntoConstraints = false
16 | let constraint = NSLayoutConstraint(item: self,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/AHDownloadButton/Classes/UIView+Constraint.swift:14:72: error: 'NSLayoutConstraint' is unavailable in watchOS
12 |
13 | @discardableResult
14 | func constraint(attribute: NSLayoutConstraint.Attribute, relation: NSLayoutConstraint.Relation = .equal, toItem: Any? = nil, toAttribute: NSLayoutConstraint.Attribute = .notAnAttribute, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
15 | translatesAutoresizingMaskIntoConstraints = false
16 | let constraint = NSLayoutConstraint(item: self,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/AHDownloadButton/Classes/UIView+Constraint.swift:14:143: error: 'NSLayoutConstraint' is unavailable in watchOS
12 |
13 | @discardableResult
14 | func constraint(attribute: NSLayoutConstraint.Attribute, relation: NSLayoutConstraint.Relation = .equal, toItem: Any? = nil, toAttribute: NSLayoutConstraint.Attribute = .notAnAttribute, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
15 | translatesAutoresizingMaskIntoConstraints = false
16 | let constraint = NSLayoutConstraint(item: self,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/AHDownloadButton/Classes/UIView+Constraint.swift:14:242: error: 'NSLayoutConstraint' is unavailable in watchOS
12 |
13 | @discardableResult
14 | func constraint(attribute: NSLayoutConstraint.Attribute, relation: NSLayoutConstraint.Relation = .equal, toItem: Any? = nil, toAttribute: NSLayoutConstraint.Attribute = .notAnAttribute, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
15 | translatesAutoresizingMaskIntoConstraints = false
16 | let constraint = NSLayoutConstraint(item: self,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/AHDownloadButton/Classes/UIView+Constraint.swift:11:11: error: 'UIView' is unavailable in watchOS
9 | import UIKit
10 |
11 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | @discardableResult
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressCircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIView+Constraint.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AHDownloadButton -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AHDownloadButton.build/Debug-watchos/AHDownloadButton-t.build/Objects-normal/arm64_32/AHDownloadButton.abi.json
SwiftCompile normal arm64_32 Compiling\ AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AHDownloadButton+StateTransitionAnimation.swift
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:47:9: error: 'UIView' is unavailable in watchOS
45 | startDownloadButton.titleLabel?.alpha = 0
46 | startDownloadButtonWidthConstraint.constant = pendingViewWidthConstraint.constant
47 | UIView.animate(withDuration: transitionAnimationDuration, animations: {
| `- error: 'UIView' is unavailable in watchOS
48 | self.layoutIfNeeded()
49 | }, completion: { completed in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:59:9: error: 'UIView' is unavailable in watchOS
57 | startDownloadButton.titleLabel?.alpha = 0
58 | startDownloadButtonWidthConstraint.constant = downloadingButtonWidthConstraint.constant
59 | UIView.animate(withDuration: transitionAnimationDuration, animations: {
| `- error: 'UIView' is unavailable in watchOS
60 | self.layoutIfNeeded()
61 | }, completion: { completed in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:73:9: error: 'UIView' is unavailable in watchOS
71 | startDownloadButton.alpha = 1
72 | startDownloadButtonWidthConstraint.constant = startDownloadButtonFullWidth
73 | UIView.animate(withDuration: transitionAnimationDuration, animations: {
| `- error: 'UIView' is unavailable in watchOS
74 | self.pendingCircleView.alpha = 0
75 | self.startDownloadButton.titleLabel?.alpha = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:83:9: error: 'UIView' is unavailable in watchOS
81 | pendingCircleView.alpha = 1
82 | downloadingButton.alpha = 0
83 | UIView.animate(withDuration: transitionAnimationDuration, animations: {
| `- error: 'UIView' is unavailable in watchOS
84 | self.pendingCircleView.alpha = 0
85 | self.downloadingButton.alpha = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:96:9: error: 'UIView' is unavailable in watchOS
94 | downloadedButton.titleLabel?.alpha = 0
95 | downloadedButtonWidthConstraint.constant = downloadedButtonFullWidth
96 | UIView.animate(withDuration: transitionAnimationDuration, animations: {
| `- error: 'UIView' is unavailable in watchOS
97 | self.downloadingButton.alpha = 0
98 | self.downloadedButton.titleLabel?.alpha = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 Compiling\ CircleView.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CircleView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:31:22: error: 'CAShapeLayer' is unavailable in watchOS
29 | }
30 |
31 | let circleLayer: CAShapeLayer = {
| `- error: 'CAShapeLayer' is unavailable in watchOS
32 | let layer = CAShapeLayer()
33 | layer.fillColor = UIColor.clear.cgColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/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/AHDownloadButton/Classes/CircleView.swift:32:21: error: 'CAShapeLayer' is unavailable in watchOS
30 |
31 | let circleLayer: CAShapeLayer = {
32 | let layer = CAShapeLayer()
| `- error: 'CAShapeLayer' is unavailable in watchOS
33 | layer.fillColor = UIColor.clear.cgColor
34 | layer.lineCap = .round
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:34:26: error: 'round' is unavailable in watchOS
32 | let layer = CAShapeLayer()
33 | layer.fillColor = UIColor.clear.cgColor
34 | layer.lineCap = .round
| `- error: 'round' is unavailable in watchOS
35 | return layer
36 | }()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:128:37: note: 'round' has been explicitly marked unavailable here
126 | CA_EXTERN CAShapeLayerLineCap const kCALineCapButt
127 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
128 | CA_EXTERN CAShapeLayerLineCap const kCALineCapRound
| `- note: 'round' has been explicitly marked unavailable here
129 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
130 | CA_EXTERN CAShapeLayerLineCap const kCALineCapSquare
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:11:25: error: 'UIView' is unavailable in watchOS
9 | import UIKit
10 |
11 | final class CircleView: UIView {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | // MARK: Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 Compiling\ HighlightableRoundedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HighlightableRoundedButton.swift
SwiftCompile normal arm64_32 Compiling\ Color.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/Color.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Color.swift
SwiftCompile normal arm64_32 Compiling\ AHDownloadButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:36:38: error: 'NSLayoutConstraint' is unavailable in watchOS
34 | case center, left, right
35 |
36 | var relativeLayoutAttribute: NSLayoutConstraint.Attribute {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
37 | switch self {
38 | case .center: return .centerX
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:228:22: error: 'init()' is unavailable in watchOS
226 |
227 | let startDownloadButton: HighlightableRoundedButton = {
228 | let button = HighlightableRoundedButton()
| `- error: 'init()' is unavailable in watchOS
229 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
230 | return button
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:229:26: warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
227 | let startDownloadButton: HighlightableRoundedButton = {
228 | let button = HighlightableRoundedButton()
229 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
| |- warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
| `- note: use 'AHDownloadButton.self' to silence this warning
230 | return button
231 | }()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:234:20: error: 'init()' is unavailable in watchOS
232 |
233 | let pendingCircleView: CircleView = {
234 | let view = CircleView()
| `- error: 'init()' is unavailable in watchOS
235 | view.endAngleRadians = view.startAngleRadians + 12 * .pi / 7
236 | return view
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:240:22: error: 'init()' is unavailable in watchOS
238 |
239 | let downloadingButton: ProgressButton = {
240 | let button = ProgressButton()
| `- error: 'init()' is unavailable in watchOS
241 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
242 | return button
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:241:26: warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
239 | let downloadingButton: ProgressButton = {
240 | let button = ProgressButton()
241 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
| |- warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
| `- note: use 'AHDownloadButton.self' to silence this warning
242 | return button
243 | }()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:246:22: error: 'init()' is unavailable in watchOS
244 |
245 | let downloadedButton: HighlightableRoundedButton = {
246 | let button = HighlightableRoundedButton()
| `- error: 'init()' is unavailable in watchOS
247 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
248 | return button
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:247:26: warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
245 | let downloadedButton: HighlightableRoundedButton = {
246 | let button = HighlightableRoundedButton()
247 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
| |- warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
| `- note: use 'AHDownloadButton.self' to silence this warning
248 | return button
249 | }()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:260:45: error: 'NSLayoutConstraint' is unavailable in watchOS
258 | // MARK: Constraints
259 |
260 | var startDownloadButtonWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:261:37: error: 'NSLayoutConstraint' is unavailable in watchOS
259 |
260 | var startDownloadButtonWidthConstraint: NSLayoutConstraint!
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:262:43: error: 'NSLayoutConstraint' is unavailable in watchOS
260 | var startDownloadButtonWidthConstraint: NSLayoutConstraint!
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
264 | var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:263:42: error: 'NSLayoutConstraint' is unavailable in watchOS
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
264 | var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
265 | return contentHorizontalAlignment.relativeLayoutAttribute
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:264:39: error: 'NSLayoutConstraint' is unavailable in watchOS
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
264 | var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
265 | return contentHorizontalAlignment.relativeLayoutAttribute
266 | }
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:24:38: error: 'UIView' is unavailable in watchOS
22 | }
23 |
24 | public final class AHDownloadButton: UIView {
| `- error: 'UIView' is unavailable in watchOS
25 |
26 | public enum State {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/AHDownloadButton/Classes/AHDownloadButton.swift:342:26: error: 'UITapGestureRecognizer' is unavailable in watchOS
340 | pendingCircleView.alpha = 0
341 |
342 | let tapGesture = UITapGestureRecognizer(target: self, action: #selector(currentButtonTapped))
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
343 | pendingCircleView.addGestureRecognizer(tapGesture)
344 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:377:9: error: 'NSLayoutConstraint' is unavailable in watchOS
375 | startDownloadButtonWidthConstraint = startDownloadButton.constraint(attribute: .width, constant: 50)
376 |
377 | NSLayoutConstraint.activate([topConstraint, bottomConstraint, horizontalPositionConstraint, startDownloadButtonWidthConstraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
378 | }
379 |
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:386:9: error: 'NSLayoutConstraint' is unavailable in watchOS
384 |
385 | pendingViewWidthConstraint = pendingCircleView.constraint(attribute: .width, constant: 30)
386 | NSLayoutConstraint.activate([horizontalPositionConstraint, verticalPositionConstraint, heightConstraint, pendingViewWidthConstraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
387 | }
388 |
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:397:9: error: 'NSLayoutConstraint' is unavailable in watchOS
395 | downloadingButtonWidthConstraint = downloadingButton.constraint(attribute: .width, constant: 30)
396 |
397 | NSLayoutConstraint.activate([horizontalPositionConstraint, verticalPositionConstraint, heightConstraint, downloadingButtonWidthConstraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
398 | }
399 |
/Applications/Xcode-27.0.0-Release.Candidate.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).
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AHDownloadButton.swift
SwiftCompile normal arm64_32 Compiling\ ProgressButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:22:19: error: 'UIView' is unavailable in watchOS
20 | }
21 |
22 | let stopView: UIView = {
| `- error: 'UIView' is unavailable in watchOS
23 | let view = UIView()
24 | view.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:23:20: error: 'UIView' is unavailable in watchOS
21 |
22 | let stopView: UIView = {
23 | let view = UIView()
| `- error: 'UIView' is unavailable in watchOS
24 | view.isUserInteractionEnabled = false
25 | view.layer.cornerRadius = 3
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:23:20: error: 'init()' is unavailable in watchOS
21 |
22 | let stopView: UIView = {
23 | let view = UIView()
| `- error: 'init()' is unavailable in watchOS
24 | view.isUserInteractionEnabled = false
25 | view.layer.cornerRadius = 3
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/ProgressButton.swift:30:26: error: 'init()' is unavailable in watchOS
28 |
29 | lazy var trackCircleView: CircleView = {
30 | let circleView = CircleView()
| `- error: 'init()' is unavailable in watchOS
31 | circleView.lineWidth = circleViewLineWidth
32 | circleView.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/ProgressButton.swift:37:20: error: 'init()' is unavailable in watchOS
35 |
36 | lazy var progressCircleView: ProgressCircleView = {
37 | let view = ProgressCircleView()
| `- error: 'init()' is unavailable in watchOS
38 | view.lineWidth = circleViewLineWidth
39 | view.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/ProgressButton.swift:11:29: error: 'UIControl' is unavailable in watchOS
9 | import UIKit
10 |
11 | final class ProgressButton: UIControl {
| `- error: 'UIControl' is unavailable in watchOS
12 |
13 | // MARK: Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ProgressButton.swift
SwiftCompile normal arm64 Compiling\ AHDownloadButton+StateTransitionAnimation.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:47:9: error: 'UIView' is unavailable in watchOS
45 | startDownloadButton.titleLabel?.alpha = 0
46 | startDownloadButtonWidthConstraint.constant = pendingViewWidthConstraint.constant
47 | UIView.animate(withDuration: transitionAnimationDuration, animations: {
| `- error: 'UIView' is unavailable in watchOS
48 | self.layoutIfNeeded()
49 | }, completion: { completed in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:59:9: error: 'UIView' is unavailable in watchOS
57 | startDownloadButton.titleLabel?.alpha = 0
58 | startDownloadButtonWidthConstraint.constant = downloadingButtonWidthConstraint.constant
59 | UIView.animate(withDuration: transitionAnimationDuration, animations: {
| `- error: 'UIView' is unavailable in watchOS
60 | self.layoutIfNeeded()
61 | }, completion: { completed in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:73:9: error: 'UIView' is unavailable in watchOS
71 | startDownloadButton.alpha = 1
72 | startDownloadButtonWidthConstraint.constant = startDownloadButtonFullWidth
73 | UIView.animate(withDuration: transitionAnimationDuration, animations: {
| `- error: 'UIView' is unavailable in watchOS
74 | self.pendingCircleView.alpha = 0
75 | self.startDownloadButton.titleLabel?.alpha = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:83:9: error: 'UIView' is unavailable in watchOS
81 | pendingCircleView.alpha = 1
82 | downloadingButton.alpha = 0
83 | UIView.animate(withDuration: transitionAnimationDuration, animations: {
| `- error: 'UIView' is unavailable in watchOS
84 | self.pendingCircleView.alpha = 0
85 | self.downloadingButton.alpha = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:96:9: error: 'UIView' is unavailable in watchOS
94 | downloadedButton.titleLabel?.alpha = 0
95 | downloadedButtonWidthConstraint.constant = downloadedButtonFullWidth
96 | UIView.animate(withDuration: transitionAnimationDuration, animations: {
| `- error: 'UIView' is unavailable in watchOS
97 | self.downloadingButton.alpha = 0
98 | self.downloadedButton.titleLabel?.alpha = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AHDownloadButton+StateTransitionAnimation.swift
SwiftCompile normal arm64_32 Compiling\ UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIButton+TitleWidth.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ AHDownloadButton (in target 'AHDownloadButton' from project 'AHDownloadButton')
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:36:38: error: 'NSLayoutConstraint' is unavailable in watchOS
34 | case center, left, right
35 |
36 | var relativeLayoutAttribute: NSLayoutConstraint.Attribute {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
37 | switch self {
38 | case .center: return .centerX
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:228:22: error: 'init()' is unavailable in watchOS
226 |
227 | let startDownloadButton: HighlightableRoundedButton = {
228 | let button = HighlightableRoundedButton()
| `- error: 'init()' is unavailable in watchOS
229 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
230 | return button
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:229:26: warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
227 | let startDownloadButton: HighlightableRoundedButton = {
228 | let button = HighlightableRoundedButton()
229 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
| |- warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
| `- note: use 'AHDownloadButton.self' to silence this warning
230 | return button
231 | }()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:234:20: error: 'init()' is unavailable in watchOS
232 |
233 | let pendingCircleView: CircleView = {
234 | let view = CircleView()
| `- error: 'init()' is unavailable in watchOS
235 | view.endAngleRadians = view.startAngleRadians + 12 * .pi / 7
236 | return view
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:240:22: error: 'init()' is unavailable in watchOS
238 |
239 | let downloadingButton: ProgressButton = {
240 | let button = ProgressButton()
| `- error: 'init()' is unavailable in watchOS
241 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
242 | return button
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:241:26: warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
239 | let downloadingButton: ProgressButton = {
240 | let button = ProgressButton()
241 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
| |- warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
| `- note: use 'AHDownloadButton.self' to silence this warning
242 | return button
243 | }()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:246:22: error: 'init()' is unavailable in watchOS
244 |
245 | let downloadedButton: HighlightableRoundedButton = {
246 | let button = HighlightableRoundedButton()
| `- error: 'init()' is unavailable in watchOS
247 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
248 | return button
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/AHDownloadButton.swift:247:26: warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
245 | let downloadedButton: HighlightableRoundedButton = {
246 | let button = HighlightableRoundedButton()
247 | button.addTarget(self, action: #selector(currentButtonTapped), for: .touchUpInside)
| |- warning: 'self' refers to the method 'AHDownloadButton.self', which may be unexpected
| `- note: use 'AHDownloadButton.self' to silence this warning
248 | return button
249 | }()
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton.swift:260:45: error: 'NSLayoutConstraint' is unavailable in watchOS
258 | // MARK: Constraints
259 |
260 | var startDownloadButtonWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:261:37: error: 'NSLayoutConstraint' is unavailable in watchOS
259 |
260 | var startDownloadButtonWidthConstraint: NSLayoutConstraint!
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:262:43: error: 'NSLayoutConstraint' is unavailable in watchOS
260 | var startDownloadButtonWidthConstraint: NSLayoutConstraint!
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
264 | var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:263:42: error: 'NSLayoutConstraint' is unavailable in watchOS
261 | var pendingViewWidthConstraint: NSLayoutConstraint!
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
264 | var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
265 | return contentHorizontalAlignment.relativeLayoutAttribute
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:264:39: error: 'NSLayoutConstraint' is unavailable in watchOS
262 | var downloadingButtonWidthConstraint: NSLayoutConstraint!
263 | var downloadedButtonWidthConstraint: NSLayoutConstraint!
264 | var horizontalAlignmentAttribute: NSLayoutConstraint.Attribute {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
265 | return contentHorizontalAlignment.relativeLayoutAttribute
266 | }
/Applications/Xcode-27.0.0-Release.Candidate.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/AHDownloadButton/Classes/AHDownloadButton.swift:24:38: error: 'UIView' is unavailable in watchOS
22 | }
23 |
24 | public final class AHDownloadButton: UIView {
| `- error: 'UIView' is unavailable in watchOS
25 |
26 | public enum State {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/AHDownloadButton/Classes/CircleView.swift:31:22: error: 'CAShapeLayer' is unavailable in watchOS
29 | }
30 |
31 | let circleLayer: CAShapeLayer = {
| `- error: 'CAShapeLayer' is unavailable in watchOS
32 | let layer = CAShapeLayer()
33 | layer.fillColor = UIColor.clear.cgColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/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/AHDownloadButton/Classes/CircleView.swift:32:21: error: 'CAShapeLayer' is unavailable in watchOS
30 |
31 | let circleLayer: CAShapeLayer = {
32 | let layer = CAShapeLayer()
| `- error: 'CAShapeLayer' is unavailable in watchOS
33 | layer.fillColor = UIColor.clear.cgColor
34 | layer.lineCap = .round
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:34:26: error: 'round' is unavailable in watchOS
32 | let layer = CAShapeLayer()
33 | layer.fillColor = UIColor.clear.cgColor
34 | layer.lineCap = .round
| `- error: 'round' is unavailable in watchOS
35 | return layer
36 | }()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:128:37: note: 'round' has been explicitly marked unavailable here
126 | CA_EXTERN CAShapeLayerLineCap const kCALineCapButt
127 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
128 | CA_EXTERN CAShapeLayerLineCap const kCALineCapRound
| `- note: 'round' has been explicitly marked unavailable here
129 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
130 | CA_EXTERN CAShapeLayerLineCap const kCALineCapSquare
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/CircleView.swift:11:25: error: 'UIView' is unavailable in watchOS
9 | import UIKit
10 |
11 | final class CircleView: UIView {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | // MARK: Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/HighlightableRoundedButton.swift:11:41: error: 'UIButton' is unavailable in watchOS
9 | import UIKit
10 |
11 | final class HighlightableRoundedButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
12 |
13 | // MARK: Properties
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:22:19: error: 'UIView' is unavailable in watchOS
20 | }
21 |
22 | let stopView: UIView = {
| `- error: 'UIView' is unavailable in watchOS
23 | let view = UIView()
24 | view.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:23:20: error: 'UIView' is unavailable in watchOS
21 |
22 | let stopView: UIView = {
23 | let view = UIView()
| `- error: 'UIView' is unavailable in watchOS
24 | view.isUserInteractionEnabled = false
25 | view.layer.cornerRadius = 3
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/ProgressButton.swift:23:20: error: 'init()' is unavailable in watchOS
21 |
22 | let stopView: UIView = {
23 | let view = UIView()
| `- error: 'init()' is unavailable in watchOS
24 | view.isUserInteractionEnabled = false
25 | view.layer.cornerRadius = 3
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/ProgressButton.swift:30:26: error: 'init()' is unavailable in watchOS
28 |
29 | lazy var trackCircleView: CircleView = {
30 | let circleView = CircleView()
| `- error: 'init()' is unavailable in watchOS
31 | circleView.lineWidth = circleViewLineWidth
32 | circleView.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/AHDownloadButton/Classes/ProgressButton.swift:37:20: error: 'init()' is unavailable in watchOS
35 |
36 | lazy var progressCircleView: ProgressCircleView = {
37 | let view = ProgressCircleView()
| `- error: 'init()' is unavailable in watchOS
38 | view.lineWidth = circleViewLineWidth
39 | view.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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.
SwiftCompile normal arm64 (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ UIButton+TitleWidth.swift /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AHDownloadButton/Classes/UIButton+TitleWidth.swift (in target 'AHDownloadButton' from project 'AHDownloadButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIButton+TitleWidth.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-17 14:31:31.597 xcodebuild[829:4877] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'AHDownloadButton' from project 'AHDownloadButton')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ AHDownloadButton (in target 'AHDownloadButton' from project 'AHDownloadButton')
Building workspace AHDownloadButton with scheme AHDownloadButton
(3 failures)
BUILD FAILURE 6.4 watchOS