Build Information
Failed to build AugmentedButton, reference 1.4.3 (9d6a88), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Sep 2026 06:03:38 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AugmentedButton -destination generic/platform=watchOSBuild Log
107 |
108 | open
109 | override func addTarget(_ target: Any?, action: Selector, for controlEvents: UIControl.Event) {
| `- error: 'UIControl' is unavailable in watchOS
110 | super.addTarget(target, action: action, for: controlEvents)
111 |
/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/AugmentedButton.swift:126:91: error: 'UIControl' is unavailable in watchOS
124 | }
125 |
126 | open override func removeTarget(_ target: Any?, action: Selector?, for controlEvents: UIControl.Event) {
| `- error: 'UIControl' is unavailable in watchOS
127 | super.removeTarget(target, action: action, for: controlEvents)
128 |
/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/AugmentedButton.swift:140:34: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
138 | }
139 |
140 | public var longPressGesture: UILongPressGestureRecognizer? {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
141 | guard allControlEvents.contains(.longPress) else { return nil }
142 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:150:33: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
148 |
149 | @IBAction private
150 | func didLongPress(_ sender: UILongPressGestureRecognizer) {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
151 | if sender.state == .began {
152 | sendActions(for: .longPress)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:187:102: error: 'UIControl' is unavailable in watchOS
185 | extension AugmentedButton {
186 |
187 | func actionsForKeyPath<Root: AugmentedButton, Value>(_ keyPath: KeyPath<Root, Value>, for state: UIControl.State) -> Actions? {
| `- error: 'UIControl' is unavailable in watchOS
188 | return stateBlocks[state]?[keyPath.ab_stateBlockKey]?.first
189 | }
/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/AugmentedButton.swift:191:27: error: 'UIControl' is unavailable in watchOS
189 | }
190 |
191 | func update(to state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
192 | guard let blocks = stateBlocks[state] else { return }
193 |
/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/AugmentedButton.swift:212:65: error: 'UIControl' is unavailable in watchOS
210 | @available(*, deprecated, message: "Use setValue(_,forKeyPath:,for:) instead")
211 | open
212 | func setValue(_ value: Any?, forKey key: String, for state: UIControl.State) throws {
| `- error: 'UIControl' is unavailable in watchOS
213 | guard responds(to: Selector(key)) else {
214 | throw AugmentedButtonError.undefinedKey
/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/AugmentedButton.swift:211:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
209 | extension AugmentedButton {
210 | @available(*, deprecated, message: "Use setValue(_,forKeyPath:,for:) instead")
211 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
212 | func setValue(_ value: Any?, forKey key: String, for state: UIControl.State) throws {
213 | guard responds(to: Selector(key)) else {
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:239:48: error: 'UIControl' is unavailable in watchOS
237 | @available(*, deprecated, message: "Use valueForKeyPath(_,for:) instead")
238 | open
239 | func valueForKey(_ key: String, for state: UIControl.State) throws -> Any? {
| `- error: 'UIControl' is unavailable in watchOS
240 | guard responds(to: Selector(key)) else {
241 | throw AugmentedButtonError.undefinedKey
/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/AugmentedButton.swift:238:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
236 |
237 | @available(*, deprecated, message: "Use valueForKeyPath(_,for:) instead")
238 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
239 | func valueForKey(_ key: String, for state: UIControl.State) throws -> Any? {
240 | guard responds(to: Selector(key)) else {
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:254:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
252 |
253 | @available(*, deprecated, message: "Use currentValueForKeyPath(_) instead")
254 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
255 | func currentValueForKey(_ key: String) throws -> Any? {
256 | return try valueForKey(key, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/StateObservableButton.swift:13:30: error: 'UIControl' is unavailable in watchOS
11 | public
12 | extension UIControl.Event {
13 | static let stateChanged: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
| `- error: 'UIControl' is unavailable in watchOS
14 | }
15 |
/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/StateObservableButton.swift:13:48: error: 'UIControl' is unavailable in watchOS
11 | public
12 | extension UIControl.Event {
13 | static let stateChanged: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
| `- error: 'UIControl' is unavailable in watchOS
14 | }
15 |
/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/StateObservableButton.swift:12:11: error: 'UIControl' is unavailable in watchOS
10 |
11 | public
12 | extension UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
13 | static let stateChanged: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
14 | }
/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/StateObservableButton.swift:25:21: error: 'UIControl' is unavailable in watchOS
23 | /// the state-changed actions only get called once.
24 | private
25 | var priorState: UIControl.State = .normal
| `- error: 'UIControl' is unavailable in watchOS
26 |
27 | override open var isEnabled: Bool {
/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/StateObservableButton.swift:17:30: error: 'UIButton' is unavailable in watchOS
15 |
16 | open
17 | class StateObservableButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
18 |
19 | /// Prior state is used to compare the state before
/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/UIControl+Extensions.swift:14:55: error: 'UIControl' is unavailable in watchOS
12 | extension UIControl.Event {
13 |
14 | static let firstAvailableAppEventValue: UInt = (~(UIControl.Event.systemReserved.rawValue | UIControl.Event.applicationReserved.rawValue) + 1) & UIControl.Event.applicationReserved.rawValue
| `- error: 'UIControl' is unavailable in watchOS
15 |
16 |
/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/UIControl+Extensions.swift:14:97: error: 'UIControl' is unavailable in watchOS
12 | extension UIControl.Event {
13 |
14 | static let firstAvailableAppEventValue: UInt = (~(UIControl.Event.systemReserved.rawValue | UIControl.Event.applicationReserved.rawValue) + 1) & UIControl.Event.applicationReserved.rawValue
| `- error: 'UIControl' is unavailable in watchOS
15 |
16 |
/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/UIControl+Extensions.swift:14:150: error: 'UIControl' is unavailable in watchOS
12 | extension UIControl.Event {
13 |
14 | static let firstAvailableAppEventValue: UInt = (~(UIControl.Event.systemReserved.rawValue | UIControl.Event.applicationReserved.rawValue) + 1) & UIControl.Event.applicationReserved.rawValue
| `- error: 'UIControl' is unavailable in watchOS
15 |
16 |
/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/UIControl+Extensions.swift:17:48: error: 'UIControl' is unavailable in watchOS
15 |
16 |
17 | static func appEvent(at position: UInt) -> UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
18 | let value = (firstAvailableAppEventValue << position) & UIControl.Event.applicationReserved.rawValue
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIControl+Extensions.swift:28:44: error: 'UIControl' is unavailable in watchOS
26 | static var lastUsedPosition: UInt?
27 |
28 | static func nextAvailableAppEvent() -> UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
29 | if let p = lastUsedPosition {
30 | lastUsedPosition = p + 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/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/UIControl+Extensions.swift:12:11: error: 'UIControl' is unavailable in watchOS
10 |
11 | public
12 | extension UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
13 |
14 | static let firstAvailableAppEventValue: UInt = (~(UIControl.Event.systemReserved.rawValue | UIControl.Event.applicationReserved.rawValue) + 1) & UIControl.Event.applicationReserved.rawValue
/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/UIControl+Extensions.swift:43:55: error: 'UIControl' is unavailable in watchOS
41 | extension UIControl.State {
42 |
43 | static let firstAvailableAppStateValue: UInt = (~(UIControl.State.reserved.rawValue | UIControl.State.application.rawValue) + 1) & UIControl.State.application.rawValue
| `- error: 'UIControl' is unavailable in watchOS
44 |
45 |
/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/UIControl+Extensions.swift:43:91: error: 'UIControl' is unavailable in watchOS
41 | extension UIControl.State {
42 |
43 | static let firstAvailableAppStateValue: UInt = (~(UIControl.State.reserved.rawValue | UIControl.State.application.rawValue) + 1) & UIControl.State.application.rawValue
| `- error: 'UIControl' is unavailable in watchOS
44 |
45 |
/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/UIControl+Extensions.swift:43:136: error: 'UIControl' is unavailable in watchOS
41 | extension UIControl.State {
42 |
43 | static let firstAvailableAppStateValue: UInt = (~(UIControl.State.reserved.rawValue | UIControl.State.application.rawValue) + 1) & UIControl.State.application.rawValue
| `- error: 'UIControl' is unavailable in watchOS
44 |
45 |
/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/UIControl+Extensions.swift:46:48: error: 'UIControl' is unavailable in watchOS
44 |
45 |
46 | static func appState(at position: UInt) -> UIControl.State? {
| `- error: 'UIControl' is unavailable in watchOS
47 | let value = (firstAvailableAppStateValue << position) & UIControl.State.application.rawValue
48 |
/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/UIControl+Extensions.swift:57:44: error: 'UIControl' is unavailable in watchOS
55 | static var lastUsedPosition: UInt?
56 |
57 | static func nextAvailableAppState() -> UIControl.State? {
| `- error: 'UIControl' is unavailable in watchOS
58 | if let p = lastUsedPosition {
59 | lastUsedPosition = p + 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/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/UIControl+Extensions.swift:41:11: error: 'UIControl' is unavailable in watchOS
39 |
40 | public
41 | extension UIControl.State {
| `- error: 'UIControl' is unavailable in watchOS
42 |
43 | static let firstAvailableAppStateValue: UInt = (~(UIControl.State.reserved.rawValue | UIControl.State.application.rawValue) + 1) & UIControl.State.application.rawValue
/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/UIControl+Extensions.swift:68:1: warning: extension declares a conformance of imported type 'State' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'UIKit' introduce this conformance in the future
66 | }
67 |
68 | extension UIControl.State: Hashable {
| |- warning: extension declares a conformance of imported type 'State' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'UIKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
69 | public func hash(into hasher: inout Hasher) {
70 | hasher.combine(rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/UIControl+Extensions.swift:68:11: error: 'UIControl' is unavailable in watchOS
66 | }
67 |
68 | extension UIControl.State: Hashable {
| `- error: 'UIControl' is unavailable in watchOS
69 | public func hash(into hasher: inout Hasher) {
70 | hasher.combine(rawValue)
/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/UIView+LayerProperties.swift:12:11: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
13 | @IBInspectable open
14 | var borderColor: UIColor? {
/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 'AugmentedButton' from project 'AugmentedButton')
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/AugmentedButton+StateValues.swift /Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/StateObservableButton.swift /Users/admin/builder/spi-builder-workspace/Sources/UIControl+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/UIView+LayerProperties.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/AugmentedButton.build/Debug-watchos/AugmentedButton-t.build/Objects-normal/arm64_32/AugmentedButton-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -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/AugmentedButton.build/Debug-watchos/AugmentedButton-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AugmentedButton.build/Debug-watchos/AugmentedButton-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AugmentedButton.build/Debug-watchos/AugmentedButton-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AugmentedButton -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AugmentedButton.build/Debug-watchos/AugmentedButton-t.build/Objects-normal/arm64_32/AugmentedButton_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/AugmentedButton.build/Debug-watchos/AugmentedButton-t.build/Objects-normal/arm64_32/AugmentedButton.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AugmentedButton.build/Debug-watchos/AugmentedButton-t.build/Objects-normal/arm64_32/AugmentedButton.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AugmentedButton.build/Debug-watchos/AugmentedButton-t.build/Objects-normal/arm64_32/AugmentedButton-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AugmentedButton.build/Debug-watchos/AugmentedButton-t.build/Objects-normal/arm64_32/AugmentedButton-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AugmentedButton.build/Debug-watchos/AugmentedButton-t.build/Objects-normal/arm64_32/AugmentedButton-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AugmentedButton.build/Debug-watchos/AugmentedButton-t.build/Objects-normal/arm64_32/AugmentedButton.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AugmentedButton.build/Debug-watchos/AugmentedButton-t.build/Objects-normal/arm64_32/AugmentedButton.abi.json
SwiftCompile normal arm64_32 Compiling\ StateObservableButton.swift /Users/admin/builder/spi-builder-workspace/Sources/StateObservableButton.swift (in target 'AugmentedButton' from project 'AugmentedButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/StateObservableButton.swift (in target 'AugmentedButton' from project 'AugmentedButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StateObservableButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateObservableButton.swift:13:30: error: 'UIControl' is unavailable in watchOS
11 | public
12 | extension UIControl.Event {
13 | static let stateChanged: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
| `- error: 'UIControl' is unavailable in watchOS
14 | }
15 |
/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/StateObservableButton.swift:13:48: error: 'UIControl' is unavailable in watchOS
11 | public
12 | extension UIControl.Event {
13 | static let stateChanged: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
| `- error: 'UIControl' is unavailable in watchOS
14 | }
15 |
/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/StateObservableButton.swift:12:11: error: 'UIControl' is unavailable in watchOS
10 |
11 | public
12 | extension UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
13 | static let stateChanged: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
14 | }
/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/StateObservableButton.swift:25:21: error: 'UIControl' is unavailable in watchOS
23 | /// the state-changed actions only get called once.
24 | private
25 | var priorState: UIControl.State = .normal
| `- error: 'UIControl' is unavailable in watchOS
26 |
27 | override open var isEnabled: Bool {
/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 Compiling\ UIView+LayerProperties.swift /Users/admin/builder/spi-builder-workspace/Sources/UIView+LayerProperties.swift (in target 'AugmentedButton' from project 'AugmentedButton')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIView+LayerProperties.swift (in target 'AugmentedButton' from project 'AugmentedButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+LayerProperties.swift
SwiftCompile normal arm64 Compiling\ StateObservableButton.swift /Users/admin/builder/spi-builder-workspace/Sources/StateObservableButton.swift (in target 'AugmentedButton' from project 'AugmentedButton')
/Users/admin/builder/spi-builder-workspace/Sources/StateObservableButton.swift:13:30: error: 'UIControl' is unavailable in watchOS
11 | public
12 | extension UIControl.Event {
13 | static let stateChanged: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
| `- error: 'UIControl' is unavailable in watchOS
14 | }
15 |
/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/StateObservableButton.swift:13:48: error: 'UIControl' is unavailable in watchOS
11 | public
12 | extension UIControl.Event {
13 | static let stateChanged: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
| `- error: 'UIControl' is unavailable in watchOS
14 | }
15 |
/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/StateObservableButton.swift:12:11: error: 'UIControl' is unavailable in watchOS
10 |
11 | public
12 | extension UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
13 | static let stateChanged: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
14 | }
/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/StateObservableButton.swift:25:21: error: 'UIControl' is unavailable in watchOS
23 | /// the state-changed actions only get called once.
24 | private
25 | var priorState: UIControl.State = .normal
| `- error: 'UIControl' is unavailable in watchOS
26 |
27 | override open var isEnabled: Bool {
/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 /Users/admin/builder/spi-builder-workspace/Sources/StateObservableButton.swift (in target 'AugmentedButton' from project 'AugmentedButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StateObservableButton.swift
SwiftCompile normal arm64 Compiling\ AugmentedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift (in target 'AugmentedButton' from project 'AugmentedButton')
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:13:27: error: 'UIControl' is unavailable in watchOS
11 | public
12 | extension UIControl.Event {
13 | static let longPress: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
| `- error: 'UIControl' is unavailable in watchOS
14 | }
15 |
/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/AugmentedButton.swift:13:45: error: 'UIControl' is unavailable in watchOS
11 | public
12 | extension UIControl.Event {
13 | static let longPress: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
| `- error: 'UIControl' is unavailable in watchOS
14 | }
15 |
/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/AugmentedButton.swift:12:11: error: 'UIControl' is unavailable in watchOS
10 |
11 | public
12 | extension UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
13 | static let longPress: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
14 | }
/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/AugmentedButton.swift:146:42: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
144 | }
145 |
146 | private lazy var _longPressGesture = UILongPressGestureRecognizer(target: self, action: #selector(didLongPress(_:)))
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
147 |
148 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:28:87: error: 'UIControl' is unavailable in watchOS
26 |
27 | open
28 | func setActions(_ block: @escaping Actions, named name: String? = nil, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
29 | var blockGroup: [String:[Actions]] = stateBlocks[state] ?? [:]
30 | var blocks: [Actions]
/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/AugmentedButton.swift:49:34: error: 'UIControl' is unavailable in watchOS
47 |
48 | open
49 | func clearActions(for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
50 | update(to: .normal)
51 | stateBlocks.removeValue(forKey: 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/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/AugmentedButton.swift:63:23: error: 'UIControl' is unavailable in watchOS
61 |
62 | private
63 | var stateBlocks: [UIControl.State: [String: [Actions]]] = [:]
| `- error: 'UIControl' is unavailable in watchOS
64 |
65 | open
/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/AugmentedButton.swift:66:135: error: 'UIControl' is unavailable in watchOS
64 |
65 | open
66 | func setValue<Root: AugmentedButton, Value>(_ value: Value, forKeyPath keyPath: ReferenceWritableKeyPath<Root, Value>, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
67 | precondition(self is Root, "keyPath must be relative to Self")
68 |
/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/AugmentedButton.swift:89:100: error: 'UIControl' is unavailable in watchOS
87 |
88 | open
89 | func valueForKeyPath<Root: AugmentedButton, Value>(_ keyPath: KeyPath<Root, Value>, for state: UIControl.State) -> Value? {
| `- error: 'UIControl' is unavailable in watchOS
90 | precondition(self is Root, "keyPath must be relative to Self")
91 |
/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/AugmentedButton.swift:109:82: error: 'UIControl' is unavailable in watchOS
107 |
108 | open
109 | override func addTarget(_ target: Any?, action: Selector, for controlEvents: UIControl.Event) {
| `- error: 'UIControl' is unavailable in watchOS
110 | super.addTarget(target, action: action, for: controlEvents)
111 |
/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/AugmentedButton.swift:126:91: error: 'UIControl' is unavailable in watchOS
124 | }
125 |
126 | open override func removeTarget(_ target: Any?, action: Selector?, for controlEvents: UIControl.Event) {
| `- error: 'UIControl' is unavailable in watchOS
127 | super.removeTarget(target, action: action, for: controlEvents)
128 |
/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/AugmentedButton.swift:140:34: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
138 | }
139 |
140 | public var longPressGesture: UILongPressGestureRecognizer? {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
141 | guard allControlEvents.contains(.longPress) else { return nil }
142 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:150:33: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
148 |
149 | @IBAction private
150 | func didLongPress(_ sender: UILongPressGestureRecognizer) {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
151 | if sender.state == .began {
152 | sendActions(for: .longPress)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:187:102: error: 'UIControl' is unavailable in watchOS
185 | extension AugmentedButton {
186 |
187 | func actionsForKeyPath<Root: AugmentedButton, Value>(_ keyPath: KeyPath<Root, Value>, for state: UIControl.State) -> Actions? {
| `- error: 'UIControl' is unavailable in watchOS
188 | return stateBlocks[state]?[keyPath.ab_stateBlockKey]?.first
189 | }
/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/AugmentedButton.swift:191:27: error: 'UIControl' is unavailable in watchOS
189 | }
190 |
191 | func update(to state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
192 | guard let blocks = stateBlocks[state] else { return }
193 |
/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/AugmentedButton.swift:212:65: error: 'UIControl' is unavailable in watchOS
210 | @available(*, deprecated, message: "Use setValue(_,forKeyPath:,for:) instead")
211 | open
212 | func setValue(_ value: Any?, forKey key: String, for state: UIControl.State) throws {
| `- error: 'UIControl' is unavailable in watchOS
213 | guard responds(to: Selector(key)) else {
214 | throw AugmentedButtonError.undefinedKey
/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/AugmentedButton.swift:211:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
209 | extension AugmentedButton {
210 | @available(*, deprecated, message: "Use setValue(_,forKeyPath:,for:) instead")
211 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
212 | func setValue(_ value: Any?, forKey key: String, for state: UIControl.State) throws {
213 | guard responds(to: Selector(key)) else {
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:239:48: error: 'UIControl' is unavailable in watchOS
237 | @available(*, deprecated, message: "Use valueForKeyPath(_,for:) instead")
238 | open
239 | func valueForKey(_ key: String, for state: UIControl.State) throws -> Any? {
| `- error: 'UIControl' is unavailable in watchOS
240 | guard responds(to: Selector(key)) else {
241 | throw AugmentedButtonError.undefinedKey
/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/AugmentedButton.swift:238:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
236 |
237 | @available(*, deprecated, message: "Use valueForKeyPath(_,for:) instead")
238 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
239 | func valueForKey(_ key: String, for state: UIControl.State) throws -> Any? {
240 | guard responds(to: Selector(key)) else {
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:254:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
252 |
253 | @available(*, deprecated, message: "Use currentValueForKeyPath(_) instead")
254 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
255 | func currentValueForKey(_ key: String) throws -> Any? {
256 | return try valueForKey(key, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:115:101: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
113 | if controlEvents.contains(.longPress) {
114 | // If already has a long press gesture recognizer configure it
115 | if let g = gestureRecognizers?.first(where: { $0 is UILongPressGestureRecognizer }) as? UILongPressGestureRecognizer {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
116 | g.removeTarget(self, action: #selector(didLongPress(_:)))
117 | g.addTarget(self, action: #selector(didLongPress(_:)))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift (in target 'AugmentedButton' from project 'AugmentedButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AugmentedButton.swift
SwiftCompile normal arm64_32 Compiling\ AugmentedButton+StateValues.swift /Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift (in target 'AugmentedButton' from project 'AugmentedButton')
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:15:59: error: 'UIControl' is unavailable in watchOS
13 |
14 | open
15 | func setBackgroundColor(_ color: UIColor?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
16 | setValue(color, forKeyPath: \.backgroundColor, for: state)
17 | }
/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/AugmentedButton+StateValues.swift:14:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
12 | extension AugmentedButton {
13 |
14 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
15 | func setBackgroundColor(_ color: UIColor?, for state: UIControl.State) {
16 | setValue(color, forKeyPath: \.backgroundColor, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:20:53: error: 'UIControl' is unavailable in watchOS
18 |
19 | open
20 | func setTintColor(_ color: UIColor?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
21 | setValue(color, forKeyPath: \.tintColor, for: state)
22 | }
/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/AugmentedButton+StateValues.swift:19:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
17 | }
18 |
19 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
20 | func setTintColor(_ color: UIColor?, for state: UIControl.State) {
21 | setValue(color, forKeyPath: \.tintColor, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:25:55: error: 'UIControl' is unavailable in watchOS
23 |
24 | open
25 | func setBorderColor(_ color: UIColor?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
26 | setValue(color, forKeyPath: \.borderColor, for: state)
27 | }
/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/AugmentedButton+StateValues.swift:24:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
22 | }
23 |
24 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
25 | func setBorderColor(_ color: UIColor?, for state: UIControl.State) {
26 | setValue(color, forKeyPath: \.borderColor, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:30:54: error: 'UIControl' is unavailable in watchOS
28 |
29 | open
30 | func setBorderWidth(_ width: CGFloat, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
31 | setValue(width, forKeyPath: \.borderWidth, for: state)
32 | }
/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/AugmentedButton+StateValues.swift:29:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
27 | }
28 |
29 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
30 | func setBorderWidth(_ width: CGFloat, for state: UIControl.State) {
31 | setValue(width, forKeyPath: \.borderWidth, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:35:56: error: 'UIControl' is unavailable in watchOS
33 |
34 | open
35 | func setCornerRadius(_ radius: CGFloat, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
36 | setValue(radius, forKeyPath: \.cornerRadius, for: state)
37 | }
/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/AugmentedButton+StateValues.swift:34:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
32 | }
33 |
34 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
35 | func setCornerRadius(_ radius: CGFloat, for state: UIControl.State) {
36 | setValue(radius, forKeyPath: \.cornerRadius, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:40:37: error: 'UIControl' is unavailable in watchOS
38 |
39 | open
40 | func backgroundColor(for state: UIControl.State) -> UIColor? {
| `- error: 'UIControl' is unavailable in watchOS
41 | return valueForKeyPath(\.backgroundColor, for: state)?.map( { $0 })
42 | }
/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/AugmentedButton+StateValues.swift:39:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
37 | }
38 |
39 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
40 | func backgroundColor(for state: UIControl.State) -> UIColor? {
41 | return valueForKeyPath(\.backgroundColor, for: state)?.map( { $0 })
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:45:31: error: 'UIControl' is unavailable in watchOS
43 |
44 | open
45 | func tintColor(for state: UIControl.State) -> UIColor? {
| `- error: 'UIControl' is unavailable in watchOS
46 | return valueForKeyPath(\.tintColor, for: state)?.map( { $0 })
47 | }
/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/AugmentedButton+StateValues.swift:44:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
42 | }
43 |
44 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
45 | func tintColor(for state: UIControl.State) -> UIColor? {
46 | return valueForKeyPath(\.tintColor, for: state)?.map( { $0 })
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:50:33: error: 'UIControl' is unavailable in watchOS
48 |
49 | open
50 | func borderColor(for state: UIControl.State) -> UIColor? {
| `- error: 'UIControl' is unavailable in watchOS
51 | return valueForKeyPath(\.borderColor, for: state)?.map( { $0 })
52 | }
/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/AugmentedButton+StateValues.swift:49:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
47 | }
48 |
49 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
50 | func borderColor(for state: UIControl.State) -> UIColor? {
51 | return valueForKeyPath(\.borderColor, for: state)?.map( { $0 })
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:55:33: error: 'UIControl' is unavailable in watchOS
53 |
54 | open
55 | func borderWidth(for state: UIControl.State) -> CGFloat {
| `- error: 'UIControl' is unavailable in watchOS
56 | return valueForKeyPath(\.borderWidth, for: state) ?? 0
57 | }
/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/AugmentedButton+StateValues.swift:54:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
52 | }
53 |
54 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
55 | func borderWidth(for state: UIControl.State) -> CGFloat {
56 | return valueForKeyPath(\.borderWidth, for: state) ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:60:34: error: 'UIControl' is unavailable in watchOS
58 |
59 | open
60 | func cornerRadius(for state: UIControl.State) -> CGFloat {
| `- error: 'UIControl' is unavailable in watchOS
61 | return valueForKeyPath(\.cornerRadius, for: state) ?? 0
62 | }
/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/AugmentedButton+StateValues.swift:59:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
57 | }
58 |
59 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
60 | func cornerRadius(for state: UIControl.State) -> CGFloat {
61 | return valueForKeyPath(\.cornerRadius, for: state) ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:64:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
62 | }
63 |
64 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
65 | func currentBackgroundColor() -> UIColor? {
66 | return currentValueForKeyPath(\.backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:69:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
67 | }
68 |
69 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
70 | func currentTintColor() -> UIColor? {
71 | return currentValueForKeyPath(\.tintColor)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:74:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
72 | }
73 |
74 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
75 | func currentBorderColor() -> UIColor? {
76 | return currentValueForKeyPath(\.borderColor)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:79:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
77 | }
78 |
79 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
80 | func currentBorderWidth() -> CGFloat {
81 | return currentValueForKeyPath(\.borderWidth)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift (in target 'AugmentedButton' from project 'AugmentedButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AugmentedButton+StateValues.swift
SwiftCompile normal arm64_32 Compiling\ AugmentedButton.swift /Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift (in target 'AugmentedButton' from project 'AugmentedButton')
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:13:27: error: 'UIControl' is unavailable in watchOS
11 | public
12 | extension UIControl.Event {
13 | static let longPress: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
| `- error: 'UIControl' is unavailable in watchOS
14 | }
15 |
/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/AugmentedButton.swift:13:45: error: 'UIControl' is unavailable in watchOS
11 | public
12 | extension UIControl.Event {
13 | static let longPress: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
| `- error: 'UIControl' is unavailable in watchOS
14 | }
15 |
/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/AugmentedButton.swift:12:11: error: 'UIControl' is unavailable in watchOS
10 |
11 | public
12 | extension UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
13 | static let longPress: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
14 | }
/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/AugmentedButton.swift:146:42: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
144 | }
145 |
146 | private lazy var _longPressGesture = UILongPressGestureRecognizer(target: self, action: #selector(didLongPress(_:)))
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
147 |
148 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:28:87: error: 'UIControl' is unavailable in watchOS
26 |
27 | open
28 | func setActions(_ block: @escaping Actions, named name: String? = nil, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
29 | var blockGroup: [String:[Actions]] = stateBlocks[state] ?? [:]
30 | var blocks: [Actions]
/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/AugmentedButton.swift:49:34: error: 'UIControl' is unavailable in watchOS
47 |
48 | open
49 | func clearActions(for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
50 | update(to: .normal)
51 | stateBlocks.removeValue(forKey: 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/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/AugmentedButton.swift:63:23: error: 'UIControl' is unavailable in watchOS
61 |
62 | private
63 | var stateBlocks: [UIControl.State: [String: [Actions]]] = [:]
| `- error: 'UIControl' is unavailable in watchOS
64 |
65 | open
/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/AugmentedButton.swift:66:135: error: 'UIControl' is unavailable in watchOS
64 |
65 | open
66 | func setValue<Root: AugmentedButton, Value>(_ value: Value, forKeyPath keyPath: ReferenceWritableKeyPath<Root, Value>, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
67 | precondition(self is Root, "keyPath must be relative to Self")
68 |
/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/AugmentedButton.swift:89:100: error: 'UIControl' is unavailable in watchOS
87 |
88 | open
89 | func valueForKeyPath<Root: AugmentedButton, Value>(_ keyPath: KeyPath<Root, Value>, for state: UIControl.State) -> Value? {
| `- error: 'UIControl' is unavailable in watchOS
90 | precondition(self is Root, "keyPath must be relative to Self")
91 |
/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/AugmentedButton.swift:109:82: error: 'UIControl' is unavailable in watchOS
107 |
108 | open
109 | override func addTarget(_ target: Any?, action: Selector, for controlEvents: UIControl.Event) {
| `- error: 'UIControl' is unavailable in watchOS
110 | super.addTarget(target, action: action, for: controlEvents)
111 |
/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/AugmentedButton.swift:126:91: error: 'UIControl' is unavailable in watchOS
124 | }
125 |
126 | open override func removeTarget(_ target: Any?, action: Selector?, for controlEvents: UIControl.Event) {
| `- error: 'UIControl' is unavailable in watchOS
127 | super.removeTarget(target, action: action, for: controlEvents)
128 |
/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/AugmentedButton.swift:140:34: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
138 | }
139 |
140 | public var longPressGesture: UILongPressGestureRecognizer? {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
141 | guard allControlEvents.contains(.longPress) else { return nil }
142 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:150:33: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
148 |
149 | @IBAction private
150 | func didLongPress(_ sender: UILongPressGestureRecognizer) {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
151 | if sender.state == .began {
152 | sendActions(for: .longPress)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:187:102: error: 'UIControl' is unavailable in watchOS
185 | extension AugmentedButton {
186 |
187 | func actionsForKeyPath<Root: AugmentedButton, Value>(_ keyPath: KeyPath<Root, Value>, for state: UIControl.State) -> Actions? {
| `- error: 'UIControl' is unavailable in watchOS
188 | return stateBlocks[state]?[keyPath.ab_stateBlockKey]?.first
189 | }
/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/AugmentedButton.swift:191:27: error: 'UIControl' is unavailable in watchOS
189 | }
190 |
191 | func update(to state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
192 | guard let blocks = stateBlocks[state] else { return }
193 |
/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/AugmentedButton.swift:212:65: error: 'UIControl' is unavailable in watchOS
210 | @available(*, deprecated, message: "Use setValue(_,forKeyPath:,for:) instead")
211 | open
212 | func setValue(_ value: Any?, forKey key: String, for state: UIControl.State) throws {
| `- error: 'UIControl' is unavailable in watchOS
213 | guard responds(to: Selector(key)) else {
214 | throw AugmentedButtonError.undefinedKey
/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
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift (in target 'AugmentedButton' from project 'AugmentedButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AugmentedButton.swift
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/AugmentedButton.swift:211:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
209 | extension AugmentedButton {
210 | @available(*, deprecated, message: "Use setValue(_,forKeyPath:,for:) instead")
211 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
212 | func setValue(_ value: Any?, forKey key: String, for state: UIControl.State) throws {
213 | guard responds(to: Selector(key)) else {
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:239:48: error: 'UIControl' is unavailable in watchOS
237 | @available(*, deprecated, message: "Use valueForKeyPath(_,for:) instead")
238 | open
239 | func valueForKey(_ key: String, for state: UIControl.State) throws -> Any? {
| `- error: 'UIControl' is unavailable in watchOS
240 | guard responds(to: Selector(key)) else {
241 | throw AugmentedButtonError.undefinedKey
/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/AugmentedButton.swift:238:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
236 |
237 | @available(*, deprecated, message: "Use valueForKeyPath(_,for:) instead")
238 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
239 | func valueForKey(_ key: String, for state: UIControl.State) throws -> Any? {
240 | guard responds(to: Selector(key)) else {
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:254:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
252 |
253 | @available(*, deprecated, message: "Use currentValueForKeyPath(_) instead")
254 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
255 | func currentValueForKey(_ key: String) throws -> Any? {
256 | return try valueForKey(key, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:115:101: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
113 | if controlEvents.contains(.longPress) {
114 | // If already has a long press gesture recognizer configure it
115 | if let g = gestureRecognizers?.first(where: { $0 is UILongPressGestureRecognizer }) as? UILongPressGestureRecognizer {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
116 | g.removeTarget(self, action: #selector(didLongPress(_:)))
117 | g.addTarget(self, action: #selector(didLongPress(_:)))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
SwiftCompile normal arm64 Compiling\ AugmentedButton+StateValues.swift /Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift (in target 'AugmentedButton' from project 'AugmentedButton')
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:15:59: error: 'UIControl' is unavailable in watchOS
13 |
14 | open
15 | func setBackgroundColor(_ color: UIColor?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
16 | setValue(color, forKeyPath: \.backgroundColor, for: state)
17 | }
/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/AugmentedButton+StateValues.swift:14:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
12 | extension AugmentedButton {
13 |
14 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
15 | func setBackgroundColor(_ color: UIColor?, for state: UIControl.State) {
16 | setValue(color, forKeyPath: \.backgroundColor, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:20:53: error: 'UIControl' is unavailable in watchOS
18 |
19 | open
20 | func setTintColor(_ color: UIColor?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
21 | setValue(color, forKeyPath: \.tintColor, for: state)
22 | }
/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/AugmentedButton+StateValues.swift:19:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
17 | }
18 |
19 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
20 | func setTintColor(_ color: UIColor?, for state: UIControl.State) {
21 | setValue(color, forKeyPath: \.tintColor, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:25:55: error: 'UIControl' is unavailable in watchOS
23 |
24 | open
25 | func setBorderColor(_ color: UIColor?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
26 | setValue(color, forKeyPath: \.borderColor, for: state)
27 | }
/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/AugmentedButton+StateValues.swift:24:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
22 | }
23 |
24 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
25 | func setBorderColor(_ color: UIColor?, for state: UIControl.State) {
26 | setValue(color, forKeyPath: \.borderColor, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:30:54: error: 'UIControl' is unavailable in watchOS
28 |
29 | open
30 | func setBorderWidth(_ width: CGFloat, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
31 | setValue(width, forKeyPath: \.borderWidth, for: state)
32 | }
/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/AugmentedButton+StateValues.swift:29:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
27 | }
28 |
29 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
30 | func setBorderWidth(_ width: CGFloat, for state: UIControl.State) {
31 | setValue(width, forKeyPath: \.borderWidth, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:35:56: error: 'UIControl' is unavailable in watchOS
33 |
34 | open
35 | func setCornerRadius(_ radius: CGFloat, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
36 | setValue(radius, forKeyPath: \.cornerRadius, for: state)
37 | }
/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/AugmentedButton+StateValues.swift:34:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
32 | }
33 |
34 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
35 | func setCornerRadius(_ radius: CGFloat, for state: UIControl.State) {
36 | setValue(radius, forKeyPath: \.cornerRadius, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:40:37: error: 'UIControl' is unavailable in watchOS
38 |
39 | open
40 | func backgroundColor(for state: UIControl.State) -> UIColor? {
| `- error: 'UIControl' is unavailable in watchOS
41 | return valueForKeyPath(\.backgroundColor, for: state)?.map( { $0 })
42 | }
/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/AugmentedButton+StateValues.swift:39:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
37 | }
38 |
39 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
40 | func backgroundColor(for state: UIControl.State) -> UIColor? {
41 | return valueForKeyPath(\.backgroundColor, for: state)?.map( { $0 })
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:45:31: error: 'UIControl' is unavailable in watchOS
43 |
44 | open
45 | func tintColor(for state: UIControl.State) -> UIColor? {
| `- error: 'UIControl' is unavailable in watchOS
46 | return valueForKeyPath(\.tintColor, for: state)?.map( { $0 })
47 | }
/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/AugmentedButton+StateValues.swift:44:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
42 | }
43 |
44 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
45 | func tintColor(for state: UIControl.State) -> UIColor? {
46 | return valueForKeyPath(\.tintColor, for: state)?.map( { $0 })
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:50:33: error: 'UIControl' is unavailable in watchOS
48 |
49 | open
50 | func borderColor(for state: UIControl.State) -> UIColor? {
| `- error: 'UIControl' is unavailable in watchOS
51 | return valueForKeyPath(\.borderColor, for: state)?.map( { $0 })
52 | }
/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/AugmentedButton+StateValues.swift:49:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
47 | }
48 |
49 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
50 | func borderColor(for state: UIControl.State) -> UIColor? {
51 | return valueForKeyPath(\.borderColor, for: state)?.map( { $0 })
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:55:33: error: 'UIControl' is unavailable in watchOS
53 |
54 | open
55 | func borderWidth(for state: UIControl.State) -> CGFloat {
| `- error: 'UIControl' is unavailable in watchOS
56 | return valueForKeyPath(\.borderWidth, for: state) ?? 0
57 | }
/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/AugmentedButton+StateValues.swift:54:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
52 | }
53 |
54 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
55 | func borderWidth(for state: UIControl.State) -> CGFloat {
56 | return valueForKeyPath(\.borderWidth, for: state) ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:60:34: error: 'UIControl' is unavailable in watchOS
58 |
59 | open
60 | func cornerRadius(for state: UIControl.State) -> CGFloat {
| `- error: 'UIControl' is unavailable in watchOS
61 | return valueForKeyPath(\.cornerRadius, for: state) ?? 0
62 | }
/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/AugmentedButton+StateValues.swift:59:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
57 | }
58 |
59 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
60 | func cornerRadius(for state: UIControl.State) -> CGFloat {
61 | return valueForKeyPath(\.cornerRadius, for: state) ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:64:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
62 | }
63 |
64 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
65 | func currentBackgroundColor() -> UIColor? {
66 | return currentValueForKeyPath(\.backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:69:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
67 | }
68 |
69 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
70 | func currentTintColor() -> UIColor? {
71 | return currentValueForKeyPath(\.tintColor)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:74:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
72 | }
73 |
74 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
75 | func currentBorderColor() -> UIColor? {
76 | return currentValueForKeyPath(\.borderColor)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:79:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
77 | }
78 |
79 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
80 | func currentBorderWidth() -> CGFloat {
81 | return currentValueForKeyPath(\.borderWidth)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift (in target 'AugmentedButton' from project 'AugmentedButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AugmentedButton+StateValues.swift
SwiftCompile normal arm64_32 Compiling\ UIControl+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/UIControl+Extensions.swift (in target 'AugmentedButton' from project 'AugmentedButton')
/Users/admin/builder/spi-builder-workspace/Sources/UIControl+Extensions.swift:14:55: error: 'UIControl' is unavailable in watchOS
12 | extension UIControl.Event {
13 |
14 | static let firstAvailableAppEventValue: UInt = (~(UIControl.Event.systemReserved.rawValue | UIControl.Event.applicationReserved.rawValue) + 1) & UIControl.Event.applicationReserved.rawValue
| `- error: 'UIControl' is unavailable in watchOS
15 |
16 |
/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/UIControl+Extensions.swift:14:97: error: 'UIControl' is unavailable in watchOS
12 | extension UIControl.Event {
13 |
14 | static let firstAvailableAppEventValue: UInt = (~(UIControl.Event.systemReserved.rawValue | UIControl.Event.applicationReserved.rawValue) + 1) & UIControl.Event.applicationReserved.rawValue
| `- error: 'UIControl' is unavailable in watchOS
15 |
16 |
/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/UIControl+Extensions.swift:14:150: error: 'UIControl' is unavailable in watchOS
12 | extension UIControl.Event {
13 |
14 | static let firstAvailableAppEventValue: UInt = (~(UIControl.Event.systemReserved.rawValue | UIControl.Event.applicationReserved.rawValue) + 1) & UIControl.Event.applicationReserved.rawValue
| `- error: 'UIControl' is unavailable in watchOS
15 |
16 |
/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/UIControl+Extensions.swift:17:48: error: 'UIControl' is unavailable in watchOS
15 |
16 |
17 | static func appEvent(at position: UInt) -> UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
18 | let value = (firstAvailableAppEventValue << position) & UIControl.Event.applicationReserved.rawValue
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIControl+Extensions.swift:28:44: error: 'UIControl' is unavailable in watchOS
26 | static var lastUsedPosition: UInt?
27 |
28 | static func nextAvailableAppEvent() -> UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
29 | if let p = lastUsedPosition {
30 | lastUsedPosition = p + 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/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/UIControl+Extensions.swift:12:11: error: 'UIControl' is unavailable in watchOS
10 |
11 | public
12 | extension UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
13 |
14 | static let firstAvailableAppEventValue: UInt = (~(UIControl.Event.systemReserved.rawValue | UIControl.Event.applicationReserved.rawValue) + 1) & UIControl.Event.applicationReserved.rawValue
/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/UIControl+Extensions.swift:43:55: error: 'UIControl' is unavailable in watchOS
41 | extension UIControl.State {
42 |
43 | static let firstAvailableAppStateValue: UInt = (~(UIControl.State.reserved.rawValue | UIControl.State.application.rawValue) + 1) & UIControl.State.application.rawValue
| `- error: 'UIControl' is unavailable in watchOS
44 |
45 |
/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/UIControl+Extensions.swift:43:91: error: 'UIControl' is unavailable in watchOS
41 | extension UIControl.State {
42 |
43 | static let firstAvailableAppStateValue: UInt = (~(UIControl.State.reserved.rawValue | UIControl.State.application.rawValue) + 1) & UIControl.State.application.rawValue
| `- error: 'UIControl' is unavailable in watchOS
44 |
45 |
/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/UIControl+Extensions.swift:43:136: error: 'UIControl' is unavailable in watchOS
41 | extension UIControl.State {
42 |
43 | static let firstAvailableAppStateValue: UInt = (~(UIControl.State.reserved.rawValue | UIControl.State.application.rawValue) + 1) & UIControl.State.application.rawValue
| `- error: 'UIControl' is unavailable in watchOS
44 |
45 |
/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/UIControl+Extensions.swift:46:48: error: 'UIControl' is unavailable in watchOS
44 |
45 |
46 | static func appState(at position: UInt) -> UIControl.State? {
| `- error: 'UIControl' is unavailable in watchOS
47 | let value = (firstAvailableAppStateValue << position) & UIControl.State.application.rawValue
48 |
/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/UIControl+Extensions.swift:57:44: error: 'UIControl' is unavailable in watchOS
55 | static var lastUsedPosition: UInt?
56 |
57 | static func nextAvailableAppState() -> UIControl.State? {
| `- error: 'UIControl' is unavailable in watchOS
58 | if let p = lastUsedPosition {
59 | lastUsedPosition = p + 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/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/UIControl+Extensions.swift:41:11: error: 'UIControl' is unavailable in watchOS
39 |
40 | public
41 | extension UIControl.State {
| `- error: 'UIControl' is unavailable in watchOS
42 |
43 | static let firstAvailableAppStateValue: UInt = (~(UIControl.State.reserved.rawValue | UIControl.State.application.rawValue) + 1) & UIControl.State.application.rawValue
/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/UIControl+Extensions.swift:68:1: warning: extension declares a conformance of imported type 'State' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'UIKit' introduce this conformance in the future
66 | }
67 |
68 | extension UIControl.State: Hashable {
| |- warning: extension declares a conformance of imported type 'State' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'UIKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
69 | public func hash(into hasher: inout Hasher) {
70 | hasher.combine(rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/UIControl+Extensions.swift:68:11: error: 'UIControl' is unavailable in watchOS
66 | }
67 |
68 | extension UIControl.State: Hashable {
| `- error: 'UIControl' is unavailable in watchOS
69 | public func hash(into hasher: inout Hasher) {
70 | hasher.combine(rawValue)
/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/UIControl+Extensions.swift:18:65: error: 'UIControl' is unavailable in watchOS
16 |
17 | static func appEvent(at position: UInt) -> UIControl.Event {
18 | let value = (firstAvailableAppEventValue << position) & UIControl.Event.applicationReserved.rawValue
| `- error: 'UIControl' is unavailable in watchOS
19 |
20 | guard value != 0 else { fatalError("App event not available at position \(position)") }
/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/UIControl+Extensions.swift:22:16: error: 'UIControl' is unavailable in watchOS
20 | guard value != 0 else { fatalError("App event not available at position \(position)") }
21 |
22 | return UIControl.Event(rawValue: value)
| `- error: 'UIControl' is unavailable in watchOS
23 | }
24 |
/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/UIControl+Extensions.swift:47:65: error: 'UIControl' is unavailable in watchOS
45 |
46 | static func appState(at position: UInt) -> UIControl.State? {
47 | let value = (firstAvailableAppStateValue << position) & UIControl.State.application.rawValue
| `- error: 'UIControl' is unavailable in watchOS
48 |
49 | guard value != 0 else { return nil }
/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/UIControl+Extensions.swift (in target 'AugmentedButton' from project 'AugmentedButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIControl+Extensions.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ AugmentedButton (in target 'AugmentedButton' from project 'AugmentedButton')
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:15:59: error: 'UIControl' is unavailable in watchOS
13 |
14 | open
15 | func setBackgroundColor(_ color: UIColor?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
16 | setValue(color, forKeyPath: \.backgroundColor, for: state)
17 | }
/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/AugmentedButton+StateValues.swift:14:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
12 | extension AugmentedButton {
13 |
14 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
15 | func setBackgroundColor(_ color: UIColor?, for state: UIControl.State) {
16 | setValue(color, forKeyPath: \.backgroundColor, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:20:53: error: 'UIControl' is unavailable in watchOS
18 |
19 | open
20 | func setTintColor(_ color: UIColor?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
21 | setValue(color, forKeyPath: \.tintColor, for: state)
22 | }
/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/AugmentedButton+StateValues.swift:19:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
17 | }
18 |
19 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
20 | func setTintColor(_ color: UIColor?, for state: UIControl.State) {
21 | setValue(color, forKeyPath: \.tintColor, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:25:55: error: 'UIControl' is unavailable in watchOS
23 |
24 | open
25 | func setBorderColor(_ color: UIColor?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
26 | setValue(color, forKeyPath: \.borderColor, for: state)
27 | }
/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/AugmentedButton+StateValues.swift:24:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
22 | }
23 |
24 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
25 | func setBorderColor(_ color: UIColor?, for state: UIControl.State) {
26 | setValue(color, forKeyPath: \.borderColor, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:30:54: error: 'UIControl' is unavailable in watchOS
28 |
29 | open
30 | func setBorderWidth(_ width: CGFloat, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
31 | setValue(width, forKeyPath: \.borderWidth, for: state)
32 | }
/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/AugmentedButton+StateValues.swift:29:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
27 | }
28 |
29 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
30 | func setBorderWidth(_ width: CGFloat, for state: UIControl.State) {
31 | setValue(width, forKeyPath: \.borderWidth, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:35:56: error: 'UIControl' is unavailable in watchOS
33 |
34 | open
35 | func setCornerRadius(_ radius: CGFloat, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
36 | setValue(radius, forKeyPath: \.cornerRadius, for: state)
37 | }
/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/AugmentedButton+StateValues.swift:34:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
32 | }
33 |
34 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
35 | func setCornerRadius(_ radius: CGFloat, for state: UIControl.State) {
36 | setValue(radius, forKeyPath: \.cornerRadius, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:40:37: error: 'UIControl' is unavailable in watchOS
38 |
39 | open
40 | func backgroundColor(for state: UIControl.State) -> UIColor? {
| `- error: 'UIControl' is unavailable in watchOS
41 | return valueForKeyPath(\.backgroundColor, for: state)?.map( { $0 })
42 | }
/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/AugmentedButton+StateValues.swift:39:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
37 | }
38 |
39 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
40 | func backgroundColor(for state: UIControl.State) -> UIColor? {
41 | return valueForKeyPath(\.backgroundColor, for: state)?.map( { $0 })
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:45:31: error: 'UIControl' is unavailable in watchOS
43 |
44 | open
45 | func tintColor(for state: UIControl.State) -> UIColor? {
| `- error: 'UIControl' is unavailable in watchOS
46 | return valueForKeyPath(\.tintColor, for: state)?.map( { $0 })
47 | }
/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/AugmentedButton+StateValues.swift:44:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
42 | }
43 |
44 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
45 | func tintColor(for state: UIControl.State) -> UIColor? {
46 | return valueForKeyPath(\.tintColor, for: state)?.map( { $0 })
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:50:33: error: 'UIControl' is unavailable in watchOS
48 |
49 | open
50 | func borderColor(for state: UIControl.State) -> UIColor? {
| `- error: 'UIControl' is unavailable in watchOS
51 | return valueForKeyPath(\.borderColor, for: state)?.map( { $0 })
52 | }
/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/AugmentedButton+StateValues.swift:49:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
47 | }
48 |
49 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
50 | func borderColor(for state: UIControl.State) -> UIColor? {
51 | return valueForKeyPath(\.borderColor, for: state)?.map( { $0 })
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:55:33: error: 'UIControl' is unavailable in watchOS
53 |
54 | open
55 | func borderWidth(for state: UIControl.State) -> CGFloat {
| `- error: 'UIControl' is unavailable in watchOS
56 | return valueForKeyPath(\.borderWidth, for: state) ?? 0
57 | }
/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/AugmentedButton+StateValues.swift:54:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
52 | }
53 |
54 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
55 | func borderWidth(for state: UIControl.State) -> CGFloat {
56 | return valueForKeyPath(\.borderWidth, for: state) ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:60:34: error: 'UIControl' is unavailable in watchOS
58 |
59 | open
60 | func cornerRadius(for state: UIControl.State) -> CGFloat {
| `- error: 'UIControl' is unavailable in watchOS
61 | return valueForKeyPath(\.cornerRadius, for: state) ?? 0
62 | }
/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/AugmentedButton+StateValues.swift:59:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
57 | }
58 |
59 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
60 | func cornerRadius(for state: UIControl.State) -> CGFloat {
61 | return valueForKeyPath(\.cornerRadius, for: state) ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:64:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
62 | }
63 |
64 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
65 | func currentBackgroundColor() -> UIColor? {
66 | return currentValueForKeyPath(\.backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:69:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
67 | }
68 |
69 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
70 | func currentTintColor() -> UIColor? {
71 | return currentValueForKeyPath(\.tintColor)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:74:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
72 | }
73 |
74 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
75 | func currentBorderColor() -> UIColor? {
76 | return currentValueForKeyPath(\.borderColor)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:79:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
77 | }
78 |
79 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
80 | func currentBorderWidth() -> CGFloat {
81 | return currentValueForKeyPath(\.borderWidth)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton+StateValues.swift:84:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
82 | }
83 |
84 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
85 | func currentCornerRadius() -> CGFloat {
86 | return currentValueForKeyPath(\.cornerRadius)
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:13:27: error: 'UIControl' is unavailable in watchOS
11 | public
12 | extension UIControl.Event {
13 | static let longPress: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
| `- error: 'UIControl' is unavailable in watchOS
14 | }
15 |
/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/AugmentedButton.swift:13:45: error: 'UIControl' is unavailable in watchOS
11 | public
12 | extension UIControl.Event {
13 | static let longPress: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
| `- error: 'UIControl' is unavailable in watchOS
14 | }
15 |
/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/AugmentedButton.swift:12:11: error: 'UIControl' is unavailable in watchOS
10 |
11 | public
12 | extension UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
13 | static let longPress: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
14 | }
/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/AugmentedButton.swift:146:42: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
144 | }
145 |
146 | private lazy var _longPressGesture = UILongPressGestureRecognizer(target: self, action: #selector(didLongPress(_:)))
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
147 |
148 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:28:87: error: 'UIControl' is unavailable in watchOS
26 |
27 | open
28 | func setActions(_ block: @escaping Actions, named name: String? = nil, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
29 | var blockGroup: [String:[Actions]] = stateBlocks[state] ?? [:]
30 | var blocks: [Actions]
/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/AugmentedButton.swift:49:34: error: 'UIControl' is unavailable in watchOS
47 |
48 | open
49 | func clearActions(for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
50 | update(to: .normal)
51 | stateBlocks.removeValue(forKey: 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/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/AugmentedButton.swift:63:23: error: 'UIControl' is unavailable in watchOS
61 |
62 | private
63 | var stateBlocks: [UIControl.State: [String: [Actions]]] = [:]
| `- error: 'UIControl' is unavailable in watchOS
64 |
65 | open
/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/AugmentedButton.swift:66:135: error: 'UIControl' is unavailable in watchOS
64 |
65 | open
66 | func setValue<Root: AugmentedButton, Value>(_ value: Value, forKeyPath keyPath: ReferenceWritableKeyPath<Root, Value>, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
67 | precondition(self is Root, "keyPath must be relative to Self")
68 |
/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/AugmentedButton.swift:89:100: error: 'UIControl' is unavailable in watchOS
87 |
88 | open
89 | func valueForKeyPath<Root: AugmentedButton, Value>(_ keyPath: KeyPath<Root, Value>, for state: UIControl.State) -> Value? {
| `- error: 'UIControl' is unavailable in watchOS
90 | precondition(self is Root, "keyPath must be relative to Self")
91 |
/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/AugmentedButton.swift:109:82: error: 'UIControl' is unavailable in watchOS
107 |
108 | open
109 | override func addTarget(_ target: Any?, action: Selector, for controlEvents: UIControl.Event) {
| `- error: 'UIControl' is unavailable in watchOS
110 | super.addTarget(target, action: action, for: controlEvents)
111 |
/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/AugmentedButton.swift:126:91: error: 'UIControl' is unavailable in watchOS
124 | }
125 |
126 | open override func removeTarget(_ target: Any?, action: Selector?, for controlEvents: UIControl.Event) {
| `- error: 'UIControl' is unavailable in watchOS
127 | super.removeTarget(target, action: action, for: controlEvents)
128 |
/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/AugmentedButton.swift:140:34: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
138 | }
139 |
140 | public var longPressGesture: UILongPressGestureRecognizer? {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
141 | guard allControlEvents.contains(.longPress) else { return nil }
142 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:150:33: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
148 |
149 | @IBAction private
150 | func didLongPress(_ sender: UILongPressGestureRecognizer) {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
151 | if sender.state == .began {
152 | sendActions(for: .longPress)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:187:102: error: 'UIControl' is unavailable in watchOS
185 | extension AugmentedButton {
186 |
187 | func actionsForKeyPath<Root: AugmentedButton, Value>(_ keyPath: KeyPath<Root, Value>, for state: UIControl.State) -> Actions? {
| `- error: 'UIControl' is unavailable in watchOS
188 | return stateBlocks[state]?[keyPath.ab_stateBlockKey]?.first
189 | }
/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/AugmentedButton.swift:191:27: error: 'UIControl' is unavailable in watchOS
189 | }
190 |
191 | func update(to state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
192 | guard let blocks = stateBlocks[state] else { return }
193 |
/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/AugmentedButton.swift:212:65: error: 'UIControl' is unavailable in watchOS
210 | @available(*, deprecated, message: "Use setValue(_,forKeyPath:,for:) instead")
211 | open
212 | func setValue(_ value: Any?, forKey key: String, for state: UIControl.State) throws {
| `- error: 'UIControl' is unavailable in watchOS
213 | guard responds(to: Selector(key)) else {
214 | throw AugmentedButtonError.undefinedKey
/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/AugmentedButton.swift:211:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
209 | extension AugmentedButton {
210 | @available(*, deprecated, message: "Use setValue(_,forKeyPath:,for:) instead")
211 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
212 | func setValue(_ value: Any?, forKey key: String, for state: UIControl.State) throws {
213 | guard responds(to: Selector(key)) else {
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:239:48: error: 'UIControl' is unavailable in watchOS
237 | @available(*, deprecated, message: "Use valueForKeyPath(_,for:) instead")
238 | open
239 | func valueForKey(_ key: String, for state: UIControl.State) throws -> Any? {
| `- error: 'UIControl' is unavailable in watchOS
240 | guard responds(to: Selector(key)) else {
241 | throw AugmentedButtonError.undefinedKey
/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/AugmentedButton.swift:238:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
236 |
237 | @available(*, deprecated, message: "Use valueForKeyPath(_,for:) instead")
238 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
239 | func valueForKey(_ key: String, for state: UIControl.State) throws -> Any? {
240 | guard responds(to: Selector(key)) else {
/Users/admin/builder/spi-builder-workspace/Sources/AugmentedButton.swift:254:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
252 |
253 | @available(*, deprecated, message: "Use currentValueForKeyPath(_) instead")
254 | open
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
255 | func currentValueForKey(_ key: String) throws -> Any? {
256 | return try valueForKey(key, for: state)
/Users/admin/builder/spi-builder-workspace/Sources/StateObservableButton.swift:13:30: error: 'UIControl' is unavailable in watchOS
11 | public
12 | extension UIControl.Event {
13 | static let stateChanged: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
| `- error: 'UIControl' is unavailable in watchOS
14 | }
15 |
/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/StateObservableButton.swift:13:48: error: 'UIControl' is unavailable in watchOS
11 | public
12 | extension UIControl.Event {
13 | static let stateChanged: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
| `- error: 'UIControl' is unavailable in watchOS
14 | }
15 |
/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/StateObservableButton.swift:12:11: error: 'UIControl' is unavailable in watchOS
10 |
11 | public
12 | extension UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
13 | static let stateChanged: UIControl.Event = UIControl.Event.nextAvailableAppEvent()
14 | }
/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/StateObservableButton.swift:25:21: error: 'UIControl' is unavailable in watchOS
23 | /// the state-changed actions only get called once.
24 | private
25 | var priorState: UIControl.State = .normal
| `- error: 'UIControl' is unavailable in watchOS
26 |
27 | override open var isEnabled: Bool {
/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/StateObservableButton.swift:17:30: error: 'UIButton' is unavailable in watchOS
15 |
16 | open
17 | class StateObservableButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
18 |
19 | /// Prior state is used to compare the state before
/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/UIControl+Extensions.swift:14:55: error: 'UIControl' is unavailable in watchOS
12 | extension UIControl.Event {
13 |
14 | static let firstAvailableAppEventValue: UInt = (~(UIControl.Event.systemReserved.rawValue | UIControl.Event.applicationReserved.rawValue) + 1) & UIControl.Event.applicationReserved.rawValue
| `- error: 'UIControl' is unavailable in watchOS
15 |
16 |
/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/UIControl+Extensions.swift:14:97: error: 'UIControl' is unavailable in watchOS
12 | extension UIControl.Event {
13 |
14 | static let firstAvailableAppEventValue: UInt = (~(UIControl.Event.systemReserved.rawValue | UIControl.Event.applicationReserved.rawValue) + 1) & UIControl.Event.applicationReserved.rawValue
| `- error: 'UIControl' is unavailable in watchOS
15 |
16 |
/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/UIControl+Extensions.swift:14:150: error: 'UIControl' is unavailable in watchOS
12 | extension UIControl.Event {
13 |
14 | static let firstAvailableAppEventValue: UInt = (~(UIControl.Event.systemReserved.rawValue | UIControl.Event.applicationReserved.rawValue) + 1) & UIControl.Event.applicationReserved.rawValue
| `- error: 'UIControl' is unavailable in watchOS
15 |
16 |
/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/UIControl+Extensions.swift:17:48: error: 'UIControl' is unavailable in watchOS
15 |
16 |
17 | static func appEvent(at position: UInt) -> UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
18 | let value = (firstAvailableAppEventValue << position) & UIControl.Event.applicationReserved.rawValue
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/UIControl+Extensions.swift:28:44: error: 'UIControl' is unavailable in watchOS
26 | static var lastUsedPosition: UInt?
27 |
28 | static func nextAvailableAppEvent() -> UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
29 | if let p = lastUsedPosition {
30 | lastUsedPosition = p + 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/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/UIControl+Extensions.swift:12:11: error: 'UIControl' is unavailable in watchOS
10 |
11 | public
12 | extension UIControl.Event {
| `- error: 'UIControl' is unavailable in watchOS
13 |
14 | static let firstAvailableAppEventValue: UInt = (~(UIControl.Event.systemReserved.rawValue | UIControl.Event.applicationReserved.rawValue) + 1) & UIControl.Event.applicationReserved.rawValue
/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/UIControl+Extensions.swift:43:55: error: 'UIControl' is unavailable in watchOS
41 | extension UIControl.State {
42 |
43 | static let firstAvailableAppStateValue: UInt = (~(UIControl.State.reserved.rawValue | UIControl.State.application.rawValue) + 1) & UIControl.State.application.rawValue
| `- error: 'UIControl' is unavailable in watchOS
44 |
45 |
/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/UIControl+Extensions.swift:43:91: error: 'UIControl' is unavailable in watchOS
41 | extension UIControl.State {
42 |
43 | static let firstAvailableAppStateValue: UInt = (~(UIControl.State.reserved.rawValue | UIControl.State.application.rawValue) + 1) & UIControl.State.application.rawValue
| `- error: 'UIControl' is unavailable in watchOS
44 |
45 |
/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/UIControl+Extensions.swift:43:136: error: 'UIControl' is unavailable in watchOS
41 | extension UIControl.State {
42 |
43 | static let firstAvailableAppStateValue: UInt = (~(UIControl.State.reserved.rawValue | UIControl.State.application.rawValue) + 1) & UIControl.State.application.rawValue
| `- error: 'UIControl' is unavailable in watchOS
44 |
45 |
/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/UIControl+Extensions.swift:46:48: error: 'UIControl' is unavailable in watchOS
44 |
45 |
46 | static func appState(at position: UInt) -> UIControl.State? {
| `- error: 'UIControl' is unavailable in watchOS
47 | let value = (firstAvailableAppStateValue << position) & UIControl.State.application.rawValue
48 |
/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/UIControl+Extensions.swift:57:44: error: 'UIControl' is unavailable in watchOS
55 | static var lastUsedPosition: UInt?
56 |
57 | static func nextAvailableAppState() -> UIControl.State? {
| `- error: 'UIControl' is unavailable in watchOS
58 | if let p = lastUsedPosition {
59 | lastUsedPosition = p + 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/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/UIControl+Extensions.swift:41:11: error: 'UIControl' is unavailable in watchOS
39 |
40 | public
41 | extension UIControl.State {
| `- error: 'UIControl' is unavailable in watchOS
42 |
43 | static let firstAvailableAppStateValue: UInt = (~(UIControl.State.reserved.rawValue | UIControl.State.application.rawValue) + 1) & UIControl.State.application.rawValue
/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/UIControl+Extensions.swift:68:1: warning: extension declares a conformance of imported type 'State' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'UIKit' introduce this conformance in the future
66 | }
67 |
68 | extension UIControl.State: Hashable {
| |- warning: extension declares a conformance of imported type 'State' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'UIKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
69 | public func hash(into hasher: inout Hasher) {
70 | hasher.combine(rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/UIControl+Extensions.swift:68:11: error: 'UIControl' is unavailable in watchOS
66 | }
67 |
68 | extension UIControl.State: Hashable {
| `- error: 'UIControl' is unavailable in watchOS
69 | public func hash(into hasher: inout Hasher) {
70 | hasher.combine(rawValue)
/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 (in target 'AugmentedButton' from project 'AugmentedButton')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-18 02:03:37.306 xcodebuild[813:4971] [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 'AugmentedButton' from project 'AugmentedButton')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ AugmentedButton (in target 'AugmentedButton' from project 'AugmentedButton')
Building workspace AugmentedButton with scheme AugmentedButton
(3 failures)
BUILD FAILURE 6.4 watchOS