Build Information
Failed to build ViewKit, reference 1.0.0 (dafb66), with Swift 6.4 for watchOS using Xcode 27.0 on 19 Sep 2026 05:53:59 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 ViewKit -destination generic/platform=watchOSBuild Log
146 | addAction(UIAction { _ in
147 | action(self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ViewKit/UIButton.swift:1:18: error: 'UIButton' is unavailable in watchOS
1 | public extension UIButton {
| `- error: 'UIButton' is unavailable in watchOS
2 |
3 | // MARK: - 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/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/ViewKit/UIButton.swift:153:18: error: 'UIButton' is unavailable in watchOS
151 | }
152 |
153 | public extension UIButton {
| `- error: 'UIButton' is unavailable in watchOS
154 | convenience init(_ title: String) {
155 | self.init(frame: .zero)
/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/ViewKit/UIButton.swift:22:14: error: 'configuration' is unavailable in watchOS
20 | @discardableResult
21 | func configuration(_ configuration: UIButton.Configuration) -> Self {
22 | self.configuration = configuration
| `- error: 'configuration' is unavailable in watchOS
23 | return self
24 | }
UIKit.UIButton.configuration:2:39: note: 'configuration' has been explicitly marked unavailable here
1 | class UIButton {
2 | @MainActor @preconcurrency public var configuration: UIButton.Configuration? { get set }}
| `- note: 'configuration' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift:29:14: error: 'automaticallyUpdatesConfiguration' is unavailable in watchOS
27 | @discardableResult
28 | func automaticallyUpdatesConfiguration(_ automaticallyUpdatesConfiguration: Bool) -> Self {
29 | self.automaticallyUpdatesConfiguration = automaticallyUpdatesConfiguration
| `- error: 'automaticallyUpdatesConfiguration' is unavailable in watchOS
30 | return self
31 | }
/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:80:47: note: 'automaticallyUpdatesConfiguration' has been explicitly marked unavailable here
78 |
79 | /// When YES, the button will automatically call -updatedConfigurationForButton: on its `configuration ` when the button's state changes, and apply the updated configuration to the button. The default value is YES.
80 | @property (nonatomic, readwrite, assign) BOOL automaticallyUpdatesConfiguration API_AVAILABLE(ios(15.0), tvos(15.0)) API_UNAVAILABLE(watchos);
| `- note: 'automaticallyUpdatesConfiguration' has been explicitly marked unavailable here
81 |
82 | @property(null_resettable, nonatomic,strong) UIColor *tintColor API_AVAILABLE(ios(5.0)); // The tintColor is inherited through the superview hierarchy. See UIView for more information.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift:36:14: error: 'configurationUpdateHandler' is unavailable in watchOS
34 | @discardableResult
35 | func configurationUpdateHandler(_ configurationUpdateHandler: UIButton.ConfigurationUpdateHandler?) -> Self {
36 | self.configurationUpdateHandler = configurationUpdateHandler
| `- error: 'configurationUpdateHandler' is unavailable in watchOS
37 | return self
38 | }
/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:77:85: note: 'configurationUpdateHandler' has been explicitly marked unavailable here
75 |
76 | /// Block-based equivalent to overriding -updateConfiguration in a subclass. Setting this handler will force the button into configuration-based behavior (see the `configuration` property). This block is called after `-updateConfiguration`
77 | @property (nonatomic, readwrite, copy, nullable) UIButtonConfigurationUpdateHandler configurationUpdateHandler API_AVAILABLE(ios(15.0), tvos(15.0)) API_UNAVAILABLE(watchos);
| `- note: 'configurationUpdateHandler' has been explicitly marked unavailable here
78 |
79 | /// When YES, the button will automatically call -updatedConfigurationForButton: on its `configuration ` when the button's state changes, and apply the updated configuration to the button. The default value is YES.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift:96:14: error: 'setPreferredSymbolConfiguration(_:forImageIn:)' is unavailable in watchOS
94 | @discardableResult
95 | func preferredSymbolConfiguration(_ preferredSymbolConfiguration: UIImage.SymbolConfiguration?, forImageIn state: UIControl.State) -> Self {
96 | self.setPreferredSymbolConfiguration(preferredSymbolConfiguration, forImageIn: state)
| `- error: 'setPreferredSymbolConfiguration(_:forImageIn:)' is unavailable in watchOS
97 | return self
98 | }
/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:124:1: note: 'setPreferredSymbolConfiguration(_:forImageIn:)' has been explicitly marked unavailable here
122 | - (void)setImage:(nullable UIImage *)image forState:(UIControlState)state; // default is nil. should be same size if different for different states
123 | - (void)setBackgroundImage:(nullable UIImage *)image forState:(UIControlState)state UI_APPEARANCE_SELECTOR; // default is nil
124 | - (void)setPreferredSymbolConfiguration:(nullable UIImageSymbolConfiguration *)configuration forImageInState:(UIControlState)state UI_APPEARANCE_SELECTOR API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'setPreferredSymbolConfiguration(_:forImageIn:)' has been explicitly marked unavailable here
125 | - (void)setAttributedTitle:(nullable NSAttributedString *)title forState:(UIControlState)state API_AVAILABLE(ios(6.0)); // default is nil. title is assumed to be single line
126 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift:105:14: error: 'role' is unavailable in watchOS
103 | @discardableResult
104 | func role(_ role: UIButton.Role) -> Self {
105 | self.role = role
| `- error: 'role' is unavailable in watchOS
106 | return self
107 | }
/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:91:36: note: 'role' has been explicitly marked unavailable here
89 | @property (nonatomic, assign, readonly, getter = isHeld) BOOL held API_AVAILABLE(ios(15.0), tvos(15.0)) API_UNAVAILABLE(watchos);
90 |
91 | @property (nonatomic) UIButtonRole role API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos); // default is UIButtonRoleNormal.
| `- note: 'role' has been explicitly marked unavailable here
92 |
93 | /// Enables this button's built-in pointer interaction.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift:114:14: error: 'preferredBehavioralStyle' is unavailable in watchOS
112 | @discardableResult
113 | func preferredBehavioralStyle(_ preferredBehavioralStyle: UIBehavioralStyle) -> Self {
114 | self.preferredBehavioralStyle = preferredBehavioralStyle
| `- error: 'preferredBehavioralStyle' is unavailable in watchOS
115 | return self
116 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBehavioralStyle.h:34:41: note: 'preferredBehavioralStyle' has been explicitly marked unavailable here
32 |
33 | /// Request a style for the button. If the style changed, the button will redraw and its metrics may change.
34 | @property (nonatomic) UIBehavioralStyle preferredBehavioralStyle API_AVAILABLE(ios(15.0), macCatalyst(15.0)) API_UNAVAILABLE(watchos, tvos);
| `- note: 'preferredBehavioralStyle' has been explicitly marked unavailable here
35 |
36 | @end
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift:123:14: error: 'menu' is unavailable in watchOS
121 | @discardableResult
122 | func menu(_ menu: UIMenu?) -> Self {
123 | self.menu = menu
| `- error: 'menu' is unavailable in watchOS
124 | return self
125 | }
/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:105:58: note: 'menu' has been explicitly marked unavailable here
103 |
104 | /// An optional menu for the button to display. The button will automatically enable or disable its contextMenuInteraction when a non-nil or nil menu is set. Defaults to nil.
105 | @property (nonatomic, readwrite, copy, nullable) UIMenu *menu API_AVAILABLE(ios(14.0), tvos(17.0)) API_UNAVAILABLE(watchos);
| `- note: 'menu' has been explicitly marked unavailable here
106 |
107 | /// Preferred menu element ordering strategy for menus displayed by this button.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift:130:14: error: 'changesSelectionAsPrimaryAction' is unavailable in watchOS
128 | @discardableResult
129 | func changesSelectionAsPrimaryAction(_ changesSelectionAsPrimaryAction: Bool) -> Self {
130 | self.changesSelectionAsPrimaryAction = changesSelectionAsPrimaryAction
| `- error: 'changesSelectionAsPrimaryAction' is unavailable in watchOS
131 | return self
132 | }
/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:113:47: note: 'changesSelectionAsPrimaryAction' has been explicitly marked unavailable here
111 | /// This shows the menu as options for selection if a menu is populated and showsMenuAsPrimaryAction is enabled.
112 | /// If no menu is provided or it is not the primary action, UIControlStateSelected is toggled on and off for the primary action.
113 | @property (nonatomic, readwrite, assign) BOOL changesSelectionAsPrimaryAction API_AVAILABLE(ios(15.0), tvos(17.0)) API_UNAVAILABLE(watchos);
| `- note: 'changesSelectionAsPrimaryAction' has been explicitly marked unavailable here
114 |
115 | // you can set the image, title color, title shadow color, and background image to use for each state. you can specify data
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift:137:14: error: 'preferredMenuElementOrder' is unavailable in watchOS
135 | @discardableResult
136 | func preferredMenuElementOrder(_ order: UIContextMenuConfiguration.ElementOrder) -> Self {
137 | self.preferredMenuElementOrder = order
| `- error: 'preferredMenuElementOrder' is unavailable in watchOS
138 | return self
139 | }
/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:108:62: note: 'preferredMenuElementOrder' has been explicitly marked unavailable here
106 |
107 | /// Preferred menu element ordering strategy for menus displayed by this button.
108 | @property (nonatomic) UIContextMenuConfigurationElementOrder preferredMenuElementOrder API_AVAILABLE(ios(16.0), tvos(17.0)) API_UNAVAILABLE(watchos);
| `- note: 'preferredMenuElementOrder' has been explicitly marked unavailable here
109 |
110 | /// Indicates if the button changes selection as its primary action.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift:146:9: error: 'addAction(_:for:)' is unavailable in watchOS
144 | @discardableResult
145 | func action(_ action: @escaping (UIButton) -> Void) -> Self {
146 | addAction(UIAction { _ in
| `- error: 'addAction(_:for:)' is unavailable in watchOS
147 | action(self)
148 | }, for: .touchUpInside)
/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:109:1: note: 'addAction(_:for:)' has been explicitly marked unavailable here
107 |
108 | /// Adds the UIAction to a given event. UIActions are uniqued based on their identifier, and subsequent actions with the same identifier replace previously added actions. You may add multiple UIActions for corresponding controlEvents, and you may add the same action to multiple controlEvents.
109 | - (void)addAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
| `- note: 'addAction(_:for:)' has been explicitly marked unavailable here
110 | /// Removes the action from the set of passed control events.
111 | - (void)removeAction:(UIAction *)action forControlEvents:(UIControlEvents)controlEvents API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift:146:19: error: 'UIAction' is unavailable in watchOS
144 | @discardableResult
145 | func action(_ action: @escaping (UIButton) -> Void) -> Self {
146 | addAction(UIAction { _ in
| `- error: 'UIAction' is unavailable in watchOS
147 | action(self)
148 | }, for: .touchUpInside)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift:146:19: error: 'init(handler:)' is unavailable in watchOS
144 | @discardableResult
145 | func action(_ action: @escaping (UIButton) -> Void) -> Self {
146 | addAction(UIAction { _ in
| `- error: 'init(handler:)' is unavailable in watchOS
147 | action(self)
148 | }, for: .touchUpInside)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:59:1: note: 'init(handler:)' has been explicitly marked unavailable here
57 | * @return A new UIAction.
58 | */
59 | + (instancetype)actionWithHandler:(UIActionHandler)handler API_AVAILABLE(ios(14.0)) NS_SWIFT_UNAVAILABLE("Use init(title:image:identifier:discoverabilityTitle:attributes:state:handler:) instead.") API_UNAVAILABLE(watchos);
| `- note: 'init(handler:)' has been explicitly marked unavailable here
60 |
61 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIControl.swift:25:63: error: 'ContentVerticalAlignment' is unavailable in watchOS
23 |
24 | @discardableResult
25 | func contentVerticalAlignment(_ contentVerticalAlignment: ContentVerticalAlignment) -> Self {
| `- error: 'ContentVerticalAlignment' is unavailable in watchOS
26 | self.contentVerticalAlignment = contentVerticalAlignment
27 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:43:28: note: 'ContentVerticalAlignment' has been explicitly marked unavailable here
41 | } API_UNAVAILABLE(watchos);
42 |
43 | typedef NS_ENUM(NSInteger, UIControlContentVerticalAlignment) {
| `- note: 'ContentVerticalAlignment' has been explicitly marked unavailable here
44 | UIControlContentVerticalAlignmentCenter = 0,
45 | UIControlContentVerticalAlignmentTop = 1,
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift (in target 'ViewKit' from project 'ViewKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIButton.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIControl.swift (in target 'ViewKit' from project 'ViewKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIControl.swift
SwiftCompile normal arm64 Compiling\ Filler.swift,\ @_exported.swift /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/Filler.swift /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift (in target 'ViewKit' from project 'ViewKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/Filler.swift (in target 'ViewKit' from project 'ViewKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Filler.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift (in target 'ViewKit' from project 'ViewKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile @_exported.swift
SwiftCompile normal arm64 Compiling\ UIStackView.swift /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift (in target 'ViewKit' from project 'ViewKit')
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:1:41: error: 'UIView' is unavailable in watchOS
1 | public func For<T: Collection, Content: UIView>(
| `- error: 'UIView' is unavailable in watchOS
2 | _ items: T,
3 | _ builder: (T.Element) -> Content
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:10:47: error: 'UIView' is unavailable in watchOS
8 | @resultBuilder
9 | public struct StackViewBuilder {
10 | public static func buildBlock(_ children: UIView...) -> [UIView] { children }
| `- error: 'UIView' is unavailable in watchOS
11 | public static func buildBlock(_ children: [UIView]) -> [UIView] { children }
12 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:10:62: error: 'UIView' is unavailable in watchOS
8 | @resultBuilder
9 | public struct StackViewBuilder {
10 | public static func buildBlock(_ children: UIView...) -> [UIView] { children }
| `- error: 'UIView' is unavailable in watchOS
11 | public static func buildBlock(_ children: [UIView]) -> [UIView] { children }
12 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:11:48: error: 'UIView' is unavailable in watchOS
9 | public struct StackViewBuilder {
10 | public static func buildBlock(_ children: UIView...) -> [UIView] { children }
11 | public static func buildBlock(_ children: [UIView]) -> [UIView] { children }
| `- error: 'UIView' is unavailable in watchOS
12 | }
13 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:11:61: error: 'UIView' is unavailable in watchOS
9 | public struct StackViewBuilder {
10 | public static func buildBlock(_ children: UIView...) -> [UIView] { children }
11 | public static func buildBlock(_ children: [UIView]) -> [UIView] { children }
| `- error: 'UIView' is unavailable in watchOS
12 | }
13 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:16:15: error: 'NSLayoutConstraint' is unavailable in watchOS
14 | public extension UIStackView {
15 | convenience init(
16 | axis: NSLayoutConstraint.Axis,
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
17 | spacing: CGFloat = 10,
18 | distribution: Distribution = .fill,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:18:23: error: 'Distribution' is unavailable in watchOS
16 | axis: NSLayoutConstraint.Axis,
17 | spacing: CGFloat = 10,
18 | distribution: Distribution = .fill,
| `- error: 'Distribution' is unavailable in watchOS
19 | alignment: Alignment = .center,
20 | @StackViewBuilder _ builder: () -> [UIView]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:17:28: note: 'Distribution' has been explicitly marked unavailable here
15 | and except for UIStackViewDistributionFillEqually, fit all items to intrinsicContentSize when possible.
16 | */
17 | typedef NS_ENUM(NSInteger, UIStackViewDistribution) {
| `- note: 'Distribution' has been explicitly marked unavailable here
18 |
19 | /* When items do not fit (overflow) or fill (underflow) the space available
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:19:20: error: 'Alignment' is unavailable in watchOS
17 | spacing: CGFloat = 10,
18 | distribution: Distribution = .fill,
19 | alignment: Alignment = .center,
| `- error: 'Alignment' is unavailable in watchOS
20 | @StackViewBuilder _ builder: () -> [UIView]
21 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:57:28: note: 'Alignment' has been explicitly marked unavailable here
55 | /* Alignment—the layout transverse to the stacking axis.
56 | */
57 | typedef NS_ENUM(NSInteger, UIStackViewAlignment) {
| `- note: 'Alignment' has been explicitly marked unavailable here
58 | /* Align the leading and trailing edges of vertically stacked items
59 | or the top and bottom edges of horizontally stacked items tightly to the container.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:20:45: error: 'UIView' is unavailable in watchOS
18 | distribution: Distribution = .fill,
19 | alignment: Alignment = .center,
20 | @StackViewBuilder _ builder: () -> [UIView]
| `- error: 'UIView' is unavailable in watchOS
21 | ) {
22 | self.init(arrangedSubviews: builder())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:14:18: error: 'UIStackView' is unavailable in watchOS
12 | }
13 |
14 | public extension UIStackView {
| `- error: 'UIStackView' is unavailable in watchOS
15 | convenience init(
16 | axis: NSLayoutConstraint.Axis,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:33:23: error: 'Distribution' is unavailable in watchOS
31 | public convenience init(
32 | spacing: CGFloat = 10,
33 | distribution: Distribution = .fill,
| `- error: 'Distribution' is unavailable in watchOS
34 | alignment: Alignment = .center,
35 | @StackViewBuilder _ builder: () -> [UIView]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:17:28: note: 'Distribution' has been explicitly marked unavailable here
15 | and except for UIStackViewDistributionFillEqually, fit all items to intrinsicContentSize when possible.
16 | */
17 | typedef NS_ENUM(NSInteger, UIStackViewDistribution) {
| `- note: 'Distribution' has been explicitly marked unavailable here
18 |
19 | /* When items do not fit (overflow) or fill (underflow) the space available
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:34:20: error: 'Alignment' is unavailable in watchOS
32 | spacing: CGFloat = 10,
33 | distribution: Distribution = .fill,
34 | alignment: Alignment = .center,
| `- error: 'Alignment' is unavailable in watchOS
35 | @StackViewBuilder _ builder: () -> [UIView]
36 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:57:28: note: 'Alignment' has been explicitly marked unavailable here
55 | /* Alignment—the layout transverse to the stacking axis.
56 | */
57 | typedef NS_ENUM(NSInteger, UIStackViewAlignment) {
| `- note: 'Alignment' has been explicitly marked unavailable here
58 | /* Align the leading and trailing edges of vertically stacked items
59 | or the top and bottom edges of horizontally stacked items tightly to the container.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:35:45: error: 'UIView' is unavailable in watchOS
33 | distribution: Distribution = .fill,
34 | alignment: Alignment = .center,
35 | @StackViewBuilder _ builder: () -> [UIView]
| `- error: 'UIView' is unavailable in watchOS
36 | ) {
37 | self.init(arrangedSubviews: builder())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:30:29: error: 'UIStackView' is unavailable in watchOS
28 | }
29 |
30 | public class VerticalStack: UIStackView {
| `- error: 'UIStackView' is unavailable in watchOS
31 | public convenience init(
32 | spacing: CGFloat = 10,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:48:23: error: 'Distribution' is unavailable in watchOS
46 | public convenience init(
47 | spacing: CGFloat = 10,
48 | distribution: Distribution = .fillProportionally,
| `- error: 'Distribution' is unavailable in watchOS
49 | alignment: Alignment = .center,
50 | @StackViewBuilder _ builder: () -> [UIView]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:17:28: note: 'Distribution' has been explicitly marked unavailable here
15 | and except for UIStackViewDistributionFillEqually, fit all items to intrinsicContentSize when possible.
16 | */
17 | typedef NS_ENUM(NSInteger, UIStackViewDistribution) {
| `- note: 'Distribution' has been explicitly marked unavailable here
18 |
19 | /* When items do not fit (overflow) or fill (underflow) the space available
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:49:20: error: 'Alignment' is unavailable in watchOS
47 | spacing: CGFloat = 10,
48 | distribution: Distribution = .fillProportionally,
49 | alignment: Alignment = .center,
| `- error: 'Alignment' is unavailable in watchOS
50 | @StackViewBuilder _ builder: () -> [UIView]
51 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:57:28: note: 'Alignment' has been explicitly marked unavailable here
55 | /* Alignment—the layout transverse to the stacking axis.
56 | */
57 | typedef NS_ENUM(NSInteger, UIStackViewAlignment) {
| `- note: 'Alignment' has been explicitly marked unavailable here
58 | /* Align the leading and trailing edges of vertically stacked items
59 | or the top and bottom edges of horizontally stacked items tightly to the container.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:50:45: error: 'UIView' is unavailable in watchOS
48 | distribution: Distribution = .fillProportionally,
49 | alignment: Alignment = .center,
50 | @StackViewBuilder _ builder: () -> [UIView]
| `- error: 'UIView' is unavailable in watchOS
51 | ) {
52 | self.init(arrangedSubviews: builder())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift (in target 'ViewKit' from project 'ViewKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIStackView.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ ViewKit (in target 'ViewKit' from project 'ViewKit')
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/Filler.swift:1:20: error: 'UIView' is unavailable in watchOS
1 | open class Filler: UIView {
| `- error: 'UIView' is unavailable in watchOS
2 | public init() {
3 | super.init(frame: .zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/Preview/UIViewPreview.swift:11:37: error: cannot find type 'Context' in scope
9 | }
10 |
11 | public func makeUIView(context: Context) -> UIView {
| `- error: cannot find type 'Context' in scope
12 | return view.body
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/Preview/UIViewPreview.swift:11:49: error: 'UIView' is unavailable in watchOS
9 | }
10 |
11 | public func makeUIView(context: Context) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
12 | return view.body
13 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/Preview/UIViewPreview.swift:15:55: error: cannot find type 'Context' in scope
13 | }
14 |
15 | public func updateUIView(_ view: UIView, context: Context) {
| `- error: cannot find type 'Context' in scope
16 | view.setContentHuggingPriority(.defaultHigh, for: .horizontal)
17 | view.setContentHuggingPriority(.defaultHigh, for: .vertical)
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/Preview/UIViewPreview.swift:15:38: error: 'UIView' is unavailable in watchOS
13 | }
14 |
15 | public func updateUIView(_ view: UIView, context: Context) {
| `- error: 'UIView' is unavailable in watchOS
16 | view.setContentHuggingPriority(.defaultHigh, for: .horizontal)
17 | view.setContentHuggingPriority(.defaultHigh, for: .vertical)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/Preview/UIViewPreview.swift:4:57: error: cannot find type 'UIViewRepresentable' in scope
2 |
3 | @available(iOS 13.0, *)
4 | public struct PreviewContainer<View: ProgrammaticView>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 | private let view: View
6 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ProgrammaticView.swift:2:40: error: 'UIView' is unavailable in watchOS
1 | public protocol ProgrammaticView {
2 | @ProgrammaticViewBuilder var body: UIView { get }
| `- error: 'UIView' is unavailable in watchOS
3 | }
4 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ProgrammaticViewBuilder.swift:3:44: error: 'UIView' is unavailable in watchOS
1 | @resultBuilder
2 | public struct ProgrammaticViewBuilder {
3 | public static func buildBlock(_ child: UIView) -> UIView { child }
| `- error: 'UIView' is unavailable in watchOS
4 | public static func buildBlock(_ children: UIView...) -> UIView {
5 | let container = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ProgrammaticViewBuilder.swift:3:55: error: 'UIView' is unavailable in watchOS
1 | @resultBuilder
2 | public struct ProgrammaticViewBuilder {
3 | public static func buildBlock(_ child: UIView) -> UIView { child }
| `- error: 'UIView' is unavailable in watchOS
4 | public static func buildBlock(_ children: UIView...) -> UIView {
5 | let container = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ProgrammaticViewBuilder.swift:4:47: error: 'UIView' is unavailable in watchOS
2 | public struct ProgrammaticViewBuilder {
3 | public static func buildBlock(_ child: UIView) -> UIView { child }
4 | public static func buildBlock(_ children: UIView...) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
5 | let container = UIView()
6 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ProgrammaticViewBuilder.swift:4:61: error: 'UIView' is unavailable in watchOS
2 | public struct ProgrammaticViewBuilder {
3 | public static func buildBlock(_ child: UIView) -> UIView { child }
4 | public static func buildBlock(_ children: UIView...) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
5 | let container = UIView()
6 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift:21:41: error: 'UIButton' is unavailable in watchOS
19 | @available(iOS 15, *)
20 | @discardableResult
21 | func configuration(_ configuration: UIButton.Configuration) -> Self {
| `- error: 'UIButton' is unavailable in watchOS
22 | self.configuration = configuration
23 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ViewKit/UIButton.swift:35:67: error: 'UIButton' is unavailable in watchOS
33 | @available(iOS 15, *)
34 | @discardableResult
35 | func configurationUpdateHandler(_ configurationUpdateHandler: UIButton.ConfigurationUpdateHandler?) -> Self {
| `- error: 'UIButton' is unavailable in watchOS
36 | self.configurationUpdateHandler = configurationUpdateHandler
37 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ViewKit/UIButton.swift:43:45: error: 'UIControl' is unavailable in watchOS
41 |
42 | @discardableResult
43 | func title(_ title: String?, for state: UIControl.State = .normal) -> Self {
| `- error: 'UIControl' is unavailable in watchOS
44 | self.setTitle(title, for: state)
45 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ViewKit/UIButton.swift:49:67: error: 'UIControl' is unavailable in watchOS
47 |
48 | @discardableResult
49 | func attributedTitle(_ title: NSAttributedString?, for state: UIControl.State = .normal) -> Self {
| `- error: 'UIControl' is unavailable in watchOS
50 | self.setAttributedTitle(title, for: state)
51 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ViewKit/UIButton.swift:55:51: error: 'UIControl' is unavailable in watchOS
53 |
54 | @discardableResult
55 | func titleColor(_ color: UIColor?, for state: UIControl.State = .normal) -> Self {
| `- error: 'UIControl' is unavailable in watchOS
56 | self.setTitleColor(color, for: state)
57 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ViewKit/UIButton.swift:61:57: error: 'UIControl' is unavailable in watchOS
59 |
60 | @discardableResult
61 | func titleShadowColor(_ color: UIColor?, for state: UIControl.State = .normal) -> Self {
| `- error: 'UIControl' is unavailable in watchOS
62 | self.setTitleShadowColor(color, for: state)
63 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ViewKit/UIButton.swift:69:66: error: 'UIControl' is unavailable in watchOS
67 |
68 | @discardableResult
69 | func backgroundImage(_ backgroundImage: UIImage?, for state: UIControl.State) -> Self {
| `- error: 'UIControl' is unavailable in watchOS
70 | self.setBackgroundImage(backgroundImage, for: state)
71 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ViewKit/UIButton.swift:75:46: error: 'UIControl' is unavailable in watchOS
73 |
74 | @discardableResult
75 | func image(_ image: UIImage?, for state: UIControl.State = .normal) -> Self {
| `- error: 'UIControl' is unavailable in watchOS
76 | self.setImage(image, for: state)
77 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ViewKit/UIButton.swift:82:47: error: 'UIControl' is unavailable in watchOS
80 | @available(iOS 13.0, *)
81 | @discardableResult
82 | func image(systemName: String, for state: UIControl.State = .normal) -> Self {
| `- error: 'UIControl' is unavailable in watchOS
83 | self.setImage(UIImage(systemName: systemName), for: state)
84 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ViewKit/UIButton.swift:88:43: error: 'UIControl' is unavailable in watchOS
86 |
87 | @discardableResult
88 | func image(_ name: String, for state: UIControl.State = .normal) -> Self {
| `- error: 'UIControl' is unavailable in watchOS
89 | self.setImage(UIImage(named: name), for: state)
90 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ViewKit/UIButton.swift:95:119: error: 'UIControl' is unavailable in watchOS
93 | @available(iOS 13.0, *)
94 | @discardableResult
95 | func preferredSymbolConfiguration(_ preferredSymbolConfiguration: UIImage.SymbolConfiguration?, forImageIn state: UIControl.State) -> Self {
| `- error: 'UIControl' is unavailable in watchOS
96 | self.setPreferredSymbolConfiguration(preferredSymbolConfiguration, forImageIn: state)
97 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ViewKit/UIButton.swift:104:23: error: 'UIButton' is unavailable in watchOS
102 | @available(iOS 14.0, *)
103 | @discardableResult
104 | func role(_ role: UIButton.Role) -> Self {
| `- error: 'UIButton' is unavailable in watchOS
105 | self.role = role
106 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ViewKit/UIButton.swift:113:63: error: 'UIBehavioralStyle' is unavailable in watchOS
111 | @available(iOS 15, *)
112 | @discardableResult
113 | func preferredBehavioralStyle(_ preferredBehavioralStyle: UIBehavioralStyle) -> Self {
| `- error: 'UIBehavioralStyle' is unavailable in watchOS
114 | self.preferredBehavioralStyle = preferredBehavioralStyle
115 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBehavioralStyle.h:16:29: note: 'UIBehavioralStyle' has been explicitly marked unavailable here
14 | API_AVAILABLE(ios(15.0), macCatalyst(15.0)) API_UNAVAILABLE(watchos, tvos)
15 | /// Behavioral Styles are values that determine how a class — such as a view or control — behaves. This includes how the control is drawn, and what behaviors it supports. For example, handling certain customizations in one style, but not another.
16 | typedef NS_ENUM(NSUInteger, UIBehavioralStyle) {
| `- note: 'UIBehavioralStyle' has been explicitly marked unavailable here
17 | /// The system will choose the most appropriate style for the targetted platform.
18 | UIBehavioralStyleAutomatic = 0,
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift:122:23: error: 'UIMenu' is unavailable in watchOS
120 | @available(iOS 14.0, *)
121 | @discardableResult
122 | func menu(_ menu: UIMenu?) -> Self {
| `- error: 'UIMenu' is unavailable in watchOS
123 | self.menu = menu
124 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIMenu : UIMenuElement
| `- note: 'UIMenu' has been explicitly marked unavailable here
44 |
45 | /// Unique identifier.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift:136:45: error: 'UIContextMenuConfiguration' is unavailable in watchOS
134 | @available(iOS 16, *)
135 | @discardableResult
136 | func preferredMenuElementOrder(_ order: UIContextMenuConfiguration.ElementOrder) -> Self {
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
137 | self.preferredMenuElementOrder = order
138 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
37 |
38 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
39 | @interface UIContextMenuConfiguration : NSObject
| `- note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
40 |
41 | /// This configuration's identifier. When representing multiple items in your app, this identifier
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIButton.swift:145:38: error: 'UIButton' is unavailable in watchOS
143 | @available(iOS 14.0, *)
144 | @discardableResult
145 | func action(_ action: @escaping (UIButton) -> Void) -> Self {
| `- error: 'UIButton' is unavailable in watchOS
146 | addAction(UIAction { _ in
147 | action(self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ViewKit/UIButton.swift:1:18: error: 'UIButton' is unavailable in watchOS
1 | public extension UIButton {
| `- error: 'UIButton' is unavailable in watchOS
2 |
3 | // MARK: - 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/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/ViewKit/UIButton.swift:153:18: error: 'UIButton' is unavailable in watchOS
151 | }
152 |
153 | public extension UIButton {
| `- error: 'UIButton' is unavailable in watchOS
154 | convenience init(_ title: String) {
155 | self.init(frame: .zero)
/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/ViewKit/UIControl.swift:25:63: error: 'ContentVerticalAlignment' is unavailable in watchOS
23 |
24 | @discardableResult
25 | func contentVerticalAlignment(_ contentVerticalAlignment: ContentVerticalAlignment) -> Self {
| `- error: 'ContentVerticalAlignment' is unavailable in watchOS
26 | self.contentVerticalAlignment = contentVerticalAlignment
27 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:43:28: note: 'ContentVerticalAlignment' has been explicitly marked unavailable here
41 | } API_UNAVAILABLE(watchos);
42 |
43 | typedef NS_ENUM(NSInteger, UIControlContentVerticalAlignment) {
| `- note: 'ContentVerticalAlignment' has been explicitly marked unavailable here
44 | UIControlContentVerticalAlignmentCenter = 0,
45 | UIControlContentVerticalAlignmentTop = 1,
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIControl.swift:1:18: error: 'UIControl' is unavailable in watchOS
1 | public extension UIControl {
| `- error: 'UIControl' is unavailable in watchOS
2 |
3 | // MARK: - Managing 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/ViewKit/UIImageView.swift:88:30: error: 'UIImageView' is unavailable in watchOS
86 |
87 | @discardableResult
88 | func contentMode(_ mode: UIImageView.ContentMode) -> Self {
| `- error: 'UIImageView' is unavailable in watchOS
89 | self.contentMode = mode
90 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIImageView.swift:1:18: error: 'UIImageView' is unavailable in watchOS
1 | public extension UIImageView {
| `- error: 'UIImageView' is unavailable in watchOS
2 |
3 | @available(iOS 13.0, *)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UILabel.swift:80:51: error: 'UIBaselineAdjustment' is unavailable in watchOS
78 |
79 | @discardableResult
80 | func baselineAdjustment(_ baselineAdjustment: UIBaselineAdjustment) -> Self {
| `- error: 'UIBaselineAdjustment' is unavailable in watchOS
81 | self.baselineAdjustment = baselineAdjustment
82 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h:55:28: note: 'UIBaselineAdjustment' has been explicitly marked unavailable here
53 | } API_DEPRECATED("", ios(2.0, 6.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(visionos, watchos);
54 |
55 | typedef NS_ENUM(NSInteger, UIBaselineAdjustment) {
| `- note: 'UIBaselineAdjustment' has been explicitly marked unavailable here
56 | UIBaselineAdjustmentAlignBaselines = 0, // default. used when shrinking text to position based on the original baseline
57 | UIBaselineAdjustmentAlignCenters,
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UILabel.swift:1:18: error: 'UILabel' is unavailable in watchOS
1 | public extension UILabel {
| `- error: 'UILabel' is unavailable in watchOS
2 |
3 | convenience init(_ text: String) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:1:41: error: 'UIView' is unavailable in watchOS
1 | public func For<T: Collection, Content: UIView>(
| `- error: 'UIView' is unavailable in watchOS
2 | _ items: T,
3 | _ builder: (T.Element) -> Content
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:10:47: error: 'UIView' is unavailable in watchOS
8 | @resultBuilder
9 | public struct StackViewBuilder {
10 | public static func buildBlock(_ children: UIView...) -> [UIView] { children }
| `- error: 'UIView' is unavailable in watchOS
11 | public static func buildBlock(_ children: [UIView]) -> [UIView] { children }
12 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:10:62: error: 'UIView' is unavailable in watchOS
8 | @resultBuilder
9 | public struct StackViewBuilder {
10 | public static func buildBlock(_ children: UIView...) -> [UIView] { children }
| `- error: 'UIView' is unavailable in watchOS
11 | public static func buildBlock(_ children: [UIView]) -> [UIView] { children }
12 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:11:48: error: 'UIView' is unavailable in watchOS
9 | public struct StackViewBuilder {
10 | public static func buildBlock(_ children: UIView...) -> [UIView] { children }
11 | public static func buildBlock(_ children: [UIView]) -> [UIView] { children }
| `- error: 'UIView' is unavailable in watchOS
12 | }
13 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:11:61: error: 'UIView' is unavailable in watchOS
9 | public struct StackViewBuilder {
10 | public static func buildBlock(_ children: UIView...) -> [UIView] { children }
11 | public static func buildBlock(_ children: [UIView]) -> [UIView] { children }
| `- error: 'UIView' is unavailable in watchOS
12 | }
13 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:16:15: error: 'NSLayoutConstraint' is unavailable in watchOS
14 | public extension UIStackView {
15 | convenience init(
16 | axis: NSLayoutConstraint.Axis,
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
17 | spacing: CGFloat = 10,
18 | distribution: Distribution = .fill,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:18:23: error: 'Distribution' is unavailable in watchOS
16 | axis: NSLayoutConstraint.Axis,
17 | spacing: CGFloat = 10,
18 | distribution: Distribution = .fill,
| `- error: 'Distribution' is unavailable in watchOS
19 | alignment: Alignment = .center,
20 | @StackViewBuilder _ builder: () -> [UIView]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:17:28: note: 'Distribution' has been explicitly marked unavailable here
15 | and except for UIStackViewDistributionFillEqually, fit all items to intrinsicContentSize when possible.
16 | */
17 | typedef NS_ENUM(NSInteger, UIStackViewDistribution) {
| `- note: 'Distribution' has been explicitly marked unavailable here
18 |
19 | /* When items do not fit (overflow) or fill (underflow) the space available
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:19:20: error: 'Alignment' is unavailable in watchOS
17 | spacing: CGFloat = 10,
18 | distribution: Distribution = .fill,
19 | alignment: Alignment = .center,
| `- error: 'Alignment' is unavailable in watchOS
20 | @StackViewBuilder _ builder: () -> [UIView]
21 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:57:28: note: 'Alignment' has been explicitly marked unavailable here
55 | /* Alignment—the layout transverse to the stacking axis.
56 | */
57 | typedef NS_ENUM(NSInteger, UIStackViewAlignment) {
| `- note: 'Alignment' has been explicitly marked unavailable here
58 | /* Align the leading and trailing edges of vertically stacked items
59 | or the top and bottom edges of horizontally stacked items tightly to the container.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:20:45: error: 'UIView' is unavailable in watchOS
18 | distribution: Distribution = .fill,
19 | alignment: Alignment = .center,
20 | @StackViewBuilder _ builder: () -> [UIView]
| `- error: 'UIView' is unavailable in watchOS
21 | ) {
22 | self.init(arrangedSubviews: builder())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:14:18: error: 'UIStackView' is unavailable in watchOS
12 | }
13 |
14 | public extension UIStackView {
| `- error: 'UIStackView' is unavailable in watchOS
15 | convenience init(
16 | axis: NSLayoutConstraint.Axis,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:33:23: error: 'Distribution' is unavailable in watchOS
31 | public convenience init(
32 | spacing: CGFloat = 10,
33 | distribution: Distribution = .fill,
| `- error: 'Distribution' is unavailable in watchOS
34 | alignment: Alignment = .center,
35 | @StackViewBuilder _ builder: () -> [UIView]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:17:28: note: 'Distribution' has been explicitly marked unavailable here
15 | and except for UIStackViewDistributionFillEqually, fit all items to intrinsicContentSize when possible.
16 | */
17 | typedef NS_ENUM(NSInteger, UIStackViewDistribution) {
| `- note: 'Distribution' has been explicitly marked unavailable here
18 |
19 | /* When items do not fit (overflow) or fill (underflow) the space available
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIStackView.swift:34:20: error: 'Alignment' is unavailable in watchOS
32 | spacing: CGFloat = 10,
33 | distribution: Distribution = .fill,
34 | alignment: Alignment = .center,
| `- error: 'Alignment' is unavailable in watchOS
35 | @StackViewBuilder _ builder: () -> [UIView]
36 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:57:28: note: 'Alignment' has been explicitly marked unavailable here
55 | /* Alignment—the layout transverse to the stacking axis.
56 | */
57 | typedef NS_ENUM(NSInteger, UIStackViewAlignment) {
| `- note: 'Alignment' has been explicitly marked unavailable here
58 | /* Align the leading and trailing edges of vertically stacked items
59 | or the top and bottom edges of horizontally stacked items tightly to the container.
SwiftCompile normal arm64 (in target 'ViewKit' from project 'ViewKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ UITextField.swift /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift (in target 'ViewKit' from project 'ViewKit')
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:54:31: error: 'UITextFieldDelegate' is unavailable in watchOS
52 |
53 | @discardableResult
54 | func delegate(_ delegate: UITextFieldDelegate) -> Self {
| `- error: 'UITextFieldDelegate' is unavailable in watchOS
55 | self.delegate = delegate
56 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
138 |
139 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
140 | @protocol UITextFieldDelegate <NSObject>
| `- note: 'UITextFieldDelegate' has been explicitly marked unavailable here
141 |
142 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:60:59: error: 'UITextAutocapitalizationType' is unavailable in watchOS
58 |
59 | @discardableResult
60 | func autocapitalizationType(_ autocapitalizationType: UITextAutocapitalizationType) -> Self {
| `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
61 | self.autocapitalizationType = autocapitalizationType
62 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
20 | // cases, these values are ignored by the keyboard/input method implementation.
21 | //
22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
| `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
23 | UITextAutocapitalizationTypeNone,
24 | UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:66:51: error: 'UITextAutocorrectionType' is unavailable in watchOS
64 |
65 | @discardableResult
66 | func autocorrectionType(_ autocorrectionType: UITextAutocorrectionType) -> Self {
| `- error: 'UITextAutocorrectionType' is unavailable in watchOS
67 | self.autocorrectionType = autocorrectionType
68 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:37:28: note: 'UITextAutocorrectionType' has been explicitly marked unavailable here
35 | // cases, these values are ignored by the keyboard/input method implementation.
36 | //
37 | typedef NS_ENUM(NSInteger, UITextAutocorrectionType) {
| `- note: 'UITextAutocorrectionType' has been explicitly marked unavailable here
38 | UITextAutocorrectionTypeDefault,
39 | UITextAutocorrectionTypeNo,
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:72:49: error: 'UITextSpellCheckingType' is unavailable in watchOS
70 |
71 | @discardableResult
72 | func spellCheckingType(_ spellCheckingType: UITextSpellCheckingType) -> Self {
| `- error: 'UITextSpellCheckingType' is unavailable in watchOS
73 | self.spellCheckingType = spellCheckingType
74 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:48:28: note: 'UITextSpellCheckingType' has been explicitly marked unavailable here
46 | // Controls the annotation of misspelled words for a text widget.
47 | // Note: Some input methods do not support spell checking.
48 | typedef NS_ENUM(NSInteger, UITextSpellCheckingType) {
| `- note: 'UITextSpellCheckingType' has been explicitly marked unavailable here
49 | UITextSpellCheckingTypeDefault,
50 | UITextSpellCheckingTypeNo,
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:90:33: error: 'UIView' is unavailable in watchOS
88 |
89 | @discardableResult
90 | func rightView(_ rightView: UIView?) -> Self {
| `- error: 'UIView' is unavailable in watchOS
91 | self.rightView = rightView
92 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:96:57: error: 'UITextField' is unavailable in watchOS
94 |
95 | @discardableResult
96 | func rightView(@ProgrammaticViewBuilder _ builder: (UITextField) -> UIView) -> Self {
| `- error: 'UITextField' is unavailable in watchOS
97 | self.rightView(builder(self))
98 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:96:73: error: 'UIView' is unavailable in watchOS
94 |
95 | @discardableResult
96 | func rightView(@ProgrammaticViewBuilder _ builder: (UITextField) -> UIView) -> Self {
| `- error: 'UIView' is unavailable in watchOS
97 | self.rightView(builder(self))
98 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:102:41: error: 'UITextField' is unavailable in watchOS
100 |
101 | @discardableResult
102 | func rightViewMode(_ rightViewMode: UITextField.ViewMode) -> Self {
| `- error: 'UITextField' is unavailable in watchOS
103 | self.rightViewMode = rightViewMode
104 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:126:37: error: 'BorderStyle' is unavailable in watchOS
124 |
125 | @discardableResult
126 | func borderStyle(_ borderStyle: BorderStyle) -> Self {
| `- error: 'BorderStyle' is unavailable in watchOS
127 | self.borderStyle = borderStyle
128 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:33:28: note: 'BorderStyle' has been explicitly marked unavailable here
31 | @protocol UITextSelecting;
32 |
33 | typedef NS_ENUM(NSInteger, UITextBorderStyle) {
| `- note: 'BorderStyle' has been explicitly marked unavailable here
34 | UITextBorderStyleNone,
35 | UITextBorderStyleLine,
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:146:45: error: 'ViewMode' is unavailable in watchOS
144 |
145 | @discardableResult
146 | func clearButtonMode(_ clearButtonMode: ViewMode) -> Self {
| `- error: 'ViewMode' is unavailable in watchOS
147 | self.clearButtonMode = clearButtonMode
148 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:40:28: note: 'ViewMode' has been explicitly marked unavailable here
38 | } API_UNAVAILABLE(watchos);
39 |
40 | typedef NS_ENUM(NSInteger, UITextFieldViewMode) {
| `- note: 'ViewMode' has been explicitly marked unavailable here
41 | UITextFieldViewModeNever,
42 | UITextFieldViewModeWhileEditing,
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:152:31: error: 'UIView' is unavailable in watchOS
150 |
151 | @discardableResult
152 | func leftView(_ leftView: UIView?) -> Self {
| `- error: 'UIView' is unavailable in watchOS
153 | self.leftView = leftView
154 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:158:39: error: 'ViewMode' is unavailable in watchOS
156 |
157 | @discardableResult
158 | func leftViewMode(_ leftViewMode: ViewMode) -> Self {
| `- error: 'ViewMode' is unavailable in watchOS
159 | self.leftViewMode = leftViewMode
160 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:40:28: note: 'ViewMode' has been explicitly marked unavailable here
38 | } API_UNAVAILABLE(watchos);
39 |
40 | typedef NS_ENUM(NSInteger, UITextFieldViewMode) {
| `- note: 'ViewMode' has been explicitly marked unavailable here
41 | UITextFieldViewModeNever,
42 | UITextFieldViewModeWhileEditing,
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:164:33: error: 'UIView' is unavailable in watchOS
162 |
163 | @discardableResult
164 | func inputView(_ inputView: UIView?) -> Self {
| `- error: 'UIView' is unavailable in watchOS
165 | self.inputView = inputView
166 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:170:51: error: 'UIView' is unavailable in watchOS
168 |
169 | @discardableResult
170 | func inputAccessoryView(_ inputAccessoryView: UIView?) -> Self {
| `- error: 'UIView' is unavailable in watchOS
171 | self.inputAccessoryView = inputAccessoryView
172 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:1:18: error: 'UITextField' is unavailable in watchOS
1 | public extension UITextField {
| `- error: 'UITextField' is unavailable in watchOS
2 |
3 | // MARK: - Text Attributes
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:203:36: error: 'UITextField' is unavailable in watchOS
201 | }
202 |
203 | private var delegateClosure: ((UITextField) -> Bool)? {
| `- error: 'UITextField' is unavailable in watchOS
204 | get {
205 | return objc_getAssociatedObject(self, &AssociatedKeys.delegateClosure) as? (UITextField) -> 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/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:212:46: error: 'UITextField' is unavailable in watchOS
210 | }
211 |
212 | private var shouldBeginEditingClosure: ((UITextField) -> Bool)? {
| `- error: 'UITextField' is unavailable in watchOS
213 | get {
214 | return objc_getAssociatedObject(self, &AssociatedKeys.shouldBeginEditingClosure) as? (UITextField) -> 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/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:221:43: error: 'UITextField' is unavailable in watchOS
219 | }
220 |
221 | private var didBeginEditingClosure: ((UITextField) -> Void)? {
| `- error: 'UITextField' is unavailable in watchOS
222 | get {
223 | return objc_getAssociatedObject(self, &AssociatedKeys.didBeginEditingClosure) as? (UITextField) -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:230:44: error: 'UITextField' is unavailable in watchOS
228 | }
229 |
230 | private var shouldEndEditingClosure: ((UITextField) -> Bool)? {
| `- error: 'UITextField' is unavailable in watchOS
231 | get {
232 | return objc_getAssociatedObject(self, &AssociatedKeys.shouldEndEditingClosure) as? (UITextField) -> 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/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:239:41: error: 'UITextField' is unavailable in watchOS
237 | }
238 |
239 | private var didEndEditingClosure: ((UITextField) -> Void)? {
| `- error: 'UITextField' is unavailable in watchOS
240 | get {
241 | return objc_getAssociatedObject(self, &AssociatedKeys.didEndEditingClosure) as? (UITextField) -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:248:50: error: 'UITextField' is unavailable in watchOS
246 | }
247 |
248 | private var shouldChangeCharactersClosure: ((UITextField, NSRange, String) -> Bool)? {
| `- error: 'UITextField' is unavailable in watchOS
249 | get {
250 | return objc_getAssociatedObject(self, &AssociatedKeys.shouldChangeCharactersClosure) as? (UITextField, NSRange, String) -> 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/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:257:39: error: 'UITextField' is unavailable in watchOS
255 | }
256 |
257 | private var shouldClearClosure: ((UITextField) -> Bool)? {
| `- error: 'UITextField' is unavailable in watchOS
258 | get {
259 | return objc_getAssociatedObject(self, &AssociatedKeys.shouldClearClosure) as? (UITextField) -> 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/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:266:36: error: 'UITextField' is unavailable in watchOS
264 | }
265 |
266 | private var onChangeClosure: ((UITextField) -> Void)? {
| `- error: 'UITextField' is unavailable in watchOS
267 | get {
268 | return objc_getAssociatedObject(self, &AssociatedKeys.onChangeClosure) as? (UITextField) -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:275:47: error: 'UITextField' is unavailable in watchOS
273 | }
274 |
275 | func onBeginEditing(_ closure: @escaping (UITextField) -> Void) -> Self {
| `- error: 'UITextField' is unavailable in watchOS
276 | didBeginEditingClosure = closure
277 | delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:281:49: error: 'UITextField' is unavailable in watchOS
279 | }
280 |
281 | func shouldEndEditing(_ closure: @escaping (UITextField) -> Bool) -> Self {
| `- error: 'UITextField' is unavailable in watchOS
282 | shouldEndEditingClosure = closure
283 | delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:287:45: error: 'UITextField' is unavailable in watchOS
285 | }
286 |
287 | func onEndEditing(_ closure: @escaping (UITextField) -> Void) -> Self {
| `- error: 'UITextField' is unavailable in watchOS
288 | didEndEditingClosure = closure
289 | delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:293:55: error: 'UITextField' is unavailable in watchOS
291 | }
292 |
293 | func shouldChangeCharacters(_ closure: @escaping (UITextField, NSRange, String) -> Bool) -> Self {
| `- error: 'UITextField' is unavailable in watchOS
294 | shouldChangeCharactersClosure = closure
295 | delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:299:44: error: 'UITextField' is unavailable in watchOS
297 | }
298 |
299 | func shouldClear(_ closure: @escaping (UITextField) -> Bool) -> Self {
| `- error: 'UITextField' is unavailable in watchOS
300 | shouldClearClosure = closure
301 | delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:305:45: error: 'UITextField' is unavailable in watchOS
303 | }
304 |
305 | func shouldReturn(_ closure: @escaping (UITextField) -> Bool) -> Self {
| `- error: 'UITextField' is unavailable in watchOS
306 | delegateClosure = closure
307 | delegate = self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:311:41: error: 'UITextField' is unavailable in watchOS
309 | }
310 |
311 | func onChange(_ closure: @escaping (UITextField) -> Void) -> Self {
| `- error: 'UITextField' is unavailable in watchOS
312 | addTarget(self, action: #selector(textFieldDidChange), for: .editingChanged)
313 | onChangeClosure = closure
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:191:18: error: 'UITextField' is unavailable in watchOS
189 | }
190 |
191 | public extension UITextField {
| `- error: 'UITextField' is unavailable in watchOS
192 | enum AssociatedKeys {
193 | static var delegateClosure = "delegateClosure"
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:322:1: warning: extension declares a conformance of imported type 'UITextField' to imported protocol 'UITextFieldDelegate'; this will not behave correctly if the owners of 'UIKit' introduce this conformance in the future
320 | }
321 |
322 | extension UITextField: UITextFieldDelegate {
| |- warning: extension declares a conformance of imported type 'UITextField' to imported protocol 'UITextFieldDelegate'; this will not behave correctly if the owners of 'UIKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
323 |
324 | public func textFieldShouldReturn(_ textField: UITextField) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:324:52: error: 'UITextField' is unavailable in watchOS
322 | extension UITextField: UITextFieldDelegate {
323 |
324 | public func textFieldShouldReturn(_ textField: UITextField) -> Bool {
| `- error: 'UITextField' is unavailable in watchOS
325 | return delegateClosure?(textField) ?? true
326 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:328:58: error: 'UITextField' is unavailable in watchOS
326 | }
327 |
328 | public func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool {
| `- error: 'UITextField' is unavailable in watchOS
329 | return shouldBeginEditingClosure?(textField) ?? true
330 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:332:55: error: 'UITextField' is unavailable in watchOS
330 | }
331 |
332 | public func textFieldDidBeginEditing(_ textField: UITextField) {
| `- error: 'UITextField' is unavailable in watchOS
333 | didBeginEditingClosure?(textField)
334 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:336:56: error: 'UITextField' is unavailable in watchOS
334 | }
335 |
336 | public func textFieldShouldEndEditing(_ textField: UITextField) -> Bool {
| `- error: 'UITextField' is unavailable in watchOS
337 | return shouldEndEditingClosure?(textField) ?? true
338 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:340:53: error: 'UITextField' is unavailable in watchOS
338 | }
339 |
340 | public func textFieldDidEndEditing(_ textField: UITextField) {
| `- error: 'UITextField' is unavailable in watchOS
341 | didEndEditingClosure?(textField)
342 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:344:40: error: 'UITextField' is unavailable in watchOS
342 | }
343 |
344 | public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
| `- error: 'UITextField' is unavailable in watchOS
345 | return shouldChangeCharactersClosure?(textField, range, string) ?? true
346 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:348:51: error: 'UITextField' is unavailable in watchOS
346 | }
347 |
348 | public func textFieldShouldClear(_ textField: UITextField) -> Bool {
| `- error: 'UITextField' is unavailable in watchOS
349 | return shouldClearClosure?(textField) ?? true
350 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:322:24: error: 'UITextFieldDelegate' is unavailable in watchOS
320 | }
321 |
322 | extension UITextField: UITextFieldDelegate {
| `- error: 'UITextFieldDelegate' is unavailable in watchOS
323 |
324 | public func textFieldShouldReturn(_ textField: UITextField) -> 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/UITextField.h:140:11: note: 'UITextFieldDelegate' has been explicitly marked unavailable here
138 |
139 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
140 | @protocol UITextFieldDelegate <NSObject>
| `- note: 'UITextFieldDelegate' has been explicitly marked unavailable here
141 |
142 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:322:11: error: 'UITextField' is unavailable in watchOS
320 | }
321 |
322 | extension UITextField: UITextFieldDelegate {
| `- error: 'UITextField' is unavailable in watchOS
323 |
324 | public func textFieldShouldReturn(_ textField: UITextField) -> 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/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:178:14: error: 'interactionState' is unavailable in watchOS
176 | @discardableResult
177 | func interactionState(_ interactionState: Any) -> Self {
178 | self.interactionState = interactionState
| `- error: 'interactionState' is unavailable in watchOS
179 | return self
180 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:130:32: note: 'interactionState' has been explicitly marked unavailable here
128 | // The object returned here will be a plist type, so can e.g. be stored in
129 | // an NSUserActivity's userInfo dictionary.
130 | @property (nonatomic, copy) id interactionState API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
| `- note: 'interactionState' has been explicitly marked unavailable here
131 |
132 | @end
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:205:89: error: 'UITextField' is unavailable in watchOS
203 | private var delegateClosure: ((UITextField) -> Bool)? {
204 | get {
205 | return objc_getAssociatedObject(self, &AssociatedKeys.delegateClosure) as? (UITextField) -> Bool
| `- error: 'UITextField' is unavailable in watchOS
206 | }
207 | set {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:214:99: error: 'UITextField' is unavailable in watchOS
212 | private var shouldBeginEditingClosure: ((UITextField) -> Bool)? {
213 | get {
214 | return objc_getAssociatedObject(self, &AssociatedKeys.shouldBeginEditingClosure) as? (UITextField) -> Bool
| `- error: 'UITextField' is unavailable in watchOS
215 | }
216 | set {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:223:96: error: 'UITextField' is unavailable in watchOS
221 | private var didBeginEditingClosure: ((UITextField) -> Void)? {
222 | get {
223 | return objc_getAssociatedObject(self, &AssociatedKeys.didBeginEditingClosure) as? (UITextField) -> Void
| `- error: 'UITextField' is unavailable in watchOS
224 | }
225 | set {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:232:97: error: 'UITextField' is unavailable in watchOS
230 | private var shouldEndEditingClosure: ((UITextField) -> Bool)? {
231 | get {
232 | return objc_getAssociatedObject(self, &AssociatedKeys.shouldEndEditingClosure) as? (UITextField) -> Bool
| `- error: 'UITextField' is unavailable in watchOS
233 | }
234 | set {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:241:94: error: 'UITextField' is unavailable in watchOS
239 | private var didEndEditingClosure: ((UITextField) -> Void)? {
240 | get {
241 | return objc_getAssociatedObject(self, &AssociatedKeys.didEndEditingClosure) as? (UITextField) -> Void
| `- error: 'UITextField' is unavailable in watchOS
242 | }
243 | set {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:250:103: error: 'UITextField' is unavailable in watchOS
248 | private var shouldChangeCharactersClosure: ((UITextField, NSRange, String) -> Bool)? {
249 | get {
250 | return objc_getAssociatedObject(self, &AssociatedKeys.shouldChangeCharactersClosure) as? (UITextField, NSRange, String) -> Bool
| `- error: 'UITextField' is unavailable in watchOS
251 | }
252 | set {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift:259:92: error: 'UITextField' is unavailable in watchOS
257 | private var shouldClearClosure: ((UITextField) -> Bool)? {
258 | get {
259 | return objc_getAssociatedObject(self, &AssociatedKeys.shouldClearClosure) as? (UITextField) -> Bool
| `- error: 'UITextField' is unavailable in watchOS
260 | }
261 | set {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UITextField.swift (in target 'ViewKit' from project 'ViewKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UITextField.swift
SwiftCompile normal arm64 Compiling\ ViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift (in target 'ViewKit' from project 'ViewKit')
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:10:41: error: 'UIPress' is unavailable in watchOS
8 | func viewWillDisappear(_ animated: Bool)
9 | func viewDidDisappear(_ animated: Bool)
10 | func didBeginPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
| `- error: 'UIPress' is unavailable in watchOS
11 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
12 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h:49:74: note: 'UIPress' has been explicitly marked unavailable here
47 | } API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos);
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) @interface UIPress : NSObject
| `- note: 'UIPress' has been explicitly marked unavailable here
50 |
51 | @property (nonatomic, readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:10:63: error: 'UIPressesEvent' is unavailable in watchOS
8 | func viewWillDisappear(_ animated: Bool)
9 | func viewDidDisappear(_ animated: Bool)
10 | func didBeginPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
| `- error: 'UIPressesEvent' is unavailable in watchOS
11 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
12 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h:17:12: note: 'UIPressesEvent' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIPressesEvent : UIEvent
| `- note: 'UIPressesEvent' has been explicitly marked unavailable here
18 |
19 | @property(nonatomic, readonly) NSSet <UIPress *> *allPresses;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:11:39: error: 'UIPress' is unavailable in watchOS
9 | func viewDidDisappear(_ animated: Bool)
10 | func didBeginPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
11 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
| `- error: 'UIPress' is unavailable in watchOS
12 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
13 | func didChangePresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h:49:74: note: 'UIPress' has been explicitly marked unavailable here
47 | } API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos);
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) @interface UIPress : NSObject
| `- note: 'UIPress' has been explicitly marked unavailable here
50 |
51 | @property (nonatomic, readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:11:61: error: 'UIPressesEvent' is unavailable in watchOS
9 | func viewDidDisappear(_ animated: Bool)
10 | func didBeginPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
11 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
| `- error: 'UIPressesEvent' is unavailable in watchOS
12 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
13 | func didChangePresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h:17:12: note: 'UIPressesEvent' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIPressesEvent : UIEvent
| `- note: 'UIPressesEvent' has been explicitly marked unavailable here
18 |
19 | @property(nonatomic, readonly) NSSet <UIPress *> *allPresses;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:12:42: error: 'UIPress' is unavailable in watchOS
10 | func didBeginPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
11 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
12 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
| `- error: 'UIPress' is unavailable in watchOS
13 | func didChangePresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
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/UIPress.h:49:74: note: 'UIPress' has been explicitly marked unavailable here
47 | } API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos);
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) @interface UIPress : NSObject
| `- note: 'UIPress' has been explicitly marked unavailable here
50 |
51 | @property (nonatomic, readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:12:64: error: 'UIPressesEvent' is unavailable in watchOS
10 | func didBeginPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
11 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
12 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
| `- error: 'UIPressesEvent' is unavailable in watchOS
13 | func didChangePresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
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/UIPressesEvent.h:17:12: note: 'UIPressesEvent' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIPressesEvent : UIEvent
| `- note: 'UIPressesEvent' has been explicitly marked unavailable here
18 |
19 | @property(nonatomic, readonly) NSSet <UIPress *> *allPresses;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:13:42: error: 'UIPress' is unavailable in watchOS
11 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
12 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
13 | func didChangePresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
| `- error: 'UIPress' 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/UIPress.h:49:74: note: 'UIPress' has been explicitly marked unavailable here
47 | } API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos);
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) @interface UIPress : NSObject
| `- note: 'UIPress' has been explicitly marked unavailable here
50 |
51 | @property (nonatomic, readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:13:64: error: 'UIPressesEvent' is unavailable in watchOS
11 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
12 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
13 | func didChangePresses(_ presses: Set<UIPress>, with event: UIPressesEvent?)
| `- error: 'UIPressesEvent' 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/UIPressesEvent.h:17:12: note: 'UIPressesEvent' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIPressesEvent : UIEvent
| `- note: 'UIPressesEvent' has been explicitly marked unavailable here
18 |
19 | @property(nonatomic, readonly) NSSet <UIPress *> *allPresses;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:25:41: error: 'UIPress' is unavailable in watchOS
23 | func viewWillDisappear(_ animated: Bool) {}
24 | func viewDidDisappear(_ animated: Bool) {}
25 | func didBeginPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
| `- error: 'UIPress' is unavailable in watchOS
26 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
27 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h:49:74: note: 'UIPress' has been explicitly marked unavailable here
47 | } API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos);
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) @interface UIPress : NSObject
| `- note: 'UIPress' has been explicitly marked unavailable here
50 |
51 | @property (nonatomic, readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:25:63: error: 'UIPressesEvent' is unavailable in watchOS
23 | func viewWillDisappear(_ animated: Bool) {}
24 | func viewDidDisappear(_ animated: Bool) {}
25 | func didBeginPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
| `- error: 'UIPressesEvent' is unavailable in watchOS
26 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
27 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h:17:12: note: 'UIPressesEvent' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIPressesEvent : UIEvent
| `- note: 'UIPressesEvent' has been explicitly marked unavailable here
18 |
19 | @property(nonatomic, readonly) NSSet <UIPress *> *allPresses;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:26:39: error: 'UIPress' is unavailable in watchOS
24 | func viewDidDisappear(_ animated: Bool) {}
25 | func didBeginPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
26 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
| `- error: 'UIPress' is unavailable in watchOS
27 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
28 | func didChangePresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h:49:74: note: 'UIPress' has been explicitly marked unavailable here
47 | } API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos);
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) @interface UIPress : NSObject
| `- note: 'UIPress' has been explicitly marked unavailable here
50 |
51 | @property (nonatomic, readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:26:61: error: 'UIPressesEvent' is unavailable in watchOS
24 | func viewDidDisappear(_ animated: Bool) {}
25 | func didBeginPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
26 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
| `- error: 'UIPressesEvent' is unavailable in watchOS
27 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
28 | func didChangePresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h:17:12: note: 'UIPressesEvent' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIPressesEvent : UIEvent
| `- note: 'UIPressesEvent' has been explicitly marked unavailable here
18 |
19 | @property(nonatomic, readonly) NSSet <UIPress *> *allPresses;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:27:42: error: 'UIPress' is unavailable in watchOS
25 | func didBeginPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
26 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
27 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
| `- error: 'UIPress' is unavailable in watchOS
28 | func didChangePresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
29 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h:49:74: note: 'UIPress' has been explicitly marked unavailable here
47 | } API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos);
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) @interface UIPress : NSObject
| `- note: 'UIPress' has been explicitly marked unavailable here
50 |
51 | @property (nonatomic, readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:27:64: error: 'UIPressesEvent' is unavailable in watchOS
25 | func didBeginPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
26 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
27 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
| `- error: 'UIPressesEvent' is unavailable in watchOS
28 | func didChangePresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
29 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h:17:12: note: 'UIPressesEvent' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIPressesEvent : UIEvent
| `- note: 'UIPressesEvent' has been explicitly marked unavailable here
18 |
19 | @property(nonatomic, readonly) NSSet <UIPress *> *allPresses;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:28:42: error: 'UIPress' is unavailable in watchOS
26 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
27 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
28 | func didChangePresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
| `- error: 'UIPress' is unavailable in watchOS
29 | }
30 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h:49:74: note: 'UIPress' has been explicitly marked unavailable here
47 | } API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos);
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) @interface UIPress : NSObject
| `- note: 'UIPress' has been explicitly marked unavailable here
50 |
51 | @property (nonatomic, readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:28:64: error: 'UIPressesEvent' is unavailable in watchOS
26 | func didEndPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
27 | func didCancelPresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
28 | func didChangePresses(_ presses: Set<UIPress>, with event: UIPressesEvent?) {}
| `- error: 'UIPressesEvent' is unavailable in watchOS
29 | }
30 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h:17:12: note: 'UIPressesEvent' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIPressesEvent : UIEvent
| `- note: 'UIPressesEvent' has been explicitly marked unavailable here
18 |
19 | @property(nonatomic, readonly) NSSet <UIPress *> *allPresses;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:31:27: error: 'UIView' is unavailable in watchOS
29 | }
30 |
31 | open class ContainerView: UIView {
| `- error: 'UIView' is unavailable in watchOS
32 |
33 | public init(for view: ProgrammaticView) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:69:22: error: 'UIView' is unavailable in watchOS
67 | var delegate: ViewControllerDelegate?
68 | var hideNavigationBar: Bool = false
69 | let contentView: UIView
| `- error: 'UIView' is unavailable in watchOS
70 |
71 | public init(with view: ProgrammaticView) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:125:54: error: 'UIPress' is unavailable in watchOS
123 | }
124 |
125 | public override func pressesBegan(_ presses: Set<UIPress>, with event: UIPressesEvent?) {
| `- error: 'UIPress' is unavailable in watchOS
126 | super.pressesBegan(presses, with: event)
127 | delegate?.didBeginPresses(presses, with: event)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h:49:74: note: 'UIPress' has been explicitly marked unavailable here
47 | } API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos);
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) @interface UIPress : NSObject
| `- note: 'UIPress' has been explicitly marked unavailable here
50 |
51 | @property (nonatomic, readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:125:76: error: 'UIPressesEvent' is unavailable in watchOS
123 | }
124 |
125 | public override func pressesBegan(_ presses: Set<UIPress>, with event: UIPressesEvent?) {
| `- error: 'UIPressesEvent' is unavailable in watchOS
126 | super.pressesBegan(presses, with: event)
127 | delegate?.didBeginPresses(presses, with: event)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h:17:12: note: 'UIPressesEvent' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIPressesEvent : UIEvent
| `- note: 'UIPressesEvent' has been explicitly marked unavailable here
18 |
19 | @property(nonatomic, readonly) NSSet <UIPress *> *allPresses;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:130:54: error: 'UIPress' is unavailable in watchOS
128 | }
129 |
130 | public override func pressesEnded(_ presses: Set<UIPress>, with event: UIPressesEvent?) {
| `- error: 'UIPress' is unavailable in watchOS
131 | super.pressesEnded(presses, with: event)
132 | delegate?.didEndPresses(presses, with: event)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h:49:74: note: 'UIPress' has been explicitly marked unavailable here
47 | } API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos);
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) @interface UIPress : NSObject
| `- note: 'UIPress' has been explicitly marked unavailable here
50 |
51 | @property (nonatomic, readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:130:76: error: 'UIPressesEvent' is unavailable in watchOS
128 | }
129 |
130 | public override func pressesEnded(_ presses: Set<UIPress>, with event: UIPressesEvent?) {
| `- error: 'UIPressesEvent' is unavailable in watchOS
131 | super.pressesEnded(presses, with: event)
132 | delegate?.didEndPresses(presses, with: event)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h:17:12: note: 'UIPressesEvent' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIPressesEvent : UIEvent
| `- note: 'UIPressesEvent' has been explicitly marked unavailable here
18 |
19 | @property(nonatomic, readonly) NSSet <UIPress *> *allPresses;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:135:58: error: 'UIPress' is unavailable in watchOS
133 | }
134 |
135 | public override func pressesCancelled(_ presses: Set<UIPress>, with event: UIPressesEvent?) {
| `- error: 'UIPress' is unavailable in watchOS
136 | super.pressesCancelled(presses, with: event)
137 | delegate?.didCancelPresses(presses, with: event)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h:49:74: note: 'UIPress' has been explicitly marked unavailable here
47 | } API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos);
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) @interface UIPress : NSObject
| `- note: 'UIPress' has been explicitly marked unavailable here
50 |
51 | @property (nonatomic, readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:135:80: error: 'UIPressesEvent' is unavailable in watchOS
133 | }
134 |
135 | public override func pressesCancelled(_ presses: Set<UIPress>, with event: UIPressesEvent?) {
| `- error: 'UIPressesEvent' is unavailable in watchOS
136 | super.pressesCancelled(presses, with: event)
137 | delegate?.didCancelPresses(presses, with: event)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h:17:12: note: 'UIPressesEvent' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIPressesEvent : UIEvent
| `- note: 'UIPressesEvent' has been explicitly marked unavailable here
18 |
19 | @property(nonatomic, readonly) NSSet <UIPress *> *allPresses;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:140:56: error: 'UIPress' is unavailable in watchOS
138 | }
139 |
140 | public override func pressesChanged(_ presses: Set<UIPress>, with event: UIPressesEvent?) {
| `- error: 'UIPress' is unavailable in watchOS
141 | super.pressesChanged(presses, with: event)
142 | delegate?.didChangePresses(presses, with: event)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h:49:74: note: 'UIPress' has been explicitly marked unavailable here
47 | } API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos);
48 |
49 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) @interface UIPress : NSObject
| `- note: 'UIPress' has been explicitly marked unavailable here
50 |
51 | @property (nonatomic, readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:140:78: error: 'UIPressesEvent' is unavailable in watchOS
138 | }
139 |
140 | public override func pressesChanged(_ presses: Set<UIPress>, with event: UIPressesEvent?) {
| `- error: 'UIPressesEvent' is unavailable in watchOS
141 | super.pressesChanged(presses, with: event)
142 | delegate?.didChangePresses(presses, with: event)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h:17:12: note: 'UIPressesEvent' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UIPressesEvent : UIEvent
| `- note: 'UIPressesEvent' has been explicitly marked unavailable here
18 |
19 | @property(nonatomic, readonly) NSSet <UIPress *> *allPresses;
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift:66:28: error: 'UIViewController' is unavailable in watchOS
64 | }
65 |
66 | open class ViewController: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
67 | var delegate: ViewControllerDelegate?
68 | var hideNavigationBar: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/ViewController.swift (in target 'ViewKit' from project 'ViewKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ViewController.swift
SwiftCompile normal arm64 Compiling\ UIView.swift /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift (in target 'ViewKit' from project 'ViewKit')
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:22:22: error: 'UIView' is unavailable in watchOS
20 |
21 | @discardableResult
22 | func add(_ view: UIView) -> Self {
| `- error: 'UIView' is unavailable in watchOS
23 | addSubview(view)
24 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:40:38: error: 'NSLayoutConstraint' is unavailable in watchOS
38 |
39 | @discardableResult
40 | func constrained(_ constraints: [NSLayoutConstraint]) -> Self {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
41 | self.translatesAutoresizingMaskIntoConstraints = false
42 | NSLayoutConstraint.activate(constraints)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:47:36: error: 'NSLayoutConstraint' is unavailable in watchOS
45 |
46 | @discardableResult
47 | func constrain(_ constraints: [NSLayoutConstraint]) -> Self {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
48 | NSLayoutConstraint.activate(constraints)
49 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:106:53: error: 'TintAdjustmentMode' is unavailable in watchOS
104 |
105 | @discardableResult
106 | func tintAdjustmentsMode(_ tintAdjustmentsMode: TintAdjustmentMode) -> Self {
| `- error: 'TintAdjustmentMode' is unavailable in watchOS
107 | self.tintAdjustmentMode = tintAdjustmentsMode
108 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:134:28: note: 'TintAdjustmentMode' has been explicitly marked unavailable here
132 | } API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
133 |
134 | typedef NS_ENUM(NSInteger, UIViewTintAdjustmentMode) {
| `- note: 'TintAdjustmentMode' has been explicitly marked unavailable here
135 | UIViewTintAdjustmentModeAutomatic,
136 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:124:23: error: 'UIView' is unavailable in watchOS
122 |
123 | @discardableResult
124 | func mask(_ mask: UIView?) -> Self {
| `- error: 'UIView' is unavailable in watchOS
125 | self.mask = mask
126 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:174:45: error: 'UILayoutPriority' is unavailable in watchOS
172 |
173 | @discardableResult
174 | func contentHuggingPriority(_ priority: UILayoutPriority, for axis: NSLayoutConstraint.Axis) -> Self {
| `- error: 'UILayoutPriority' is unavailable in watchOS
175 | self.setContentHuggingPriority(priority, for: axis)
176 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:174:73: error: 'NSLayoutConstraint' is unavailable in watchOS
172 |
173 | @discardableResult
174 | func contentHuggingPriority(_ priority: UILayoutPriority, for axis: NSLayoutConstraint.Axis) -> Self {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
175 | self.setContentHuggingPriority(priority, for: axis)
176 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:180:52: error: 'UILayoutPriority' is unavailable in watchOS
178 |
179 | @discardableResult
180 | func compressionResistancePriority(_ priority: UILayoutPriority, for axis: NSLayoutConstraint.Axis) -> Self {
| `- error: 'UILayoutPriority' is unavailable in watchOS
181 | self.setContentCompressionResistancePriority(priority, for: axis)
182 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:180:80: error: 'NSLayoutConstraint' is unavailable in watchOS
178 |
179 | @discardableResult
180 | func compressionResistancePriority(_ priority: UILayoutPriority, for axis: NSLayoutConstraint.Axis) -> Self {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
181 | self.setContentCompressionResistancePriority(priority, for: axis)
182 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:1:18: error: 'UIView' is unavailable in watchOS
1 | public extension UIView {
| `- error: 'UIView' is unavailable in watchOS
2 | enum Edge {
3 | case top
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:295:46: error: 'UIView' is unavailable in watchOS
293 |
294 | @discardableResult
295 | func padding(_ padding: CGFloat = 10) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
296 | let containerView = UIView()
297 | containerView.addSubview(self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:303:60: error: 'UIView' is unavailable in watchOS
301 |
302 | @discardableResult
303 | func padding(_ edge: Edge, _ padding: CGFloat = 10) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
304 | let containerView = UIView()
305 | containerView.addSubview(self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:209:18: error: 'UIView' is unavailable in watchOS
207 | }
208 |
209 | public extension UIView {
| `- error: 'UIView' is unavailable in watchOS
210 |
211 | @discardableResult
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:14:14: error: 'init()' is unavailable in watchOS
12 |
13 | convenience init(_ color: UIColor) {
14 | self.init()
| `- error: 'init()' is unavailable in watchOS
15 | backgroundColor(color)
16 | maxSize()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:42:9: error: 'NSLayoutConstraint' is unavailable in watchOS
40 | func constrained(_ constraints: [NSLayoutConstraint]) -> Self {
41 | self.translatesAutoresizingMaskIntoConstraints = false
42 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
43 | return self
44 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:48:9: error: 'NSLayoutConstraint' is unavailable in watchOS
46 | @discardableResult
47 | func constrain(_ constraints: [NSLayoutConstraint]) -> Self {
48 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
49 | return self
50 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift (in target 'ViewKit' from project 'ViewKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:271:36: error: 'dragThatCanResizeScene' is unavailable in watchOS
269 | guard let superview = self.superview else { return }
270 | let constraint = self.widthAnchor.constraint(equalTo: superview.widthAnchor, multiplier: 1)
271 | constraint.priority = .dragThatCanResizeScene
| `- error: 'dragThatCanResizeScene' is unavailable in watchOS
272 | constraint.isActive = true
273 | }
UIKit.UILayoutPriority.dragThatCanResizeScene:3:21: note: 'dragThatCanResizeScene' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var dragThatCanResizeScene: UILayoutPriority { get }}
| `- note: 'dragThatCanResizeScene' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:283:36: error: 'dragThatCanResizeScene' is unavailable in watchOS
281 | guard let superview = self.superview else { return }
282 | let constraint = self.heightAnchor.constraint(equalTo: superview.heightAnchor, multiplier: 1)
283 | constraint.priority = .dragThatCanResizeScene
| `- error: 'dragThatCanResizeScene' is unavailable in watchOS
284 | constraint.isActive = true
285 | }
UIKit.UILayoutPriority.dragThatCanResizeScene:3:21: note: 'dragThatCanResizeScene' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var dragThatCanResizeScene: UILayoutPriority { get }}
| `- note: 'dragThatCanResizeScene' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:296:29: error: 'UIView' is unavailable in watchOS
294 | @discardableResult
295 | func padding(_ padding: CGFloat = 10) -> UIView {
296 | let containerView = UIView()
| `- error: 'UIView' is unavailable in watchOS
297 | containerView.addSubview(self)
298 | pinEdges(padding)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:296:29: error: 'init()' is unavailable in watchOS
294 | @discardableResult
295 | func padding(_ padding: CGFloat = 10) -> UIView {
296 | let containerView = UIView()
| `- error: 'init()' is unavailable in watchOS
297 | containerView.addSubview(self)
298 | pinEdges(padding)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIView.swift:304:29: error: 'UIView' is unavailable in watchOS
302 | @discardableResult
303 | func padding(_ edge: Edge, _ padding: CGFloat = 10) -> UIView {
304 | let containerView = UIView()
| `- error: 'UIView' is unavailable in watchOS
305 | containerView.addSubview(self)
306 | pinEdge(edge, padding)
/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.
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ViewKit (in target 'ViewKit' from project 'ViewKit')
SwiftCompile normal arm64_32 (in target 'ViewKit' from project 'ViewKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-19 01:53:58.161 xcodebuild[802:4784] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ UIImageView.swift /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIImageView.swift (in target 'ViewKit' from project 'ViewKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ViewKit/UIImageView.swift (in target 'ViewKit' from project 'ViewKit')
Building workspace ViewKit with scheme ViewKit
(3 failures)
BUILD FAILURE 6.4 watchOS