Build Information
Failed to build Lexical, reference 0.2.0 (4a85d2), with Swift 6.3 for watchOS using Xcode 26.4 on 14 Apr 2026 01:08:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Lexical-Package -destination generic/platform=watchOSBuild Log
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:149:33: error: 'UIView' is unavailable in watchOS
var viewForDecoratorSubviews: UIView? {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:153:78: error: 'UITextStorageDirection' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:153:115: error: 'UITextGranularity' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:267:33: error: 'UITextRange' is unavailable in watchOS
public var selectedTextRange: UITextRange? {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:320:31: error: 'UITextRange' is unavailable in watchOS
public var markedTextRange: UITextRange? {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:329:33: error: 'UITextInputMode' is unavailable in watchOS
public var textViewInputMode: UITextInputMode? {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:370:12: note: 'UITextInputMode' has been explicitly marked unavailable here
@interface UITextInputMode : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:407:45: error: 'UITextRange' is unavailable in watchOS
public func getTextViewSelectedRange() -> UITextRange? {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:453:47: error: 'UIView' is unavailable in watchOS
public func presentInputAccessoryView(view: UIView) {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:459:51: error: 'UIView' is unavailable in watchOS
public func presentParagraphMenu(paragraphMenu: UIView) {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:49:33: error: 'UIView' is unavailable in watchOS
@objc public class LexicalView: UIView, Frontend {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:486:29: error: 'UITextView' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:486:111: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:509:45: error: 'UITextView' is unavailable in watchOS
func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:240:33: error: 'UIView' is unavailable in watchOS
var viewForDecoratorSubviews: UIView? {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:252:78: error: 'UITextStorageDirection' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:252:115: error: 'UITextGranularity' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift:57:43: error: 'UITapGestureRecognizer' is unavailable in watchOS
@objc func handleTap(gestureRecognizer: UITapGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift:11:41: error: 'UIView' is unavailable in watchOS
@objc public class LexicalReadOnlyView: UIView {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:15:30: error: 'UIResponder' is unavailable in watchOS
private weak var textView: UIResponder?
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:17:65: error: 'UIResponder' is unavailable in watchOS
init(editor: Editor, textStorage: TextStorage, nextResponder: UIResponder) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:23:7: error: cannot override 'hasText' which has been marked unavailable
var hasText: Bool {
^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:26:37: note: 'hasText' has been explicitly marked unavailable here
@property(nonatomic, readonly) BOOL hasText API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:44:22: error: 'UIResponder' is unavailable in watchOS
override var next: UIResponder? {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:11:34: error: 'UIResponder' is unavailable in watchOS
class ResponderForNodeSelection: UIResponder, UIKeyInput {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:11:47: error: 'UIKeyInput' is unavailable in watchOS
class ResponderForNodeSelection: UIResponder, UIKeyInput {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:24:11: note: 'UIKeyInput' has been explicitly marked unavailable here
@protocol UIKeyInput <UITextInputTraits>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:36:30: error: 'NSTextContainer' is unavailable in watchOS
textContainer container: NSTextContainer
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:194:24: error: cannot override 'showCGGlyphs' which has been marked unavailable
override public func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key: Any] = [:], in context: CGContext) {
^
UIKit.NSLayoutManager.showCGGlyphs:3:13: note: 'showCGGlyphs(_:positions:count:font:textMatrix:attributes:in:)' has been explicitly marked unavailable here
open func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key : Any] = [:], in CGContext: CGContext)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:194:24: note: remove 'override' modifier to declare a new 'showCGGlyphs'
override public func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key: Any] = [:], in context: CGContext) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:10:29: error: 'NSLayoutManager' is unavailable in watchOS
public class LayoutManager: NSLayoutManager {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:55:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
@interface NSLayoutManager : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:12:22: error: 'NSLayoutManager' is unavailable in watchOS
_ layoutManager: NSLayoutManager,
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:55:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
@interface NSLayoutManager : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:14:31: error: 'NSLayoutManager' is unavailable in watchOS
properties: UnsafePointer<NSLayoutManager.GlyphProperty>,
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:55:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
@interface NSLayoutManager : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:10:40: error: 'NSLayoutManagerDelegate' is unavailable in watchOS
class LayoutManagerDelegate: NSObject, NSLayoutManagerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:307:36: note: 'NSLayoutManagerDelegate' has been explicitly marked unavailable here
API_UNAVAILABLE(watchos) @protocol NSLayoutManagerDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift:44:71: error: 'UITextStorageDirection' is unavailable in watchOS
internal func pointAtStringLocation(_ location: Int, searchDirection: UITextStorageDirection, rangeCache: [NodeKey: RangeCacheItem]) throws -> Point? {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift:64:85: error: 'UITextStorageDirection' is unavailable in watchOS
private func evaluateNode(_ nodeKey: NodeKey, stringLocation: Int, searchDirection: UITextStorageDirection, rangeCache: [NodeKey: RangeCacheItem]) throws -> RangeCacheSearchResult? {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:60: error: 'NSTextContainer' is unavailable in watchOS
override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:24: error: cannot override 'attachmentBounds' which has been marked unavailable
override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
^
UIKit.NSTextAttachment.attachmentBounds:3:13: note: 'attachmentBounds(for:proposedLineFragment:glyphPosition:characterIndex:)' has been explicitly marked unavailable here
open func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:24: note: remove 'override' modifier to declare a new 'attachmentBounds'
override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:76: error: 'NSTextContainer' is unavailable in watchOS
override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:24: error: cannot override 'image' which has been marked unavailable
override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
^
UIKit.NSTextAttachment.image:3:13: note: 'image(forBounds:textContainer:characterIndex:)' has been explicitly marked unavailable here
open func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage?}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:24: note: remove 'override' modifier to declare a new 'image'
override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:22:21: error: cannot override 'isSimpleRectangularTextContainer' which has been marked unavailable
override open var isSimpleRectangularTextContainer: Bool {
^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:53:90: note: 'isSimpleRectangularTextContainer' has been explicitly marked unavailable here
@property (getter=isSimpleRectangularTextContainer, readonly, NS_NONATOMIC_IOSONLY) BOOL simpleRectangularTextContainer API_AVAILABLE(macos(10.0), ios(9.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:22:21: note: remove 'override' modifier to declare a new 'isSimpleRectangularTextContainer'
override open var isSimpleRectangularTextContainer: Bool {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:34:24: error: cannot override 'lineFragmentRect' which has been marked unavailable
override public func lineFragmentRect(
^
UIKit.NSTextContainer.lineFragmentRect:3:13: note: 'lineFragmentRect(forProposedRect:at:writingDirection:remaining:)' has been explicitly marked unavailable here
open func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:34:24: note: remove 'override' modifier to declare a new 'lineFragmentRect'
override public func lineFragmentRect(
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:18:29: error: 'NSTextContainer' is unavailable in watchOS
public class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift:10:27: error: 'NSTextStorage' is unavailable in watchOS
public class TextStorage: NSTextStorage {
^~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:41:12: note: 'NSTextStorage' has been explicitly marked unavailable here
@interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:11:42: error: 'UITextInputDelegate' is unavailable in watchOS
internal weak var targetInputDelegate: UITextInputDelegate?
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:14:41: error: 'UITextInput' is unavailable in watchOS
func selectionWillChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:20:40: error: 'UITextInput' is unavailable in watchOS
func selectionDidChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:26:36: error: 'UITextInput' is unavailable in watchOS
func textWillChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:32:35: error: 'UITextInput' is unavailable in watchOS
func textDidChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:39:68: error: 'UITextInput' is unavailable in watchOS
internal func sendSelectionChangedIgnoringSuspended(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:10:46: error: 'UITextInputDelegate' is unavailable in watchOS
internal class InputDelegateProxy: NSObject, UITextInputDelegate {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:47: error: 'UITextRange' is unavailable in watchOS
internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:71: error: 'UITextStorageDirection' is unavailable in watchOS
internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:137: error: 'UITextRange' is unavailable in watchOS
internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:31:53: error: 'UITextStorageDirection' is unavailable in watchOS
public convenience init(range: NSRange, affinity: UITextStorageDirection) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:47:20: error: 'UITextRange' is unavailable in watchOS
let opaqueRange: UITextRange?
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:49:17: error: 'UITextStorageDirection' is unavailable in watchOS
let affinity: UITextStorageDirection
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:55:26: error: 'UITextRange' is unavailable in watchOS
let markedOpaqueRange: UITextRange?
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:14:45: error: 'UITextView' is unavailable in watchOS
func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:15:29: error: 'UITextView' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:15:111: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:22:29: error: 'UIPasteboard' is unavailable in watchOS
internal let pasteboard = UIPasteboard.general
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:31:33: error: 'UILabel' is unavailable in watchOS
private var placeholderLabel: UILabel
^~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:98:38: error: 'UITextInputDelegate' is unavailable in watchOS
override public var inputDelegate: UITextInputDelegate? {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:159:24: error: cannot override 'copy' which has been marked unavailable
override public func copy(_ sender: Any?) {
^
UIKit.UIResponder.copy:3:13: note: 'copy' has been explicitly marked unavailable here
open func copy(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:159:24: note: remove 'override' modifier to declare a new 'copy'
override public func copy(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:163:24: error: cannot override 'cut' which has been marked unavailable
override public func cut(_ sender: Any?) {
^
UIKit.UIResponder.cut:3:13: note: 'cut' has been explicitly marked unavailable here
open func cut(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:163:24: note: remove 'override' modifier to declare a new 'cut'
override public func cut(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:167:24: error: cannot override 'paste' which has been marked unavailable
override public func paste(_ sender: Any?) {
^
UIKit.UIResponder.paste:3:13: note: 'paste' has been explicitly marked unavailable here
open func paste(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:167:24: note: remove 'override' modifier to declare a new 'paste'
override public func paste(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:199:24: error: cannot override 'setAttributedMarkedText' which has been marked unavailable
override public func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange) {
^
UIKit.UITextView.setAttributedMarkedText:3:13: note: 'setAttributedMarkedText(_:selectedRange:)' has been explicitly marked unavailable here
open func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:199:24: note: remove 'override' modifier to declare a new 'setAttributedMarkedText'
override public func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:19:30: error: 'UITextView' is unavailable in watchOS
@objc public class TextView: UITextView {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:388:54: error: 'UITextView' is unavailable in watchOS
public func textViewDidChangeSelection(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:404:36: error: 'UITextView' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:415:51: error: 'UITextView' is unavailable in watchOS
public func textViewDidBeginEditing(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:420:49: error: 'UITextView' is unavailable in watchOS
public func textViewDidEndEditing(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:425:36: error: 'UITextView' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:425:118: error: 'UITextItemInteraction' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:387:43: error: 'UITextViewDelegate' is unavailable in watchOS
private class TextViewDelegate: NSObject, UITextViewDelegate {
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:32:11: note: 'UITextViewDelegate' has been explicitly marked unavailable here
@protocol UITextViewDelegate <NSObject, UIScrollViewDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:425:15: error: cannot override 'textView' which has been marked unavailable
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^
UIKit.UITextViewDelegate.textView:3:17: note: 'textView(_:shouldInteractWith:in:interaction:)' has been explicitly marked unavailable here
optional func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool}
^
SwiftDriverJobDiscovery normal arm64_32 Compiling Pattern.swift, Profiler.swift, QueryParser.swift, QueryParserCache.swift, SourceRange.swift, StreamReader.swift (in target 'SwiftSoup' from project 'SwiftSoup')
SwiftEmitModule normal armv7k Emitting\ module\ for\ Lexical (in target 'Lexical' from project 'Lexical')
Failed frontend command:
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Lexical/Core/Constants.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/EditorState.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Errors.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/FeatureFlags.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/GarbageCollection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Mutations.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/CodeHighlightNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/CodeNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/ElementNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/HeadingNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/LineBreakNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/Node.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/ParagraphNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/QuoteNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/RootNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/TextNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/UnknownNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Reconciler.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/BaseSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/GridSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/NodeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/Point.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/RangeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/SelectionUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Serialization.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/StyleEvents.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/TextUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Updates.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Utils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/AttributesUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/Logging.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/NSAttributedStringKey+Extensions.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/ObjCHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/RangeHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/SelectionHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/Theme.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Plugin/Plugin.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextKitUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift -target armv7k-apple-watchos6.0 -load-resolved-plugin /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical-dependencies-1.json -enable-objc-interop -stack-check -sdk /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Lexical -frontend-parseable-output -disable-clang-spi -clang-target armv7k-apple-watchos26.4 -target-sdk-version 26.4 -target-sdk-name watchos26.4 -in-process-plugin-server-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical.abi.json
EmitSwiftModule normal armv7k (in target 'Lexical' from project 'Lexical')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Constants.swift:46:22: error: 'label' is unavailable in watchOS
return UIColor.label
^~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:29:19: error: 'UIView' is unavailable in watchOS
case cachedView(UIView)
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:30:28: error: 'UIView' is unavailable in watchOS
case unmountedCachedView(UIView)
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:31:24: error: 'UIView' is unavailable in watchOS
case needsDecorating(UIView)
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:33:13: error: 'UIView' is unavailable in watchOS
var view: UIView? {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:441:87: error: 'UITextStorageDirection' is unavailable in watchOS
internal func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:441:124: error: 'UITextGranularity' is unavailable in watchOS
internal func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift:98:64: error: 'UIPasteboard' is unavailable in watchOS
internal func onCopyFromUITextView(editor: Editor, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift:105:63: error: 'UIPasteboard' is unavailable in watchOS
internal func onCutFromUITextView(editor: Editor, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift:115:65: error: 'UIPasteboard' is unavailable in watchOS
internal func onPasteFromUITextView(editor: Editor, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:75:29: error: 'UIView' is unavailable in watchOS
open func createView() -> UIView {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:81:28: error: 'UIView' is unavailable in watchOS
open func decorate(view: UIView) {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:85:39: error: 'UIView' is unavailable in watchOS
open func decoratorWillAppear(view: UIView) {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:89:41: error: 'UIView' is unavailable in watchOS
open func decoratorDidDisappear(view: UIView) {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/RangeSelection.swift:1008:95: error: 'UITextGranularity' is unavailable in watchOS
internal func modify(alter: NativeSelectionModificationType, isBackward: Bool, granularity: UITextGranularity) throws {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/RangeSelection.swift:1043:65: error: 'UITextStorageDirection' is unavailable in watchOS
internal func applySelectionRange(_ range: NSRange, affinity: UITextStorageDirection) throws {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Utils.swift:366:76: error: 'UIView' is unavailable in watchOS
public func decoratorView(forKey key: NodeKey, createIfNecessary: Bool) -> UIView? {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:12:67: error: 'UIPasteboard' is unavailable in watchOS
internal func setPasteboard(selection: BaseSelection, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:35:84: error: 'UIPasteboard' is unavailable in watchOS
internal func insertDataTransferForRichText(selection: RangeSelection, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:28:33: error: 'UIView' is unavailable in watchOS
var viewForDecoratorSubviews: UIView? { get }
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:34:78: error: 'UITextStorageDirection' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity)
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:34:115: error: 'UITextGranularity' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity)
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:21:115: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: LexicalView, shouldInteractWith URL: URL, in selection: RangeSelection?, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:25:115: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: LexicalView, shouldInteractWith URL: URL, in selection: RangeSelection?, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:149:33: error: 'UIView' is unavailable in watchOS
var viewForDecoratorSubviews: UIView? {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:153:78: error: 'UITextStorageDirection' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:153:115: error: 'UITextGranularity' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:267:33: error: 'UITextRange' is unavailable in watchOS
public var selectedTextRange: UITextRange? {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:320:31: error: 'UITextRange' is unavailable in watchOS
public var markedTextRange: UITextRange? {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:329:33: error: 'UITextInputMode' is unavailable in watchOS
public var textViewInputMode: UITextInputMode? {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:370:12: note: 'UITextInputMode' has been explicitly marked unavailable here
@interface UITextInputMode : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:407:45: error: 'UITextRange' is unavailable in watchOS
public func getTextViewSelectedRange() -> UITextRange? {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:453:47: error: 'UIView' is unavailable in watchOS
public func presentInputAccessoryView(view: UIView) {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:459:51: error: 'UIView' is unavailable in watchOS
public func presentParagraphMenu(paragraphMenu: UIView) {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:49:33: error: 'UIView' is unavailable in watchOS
@objc public class LexicalView: UIView, Frontend {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:486:29: error: 'UITextView' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:486:111: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:509:45: error: 'UITextView' is unavailable in watchOS
func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:240:33: error: 'UIView' is unavailable in watchOS
var viewForDecoratorSubviews: UIView? {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:252:78: error: 'UITextStorageDirection' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:252:115: error: 'UITextGranularity' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift:57:43: error: 'UITapGestureRecognizer' is unavailable in watchOS
@objc func handleTap(gestureRecognizer: UITapGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift:11:41: error: 'UIView' is unavailable in watchOS
@objc public class LexicalReadOnlyView: UIView {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:15:30: error: 'UIResponder' is unavailable in watchOS
private weak var textView: UIResponder?
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:17:65: error: 'UIResponder' is unavailable in watchOS
init(editor: Editor, textStorage: TextStorage, nextResponder: UIResponder) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:23:7: error: cannot override 'hasText' which has been marked unavailable
var hasText: Bool {
^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:26:37: note: 'hasText' has been explicitly marked unavailable here
@property(nonatomic, readonly) BOOL hasText API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:44:22: error: 'UIResponder' is unavailable in watchOS
override var next: UIResponder? {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:11:34: error: 'UIResponder' is unavailable in watchOS
class ResponderForNodeSelection: UIResponder, UIKeyInput {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:11:47: error: 'UIKeyInput' is unavailable in watchOS
class ResponderForNodeSelection: UIResponder, UIKeyInput {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:24:11: note: 'UIKeyInput' has been explicitly marked unavailable here
@protocol UIKeyInput <UITextInputTraits>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:36:30: error: 'NSTextContainer' is unavailable in watchOS
textContainer container: NSTextContainer
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:194:24: error: cannot override 'showCGGlyphs' which has been marked unavailable
override public func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key: Any] = [:], in context: CGContext) {
^
UIKit.NSLayoutManager.showCGGlyphs:3:13: note: 'showCGGlyphs(_:positions:count:font:textMatrix:attributes:in:)' has been explicitly marked unavailable here
open func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key : Any] = [:], in CGContext: CGContext)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:194:24: note: remove 'override' modifier to declare a new 'showCGGlyphs'
override public func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key: Any] = [:], in context: CGContext) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:10:29: error: 'NSLayoutManager' is unavailable in watchOS
public class LayoutManager: NSLayoutManager {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:55:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
@interface NSLayoutManager : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:12:22: error: 'NSLayoutManager' is unavailable in watchOS
_ layoutManager: NSLayoutManager,
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:55:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
@interface NSLayoutManager : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:14:31: error: 'NSLayoutManager' is unavailable in watchOS
properties: UnsafePointer<NSLayoutManager.GlyphProperty>,
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:55:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
@interface NSLayoutManager : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:10:40: error: 'NSLayoutManagerDelegate' is unavailable in watchOS
class LayoutManagerDelegate: NSObject, NSLayoutManagerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:307:36: note: 'NSLayoutManagerDelegate' has been explicitly marked unavailable here
API_UNAVAILABLE(watchos) @protocol NSLayoutManagerDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift:44:71: error: 'UITextStorageDirection' is unavailable in watchOS
internal func pointAtStringLocation(_ location: Int, searchDirection: UITextStorageDirection, rangeCache: [NodeKey: RangeCacheItem]) throws -> Point? {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift:64:85: error: 'UITextStorageDirection' is unavailable in watchOS
private func evaluateNode(_ nodeKey: NodeKey, stringLocation: Int, searchDirection: UITextStorageDirection, rangeCache: [NodeKey: RangeCacheItem]) throws -> RangeCacheSearchResult? {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:60: error: 'NSTextContainer' is unavailable in watchOS
override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:24: error: cannot override 'attachmentBounds' which has been marked unavailable
override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
^
UIKit.NSTextAttachment.attachmentBounds:3:13: note: 'attachmentBounds(for:proposedLineFragment:glyphPosition:characterIndex:)' has been explicitly marked unavailable here
open func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:24: note: remove 'override' modifier to declare a new 'attachmentBounds'
override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:76: error: 'NSTextContainer' is unavailable in watchOS
override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:24: error: cannot override 'image' which has been marked unavailable
override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
^
UIKit.NSTextAttachment.image:3:13: note: 'image(forBounds:textContainer:characterIndex:)' has been explicitly marked unavailable here
open func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage?}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:24: note: remove 'override' modifier to declare a new 'image'
override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:22:21: error: cannot override 'isSimpleRectangularTextContainer' which has been marked unavailable
override open var isSimpleRectangularTextContainer: Bool {
^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:53:90: note: 'isSimpleRectangularTextContainer' has been explicitly marked unavailable here
@property (getter=isSimpleRectangularTextContainer, readonly, NS_NONATOMIC_IOSONLY) BOOL simpleRectangularTextContainer API_AVAILABLE(macos(10.0), ios(9.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:22:21: note: remove 'override' modifier to declare a new 'isSimpleRectangularTextContainer'
override open var isSimpleRectangularTextContainer: Bool {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:34:24: error: cannot override 'lineFragmentRect' which has been marked unavailable
override public func lineFragmentRect(
^
UIKit.NSTextContainer.lineFragmentRect:3:13: note: 'lineFragmentRect(forProposedRect:at:writingDirection:remaining:)' has been explicitly marked unavailable here
open func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:34:24: note: remove 'override' modifier to declare a new 'lineFragmentRect'
override public func lineFragmentRect(
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:18:29: error: 'NSTextContainer' is unavailable in watchOS
public class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift:10:27: error: 'NSTextStorage' is unavailable in watchOS
public class TextStorage: NSTextStorage {
^~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:41:12: note: 'NSTextStorage' has been explicitly marked unavailable here
@interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:11:42: error: 'UITextInputDelegate' is unavailable in watchOS
internal weak var targetInputDelegate: UITextInputDelegate?
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:14:41: error: 'UITextInput' is unavailable in watchOS
func selectionWillChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:20:40: error: 'UITextInput' is unavailable in watchOS
func selectionDidChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:26:36: error: 'UITextInput' is unavailable in watchOS
func textWillChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:32:35: error: 'UITextInput' is unavailable in watchOS
func textDidChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:39:68: error: 'UITextInput' is unavailable in watchOS
internal func sendSelectionChangedIgnoringSuspended(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:10:46: error: 'UITextInputDelegate' is unavailable in watchOS
internal class InputDelegateProxy: NSObject, UITextInputDelegate {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:47: error: 'UITextRange' is unavailable in watchOS
internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:71: error: 'UITextStorageDirection' is unavailable in watchOS
internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:137: error: 'UITextRange' is unavailable in watchOS
internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:31:53: error: 'UITextStorageDirection' is unavailable in watchOS
public convenience init(range: NSRange, affinity: UITextStorageDirection) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:47:20: error: 'UITextRange' is unavailable in watchOS
let opaqueRange: UITextRange?
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:49:17: error: 'UITextStorageDirection' is unavailable in watchOS
let affinity: UITextStorageDirection
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:55:26: error: 'UITextRange' is unavailable in watchOS
let markedOpaqueRange: UITextRange?
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:14:45: error: 'UITextView' is unavailable in watchOS
func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:15:29: error: 'UITextView' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:15:111: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:22:29: error: 'UIPasteboard' is unavailable in watchOS
internal let pasteboard = UIPasteboard.general
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:31:33: error: 'UILabel' is unavailable in watchOS
private var placeholderLabel: UILabel
^~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:98:38: error: 'UITextInputDelegate' is unavailable in watchOS
override public var inputDelegate: UITextInputDelegate? {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:159:24: error: cannot override 'copy' which has been marked unavailable
override public func copy(_ sender: Any?) {
^
UIKit.UIResponder.copy:3:13: note: 'copy' has been explicitly marked unavailable here
open func copy(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:159:24: note: remove 'override' modifier to declare a new 'copy'
override public func copy(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:163:24: error: cannot override 'cut' which has been marked unavailable
override public func cut(_ sender: Any?) {
^
UIKit.UIResponder.cut:3:13: note: 'cut' has been explicitly marked unavailable here
open func cut(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:163:24: note: remove 'override' modifier to declare a new 'cut'
override public func cut(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:167:24: error: cannot override 'paste' which has been marked unavailable
override public func paste(_ sender: Any?) {
^
UIKit.UIResponder.paste:3:13: note: 'paste' has been explicitly marked unavailable here
open func paste(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:167:24: note: remove 'override' modifier to declare a new 'paste'
override public func paste(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:199:24: error: cannot override 'setAttributedMarkedText' which has been marked unavailable
override public func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange) {
^
UIKit.UITextView.setAttributedMarkedText:3:13: note: 'setAttributedMarkedText(_:selectedRange:)' has been explicitly marked unavailable here
open func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:199:24: note: remove 'override' modifier to declare a new 'setAttributedMarkedText'
override public func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:19:30: error: 'UITextView' is unavailable in watchOS
@objc public class TextView: UITextView {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:388:54: error: 'UITextView' is unavailable in watchOS
public func textViewDidChangeSelection(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:404:36: error: 'UITextView' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:415:51: error: 'UITextView' is unavailable in watchOS
public func textViewDidBeginEditing(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:420:49: error: 'UITextView' is unavailable in watchOS
public func textViewDidEndEditing(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:425:36: error: 'UITextView' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:425:118: error: 'UITextItemInteraction' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:387:43: error: 'UITextViewDelegate' is unavailable in watchOS
private class TextViewDelegate: NSObject, UITextViewDelegate {
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:32:11: note: 'UITextViewDelegate' has been explicitly marked unavailable here
@protocol UITextViewDelegate <NSObject, UIScrollViewDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:425:15: error: cannot override 'textView' which has been marked unavailable
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^
UIKit.UITextViewDelegate.textView:3:17: note: 'textView(_:shouldInteractWith:in:interaction:)' has been explicitly marked unavailable here
optional func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool}
^
SwiftDriverJobDiscovery normal arm64_32 Compiling OrderedSet.swift, ParseError.swift, ParseErrorList.swift, ParseSettings.swift, Parser.swift, ParsingStrings.swift (in target 'SwiftSoup' from project 'SwiftSoup')
SwiftEmitModule normal arm64 Emitting\ module\ for\ Lexical (in target 'Lexical' from project 'Lexical')
Failed frontend command:
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Lexical/Core/Constants.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/EditorState.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Errors.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/FeatureFlags.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/GarbageCollection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Mutations.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/CodeHighlightNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/CodeNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/ElementNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/HeadingNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/LineBreakNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/Node.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/ParagraphNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/QuoteNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/RootNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/TextNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/UnknownNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Reconciler.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/BaseSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/GridSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/NodeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/Point.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/RangeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/SelectionUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Serialization.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/StyleEvents.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/TextUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Updates.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Utils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/AttributesUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/Logging.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/NSAttributedStringKey+Extensions.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/ObjCHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/RangeHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/SelectionHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/Theme.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Plugin/Plugin.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextKitUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift -target arm64-apple-watchos6.0 -load-resolved-plugin /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64/Lexical-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64/Lexical_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Lexical -frontend-parseable-output -disable-clang-spi -clang-target arm64-apple-watchos26.4 -target-sdk-version 26.4 -target-sdk-name watchos26.4 -in-process-plugin-server-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64/Lexical.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64/Lexical.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64/Lexical-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64/Lexical-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64/Lexical-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64/Lexical.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64/Lexical.abi.json
EmitSwiftModule normal arm64 (in target 'Lexical' from project 'Lexical')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Constants.swift:46:22: error: 'label' is unavailable in watchOS
return UIColor.label
^~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:29:19: error: 'UIView' is unavailable in watchOS
case cachedView(UIView)
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:30:28: error: 'UIView' is unavailable in watchOS
case unmountedCachedView(UIView)
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:31:24: error: 'UIView' is unavailable in watchOS
case needsDecorating(UIView)
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:33:13: error: 'UIView' is unavailable in watchOS
var view: UIView? {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:441:87: error: 'UITextStorageDirection' is unavailable in watchOS
internal func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:441:124: error: 'UITextGranularity' is unavailable in watchOS
internal func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift:98:64: error: 'UIPasteboard' is unavailable in watchOS
internal func onCopyFromUITextView(editor: Editor, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift:105:63: error: 'UIPasteboard' is unavailable in watchOS
internal func onCutFromUITextView(editor: Editor, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift:115:65: error: 'UIPasteboard' is unavailable in watchOS
internal func onPasteFromUITextView(editor: Editor, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:75:29: error: 'UIView' is unavailable in watchOS
open func createView() -> UIView {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:81:28: error: 'UIView' is unavailable in watchOS
open func decorate(view: UIView) {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:85:39: error: 'UIView' is unavailable in watchOS
open func decoratorWillAppear(view: UIView) {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:89:41: error: 'UIView' is unavailable in watchOS
open func decoratorDidDisappear(view: UIView) {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/RangeSelection.swift:1008:95: error: 'UITextGranularity' is unavailable in watchOS
internal func modify(alter: NativeSelectionModificationType, isBackward: Bool, granularity: UITextGranularity) throws {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/RangeSelection.swift:1043:65: error: 'UITextStorageDirection' is unavailable in watchOS
internal func applySelectionRange(_ range: NSRange, affinity: UITextStorageDirection) throws {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Utils.swift:366:76: error: 'UIView' is unavailable in watchOS
public func decoratorView(forKey key: NodeKey, createIfNecessary: Bool) -> UIView? {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:12:67: error: 'UIPasteboard' is unavailable in watchOS
internal func setPasteboard(selection: BaseSelection, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:35:84: error: 'UIPasteboard' is unavailable in watchOS
internal func insertDataTransferForRichText(selection: RangeSelection, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:28:33: error: 'UIView' is unavailable in watchOS
var viewForDecoratorSubviews: UIView? { get }
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:34:78: error: 'UITextStorageDirection' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity)
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:34:115: error: 'UITextGranularity' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity)
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:21:115: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: LexicalView, shouldInteractWith URL: URL, in selection: RangeSelection?, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:25:115: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: LexicalView, shouldInteractWith URL: URL, in selection: RangeSelection?, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:149:33: error: 'UIView' is unavailable in watchOS
var viewForDecoratorSubviews: UIView? {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:153:78: error: 'UITextStorageDirection' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:153:115: error: 'UITextGranularity' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:267:33: error: 'UITextRange' is unavailable in watchOS
public var selectedTextRange: UITextRange? {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:320:31: error: 'UITextRange' is unavailable in watchOS
public var markedTextRange: UITextRange? {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:329:33: error: 'UITextInputMode' is unavailable in watchOS
public var textViewInputMode: UITextInputMode? {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:370:12: note: 'UITextInputMode' has been explicitly marked unavailable here
@interface UITextInputMode : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:407:45: error: 'UITextRange' is unavailable in watchOS
public func getTextViewSelectedRange() -> UITextRange? {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:453:47: error: 'UIView' is unavailable in watchOS
public func presentInputAccessoryView(view: UIView) {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:459:51: error: 'UIView' is unavailable in watchOS
public func presentParagraphMenu(paragraphMenu: UIView) {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:49:33: error: 'UIView' is unavailable in watchOS
@objc public class LexicalView: UIView, Frontend {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:486:29: error: 'UITextView' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:486:111: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:509:45: error: 'UITextView' is unavailable in watchOS
func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:240:33: error: 'UIView' is unavailable in watchOS
var viewForDecoratorSubviews: UIView? {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:252:78: error: 'UITextStorageDirection' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:252:115: error: 'UITextGranularity' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift:57:43: error: 'UITapGestureRecognizer' is unavailable in watchOS
@objc func handleTap(gestureRecognizer: UITapGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift:11:41: error: 'UIView' is unavailable in watchOS
@objc public class LexicalReadOnlyView: UIView {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:15:30: error: 'UIResponder' is unavailable in watchOS
private weak var textView: UIResponder?
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:17:65: error: 'UIResponder' is unavailable in watchOS
init(editor: Editor, textStorage: TextStorage, nextResponder: UIResponder) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:23:7: error: cannot override 'hasText' which has been marked unavailable
var hasText: Bool {
^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:26:37: note: 'hasText' has been explicitly marked unavailable here
@property(nonatomic, readonly) BOOL hasText API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:44:22: error: 'UIResponder' is unavailable in watchOS
override var next: UIResponder? {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:11:34: error: 'UIResponder' is unavailable in watchOS
class ResponderForNodeSelection: UIResponder, UIKeyInput {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:11:47: error: 'UIKeyInput' is unavailable in watchOS
class ResponderForNodeSelection: UIResponder, UIKeyInput {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:24:11: note: 'UIKeyInput' has been explicitly marked unavailable here
@protocol UIKeyInput <UITextInputTraits>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:36:30: error: 'NSTextContainer' is unavailable in watchOS
textContainer container: NSTextContainer
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:194:24: error: cannot override 'showCGGlyphs' which has been marked unavailable
override public func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key: Any] = [:], in context: CGContext) {
^
UIKit.NSLayoutManager.showCGGlyphs:3:13: note: 'showCGGlyphs(_:positions:count:font:textMatrix:attributes:in:)' has been explicitly marked unavailable here
open func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key : Any] = [:], in CGContext: CGContext)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:194:24: note: remove 'override' modifier to declare a new 'showCGGlyphs'
override public func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key: Any] = [:], in context: CGContext) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:10:29: error: 'NSLayoutManager' is unavailable in watchOS
public class LayoutManager: NSLayoutManager {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:55:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
@interface NSLayoutManager : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:12:22: error: 'NSLayoutManager' is unavailable in watchOS
_ layoutManager: NSLayoutManager,
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:55:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
@interface NSLayoutManager : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:14:31: error: 'NSLayoutManager' is unavailable in watchOS
properties: UnsafePointer<NSLayoutManager.GlyphProperty>,
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:55:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
@interface NSLayoutManager : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:10:40: error: 'NSLayoutManagerDelegate' is unavailable in watchOS
class LayoutManagerDelegate: NSObject, NSLayoutManagerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:307:36: note: 'NSLayoutManagerDelegate' has been explicitly marked unavailable here
API_UNAVAILABLE(watchos) @protocol NSLayoutManagerDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift:44:71: error: 'UITextStorageDirection' is unavailable in watchOS
internal func pointAtStringLocation(_ location: Int, searchDirection: UITextStorageDirection, rangeCache: [NodeKey: RangeCacheItem]) throws -> Point? {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift:64:85: error: 'UITextStorageDirection' is unavailable in watchOS
private func evaluateNode(_ nodeKey: NodeKey, stringLocation: Int, searchDirection: UITextStorageDirection, rangeCache: [NodeKey: RangeCacheItem]) throws -> RangeCacheSearchResult? {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:60: error: 'NSTextContainer' is unavailable in watchOS
override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:24: error: cannot override 'attachmentBounds' which has been marked unavailable
override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
^
UIKit.NSTextAttachment.attachmentBounds:3:13: note: 'attachmentBounds(for:proposedLineFragment:glyphPosition:characterIndex:)' has been explicitly marked unavailable here
open func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:24: note: remove 'override' modifier to declare a new 'attachmentBounds'
override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:76: error: 'NSTextContainer' is unavailable in watchOS
override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:24: error: cannot override 'image' which has been marked unavailable
override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
^
UIKit.NSTextAttachment.image:3:13: note: 'image(forBounds:textContainer:characterIndex:)' has been explicitly marked unavailable here
open func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage?}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:24: note: remove 'override' modifier to declare a new 'image'
override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:22:21: error: cannot override 'isSimpleRectangularTextContainer' which has been marked unavailable
override open var isSimpleRectangularTextContainer: Bool {
^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:53:90: note: 'isSimpleRectangularTextContainer' has been explicitly marked unavailable here
@property (getter=isSimpleRectangularTextContainer, readonly, NS_NONATOMIC_IOSONLY) BOOL simpleRectangularTextContainer API_AVAILABLE(macos(10.0), ios(9.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:22:21: note: remove 'override' modifier to declare a new 'isSimpleRectangularTextContainer'
override open var isSimpleRectangularTextContainer: Bool {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:34:24: error: cannot override 'lineFragmentRect' which has been marked unavailable
override public func lineFragmentRect(
^
UIKit.NSTextContainer.lineFragmentRect:3:13: note: 'lineFragmentRect(forProposedRect:at:writingDirection:remaining:)' has been explicitly marked unavailable here
open func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:34:24: note: remove 'override' modifier to declare a new 'lineFragmentRect'
override public func lineFragmentRect(
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:18:29: error: 'NSTextContainer' is unavailable in watchOS
public class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift:10:27: error: 'NSTextStorage' is unavailable in watchOS
public class TextStorage: NSTextStorage {
^~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:41:12: note: 'NSTextStorage' has been explicitly marked unavailable here
@interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:11:42: error: 'UITextInputDelegate' is unavailable in watchOS
internal weak var targetInputDelegate: UITextInputDelegate?
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:14:41: error: 'UITextInput' is unavailable in watchOS
func selectionWillChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:20:40: error: 'UITextInput' is unavailable in watchOS
func selectionDidChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:26:36: error: 'UITextInput' is unavailable in watchOS
func textWillChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:32:35: error: 'UITextInput' is unavailable in watchOS
func textDidChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:39:68: error: 'UITextInput' is unavailable in watchOS
internal func sendSelectionChangedIgnoringSuspended(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:10:46: error: 'UITextInputDelegate' is unavailable in watchOS
internal class InputDelegateProxy: NSObject, UITextInputDelegate {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:47: error: 'UITextRange' is unavailable in watchOS
internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:71: error: 'UITextStorageDirection' is unavailable in watchOS
internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:137: error: 'UITextRange' is unavailable in watchOS
internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:31:53: error: 'UITextStorageDirection' is unavailable in watchOS
public convenience init(range: NSRange, affinity: UITextStorageDirection) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:47:20: error: 'UITextRange' is unavailable in watchOS
let opaqueRange: UITextRange?
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:49:17: error: 'UITextStorageDirection' is unavailable in watchOS
let affinity: UITextStorageDirection
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:55:26: error: 'UITextRange' is unavailable in watchOS
let markedOpaqueRange: UITextRange?
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:14:45: error: 'UITextView' is unavailable in watchOS
func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:15:29: error: 'UITextView' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:15:111: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:22:29: error: 'UIPasteboard' is unavailable in watchOS
internal let pasteboard = UIPasteboard.general
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:31:33: error: 'UILabel' is unavailable in watchOS
private var placeholderLabel: UILabel
^~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:98:38: error: 'UITextInputDelegate' is unavailable in watchOS
override public var inputDelegate: UITextInputDelegate? {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:159:24: error: cannot override 'copy' which has been marked unavailable
override public func copy(_ sender: Any?) {
^
UIKit.UIResponder.copy:3:13: note: 'copy' has been explicitly marked unavailable here
open func copy(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:159:24: note: remove 'override' modifier to declare a new 'copy'
override public func copy(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:163:24: error: cannot override 'cut' which has been marked unavailable
override public func cut(_ sender: Any?) {
^
UIKit.UIResponder.cut:3:13: note: 'cut' has been explicitly marked unavailable here
open func cut(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:163:24: note: remove 'override' modifier to declare a new 'cut'
override public func cut(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:167:24: error: cannot override 'paste' which has been marked unavailable
override public func paste(_ sender: Any?) {
^
UIKit.UIResponder.paste:3:13: note: 'paste' has been explicitly marked unavailable here
open func paste(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:167:24: note: remove 'override' modifier to declare a new 'paste'
override public func paste(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:199:24: error: cannot override 'setAttributedMarkedText' which has been marked unavailable
override public func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange) {
^
UIKit.UITextView.setAttributedMarkedText:3:13: note: 'setAttributedMarkedText(_:selectedRange:)' has been explicitly marked unavailable here
open func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:199:24: note: remove 'override' modifier to declare a new 'setAttributedMarkedText'
override public func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:19:30: error: 'UITextView' is unavailable in watchOS
@objc public class TextView: UITextView {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:388:54: error: 'UITextView' is unavailable in watchOS
public func textViewDidChangeSelection(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:404:36: error: 'UITextView' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:415:51: error: 'UITextView' is unavailable in watchOS
public func textViewDidBeginEditing(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:420:49: error: 'UITextView' is unavailable in watchOS
public func textViewDidEndEditing(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:425:36: error: 'UITextView' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:425:118: error: 'UITextItemInteraction' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:387:43: error: 'UITextViewDelegate' is unavailable in watchOS
private class TextViewDelegate: NSObject, UITextViewDelegate {
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:32:11: note: 'UITextViewDelegate' has been explicitly marked unavailable here
@protocol UITextViewDelegate <NSObject, UIScrollViewDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:425:15: error: cannot override 'textView' which has been marked unavailable
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^
UIKit.UITextViewDelegate.textView:3:17: note: 'textView(_:shouldInteractWith:in:interaction:)' has been explicitly marked unavailable here
optional func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool}
^
SwiftDriverJobDiscovery normal arm64_32 Compiling Attribute.swift, Attributes.swift, BinarySearch.swift, BooleanAttribute.swift, ByteSlice.swift, CharacterExt.swift (in target 'SwiftSoup' from project 'SwiftSoup')
SwiftCompile normal armv7k Compiling\ TextNode.swift,\ Token.swift,\ TokenQueue.swift,\ Tokeniser.swift,\ TokeniserState.swift,\ TreeBuilder.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SwiftSoup/Sources/TextNode.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SwiftSoup/Sources/Token.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SwiftSoup/Sources/TokenQueue.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SwiftSoup/Sources/Tokeniser.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SwiftSoup/Sources/TokeniserState.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SwiftSoup/Sources/TreeBuilder.swift (in target 'SwiftSoup' from project 'SwiftSoup')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SwiftSoup/Sources/TextNode.swift (in target 'SwiftSoup' from project 'SwiftSoup')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SwiftSoup/Sources/Token.swift (in target 'SwiftSoup' from project 'SwiftSoup')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SwiftSoup/Sources/TokenQueue.swift (in target 'SwiftSoup' from project 'SwiftSoup')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SwiftSoup/Sources/Tokeniser.swift (in target 'SwiftSoup' from project 'SwiftSoup')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SwiftSoup/Sources/TokeniserState.swift (in target 'SwiftSoup' from project 'SwiftSoup')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/SwiftSoup/Sources/TreeBuilder.swift (in target 'SwiftSoup' from project 'SwiftSoup')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling DataNode.swift, DebugTrace.swift, Document.swift, DocumentType.swift, Element.swift, ElementQuery.swift (in target 'SwiftSoup' from project 'SwiftSoup')
2026-04-13 21:08:52.319 xcodebuild[972:5433] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-04-13 21:08:52.423 xcodebuild[972:5433] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Lexical (in target 'Lexical' from project 'Lexical')
EmitSwiftModule normal arm64_32 (in target 'Lexical' from project 'Lexical')
SwiftEmitModule normal armv7k Emitting\ module\ for\ Lexical (in target 'Lexical' from project 'Lexical')
EmitSwiftModule normal armv7k (in target 'Lexical' from project 'Lexical')
SwiftEmitModule normal arm64 Emitting\ module\ for\ Lexical (in target 'Lexical' from project 'Lexical')
EmitSwiftModule normal arm64 (in target 'Lexical' from project 'Lexical')
Building workspace spi-builder-workspace with scheme Lexical-Package
(7 failures)
BUILD FAILURE 6.3 watchOS