The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Lexical, reference 0.2.0 (4a85d2), with Swift 6.4 for watchOS using Xcode 27.0 on 19 Sep 2026 21:04:10 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Lexical-Package -destination generic/platform=watchOS

Build Log

33 |
34 |   // necessary to stop UIKit drawing a placeholder image
35 |   override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
   |                        |- error: cannot override 'image' which has been marked unavailable
   |                        `- note: remove 'override' modifier to declare a new 'image'
36 |     return UIImage()
37 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:322:1: note: 'image(forBounds:textContainer:characterIndex:)' has been explicitly marked unavailable here
320 |
321 | // Returns the image object rendered by NSLayoutManager at imageBounds inside textContainer.  It should return an image appropriate for the target rendering context derived by arguments to this method.  The NSTextAttachment implementation returns -image when non-nil.  If -image==nil, it returns an image based on -contents and -fileType properties.
322 | - (nullable UIImage *)imageForBounds:(CGRect)imageBounds textContainer:(nullable NSTextContainer *)textContainer characterIndex:(NSUInteger)charIndex  API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'image(forBounds:textContainer:characterIndex:)' has been explicitly marked unavailable here
323 |
324 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:19:37: error: 'layoutManager' is unavailable in watchOS
17 |     }
18 |
19 |     let attributes = textContainer?.layoutManager?.textStorage?.attributes(at: characterIndex, effectiveRange: nil) ?? [:]
   |                                     `- error: 'layoutManager' is unavailable in watchOS
20 |
21 |     var bounds = CGRect.zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:202:69: note: 'layoutManager' has been explicitly marked unavailable here
200 | // Accessor for the NSLayoutManager object owning the receiver.
201 | // Avoid assigning a layout manager directly through this property.  Adding a text container to a layout manager through -[NSLayoutManager addTextContainer:] will use the property for assigning the new layout manager.
202 | @property (nullable, assign, NS_NONATOMIC_IOSONLY) NSLayoutManager *layoutManager API_AVAILABLE(macos(10.0), ios(9.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    |                                                                     `- note: 'layoutManager' has been explicitly marked unavailable here
203 |
204 | // This method should be used instead of the primitive -setLayoutManager: if you need to replace a container's layoutManager with a new one leaving the rest of the web intact.  All the NSTextContainers on the old NSLayoutManager get transferred to the new one.  This method deals with all the work of making sure the containers don't get deallocated and removing the old layoutManager from the text storage and replacing it with the new one.
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:22:21: error: cannot override 'isSimpleRectangularTextContainer' which has been marked unavailable
20 |   internal var readOnlySizeCache: LexicalReadOnlySizeCache?
21 |
22 |   override open var isSimpleRectangularTextContainer: Bool {
   |                     |- error: cannot override 'isSimpleRectangularTextContainer' which has been marked unavailable
   |                     `- note: remove 'override' modifier to declare a new 'isSimpleRectangularTextContainer'
23 |     get {
24 |       guard let readOnlySizeCache else { return true }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:159:90: note: 'isSimpleRectangularTextContainer' has been explicitly marked unavailable here
157 | /// method. Otherwise, the default value is
158 | /// <doc://com.apple.documentation/documentation/swift/true>.
159 | @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);
    |                                                                                          `- note: 'isSimpleRectangularTextContainer' has been explicitly marked unavailable here
160 |
161 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:34:24: error: cannot override 'lineFragmentRect' which has been marked unavailable
32 |   }
33 |
34 |   override public func lineFragmentRect(
   |                        |- error: cannot override 'lineFragmentRect' which has been marked unavailable
   |                        `- note: remove 'override' modifier to declare a new 'lineFragmentRect'
35 |     forProposedRect proposedRect: CGRect,
36 |     at characterIndex: Int,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:144:1: note: 'lineFragmentRect(forProposedRect:at:writingDirection:remaining:)' has been explicitly marked unavailable here
142 | ///
143 | /// - Returns: The bounds of the line fragment rect.
144 | - (CGRect)lineFragmentRectForProposedRect:(CGRect)proposedRect atIndex:(NSUInteger)characterIndex writingDirection:(NSWritingDirection)baseWritingDirection remainingRect:(nullable CGRect *)remainingRect API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'lineFragmentRect(forProposedRect:at:writingDirection:remaining:)' has been explicitly marked unavailable here
145 |
146 | /// A Boolean that indicates whether the text container's region is a rectangle with no holes or gaps, and whose edges are parallel to the text view's coordinate system axes.
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:18:29: error: 'NSTextContainer' is unavailable in watchOS
16 | // 6. Have I got the textContainerInsets calculation wrong? Used plus instead of minus?
17 |
18 | public class TextContainer: NSTextContainer {
   |                             `- error: 'NSTextContainer' is unavailable in watchOS
19 |
20 |   internal var readOnlySizeCache: LexicalReadOnlySizeCache?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
 34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
 35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
    |            `- note: 'NSTextContainer' has been explicitly marked unavailable here
 37 |
 38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:40:34: error: 'lineFragmentRect(forProposedRect:at:writingDirection:remaining:)' is unavailable in watchOS
38 |     remaining remainingRect: UnsafeMutablePointer<CGRect>?
39 |   ) -> CGRect {
40 |     var lineFragmentRect = super.lineFragmentRect(forProposedRect: proposedRect,
   |                                  `- error: 'lineFragmentRect(forProposedRect:at:writingDirection:remaining:)' is unavailable in watchOS
41 |                                                   at: characterIndex,
42 |                                                   writingDirection: baseWritingDirection,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:144:1: note: 'lineFragmentRect(forProposedRect:at:writingDirection:remaining:)' has been explicitly marked unavailable here
142 | ///
143 | /// - Returns: The bounds of the line fragment rect.
144 | - (CGRect)lineFragmentRectForProposedRect:(CGRect)proposedRect atIndex:(NSUInteger)characterIndex writingDirection:(NSWritingDirection)baseWritingDirection remainingRect:(nullable CGRect *)remainingRect API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'lineFragmentRect(forProposedRect:at:writingDirection:remaining:)' has been explicitly marked unavailable here
145 |
146 | /// A Boolean that indicates whether the text container's region is a rectangle with no holes or gaps, and whose edges are parallel to the text view's coordinate system axes.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile LayoutManager.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile LayoutManagerDelegate.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RangeCache.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile TextAttachment.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile TextContainer.swift
SwiftCompile normal arm64 Compiling\ Updates.swift,\ Utils.swift,\ AttributesUtils.swift,\ CopyPasteHelpers.swift,\ Logging.swift,\ NSAttributedStringKey+Extensions.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 (in target 'Lexical' from project 'Lexical')
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Utils.swift:366:76: error: 'UIView' is unavailable in watchOS
364 | }
365 |
366 | public func decoratorView(forKey key: NodeKey, createIfNecessary: Bool) -> UIView? {
    |                                                                            `- error: 'UIView' is unavailable in watchOS
367 |   guard let editor = getActiveEditor() else {
368 |     return nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:12:67: error: 'UIPasteboard' is unavailable in watchOS
 10 | import UIKit
 11 |
 12 | internal func setPasteboard(selection: BaseSelection, pasteboard: UIPasteboard) throws {
    |                                                                   `- error: 'UIPasteboard' is unavailable in watchOS
 13 |   guard let editor = getActiveEditor() else {
 14 |     throw LexicalError.invariantViolation("Could not get editor")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
 48 |
 49 | UIKIT_EXTERN API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
 50 | @interface UIPasteboard : NSObject
    |            `- note: 'UIPasteboard' has been explicitly marked unavailable here
 51 |
 52 | @property(class, nonatomic, readonly) UIPasteboard *generalPasteboard;
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:35:84: error: 'UIPasteboard' is unavailable in watchOS
 33 | }
 34 |
 35 | internal func insertDataTransferForRichText(selection: RangeSelection, pasteboard: UIPasteboard) throws {
    |                                                                                    `- error: 'UIPasteboard' is unavailable in watchOS
 36 |   let itemSet = pasteboard.itemSet(
 37 |     withPasteboardTypes: [
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
 48 |
 49 | UIKIT_EXTERN API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
 50 | @interface UIPasteboard : NSObject
    |            `- note: 'UIPasteboard' has been explicitly marked unavailable here
 51 |
 52 | @property(class, nonatomic, readonly) UIPasteboard *generalPasteboard;
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:28:9: warning: 'kUTTypeRTF' was deprecated in watchOS 8.0: Use UTTypeRTF or UTType.rtf (swift) instead. [#DeprecatedDeclaration]
 26 |   pasteboard.items =
 27 |     [
 28 |       [(kUTTypeRTF as String): try getAttributedStringFromFrontend().data(
    |         `- warning: 'kUTTypeRTF' was deprecated in watchOS 8.0: Use UTTypeRTF or UTType.rtf (swift) instead. [#DeprecatedDeclaration]
 29 |         from: NSRange(location: 0, length: getAttributedStringFromFrontend().length),
 30 |         documentAttributes: [.documentType: NSAttributedString.DocumentType.rtf])],
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:38:8: warning: 'kUTTypeUTF8PlainText' was deprecated in watchOS 8.0: Use UTTypeUTF8PlainText or UTType.utf8PlainText (swift) instead. [#DeprecatedDeclaration]
 36 |   let itemSet = pasteboard.itemSet(
 37 |     withPasteboardTypes: [
 38 |       (kUTTypeUTF8PlainText as String),
    |        `- warning: 'kUTTypeUTF8PlainText' was deprecated in watchOS 8.0: Use UTTypeUTF8PlainText or UTType.utf8PlainText (swift) instead. [#DeprecatedDeclaration]
 39 |       (kUTTypeURL as String),
 40 |       LexicalConstants.pasteboardIdentifier
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:39:8: warning: 'kUTTypeURL' was deprecated in watchOS 8.0: Use UTTypeURL or UTType.url (swift) instead. [#DeprecatedDeclaration]
 37 |     withPasteboardTypes: [
 38 |       (kUTTypeUTF8PlainText as String),
 39 |       (kUTTypeURL as String),
    |        `- warning: 'kUTTypeURL' was deprecated in watchOS 8.0: Use UTTypeURL or UTType.url (swift) instead. [#DeprecatedDeclaration]
 40 |       LexicalConstants.pasteboardIdentifier
 41 |     ]
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:56:27: warning: 'kUTTypeRTF' was deprecated in watchOS 8.0: Use UTTypeRTF or UTType.rtf (swift) instead. [#DeprecatedDeclaration]
 54 |
 55 |   if let pasteboardRTFData = pasteboard.data(
 56 |       forPasteboardType: (kUTTypeRTF as String),
    |                           `- warning: 'kUTTypeRTF' was deprecated in watchOS 8.0: Use UTTypeRTF or UTType.rtf (swift) instead. [#DeprecatedDeclaration]
 57 |       inItemSet: itemSet)?.last {
 58 |     let attributedString = try NSAttributedString(
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:69:27: warning: 'kUTTypeUTF8PlainText' was deprecated in watchOS 8.0: Use UTTypeUTF8PlainText or UTType.utf8PlainText (swift) instead. [#DeprecatedDeclaration]
 67 |
 68 |   if let pasteboardStringData = pasteboard.data(
 69 |       forPasteboardType: (kUTTypeUTF8PlainText as String),
    |                           `- warning: 'kUTTypeUTF8PlainText' was deprecated in watchOS 8.0: Use UTTypeUTF8PlainText or UTType.utf8PlainText (swift) instead. [#DeprecatedDeclaration]
 70 |       inItemSet: itemSet)?.last {
 71 |     try insertPlainText(selection: selection, text: String(decoding: pasteboardStringData, as: UTF8.self))
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/Core/Updates.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Updates.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/Core/Utils.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Utils.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/Helper/AttributesUtils.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AttributesUtils.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CopyPasteHelpers.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/Helper/Logging.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Logging.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/Helper/NSAttributedStringKey+Extensions.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile NSAttributedStringKey+Extensions.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ Lexical (in target 'Lexical' from project 'Lexical')
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Constants.swift:46:22: error: 'label' is unavailable in watchOS
 44 |   static let defaultColor: UIColor = {
 45 |     if #available(iOS 13.0, *) {
 46 |       return UIColor.label
    |                      `- error: 'label' is unavailable in watchOS
 47 |     } else {
 48 |       return UIColor.black
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 |  */
171 | @property (class, nonatomic, readonly) UIColor *labelColor              API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
    |                                                 `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor     API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor      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
 27 | internal enum DecoratorCacheItem {
 28 |   case needsCreation
 29 |   case cachedView(UIView)
    |                   `- error: 'UIView' is unavailable in watchOS
 30 |   case unmountedCachedView(UIView)
 31 |   case needsDecorating(UIView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:30:28: error: 'UIView' is unavailable in watchOS
 28 |   case needsCreation
 29 |   case cachedView(UIView)
 30 |   case unmountedCachedView(UIView)
    |                            `- error: 'UIView' is unavailable in watchOS
 31 |   case needsDecorating(UIView)
 32 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:31:24: error: 'UIView' is unavailable in watchOS
 29 |   case cachedView(UIView)
 30 |   case unmountedCachedView(UIView)
 31 |   case needsDecorating(UIView)
    |                        `- error: 'UIView' is unavailable in watchOS
 32 |
 33 |   var view: UIView? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:33:13: error: 'UIView' is unavailable in watchOS
 31 |   case needsDecorating(UIView)
 32 |
 33 |   var view: UIView? {
    |             `- error: 'UIView' is unavailable in watchOS
 34 |     switch self {
 35 |     case .needsCreation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:441:87: error: 'UITextStorageDirection' is unavailable in watchOS
439 |   }
440 |
441 |   internal func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
    |                                                                                       `- error: 'UITextStorageDirection' is unavailable in watchOS
442 |     frontend?.moveNativeSelection(type: type, direction: direction, granularity: granularity)
443 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:55:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
 53 | @protocol UIEditMenuInteractionAnimating;
 54 |
 55 | typedef NS_ENUM(NSInteger, UITextStorageDirection) {
    |                            `- note: 'UITextStorageDirection' has been explicitly marked unavailable here
 56 |     UITextStorageDirectionForward = 0,
 57 |     UITextStorageDirectionBackward
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:441:124: error: 'UITextGranularity' is unavailable in watchOS
439 |   }
440 |
441 |   internal func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
    |                                                                                                                            `- error: 'UITextGranularity' is unavailable in watchOS
442 |     frontend?.moveNativeSelection(type: type, direction: direction, granularity: granularity)
443 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:69:28: note: 'UITextGranularity' has been explicitly marked unavailable here
 67 | typedef NSInteger UITextDirection NS_TYPED_ENUM API_UNAVAILABLE(watchos);
 68 |
 69 | typedef NS_ENUM(NSInteger, UITextGranularity) {
    |                            `- note: 'UITextGranularity' has been explicitly marked unavailable here
 70 |     UITextGranularityCharacter,
 71 |     UITextGranularityWord,
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift:98:64: error: 'UIPasteboard' is unavailable in watchOS
 96 | }
 97 |
 98 | internal func onCopyFromUITextView(editor: Editor, pasteboard: UIPasteboard) throws {
    |                                                                `- error: 'UIPasteboard' is unavailable in watchOS
 99 |   guard getActiveEditor() != nil, let selection = try getSelection() else {
100 |     throw LexicalError.invariantViolation("No editor or selection")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
 48 |
 49 | UIKIT_EXTERN API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
 50 | @interface UIPasteboard : NSObject
    |            `- note: 'UIPasteboard' has been explicitly marked unavailable here
 51 |
 52 | @property(class, nonatomic, readonly) UIPasteboard *generalPasteboard;
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift:105:63: error: 'UIPasteboard' is unavailable in watchOS
103 | }
104 |
105 | internal func onCutFromUITextView(editor: Editor, pasteboard: UIPasteboard) throws {
    |                                                               `- error: 'UIPasteboard' is unavailable in watchOS
106 |   guard getActiveEditor() != nil, let selection = try getSelection() as? RangeSelection else {
107 |     throw LexicalError.invariantViolation("No editor or selection")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
 48 |
 49 | UIKIT_EXTERN API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
 50 | @interface UIPasteboard : NSObject
    |            `- note: 'UIPasteboard' has been explicitly marked unavailable here
 51 |
 52 | @property(class, nonatomic, readonly) UIPasteboard *generalPasteboard;
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift:115:65: error: 'UIPasteboard' is unavailable in watchOS
113 | }
114 |
115 | internal func onPasteFromUITextView(editor: Editor, pasteboard: UIPasteboard) throws {
    |                                                                 `- error: 'UIPasteboard' is unavailable in watchOS
116 |   guard getActiveEditor() != nil, let selection = try getSelection() as? RangeSelection else {
117 |     throw LexicalError.invariantViolation("No editor or selection")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
 48 |
 49 | UIKIT_EXTERN API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
 50 | @interface UIPasteboard : NSObject
    |            `- note: 'UIPasteboard' has been explicitly marked unavailable here
 51 |
 52 | @property(class, nonatomic, readonly) UIPasteboard *generalPasteboard;
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:75:29: error: 'UIView' is unavailable in watchOS
 73 |   ///
 74 |   /// Do not add it to the view hierarchy or size it; Lexical will do that later.
 75 |   open func createView() -> UIView {
    |                             `- error: 'UIView' is unavailable in watchOS
 76 |     fatalError("createView: base method not extended")
 77 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:81:28: error: 'UIView' is unavailable in watchOS
 79 |   /// Called by Lexical when reconciling a dirty decorator node. This is where you update your view to match
 80 |   /// the state encapsulated in the decorator node.
 81 |   open func decorate(view: UIView) {
    |                            `- error: 'UIView' is unavailable in watchOS
 82 |     fatalError("decorate: base method not extended")
 83 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:85:39: error: 'UIView' is unavailable in watchOS
 83 |   }
 84 |
 85 |   open func decoratorWillAppear(view: UIView) {
    |                                       `- error: 'UIView' is unavailable in watchOS
 86 |     // no-op unless overridden
 87 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:89:41: error: 'UIView' is unavailable in watchOS
 87 |   }
 88 |
 89 |   open func decoratorDidDisappear(view: UIView) {
    |                                         `- error: 'UIView' is unavailable in watchOS
 90 |     // no-op unless overridden
 91 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/RangeSelection.swift:1008:95: error: 'UITextGranularity' is unavailable in watchOS
1006 |   }
1007 |
1008 |   internal func modify(alter: NativeSelectionModificationType, isBackward: Bool, granularity: UITextGranularity) throws {
     |                                                                                               `- error: 'UITextGranularity' is unavailable in watchOS
1009 |     let collapse = alter == .move
1010 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:69:28: note: 'UITextGranularity' has been explicitly marked unavailable here
 67 | typedef NSInteger UITextDirection NS_TYPED_ENUM API_UNAVAILABLE(watchos);
 68 |
 69 | typedef NS_ENUM(NSInteger, UITextGranularity) {
    |                            `- note: 'UITextGranularity' has been explicitly marked unavailable here
 70 |     UITextGranularityCharacter,
 71 |     UITextGranularityWord,
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/RangeSelection.swift:1043:65: error: 'UITextStorageDirection' is unavailable in watchOS
1041 |   }
1042 |
1043 |   internal func applySelectionRange(_ range: NSRange, affinity: UITextStorageDirection) throws {
     |                                                                 `- error: 'UITextStorageDirection' is unavailable in watchOS
1044 |     guard let editor = getActiveEditor() else {
1045 |       throw LexicalError.invariantViolation("Calling applyNativeSelection when no active editor")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:55:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
 53 | @protocol UIEditMenuInteractionAnimating;
 54 |
 55 | typedef NS_ENUM(NSInteger, UITextStorageDirection) {
    |                            `- note: 'UITextStorageDirection' has been explicitly marked unavailable here
 56 |     UITextStorageDirectionForward = 0,
 57 |     UITextStorageDirectionBackward
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Utils.swift:366:76: error: 'UIView' is unavailable in watchOS
364 | }
365 |
366 | public func decoratorView(forKey key: NodeKey, createIfNecessary: Bool) -> UIView? {
    |                                                                            `- error: 'UIView' is unavailable in watchOS
367 |   guard let editor = getActiveEditor() else {
368 |     return nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:12:67: error: 'UIPasteboard' is unavailable in watchOS
 10 | import UIKit
 11 |
 12 | internal func setPasteboard(selection: BaseSelection, pasteboard: UIPasteboard) throws {
    |                                                                   `- error: 'UIPasteboard' is unavailable in watchOS
 13 |   guard let editor = getActiveEditor() else {
 14 |     throw LexicalError.invariantViolation("Could not get editor")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
 48 |
 49 | UIKIT_EXTERN API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
 50 | @interface UIPasteboard : NSObject
    |            `- note: 'UIPasteboard' has been explicitly marked unavailable here
 51 |
 52 | @property(class, nonatomic, readonly) UIPasteboard *generalPasteboard;
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:35:84: error: 'UIPasteboard' is unavailable in watchOS
 33 | }
 34 |
 35 | internal func insertDataTransferForRichText(selection: RangeSelection, pasteboard: UIPasteboard) throws {
    |                                                                                    `- error: 'UIPasteboard' is unavailable in watchOS
 36 |   let itemSet = pasteboard.itemSet(
 37 |     withPasteboardTypes: [
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
 48 |
 49 | UIKIT_EXTERN API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
 50 | @interface UIPasteboard : NSObject
    |            `- note: 'UIPasteboard' has been explicitly marked unavailable here
 51 |
 52 | @property(class, nonatomic, readonly) UIPasteboard *generalPasteboard;
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:28:33: error: 'UIView' is unavailable in watchOS
26 |   var nativeSelection: NativeSelection { get }
27 |   var isFirstResponder: Bool { get }
28 |   var viewForDecoratorSubviews: UIView? { get }
   |                                 `- error: 'UIView' is unavailable in watchOS
29 |   var isEmpty: Bool { get }
30 |   var isUpdatingNativeSelection: Bool { get set }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:34:78: error: 'UITextStorageDirection' is unavailable in watchOS
32 |   var textLayoutWidth: CGFloat { get }
33 |
34 |   func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity)
   |                                                                              `- error: 'UITextStorageDirection' is unavailable in watchOS
35 |   func unmarkTextWithoutUpdate()
36 |   func presentDeveloperFacingError(message: String)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:55:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
 53 | @protocol UIEditMenuInteractionAnimating;
 54 |
 55 | typedef NS_ENUM(NSInteger, UITextStorageDirection) {
    |                            `- note: 'UITextStorageDirection' has been explicitly marked unavailable here
 56 |     UITextStorageDirectionForward = 0,
 57 |     UITextStorageDirectionBackward
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:34:115: error: 'UITextGranularity' is unavailable in watchOS
32 |   var textLayoutWidth: CGFloat { get }
33 |
34 |   func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity)
   |                                                                                                                   `- error: 'UITextGranularity' is unavailable in watchOS
35 |   func unmarkTextWithoutUpdate()
36 |   func presentDeveloperFacingError(message: String)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:69:28: note: 'UITextGranularity' has been explicitly marked unavailable here
 67 | typedef NSInteger UITextDirection NS_TYPED_ENUM API_UNAVAILABLE(watchos);
 68 |
 69 | typedef NS_ENUM(NSInteger, UITextGranularity) {
    |                            `- note: 'UITextGranularity' has been explicitly marked unavailable here
 70 |     UITextGranularityCharacter,
 71 |     UITextGranularityWord,
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:21:115: error: 'UITextItemInteraction' is unavailable in watchOS
 19 |   func textViewDidEndEditing(textView: LexicalView)
 20 |   func textViewShouldChangeText(_ textView: LexicalView, range: NSRange, replacementText text: String) -> Bool
 21 |   func textView(_ textView: LexicalView, shouldInteractWith URL: URL, in selection: RangeSelection?, interaction: UITextItemInteraction) -> Bool
    |                                                                                                                   `- error: 'UITextItemInteraction' is unavailable in watchOS
 22 | }
 23 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
 7 | //
 8 |
 9 | typedef NS_ENUM(NSInteger, UITextItemInteraction) {
   |                            `- note: 'UITextItemInteraction' has been explicitly marked unavailable here
10 |     UITextItemInteractionInvokeDefaultAction,
11 |     UITextItemInteractionPresentActions,
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:25:115: error: 'UITextItemInteraction' is unavailable in watchOS
 23 |
 24 | public extension LexicalViewDelegate {
 25 |   func textView(_ textView: LexicalView, shouldInteractWith URL: URL, in selection: RangeSelection?, interaction: UITextItemInteraction) -> Bool {
    |                                                                                                                   `- error: 'UITextItemInteraction' is unavailable in watchOS
 26 |     return true
 27 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
 7 | //
 8 |
 9 | typedef NS_ENUM(NSInteger, UITextItemInteraction) {
   |                            `- note: 'UITextItemInteraction' has been explicitly marked unavailable here
10 |     UITextItemInteractionInvokeDefaultAction,
11 |     UITextItemInteractionPresentActions,
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:149:33: error: 'UIView' is unavailable in watchOS
147 |   }
148 |
149 |   var viewForDecoratorSubviews: UIView? {
    |                                 `- error: 'UIView' is unavailable in watchOS
150 |     textView
151 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:153:78: error: 'UITextStorageDirection' is unavailable in watchOS
151 |   }
152 |
153 |   func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
    |                                                                              `- error: 'UITextStorageDirection' is unavailable in watchOS
154 |     textView.isUpdatingNativeSelection = true
155 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:55:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
 53 | @protocol UIEditMenuInteractionAnimating;
 54 |
 55 | typedef NS_ENUM(NSInteger, UITextStorageDirection) {
    |                            `- note: 'UITextStorageDirection' has been explicitly marked unavailable here
 56 |     UITextStorageDirectionForward = 0,
 57 |     UITextStorageDirectionBackward
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:153:115: error: 'UITextGranularity' is unavailable in watchOS
151 |   }
152 |
153 |   func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
    |                                                                                                                   `- error: 'UITextGranularity' is unavailable in watchOS
154 |     textView.isUpdatingNativeSelection = true
155 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:69:28: note: 'UITextGranularity' has been explicitly marked unavailable here
 67 | typedef NSInteger UITextDirection NS_TYPED_ENUM API_UNAVAILABLE(watchos);
 68 |
 69 | typedef NS_ENUM(NSInteger, UITextGranularity) {
    |                            `- note: 'UITextGranularity' has been explicitly marked unavailable here
 70 |     UITextGranularityCharacter,
 71 |     UITextGranularityWord,
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:267:33: error: 'UITextRange' is unavailable in watchOS
265 |   /// This needs a refactor. Probably this method should be deleted entirely (and the recommended approach for working with
266 |   /// selections should be to go through the Lexical EditorState selection), unless a justification for its usefulness can be discovered.
267 |   public var selectedTextRange: UITextRange? {
    |                                 `- error: 'UITextRange' is unavailable in watchOS
268 |     get {
269 |       textView.selectedTextRange
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:307:12: note: 'UITextRange' has been explicitly marked unavailable here
305 |
306 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
307 | @interface UITextRange : NSObject
    |            `- note: 'UITextRange' has been explicitly marked unavailable here
308 |
309 | @property (nonatomic, readonly, getter=isEmpty) BOOL empty;     //  Whether the range is zero-length.
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:320:31: error: 'UITextRange' is unavailable in watchOS
318 |   ///
319 |   /// Marked Text corresponds to Lexical's `composition`.
320 |   public var markedTextRange: UITextRange? {
    |                               `- error: 'UITextRange' is unavailable in watchOS
321 |     get {
322 |       textView.markedTextRange
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:307:12: note: 'UITextRange' has been explicitly marked unavailable here
305 |
306 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
307 | @interface UITextRange : NSObject
    |            `- note: 'UITextRange' has been explicitly marked unavailable here
308 |
309 | @property (nonatomic, readonly, getter=isEmpty) BOOL empty;     //  Whether the range is zero-length.
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:329:33: error: 'UITextInputMode' is unavailable in watchOS
327 |   ///
328 |   /// This can be used to access the input language.
329 |   public var textViewInputMode: UITextInputMode? {
    |                                 `- error: 'UITextInputMode' is unavailable in watchOS
330 |     get {
331 |       textView.textInputMode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:374:12: note: 'UITextInputMode' has been explicitly marked unavailable here
372 |  * based on the keyboard language. Different UITextInputMode objects may have the same primaryLanguage. */
373 | UIKIT_EXTERN API_AVAILABLE(ios(4.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
374 | @interface UITextInputMode : NSObject <NSSecureCoding>
    |            `- note: 'UITextInputMode' has been explicitly marked unavailable here
375 |
376 | @property (nullable, nonatomic, readonly, strong) NSString *primaryLanguage; // The primary language, if any, of the input mode.  A BCP 47 language identifier such as en-US
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:407:45: error: 'UITextRange' is unavailable in watchOS
405 |   // MARK: - TextView
406 |
407 |   public func getTextViewSelectedRange() -> UITextRange? {
    |                                             `- error: 'UITextRange' is unavailable in watchOS
408 |     textView.selectedTextRange
409 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:307:12: note: 'UITextRange' has been explicitly marked unavailable here
305 |
306 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
307 | @interface UITextRange : NSObject
    |            `- note: 'UITextRange' has been explicitly marked unavailable here
308 |
309 | @property (nonatomic, readonly, getter=isEmpty) BOOL empty;     //  Whether the range is zero-length.
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:453:47: error: 'UIView' is unavailable in watchOS
451 |   // MARK: - Input Accessory View
452 |
453 |   public func presentInputAccessoryView(view: UIView) {
    |                                               `- error: 'UIView' is unavailable in watchOS
454 |     textView.inputAccessoryView = view
455 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:459:51: error: 'UIView' is unavailable in watchOS
457 |   // MARK: - Paragraph Menu
458 |
459 |   public func presentParagraphMenu(paragraphMenu: UIView) {
    |                                                   `- error: 'UIView' is unavailable in watchOS
460 |     UIView.performWithoutAnimation {
461 |       textView.resignFirstResponder()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:49:33: error: 'UIView' is unavailable in watchOS
 47 | /// encapsulated our UITextView subclass as a private property of LexicalView. The aim is to consider the UITextView
 48 | /// as below the abstraction level for developers using Lexical.
 49 | @objc public class LexicalView: UIView, Frontend {
    |                                 `- error: 'UIView' is unavailable in watchOS
 50 |   var textLayoutWidth: CGFloat {
 51 |     return max(textView.bounds.width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding, 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:486:29: error: 'UITextView' is unavailable in watchOS
484 |
485 | extension LexicalView: LexicalTextViewDelegate {
486 |   func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
    |                             `- error: 'UITextView' is unavailable in watchOS
487 |     var selection: RangeSelection?
488 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:486:111: error: 'UITextItemInteraction' is unavailable in watchOS
484 |
485 | extension LexicalView: LexicalTextViewDelegate {
486 |   func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
    |                                                                                                               `- error: 'UITextItemInteraction' is unavailable in watchOS
487 |     var selection: RangeSelection?
488 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
 7 | //
 8 |
 9 | typedef NS_ENUM(NSInteger, UITextItemInteraction) {
   |                            `- note: 'UITextItemInteraction' has been explicitly marked unavailable here
10 |     UITextItemInteractionInvokeDefaultAction,
11 |     UITextItemInteractionPresentActions,
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:509:45: error: 'UITextView' is unavailable in watchOS
507 |   }
508 |
509 |   func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool {
    |                                             `- error: 'UITextView' is unavailable in watchOS
510 |     if let delegate {
511 |       return delegate.textViewShouldChangeText(self, range: range, replacementText: text)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:240:33: error: 'UIView' is unavailable in watchOS
238 |   }
239 |
240 |   var viewForDecoratorSubviews: UIView? {
    |                                 `- error: 'UIView' is unavailable in watchOS
241 |     return self.attachedView
242 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:252:78: error: 'UITextStorageDirection' is unavailable in watchOS
250 |   var interceptNextSelectionChangeAndReplaceWithRange: NSRange?
251 |
252 |   func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
    |                                                                              `- error: 'UITextStorageDirection' is unavailable in watchOS
253 |     // no-op
254 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:55:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
 53 | @protocol UIEditMenuInteractionAnimating;
 54 |
 55 | typedef NS_ENUM(NSInteger, UITextStorageDirection) {
    |                            `- note: 'UITextStorageDirection' has been explicitly marked unavailable here
 56 |     UITextStorageDirectionForward = 0,
 57 |     UITextStorageDirectionBackward
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:252:115: error: 'UITextGranularity' is unavailable in watchOS
250 |   var interceptNextSelectionChangeAndReplaceWithRange: NSRange?
251 |
252 |   func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
    |                                                                                                                   `- error: 'UITextGranularity' is unavailable in watchOS
253 |     // no-op
254 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:69:28: note: 'UITextGranularity' has been explicitly marked unavailable here
 67 | typedef NSInteger UITextDirection NS_TYPED_ENUM API_UNAVAILABLE(watchos);
 68 |
 69 | typedef NS_ENUM(NSInteger, UITextGranularity) {
    |                            `- note: 'UITextGranularity' has been explicitly marked unavailable here
 70 |     UITextGranularityCharacter,
 71 |     UITextGranularityWord,
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift:57:43: error: 'UITapGestureRecognizer' is unavailable in watchOS
55 |   }
56 |
57 |   @objc func handleTap(gestureRecognizer: UITapGestureRecognizer) {
   |                                           `- error: 'UITapGestureRecognizer' is unavailable in watchOS
58 |     guard let textKitContext else { return }
59 |     let pointInView = gestureRecognizer.location(in: self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger  numberOfTapsRequired;       // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift:11:41: error: 'UIView' is unavailable in watchOS
 9 |
10 | /// A Lexical frontend that is optimised for consumption. No scrolling, selection, or editing.
11 | @objc public class LexicalReadOnlyView: UIView {
   |                                         `- error: 'UIView' is unavailable in watchOS
12 |
13 |   // MARK: - Init
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:15:30: error: 'UIResponder' is unavailable in watchOS
13 |   private weak var editor: Editor?
14 |   private weak var textStorage: TextStorage?
15 |   private weak var textView: UIResponder?
   |                              `- error: 'UIResponder' is unavailable in watchOS
16 |
17 |   init(editor: Editor, textStorage: TextStorage, nextResponder: UIResponder) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
 80 |
 81 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 82 | @interface UIResponder : NSObject <UIResponderStandardEditActions>
    |            `- note: 'UIResponder' has been explicitly marked unavailable here
 83 |
 84 | @property(nonatomic, readonly, nullable) UIResponder *nextResponder;
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:17:65: error: 'UIResponder' is unavailable in watchOS
15 |   private weak var textView: UIResponder?
16 |
17 |   init(editor: Editor, textStorage: TextStorage, nextResponder: UIResponder) {
   |                                                                 `- error: 'UIResponder' is unavailable in watchOS
18 |     self.editor = editor
19 |     self.textStorage = textStorage
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
 80 |
 81 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 82 | @interface UIResponder : NSObject <UIResponderStandardEditActions>
    |            `- note: 'UIResponder' has been explicitly marked unavailable here
 83 |
 84 | @property(nonatomic, readonly, nullable) UIResponder *nextResponder;
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:23:7: error: cannot override 'hasText' which has been marked unavailable
21 |   }
22 |
23 |   var hasText: Bool {
   |       `- error: cannot override 'hasText' which has been marked unavailable
24 |     true // if this class is being used, _something_ is selected from a Lexical point of view!
25 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:30:37: note: 'hasText' has been explicitly marked unavailable here
 28 | @protocol UIKeyInput <UITextInputTraits>
 29 |
 30 | @property(nonatomic, readonly) BOOL hasText API_UNAVAILABLE(watchos);
    |                                     `- note: 'hasText' has been explicitly marked unavailable here
 31 | - (void)insertText:(NSString *)text;
 32 | - (void)deleteBackward;
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:44:22: error: 'UIResponder' is unavailable in watchOS
42 |   }
43 |
44 |   override var next: UIResponder? {
   |                      `- error: 'UIResponder' is unavailable in watchOS
45 |     get {
46 |       textView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
 80 |
 81 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 82 | @interface UIResponder : NSObject <UIResponderStandardEditActions>
    |            `- note: 'UIResponder' has been explicitly marked unavailable here
 83 |
 84 | @property(nonatomic, readonly, nullable) UIResponder *nextResponder;
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:11:34: error: 'UIResponder' is unavailable in watchOS
 9 | import UIKit
10 |
11 | class ResponderForNodeSelection: UIResponder, UIKeyInput {
   |                                  `- error: 'UIResponder' is unavailable in watchOS
12 |
13 |   private weak var editor: Editor?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
 80 |
 81 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 82 | @interface UIResponder : NSObject <UIResponderStandardEditActions>
    |            `- note: 'UIResponder' has been explicitly marked unavailable here
 83 |
 84 | @property(nonatomic, readonly, nullable) UIResponder *nextResponder;
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:11:47: error: 'UIKeyInput' is unavailable in watchOS
 9 | import UIKit
10 |
11 | class ResponderForNodeSelection: UIResponder, UIKeyInput {
   |                                               `- error: 'UIKeyInput' is unavailable in watchOS
12 |
13 |   private weak var editor: Editor?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:28:11: note: 'UIKeyInput' has been explicitly marked unavailable here
 26 |
 27 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 28 | @protocol UIKeyInput <UITextInputTraits>
    |           `- note: 'UIKeyInput' has been explicitly marked unavailable here
 29 |
 30 | @property(nonatomic, readonly) BOOL hasText API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:36:30: error: 'NSTextContainer' is unavailable in watchOS
 34 |     _ fragmentRect: CGRect,
 35 |     usedRect: CGRect,
 36 |     textContainer container: NSTextContainer
    |                              `- error: 'NSTextContainer' is unavailable in watchOS
 37 |   ) {
 38 |     // TODO: modify this based on our own metrics if needed -- @amyworrall
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
 34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
 35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
    |            `- note: 'NSTextContainer' has been explicitly marked unavailable here
 37 |
 38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:194:24: error: cannot override 'showCGGlyphs' which has been marked unavailable
192 |
193 |   @available(iOS 13.0, *)
194 |   override public func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key: Any] = [:], in context: CGContext) {
    |                        |- error: cannot override 'showCGGlyphs' which has been marked unavailable
    |                        `- note: remove 'override' modifier to declare a new 'showCGGlyphs'
195 |
196 |     // fix for links with custom colour -- UIKit has trouble with this!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:294:1: note: 'showCGGlyphs(_:positions:count:font:textMatrix:attributes:in:)' has been explicitly marked unavailable here
292 |
293 | // This is the glyph rendering primitive method.  Renders glyphs at positions into the CGContext.  The positions are in the user space coordinate system.  CGContext that is passed in is already configured according to the text attributes arguments: font, textMatrix, and attributes.  The font argument represents the font applied to the graphics state.  The value can be different from the NSFontAttributeName value in the attributes argument because of various font substitutions that the system automatically executes.  The textMatrix is the affine transform mapping the text space coordinate system to the user space coordinate system.  The tx and ty components of textMatrix are ignored since Quartz overrides them with the glyph positions.
294 | - (void)showCGGlyphs:(const CGGlyph *)glyphs positions:(const CGPoint *)positions count:(NSInteger)glyphCount font:(UIFont *)font textMatrix:(CGAffineTransform)textMatrix attributes:(NSDictionary<NSAttributedStringKey, id> *)attributes inContext:(CGContextRef)CGContext API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
    | `- note: 'showCGGlyphs(_:positions:count:font:textMatrix:attributes:in:)' has been explicitly marked unavailable here
295 |
296 | // This is the primitive used by -drawBackgroundForGlyphRange:atPoint: for actually filling rects with a particular background color, whether due to a background color attribute, a selected or marked range highlight, a block decoration, or any other rect fill needed by that method.  As with -showCGGlyphs:..., the character range and color are merely for informational purposes; the color will already be set in the graphics state.  If for any reason you modify it, you must restore it before returning from this method.  You should never call this method, but you might override it.  The default implementation will simply fill the specified rect array.
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:10:29: error: 'NSLayoutManager' is unavailable in watchOS
  8 | import UIKit
  9 |
 10 | public class LayoutManager: NSLayoutManager {
    |                             `- error: 'NSLayoutManager' is unavailable in watchOS
 11 |   internal weak var editor: Editor? {
 12 |     get {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:58:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
 56 |
 57 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0)) API_UNAVAILABLE(watchos)
 58 | @interface NSLayoutManager : NSObject <NSSecureCoding>
    |            `- note: 'NSLayoutManager' has been explicitly marked unavailable here
 59 |
 60 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:12:22: error: 'NSLayoutManager' is unavailable in watchOS
 10 | class LayoutManagerDelegate: NSObject, NSLayoutManagerDelegate {
 11 |   func layoutManager(
 12 |     _ layoutManager: NSLayoutManager,
    |                      `- error: 'NSLayoutManager' is unavailable in watchOS
 13 |     shouldGenerateGlyphs glyphs: UnsafePointer<CGGlyph>,
 14 |     properties: UnsafePointer<NSLayoutManager.GlyphProperty>,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:58:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
 56 |
 57 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0)) API_UNAVAILABLE(watchos)
 58 | @interface NSLayoutManager : NSObject <NSSecureCoding>
    |            `- note: 'NSLayoutManager' has been explicitly marked unavailable here
 59 |
 60 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:14:31: error: 'NSLayoutManager' is unavailable in watchOS
 12 |     _ layoutManager: NSLayoutManager,
 13 |     shouldGenerateGlyphs glyphs: UnsafePointer<CGGlyph>,
 14 |     properties: UnsafePointer<NSLayoutManager.GlyphProperty>,
    |                               `- error: 'NSLayoutManager' is unavailable in watchOS
 15 |     characterIndexes: UnsafePointer<Int>,
 16 |     font: UIFont,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:58:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
 56 |
 57 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0)) API_UNAVAILABLE(watchos)
 58 | @interface NSLayoutManager : NSObject <NSSecureCoding>
    |            `- note: 'NSLayoutManager' has been explicitly marked unavailable here
 59 |
 60 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:10:40: error: 'NSLayoutManagerDelegate' is unavailable in watchOS
  8 | import UIKit
  9 |
 10 | class LayoutManagerDelegate: NSObject, NSLayoutManagerDelegate {
    |                                        `- error: 'NSLayoutManagerDelegate' is unavailable in watchOS
 11 |   func layoutManager(
 12 |     _ layoutManager: NSLayoutManager,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:310:36: note: 'NSLayoutManagerDelegate' has been explicitly marked unavailable here
308 |
309 |
310 | API_UNAVAILABLE(watchos) @protocol NSLayoutManagerDelegate <NSObject>
    |                                    `- note: 'NSLayoutManagerDelegate' has been explicitly marked unavailable here
311 | @optional
312 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift:44:71: error: 'UITextStorageDirection' is unavailable in watchOS
 42 |  * first Text node, or at the start of the second Text node.
 43 |  */
 44 | internal func pointAtStringLocation(_ location: Int, searchDirection: UITextStorageDirection, rangeCache: [NodeKey: RangeCacheItem]) throws -> Point? {
    |                                                                       `- error: 'UITextStorageDirection' is unavailable in watchOS
 45 |   do {
 46 |     let searchResult = try evaluateNode(kRootNodeKey, stringLocation: location, searchDirection: searchDirection, rangeCache: rangeCache)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:55:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
 53 | @protocol UIEditMenuInteractionAnimating;
 54 |
 55 | typedef NS_ENUM(NSInteger, UITextStorageDirection) {
    |                            `- note: 'UITextStorageDirection' has been explicitly marked unavailable here
 56 |     UITextStorageDirectionForward = 0,
 57 |     UITextStorageDirectionBackward
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift:64:85: error: 'UITextStorageDirection' is unavailable in watchOS
 62 | }
 63 |
 64 | private func evaluateNode(_ nodeKey: NodeKey, stringLocation: Int, searchDirection: UITextStorageDirection, rangeCache: [NodeKey: RangeCacheItem]) throws -> RangeCacheSearchResult? {
    |                                                                                     `- error: 'UITextStorageDirection' is unavailable in watchOS
 65 |   guard let rangeCacheItem = rangeCache[nodeKey], let node = getNodeByKey(key: nodeKey) else {
 66 |     throw LexicalError.rangeCacheSearch("Couldn't find node or range cache item for key \(nodeKey)")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:55:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
 53 | @protocol UIEditMenuInteractionAnimating;
 54 |
 55 | typedef NS_ENUM(NSInteger, UITextStorageDirection) {
    |                            `- note: 'UITextStorageDirection' has been explicitly marked unavailable here
 56 |     UITextStorageDirectionForward = 0,
 57 |     UITextStorageDirectionBackward
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:60: error: 'NSTextContainer' is unavailable in watchOS
12 |   weak var editor: Editor?
13 |
14 |   override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
   |                                                            `- error: 'NSTextContainer' is unavailable in watchOS
15 |     guard let key, let editor else {
16 |       return CGRect.zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
 34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
 35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
    |            `- note: 'NSTextContainer' has been explicitly marked unavailable here
 37 |
 38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:24: error: cannot override 'attachmentBounds' which has been marked unavailable
12 |   weak var editor: Editor?
13 |
14 |   override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
   |                        |- error: cannot override 'attachmentBounds' which has been marked unavailable
   |                        `- note: remove 'override' modifier to declare a new 'attachmentBounds'
15 |     guard let key, let editor else {
16 |       return CGRect.zero
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:326:1: note: 'attachmentBounds(for:proposedLineFragment:glyphPosition:characterIndex:)' has been explicitly marked unavailable here
324 |
325 | // Returns the layout bounds to the layout manager.  The bounds origin is interpreted to match position inside lineFrag.  The NSTextAttachment implementation returns -bounds if not CGRectZero; otherwise, it derives the bounds value from -[image size].  Conforming objects can implement more sophisticated logic for negotiating the frame size based on the available container space and proposed line fragment rect.
326 | - (CGRect)attachmentBoundsForTextContainer:(nullable NSTextContainer *)textContainer proposedLineFragment:(CGRect)lineFrag glyphPosition:(CGPoint)position characterIndex:(NSUInteger)charIndex API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'attachmentBounds(for:proposedLineFragment:glyphPosition:characterIndex:)' has been explicitly marked unavailable here
327 |
328 | @end
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:76: error: 'NSTextContainer' is unavailable in watchOS
33 |
34 |   // necessary to stop UIKit drawing a placeholder image
35 |   override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
   |                                                                            `- error: 'NSTextContainer' is unavailable in watchOS
36 |     return UIImage()
37 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
 34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
 35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
    |            `- note: 'NSTextContainer' has been explicitly marked unavailable here
 37 |
 38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:24: error: cannot override 'image' which has been marked unavailable
33 |
34 |   // necessary to stop UIKit drawing a placeholder image
35 |   override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
   |                        |- error: cannot override 'image' which has been marked unavailable
   |                        `- note: remove 'override' modifier to declare a new 'image'
36 |     return UIImage()
37 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:322:1: note: 'image(forBounds:textContainer:characterIndex:)' has been explicitly marked unavailable here
320 |
321 | // Returns the image object rendered by NSLayoutManager at imageBounds inside textContainer.  It should return an image appropriate for the target rendering context derived by arguments to this method.  The NSTextAttachment implementation returns -image when non-nil.  If -image==nil, it returns an image based on -contents and -fileType properties.
322 | - (nullable UIImage *)imageForBounds:(CGRect)imageBounds textContainer:(nullable NSTextContainer *)textContainer characterIndex:(NSUInteger)charIndex  API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'image(forBounds:textContainer:characterIndex:)' has been explicitly marked unavailable here
323 |
324 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:22:21: error: cannot override 'isSimpleRectangularTextContainer' which has been marked unavailable
20 |   internal var readOnlySizeCache: LexicalReadOnlySizeCache?
21 |
22 |   override open var isSimpleRectangularTextContainer: Bool {
   |                     |- error: cannot override 'isSimpleRectangularTextContainer' which has been marked unavailable
   |                     `- note: remove 'override' modifier to declare a new 'isSimpleRectangularTextContainer'
23 |     get {
24 |       guard let readOnlySizeCache else { return true }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:159:90: note: 'isSimpleRectangularTextContainer' has been explicitly marked unavailable here
157 | /// method. Otherwise, the default value is
158 | /// <doc://com.apple.documentation/documentation/swift/true>.
159 | @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);
    |                                                                                          `- note: 'isSimpleRectangularTextContainer' has been explicitly marked unavailable here
160 |
161 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:34:24: error: cannot override 'lineFragmentRect' which has been marked unavailable
32 |   }
33 |
34 |   override public func lineFragmentRect(
   |                        |- error: cannot override 'lineFragmentRect' which has been marked unavailable
   |                        `- note: remove 'override' modifier to declare a new 'lineFragmentRect'
35 |     forProposedRect proposedRect: CGRect,
36 |     at characterIndex: Int,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:144:1: note: 'lineFragmentRect(forProposedRect:at:writingDirection:remaining:)' has been explicitly marked unavailable here
142 | ///
143 | /// - Returns: The bounds of the line fragment rect.
144 | - (CGRect)lineFragmentRectForProposedRect:(CGRect)proposedRect atIndex:(NSUInteger)characterIndex writingDirection:(NSWritingDirection)baseWritingDirection remainingRect:(nullable CGRect *)remainingRect API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'lineFragmentRect(forProposedRect:at:writingDirection:remaining:)' has been explicitly marked unavailable here
145 |
146 | /// A Boolean that indicates whether the text container's region is a rectangle with no holes or gaps, and whose edges are parallel to the text view's coordinate system axes.
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:18:29: error: 'NSTextContainer' is unavailable in watchOS
16 | // 6. Have I got the textContainerInsets calculation wrong? Used plus instead of minus?
17 |
18 | public class TextContainer: NSTextContainer {
   |                             `- error: 'NSTextContainer' is unavailable in watchOS
19 |
20 |   internal var readOnlySizeCache: LexicalReadOnlySizeCache?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
 34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
 35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
    |            `- note: 'NSTextContainer' has been explicitly marked unavailable here
 37 |
 38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift:137:17: error: 'editedAttributes' is unavailable in watchOS
135 |       beginEditing()
136 |       if backingAttributedString.length > 0 {
137 |         edited(.editedAttributes, range: NSRange(location: backingAttributedString.length - 1, length: 1), changeInLength: 0)
    |                 `- error: 'editedAttributes' is unavailable in watchOS
138 |       }
139 |       endEditing()
UIKit.NSTextStorage.EditActions.editedAttributes:4:23: note: 'editedAttributes' has been explicitly marked unavailable here
2 |   struct EditActions {
3 | @available(watchOS, unavailable)
4 |     public static var editedAttributes: NSTextStorage.EditActions { get }  }
  |                       `- note: 'editedAttributes' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift:10:27: error: 'NSTextStorage' is unavailable in watchOS
  8 | import UIKit
  9 |
 10 | public class TextStorage: NSTextStorage {
    |                           `- error: 'NSTextStorage' is unavailable in watchOS
 11 |
 12 |   internal typealias CharacterLocation = Int
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
 44 | /// `edited:range:changeInLength:` to get everything else to happen.
 45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
    |            `- note: 'NSTextStorage' has been explicitly marked unavailable here
 47 | /**************************** Pending edit info ****************************/
 48 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:11:42: error: 'UITextInputDelegate' is unavailable in watchOS
 9 |
10 | internal class InputDelegateProxy: NSObject, UITextInputDelegate {
11 |   internal weak var targetInputDelegate: UITextInputDelegate?
   |                                          `- error: 'UITextInputDelegate' is unavailable in watchOS
12 |   internal var isSuspended: Bool = false
13 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:336:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
334 | /* The input delegate must be notified of changes to the selection and text. */
335 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
336 | @protocol UITextInputDelegate <NSObject>
    |           `- note: 'UITextInputDelegate' has been explicitly marked unavailable here
337 |
338 | - (void)selectionWillChange:(nullable id <UITextInput>)textInput;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:14:41: error: 'UITextInput' is unavailable in watchOS
12 |   internal var isSuspended: Bool = false
13 |
14 |   func selectionWillChange(_ textInput: UITextInput?) {
   |                                         `- error: 'UITextInput' is unavailable in watchOS
15 |     if let targetInputDelegate, isSuspended == false {
16 |       targetInputDelegate.selectionWillChange(textInput)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:119:11: note: 'UITextInput' has been explicitly marked unavailable here
117 |
118 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
119 | @protocol UITextInput <UIKeyInput>
    |           `- note: 'UITextInput' has been explicitly marked unavailable here
120 | @required
121 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:20:40: error: 'UITextInput' is unavailable in watchOS
18 |   }
19 |
20 |   func selectionDidChange(_ textInput: UITextInput?) {
   |                                        `- error: 'UITextInput' is unavailable in watchOS
21 |     if let targetInputDelegate, isSuspended == false {
22 |       targetInputDelegate.selectionDidChange(textInput)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:119:11: note: 'UITextInput' has been explicitly marked unavailable here
117 |
118 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
119 | @protocol UITextInput <UIKeyInput>
    |           `- note: 'UITextInput' has been explicitly marked unavailable here
120 | @required
121 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:26:36: error: 'UITextInput' is unavailable in watchOS
24 |   }
25 |
26 |   func textWillChange(_ textInput: UITextInput?) {
   |                                    `- error: 'UITextInput' is unavailable in watchOS
27 |     if let targetInputDelegate, isSuspended == false {
28 |       targetInputDelegate.textWillChange(textInput)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:119:11: note: 'UITextInput' has been explicitly marked unavailable here
117 |
118 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
119 | @protocol UITextInput <UIKeyInput>
    |           `- note: 'UITextInput' has been explicitly marked unavailable here
120 | @required
121 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:32:35: error: 'UITextInput' is unavailable in watchOS
30 |   }
31 |
32 |   func textDidChange(_ textInput: UITextInput?) {
   |                                   `- error: 'UITextInput' is unavailable in watchOS
33 |     if let targetInputDelegate, isSuspended == false {
34 |       targetInputDelegate.textDidChange(textInput)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:119:11: note: 'UITextInput' has been explicitly marked unavailable here
117 |
118 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
119 | @protocol UITextInput <UIKeyInput>
    |           `- note: 'UITextInput' has been explicitly marked unavailable here
120 | @required
121 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:39:68: error: 'UITextInput' is unavailable in watchOS
37 |
38 |   // Note that this function only sends a didChange.
39 |   internal func sendSelectionChangedIgnoringSuspended(_ textInput: UITextInput?) {
   |                                                                    `- error: 'UITextInput' is unavailable in watchOS
40 |     if let targetInputDelegate {
41 |       targetInputDelegate.selectionDidChange(textInput)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:119:11: note: 'UITextInput' has been explicitly marked unavailable here
117 |
118 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
119 | @protocol UITextInput <UIKeyInput>
    |           `- note: 'UITextInput' has been explicitly marked unavailable here
120 | @required
121 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:10:46: error: 'UITextInputDelegate' is unavailable in watchOS
 8 | import UIKit
 9 |
10 | internal class InputDelegateProxy: NSObject, UITextInputDelegate {
   |                                              `- error: 'UITextInputDelegate' is unavailable in watchOS
11 |   internal weak var targetInputDelegate: UITextInputDelegate?
12 |   internal var isSuspended: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:336:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
334 | /* The input delegate must be notified of changes to the selection and text. */
335 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
336 | @protocol UITextInputDelegate <NSObject>
    |           `- note: 'UITextInputDelegate' has been explicitly marked unavailable here
337 |
338 | - (void)selectionWillChange:(nullable id <UITextInput>)textInput;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:47: error: 'UITextRange' is unavailable in watchOS
11 | public class NativeSelection {
12 |
13 |   internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
   |                                               `- error: 'UITextRange' is unavailable in watchOS
14 |     self.range = range
15 |     self.opaqueRange = opaqueRange
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:307:12: note: 'UITextRange' has been explicitly marked unavailable here
305 |
306 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
307 | @interface UITextRange : NSObject
    |            `- note: 'UITextRange' has been explicitly marked unavailable here
308 |
309 | @property (nonatomic, readonly, getter=isEmpty) BOOL empty;     //  Whether the range is zero-length.
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:71: error: 'UITextStorageDirection' is unavailable in watchOS
11 | public class NativeSelection {
12 |
13 |   internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
   |                                                                       `- error: 'UITextStorageDirection' is unavailable in watchOS
14 |     self.range = range
15 |     self.opaqueRange = opaqueRange
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:55:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
 53 | @protocol UIEditMenuInteractionAnimating;
 54 |
 55 | typedef NS_ENUM(NSInteger, UITextStorageDirection) {
    |                            `- note: 'UITextStorageDirection' has been explicitly marked unavailable here
 56 |     UITextStorageDirectionForward = 0,
 57 |     UITextStorageDirectionBackward
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:137: error: 'UITextRange' is unavailable in watchOS
11 | public class NativeSelection {
12 |
13 |   internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
   |                                                                                                                                         `- error: 'UITextRange' is unavailable in watchOS
14 |     self.range = range
15 |     self.opaqueRange = opaqueRange
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:307:12: note: 'UITextRange' has been explicitly marked unavailable here
305 |
306 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
307 | @interface UITextRange : NSObject
    |            `- note: 'UITextRange' has been explicitly marked unavailable here
308 |
309 | @property (nonatomic, readonly, getter=isEmpty) BOOL empty;     //  Whether the range is zero-length.
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:31:53: error: 'UITextStorageDirection' is unavailable in watchOS
29 |   }
30 |
31 |   public convenience init(range: NSRange, affinity: UITextStorageDirection) {
   |                                                     `- error: 'UITextStorageDirection' is unavailable in watchOS
32 |     self.init(range: range,
33 |               opaqueRange: nil,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:55:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
 53 | @protocol UIEditMenuInteractionAnimating;
 54 |
 55 | typedef NS_ENUM(NSInteger, UITextStorageDirection) {
    |                            `- note: 'UITextStorageDirection' has been explicitly marked unavailable here
 56 |     UITextStorageDirectionForward = 0,
 57 |     UITextStorageDirectionBackward
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:47:20: error: 'UITextRange' is unavailable in watchOS
45 |   // both things in this object -- the opaque range is useful for modifying the selection, whereas the
46 |   // numerical range is useful for matching up with our range cache.
47 |   let opaqueRange: UITextRange?
   |                    `- error: 'UITextRange' is unavailable in watchOS
48 |
49 |   let affinity: UITextStorageDirection
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:307:12: note: 'UITextRange' has been explicitly marked unavailable here
305 |
306 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
307 | @interface UITextRange : NSObject
    |            `- note: 'UITextRange' has been explicitly marked unavailable here
308 |
309 | @property (nonatomic, readonly, getter=isEmpty) BOOL empty;     //  Whether the range is zero-length.
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:49:17: error: 'UITextStorageDirection' is unavailable in watchOS
47 |   let opaqueRange: UITextRange?
48 |
49 |   let affinity: UITextStorageDirection
   |                 `- error: 'UITextStorageDirection' is unavailable in watchOS
50 |
51 |   // marked text is the iOS term for what Lexical calls `composing`.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:55:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
 53 | @protocol UIEditMenuInteractionAnimating;
 54 |
 55 | typedef NS_ENUM(NSInteger, UITextStorageDirection) {
    |                            `- note: 'UITextStorageDirection' has been explicitly marked unavailable here
 56 |     UITextStorageDirectionForward = 0,
 57 |     UITextStorageDirectionBackward
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:55:26: error: 'UITextRange' is unavailable in watchOS
53 |   // The opaque range comes straight from the text view; the range (as an NSRange) is calculated by us.
54 |   let markedRange: NSRange?
55 |   let markedOpaqueRange: UITextRange?
   |                          `- error: 'UITextRange' is unavailable in watchOS
56 |
57 |   // The selection is something that cannot be represented by a character range. Usually corresponds with
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:307:12: note: 'UITextRange' has been explicitly marked unavailable here
305 |
306 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
307 | @interface UITextRange : NSObject
    |            `- note: 'UITextRange' has been explicitly marked unavailable here
308 |
309 | @property (nonatomic, readonly, getter=isEmpty) BOOL empty;     //  Whether the range is zero-length.
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:14:45: error: 'UITextView' is unavailable in watchOS
 12 |   func textViewDidBeginEditing(textView: TextView)
 13 |   func textViewDidEndEditing(textView: TextView)
 14 |   func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool
    |                                             `- error: 'UITextView' is unavailable in watchOS
 15 |   func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
 16 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:15:29: error: 'UITextView' is unavailable in watchOS
 13 |   func textViewDidEndEditing(textView: TextView)
 14 |   func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool
 15 |   func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
    |                             `- error: 'UITextView' is unavailable in watchOS
 16 | }
 17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:15:111: error: 'UITextItemInteraction' is unavailable in watchOS
 13 |   func textViewDidEndEditing(textView: TextView)
 14 |   func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool
 15 |   func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
    |                                                                                                               `- error: 'UITextItemInteraction' is unavailable in watchOS
 16 | }
 17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
 7 | //
 8 |
 9 | typedef NS_ENUM(NSInteger, UITextItemInteraction) {
   |                            `- note: 'UITextItemInteraction' has been explicitly marked unavailable here
10 |     UITextItemInteractionInvokeDefaultAction,
11 |     UITextItemInteractionPresentActions,
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:22:29: error: 'UIPasteboard' is unavailable in watchOS
 20 |   let editor: Editor
 21 |
 22 |   internal let pasteboard = UIPasteboard.general
    |                             `- error: 'UIPasteboard' is unavailable in watchOS
 23 |   internal let pasteboardIdentifier = "x-lexical-nodes"
 24 |   internal var isUpdatingNativeSelection = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
 48 |
 49 | UIKIT_EXTERN API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
 50 | @interface UIPasteboard : NSObject
    |            `- note: 'UIPasteboard' has been explicitly marked unavailable here
 51 |
 52 | @property(class, nonatomic, readonly) UIPasteboard *generalPasteboard;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:31:33: error: 'UILabel' is unavailable in watchOS
 29 |   internal var interceptNextSelectionChangeAndReplaceWithRange: NSRange?
 30 |   weak var lexicalDelegate: LexicalTextViewDelegate?
 31 |   private var placeholderLabel: UILabel
    |                                 `- error: 'UILabel' is unavailable in watchOS
 32 |
 33 |   private let useInputDelegateProxy: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:98:38: error: 'UITextInputDelegate' is unavailable in watchOS
 96 |   }
 97 |
 98 |   override public var inputDelegate: UITextInputDelegate? {
    |                                      `- error: 'UITextInputDelegate' is unavailable in watchOS
 99 |     get {
100 |       if useInputDelegateProxy {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:336:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
334 | /* The input delegate must be notified of changes to the selection and text. */
335 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
336 | @protocol UITextInputDelegate <NSObject>
    |           `- note: 'UITextInputDelegate' has been explicitly marked unavailable here
337 |
338 | - (void)selectionWillChange:(nullable id <UITextInput>)textInput;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:159:24: error: cannot override 'copy' which has been marked unavailable
157 |   }
158 |
159 |   override public func copy(_ sender: Any?) {
    |                        |- error: cannot override 'copy' which has been marked unavailable
    |                        `- note: remove 'override' modifier to declare a new 'copy'
160 |     editor.dispatchCommand(type: .copy, payload: pasteboard)
161 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:35:1: note: 'copy' has been explicitly marked unavailable here
 33 | @optional
 34 | - (void)cut:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 35 | - (void)copy:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
    | `- note: 'copy' has been explicitly marked unavailable here
 36 | - (void)paste:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 37 | - (void)pasteAndMatchStyle:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:163:24: error: cannot override 'cut' which has been marked unavailable
161 |   }
162 |
163 |   override public func cut(_ sender: Any?) {
    |                        |- error: cannot override 'cut' which has been marked unavailable
    |                        `- note: remove 'override' modifier to declare a new 'cut'
164 |     editor.dispatchCommand(type: .cut, payload: pasteboard)
165 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:34:1: note: 'cut' has been explicitly marked unavailable here
 32 | @protocol UIResponderStandardEditActions <NSObject>
 33 | @optional
 34 | - (void)cut:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
    | `- note: 'cut' has been explicitly marked unavailable here
 35 | - (void)copy:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 36 | - (void)paste:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:167:24: error: cannot override 'paste' which has been marked unavailable
165 |   }
166 |
167 |   override public func paste(_ sender: Any?) {
    |                        |- error: cannot override 'paste' which has been marked unavailable
    |                        `- note: remove 'override' modifier to declare a new 'paste'
168 |     editor.dispatchCommand(type: .paste, payload: pasteboard)
169 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:36:1: note: 'paste' has been explicitly marked unavailable here
 34 | - (void)cut:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 35 | - (void)copy:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 36 | - (void)paste:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
    | `- note: 'paste' has been explicitly marked unavailable here
 37 | - (void)pasteAndMatchStyle:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
 38 | - (void)pasteAndGo:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:199:24: error: cannot override 'setAttributedMarkedText' which has been marked unavailable
197 |   // MARK: Marked text
198 |
199 |   override public func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange) {
    |                        |- error: cannot override 'setAttributedMarkedText' which has been marked unavailable
    |                        `- note: remove 'override' modifier to declare a new 'setAttributedMarkedText'
200 |     editor.log(.UITextView, .verbose)
201 |     if let markedText {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:226:1: note: 'setAttributedMarkedText(_:selectedRange:)' has been explicitly marked unavailable here
224 |
225 | // set attributedString as markedText, selectedRange is a range within the markedText
226 | - (void)setAttributedMarkedText:(nullable NSAttributedString *)markedText selectedRange:(NSRange)selectedRange API_UNAVAILABLE(watchos);
    | `- note: 'setAttributedMarkedText(_:selectedRange:)' has been explicitly marked unavailable here
227 |
228 | // Insert a placeholder
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:19:30: error: 'UITextView' is unavailable in watchOS
 17 |
 18 | /// Lexical's subclass of UITextView. Note that using this can be dangerous, if you make changes that Lexical does not expect.
 19 | @objc public class TextView: UITextView {
    |                              `- error: 'UITextView' is unavailable in watchOS
 20 |   let editor: Editor
 21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:388:54: error: 'UITextView' is unavailable in watchOS
386 |
387 | private class TextViewDelegate: NSObject, UITextViewDelegate {
388 |   public func textViewDidChangeSelection(_ textView: UITextView) {
    |                                                      `- error: 'UITextView' is unavailable in watchOS
389 |     guard let textView = textView as? TextView else { return }
390 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:404:36: error: 'UITextView' is unavailable in watchOS
402 |   }
403 |
404 |   public func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
    |                                    `- error: 'UITextView' is unavailable in watchOS
405 |     guard let textView = textView as? TextView else { return false }
406 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:415:51: error: 'UITextView' is unavailable in watchOS
413 |   }
414 |
415 |   public func textViewDidBeginEditing(_ textView: UITextView) {
    |                                                   `- error: 'UITextView' is unavailable in watchOS
416 |     guard let textView = textView as? TextView else { return }
417 |     textView.lexicalDelegate?.textViewDidBeginEditing(textView: textView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:420:49: error: 'UITextView' is unavailable in watchOS
418 |   }
419 |
420 |   public func textViewDidEndEditing(_ textView: UITextView) {
    |                                                 `- error: 'UITextView' is unavailable in watchOS
421 |     guard let textView = textView as? TextView else { return }
422 |     textView.lexicalDelegate?.textViewDidEndEditing(textView: textView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:425:36: error: 'UITextView' is unavailable in watchOS
423 |   }
424 |
425 |   public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
    |                                    `- error: 'UITextView' is unavailable in watchOS
426 |     guard let textView = textView as? TextView else { return false }
427 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:425:118: error: 'UITextItemInteraction' is unavailable in watchOS
423 |   }
424 |
425 |   public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
    |                                                                                                                      `- error: 'UITextItemInteraction' is unavailable in watchOS
426 |     guard let textView = textView as? TextView else { return false }
427 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
 7 | //
 8 |
 9 | typedef NS_ENUM(NSInteger, UITextItemInteraction) {
   |                            `- note: 'UITextItemInteraction' has been explicitly marked unavailable here
10 |     UITextItemInteractionInvokeDefaultAction,
11 |     UITextItemInteractionPresentActions,
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:387:43: error: 'UITextViewDelegate' is unavailable in watchOS
385 | }
386 |
387 | private class TextViewDelegate: NSObject, UITextViewDelegate {
    |                                           `- error: 'UITextViewDelegate' is unavailable in watchOS
388 |   public func textViewDidChangeSelection(_ textView: UITextView) {
389 |     guard let textView = textView as? TextView else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:36:11: note: 'UITextViewDelegate' has been explicitly marked unavailable here
 34 |
 35 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 36 | @protocol UITextViewDelegate <NSObject, UIScrollViewDelegate>
    |           `- note: 'UITextViewDelegate' has been explicitly marked unavailable here
 37 |
 38 | @optional
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:425:15: error: cannot override 'textView' which has been marked unavailable
423 |   }
424 |
425 |   public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
    |               `- error: cannot override 'textView' which has been marked unavailable
426 |     guard let textView = textView as? TextView else { return false }
427 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:170:1: note: 'textView(_:shouldInteractWith:in:interaction:)' has been explicitly marked unavailable here
168 |
169 |
170 | - (BOOL)textView:(UITextView *)textView shouldInteractWithURL:(NSURL *)URL inRange:(NSRange)characterRange interaction:(UITextItemInteraction)interaction API_DEPRECATED("Replaced by primaryActionForTextItem: and menuConfigurationForTextItem: for additional customization options.", ios(10.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'textView(_:shouldInteractWith:in:interaction:)' has been explicitly marked unavailable here
171 | - (BOOL)textView:(UITextView *)textView shouldInteractWithTextAttachment:(NSTextAttachment *)textAttachment inRange:(NSRange)characterRange interaction:(UITextItemInteraction)interaction API_DEPRECATED("Replaced by primaryActionForTextItem: and menuConfigurationForTextItem: for additional customization options.", ios(10.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
172 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/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-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical-t.build/Objects-normal/arm64/Lexical-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Lexical -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical-t.build/Objects-normal/arm64/Lexical_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical-t.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-t.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-t.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-t.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-t.build/Objects-normal/arm64/Lexical-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical-t.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-t.build/Objects-normal/arm64/Lexical.abi.json
SwiftCompile normal arm64 (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ TextKitUtils.swift,\ TextStorage.swift,\ InputDelegateProxy.swift,\ NativeSelection.swift,\ TextView.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 (in target 'Lexical' from project 'Lexical')
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift:137:17: error: 'editedAttributes' is unavailable in watchOS
135 |       beginEditing()
136 |       if backingAttributedString.length > 0 {
137 |         edited(.editedAttributes, range: NSRange(location: backingAttributedString.length - 1, length: 1), changeInLength: 0)
    |                 `- error: 'editedAttributes' is unavailable in watchOS
138 |       }
139 |       endEditing()
UIKit.NSTextStorage.EditActions.editedAttributes:4:23: note: 'editedAttributes' has been explicitly marked unavailable here
2 |   struct EditActions {
3 | @available(watchOS, unavailable)
4 |     public static var editedAttributes: NSTextStorage.EditActions { get }  }
  |                       `- note: 'editedAttributes' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift:10:27: error: 'NSTextStorage' is unavailable in watchOS
  8 | import UIKit
  9 |
 10 | public class TextStorage: NSTextStorage {
    |                           `- error: 'NSTextStorage' is unavailable in watchOS
 11 |
 12 |   internal typealias CharacterLocation = Int
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
 44 | /// `edited:range:changeInLength:` to get everything else to happen.
 45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
    |            `- note: 'NSTextStorage' has been explicitly marked unavailable here
 47 | /**************************** Pending edit info ****************************/
 48 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift:76:13: error: 'editedCharacters' is unavailable in watchOS
 74 |     beginEditing()
 75 |     backingAttributedString.replaceCharacters(in: range, with: str)
 76 |     edited(.editedCharacters, range: range, changeInLength: (str as NSString).length - range.length)
    |             `- error: 'editedCharacters' is unavailable in watchOS
 77 |     endEditing()
 78 |   }
UIKit.NSTextStorage.EditActions.editedCharacters:4:23: note: 'editedCharacters' has been explicitly marked unavailable here
2 |   struct EditActions {
3 | @available(watchOS, unavailable)
4 |     public static var editedCharacters: NSTextStorage.EditActions { get }  }
  |                       `- note: 'editedCharacters' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift:129:13: error: 'editedAttributes' is unavailable in watchOS
127 |     beginEditing()
128 |     backingAttributedString.setAttributes(attrs, range: range)
129 |     edited(.editedAttributes, range: range, changeInLength: 0)
    |             `- error: 'editedAttributes' is unavailable in watchOS
130 |     endEditing()
131 |   }
UIKit.NSTextStorage.EditActions.editedAttributes:4:23: note: 'editedAttributes' has been explicitly marked unavailable here
2 |   struct EditActions {
3 | @available(watchOS, unavailable)
4 |     public static var editedAttributes: NSTextStorage.EditActions { get }  }
  |                       `- note: 'editedAttributes' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:11:42: error: 'UITextInputDelegate' is unavailable in watchOS
 9 |
10 | internal class InputDelegateProxy: NSObject, UITextInputDelegate {
11 |   internal weak var targetInputDelegate: UITextInputDelegate?
   |                                          `- error: 'UITextInputDelegate' is unavailable in watchOS
12 |   internal var isSuspended: Bool = false
13 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:336:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
334 | /* The input delegate must be notified of changes to the selection and text. */
335 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
336 | @protocol UITextInputDelegate <NSObject>
    |           `- note: 'UITextInputDelegate' has been explicitly marked unavailable here
337 |
338 | - (void)selectionWillChange:(nullable id <UITextInput>)textInput;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:14:41: error: 'UITextInput' is unavailable in watchOS
12 |   internal var isSuspended: Bool = false
13 |
14 |   func selectionWillChange(_ textInput: UITextInput?) {
   |                                         `- error: 'UITextInput' is unavailable in watchOS
15 |     if let targetInputDelegate, isSuspended == false {
16 |       targetInputDelegate.selectionWillChange(textInput)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:119:11: note: 'UITextInput' has been explicitly marked unavailable here
117 |
118 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
119 | @protocol UITextInput <UIKeyInput>
    |           `- note: 'UITextInput' has been explicitly marked unavailable here
120 | @required
121 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:20:40: error: 'UITextInput' is unavailable in watchOS
18 |   }
19 |
20 |   func selectionDidChange(_ textInput: UITextInput?) {
   |                                        `- error: 'UITextInput' is unavailable in watchOS
21 |     if let targetInputDelegate, isSuspended == false {
22 |       targetInputDelegate.selectionDidChange(textInput)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:119:11: note: 'UITextInput' has been explicitly marked unavailable here
117 |
118 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
119 | @protocol UITextInput <UIKeyInput>
    |           `- note: 'UITextInput' has been explicitly marked unavailable here
120 | @required
121 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:26:36: error: 'UITextInput' is unavailable in watchOS
24 |   }
25 |
26 |   func textWillChange(_ textInput: UITextInput?) {
   |                                    `- error: 'UITextInput' is unavailable in watchOS
27 |     if let targetInputDelegate, isSuspended == false {
28 |       targetInputDelegate.textWillChange(textInput)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:119:11: note: 'UITextInput' has been explicitly marked unavailable here
117 |
118 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
119 | @protocol UITextInput <UIKeyInput>
    |           `- note: 'UITextInput' has been explicitly marked unavailable here
120 | @required
121 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:32:35: error: 'UITextInput' is unavailable in watchOS
30 |   }
31 |
32 |   func textDidChange(_ textInput: UITextInput?) {
   |                                   `- error: 'UITextInput' is unavailable in watchOS
33 |     if let targetInputDelegate, isSuspended == false {
34 |       targetInputDelegate.textDidChange(textInput)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:119:11: note: 'UITextInput' has been explicitly marked unavailable here
117 |
118 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
119 | @protocol UITextInput <UIKeyInput>
    |           `- note: 'UITextInput' has been explicitly marked unavailable here
120 | @required
121 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:39:68: error: 'UITextInput' is unavailable in watchOS
37 |
38 |   // Note that this function only sends a didChange.
39 |   internal func sendSelectionChangedIgnoringSuspended(_ textInput: UITextInput?) {
   |                                                                    `- error: 'UITextInput' is unavailable in watchOS
40 |     if let targetInputDelegate {
41 |       targetInputDelegate.selectionDidChange(textInput)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:119:11: note: 'UITextInput' has been explicitly marked unavailable here
117 |
118 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
119 | @protocol UITextInput <UIKeyInput>
    |           `- note: 'UITextInput' has been explicitly marked unavailable here
120 | @required
121 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:10:46: error: 'UITextInputDelegate' is unavailable in watchOS
 8 | import UIKit
 9 |
10 | internal class InputDelegateProxy: NSObject, UITextInputDelegate {
   |                                              `- error: 'UITextInputDelegate' is unavailable in watchOS
11 |   internal weak var targetInputDelegate: UITextInputDelegate?
12 |   internal var isSuspended: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:336:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
334 | /* The input delegate must be notified of changes to the selection and text. */
335 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
336 | @protocol UITextInputDelegate <NSObject>
    |           `- note: 'UITextInputDelegate' has been explicitly marked unavailable here
337 |
338 | - (void)selectionWillChange:(nullable id <UITextInput>)textInput;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:47: error: 'UITextRange' is unavailable in watchOS
11 | public class NativeSelection {
12 |
13 |   internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
   |                                               `- error: 'UITextRange' is unavailable in watchOS
14 |     self.range = range
15 |     self.opaqueRange = opaqueRange
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:307:12: note: 'UITextRange' has been explicitly marked unavailable here
305 |
306 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
307 | @interface UITextRange : NSObject
    |            `- note: 'UITextRange' has been explicitly marked unavailable here
308 |
309 | @property (nonatomic, readonly, getter=isEmpty) BOOL empty;     //  Whether the range is zero-length.
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:71: error: 'UITextStorageDirection' is unavailable in watchOS
11 | public class NativeSelection {
12 |
13 |   internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
   |                                                                       `- error: 'UITextStorageDirection' is unavailable in watchOS
14 |     self.range = range
15 |     self.opaqueRange = opaqueRange
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:55:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
 53 | @protocol UIEditMenuInteractionAnimating;
 54 |
 55 | typedef NS_ENUM(NSInteger, UITextStorageDirection) {
    |                            `- note: 'UITextStorageDirection' has been explicitly marked unavailable here
 56 |     UITextStorageDirectionForward = 0,
 57 |     UITextStorageDirectionBackward
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:137: error: 'UITextRange' is unavailable in watchOS
11 | public class NativeSelection {
12 |
13 |   internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
   |                                                                                                                                         `- error: 'UITextRange' is unavailable in watchOS
14 |     self.range = range
15 |     self.opaqueRange = opaqueRange
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:307:12: note: 'UITextRange' has been explicitly marked unavailable here
305 |
306 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
307 | @interface UITextRange : NSObject
    |            `- note: 'UITextRange' has been explicitly marked unavailable here
308 |
309 | @property (nonatomic, readonly, getter=isEmpty) BOOL empty;     //  Whether the range is zero-length.
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:31:53: error: 'UITextStorageDirection' is unavailable in watchOS
29 |   }
30 |
31 |   public convenience init(range: NSRange, affinity: UITextStorageDirection) {
   |                                                     `- error: 'UITextStorageDirection' is unavailable in watchOS
32 |     self.init(range: range,
33 |               opaqueRange: nil,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:55:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
 53 | @protocol UIEditMenuInteractionAnimating;
 54 |
 55 | typedef NS_ENUM(NSInteger, UITextStorageDirection) {
    |                            `- note: 'UITextStorageDirection' has been explicitly marked unavailable here
 56 |     UITextStorageDirectionForward = 0,
 57 |     UITextStorageDirectionBackward
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:47:20: error: 'UITextRange' is unavailable in watchOS
45 |   // both things in this object -- the opaque range is useful for modifying the selection, whereas the
46 |   // numerical range is useful for matching up with our range cache.
47 |   let opaqueRange: UITextRange?
   |                    `- error: 'UITextRange' is unavailable in watchOS
48 |
49 |   let affinity: UITextStorageDirection
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:307:12: note: 'UITextRange' has been explicitly marked unavailable here
305 |
306 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
307 | @interface UITextRange : NSObject
    |            `- note: 'UITextRange' has been explicitly marked unavailable here
308 |
309 | @property (nonatomic, readonly, getter=isEmpty) BOOL empty;     //  Whether the range is zero-length.
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:49:17: error: 'UITextStorageDirection' is unavailable in watchOS
47 |   let opaqueRange: UITextRange?
48 |
49 |   let affinity: UITextStorageDirection
   |                 `- error: 'UITextStorageDirection' is unavailable in watchOS
50 |
51 |   // marked text is the iOS term for what Lexical calls `composing`.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:55:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
 53 | @protocol UIEditMenuInteractionAnimating;
 54 |
 55 | typedef NS_ENUM(NSInteger, UITextStorageDirection) {
    |                            `- note: 'UITextStorageDirection' has been explicitly marked unavailable here
 56 |     UITextStorageDirectionForward = 0,
 57 |     UITextStorageDirectionBackward
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:55:26: error: 'UITextRange' is unavailable in watchOS
53 |   // The opaque range comes straight from the text view; the range (as an NSRange) is calculated by us.
54 |   let markedRange: NSRange?
55 |   let markedOpaqueRange: UITextRange?
   |                          `- error: 'UITextRange' is unavailable in watchOS
56 |
57 |   // The selection is something that cannot be represented by a character range. Usually corresponds with
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:307:12: note: 'UITextRange' has been explicitly marked unavailable here
305 |
306 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
307 | @interface UITextRange : NSObject
    |            `- note: 'UITextRange' has been explicitly marked unavailable here
308 |
309 | @property (nonatomic, readonly, getter=isEmpty) BOOL empty;     //  Whether the range is zero-length.
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:14:45: error: 'UITextView' is unavailable in watchOS
 12 |   func textViewDidBeginEditing(textView: TextView)
 13 |   func textViewDidEndEditing(textView: TextView)
 14 |   func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool
    |                                             `- error: 'UITextView' is unavailable in watchOS
 15 |   func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
 16 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:15:29: error: 'UITextView' is unavailable in watchOS
 13 |   func textViewDidEndEditing(textView: TextView)
 14 |   func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool
 15 |   func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
    |                             `- error: 'UITextView' is unavailable in watchOS
 16 | }
 17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:15:111: error: 'UITextItemInteraction' is unavailable in watchOS
 13 |   func textViewDidEndEditing(textView: TextView)
 14 |   func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool
 15 |   func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
    |                                                                                                               `- error: 'UITextItemInteraction' is unavailable in watchOS
 16 | }
 17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
 7 | //
 8 |
 9 | typedef NS_ENUM(NSInteger, UITextItemInteraction) {
   |                            `- note: 'UITextItemInteraction' has been explicitly marked unavailable here
10 |     UITextItemInteractionInvokeDefaultAction,
11 |     UITextItemInteractionPresentActions,
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:22:29: error: 'UIPasteboard' is unavailable in watchOS
 20 |   let editor: Editor
 21 |
 22 |   internal let pasteboard = UIPasteboard.general
    |                             `- error: 'UIPasteboard' is unavailable in watchOS
 23 |   internal let pasteboardIdentifier = "x-lexical-nodes"
 24 |   internal var isUpdatingNativeSelection = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
 48 |
 49 | UIKIT_EXTERN API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
 50 | @interface UIPasteboard : NSObject
    |            `- note: 'UIPasteboard' has been explicitly marked unavailable here
 51 |
 52 | @property(class, nonatomic, readonly) UIPasteboard *generalPasteboard;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:31:33: error: 'UILabel' is unavailable in watchOS
 29 |   internal var interceptNextSelectionChangeAndReplaceWithRange: NSRange?
 30 |   weak var lexicalDelegate: LexicalTextViewDelegate?
 31 |   private var placeholderLabel: UILabel
    |                                 `- error: 'UILabel' is unavailable in watchOS
 32 |
 33 |   private let useInputDelegateProxy: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:98:38: error: 'UITextInputDelegate' is unavailable in watchOS
 96 |   }
 97 |
 98 |   override public var inputDelegate: UITextInputDelegate? {
    |                                      `- error: 'UITextInputDelegate' is unavailable in watchOS
 99 |     get {
100 |       if useInputDelegateProxy {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:336:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
334 | /* The input delegate must be notified of changes to the selection and text. */
335 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
336 | @protocol UITextInputDelegate <NSObject>
    |           `- note: 'UITextInputDelegate' has been explicitly marked unavailable here
337 |
338 | - (void)selectionWillChange:(nullable id <UITextInput>)textInput;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:159:24: error: cannot override 'copy' which has been marked unavailable
157 |   }
158 |
159 |   override public func copy(_ sender: Any?) {
    |                        |- error: cannot override 'copy' which has been marked unavailable
    |                        `- note: remove 'override' modifier to declare a new 'copy'
160 |     editor.dispatchCommand(type: .copy, payload: pasteboard)
161 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:35:1: note: 'copy' has been explicitly marked unavailable here
 33 | @optional
 34 | - (void)cut:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 35 | - (void)copy:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
    | `- note: 'copy' has been explicitly marked unavailable here
 36 | - (void)paste:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 37 | - (void)pasteAndMatchStyle:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:163:24: error: cannot override 'cut' which has been marked unavailable
161 |   }
162 |
163 |   override public func cut(_ sender: Any?) {
    |                        |- error: cannot override 'cut' which has been marked unavailable
    |                        `- note: remove 'override' modifier to declare a new 'cut'
164 |     editor.dispatchCommand(type: .cut, payload: pasteboard)
165 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:34:1: note: 'cut' has been explicitly marked unavailable here
 32 | @protocol UIResponderStandardEditActions <NSObject>
 33 | @optional
 34 | - (void)cut:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
    | `- note: 'cut' has been explicitly marked unavailable here
 35 | - (void)copy:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 36 | - (void)paste:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:167:24: error: cannot override 'paste' which has been marked unavailable
165 |   }
166 |
167 |   override public func paste(_ sender: Any?) {
    |                        |- error: cannot override 'paste' which has been marked unavailable
    |                        `- note: remove 'override' modifier to declare a new 'paste'
168 |     editor.dispatchCommand(type: .paste, payload: pasteboard)
169 |   }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:36:1: note: 'paste' has been explicitly marked unavailable here
 34 | - (void)cut:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 35 | - (void)copy:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 36 | - (void)paste:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
    | `- note: 'paste' has been explicitly marked unavailable here
 37 | - (void)pasteAndMatchStyle:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
 38 | - (void)pasteAndGo:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:199:24: error: cannot override 'setAttributedMarkedText' which has been marked unavailable
197 |   // MARK: Marked text
198 |
199 |   override public func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange) {
    |                        |- error: cannot override 'setAttributedMarkedText' which has been marked unavailable
    |                        `- note: remove 'override' modifier to declare a new 'setAttributedMarkedText'
200 |     editor.log(.UITextView, .verbose)
201 |     if let markedText {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:226:1: note: 'setAttributedMarkedText(_:selectedRange:)' has been explicitly marked unavailable here
224 |
225 | // set attributedString as markedText, selectedRange is a range within the markedText
226 | - (void)setAttributedMarkedText:(nullable NSAttributedString *)markedText selectedRange:(NSRange)selectedRange API_UNAVAILABLE(watchos);
    | `- note: 'setAttributedMarkedText(_:selectedRange:)' has been explicitly marked unavailable here
227 |
228 | // Insert a placeholder
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:19:30: error: 'UITextView' is unavailable in watchOS
 17 |
 18 | /// Lexical's subclass of UITextView. Note that using this can be dangerous, if you make changes that Lexical does not expect.
 19 | @objc public class TextView: UITextView {
    |                              `- error: 'UITextView' is unavailable in watchOS
 20 |   let editor: Editor
 21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:388:54: error: 'UITextView' is unavailable in watchOS
386 |
387 | private class TextViewDelegate: NSObject, UITextViewDelegate {
388 |   public func textViewDidChangeSelection(_ textView: UITextView) {
    |                                                      `- error: 'UITextView' is unavailable in watchOS
389 |     guard let textView = textView as? TextView else { return }
390 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:404:36: error: 'UITextView' is unavailable in watchOS
402 |   }
403 |
404 |   public func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
    |                                    `- error: 'UITextView' is unavailable in watchOS
405 |     guard let textView = textView as? TextView else { return false }
406 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:415:51: error: 'UITextView' is unavailable in watchOS
413 |   }
414 |
415 |   public func textViewDidBeginEditing(_ textView: UITextView) {
    |                                                   `- error: 'UITextView' is unavailable in watchOS
416 |     guard let textView = textView as? TextView else { return }
417 |     textView.lexicalDelegate?.textViewDidBeginEditing(textView: textView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:420:49: error: 'UITextView' is unavailable in watchOS
418 |   }
419 |
420 |   public func textViewDidEndEditing(_ textView: UITextView) {
    |                                                 `- error: 'UITextView' is unavailable in watchOS
421 |     guard let textView = textView as? TextView else { return }
422 |     textView.lexicalDelegate?.textViewDidEndEditing(textView: textView)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:425:36: error: 'UITextView' is unavailable in watchOS
423 |   }
424 |
425 |   public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
    |                                    `- error: 'UITextView' is unavailable in watchOS
426 |     guard let textView = textView as? TextView else { return false }
427 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:425:118: error: 'UITextItemInteraction' is unavailable in watchOS
423 |   }
424 |
425 |   public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
    |                                                                                                                      `- error: 'UITextItemInteraction' is unavailable in watchOS
426 |     guard let textView = textView as? TextView else { return false }
427 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
 7 | //
 8 |
 9 | typedef NS_ENUM(NSInteger, UITextItemInteraction) {
   |                            `- note: 'UITextItemInteraction' has been explicitly marked unavailable here
10 |     UITextItemInteractionInvokeDefaultAction,
11 |     UITextItemInteractionPresentActions,
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:387:43: error: 'UITextViewDelegate' is unavailable in watchOS
385 | }
386 |
387 | private class TextViewDelegate: NSObject, UITextViewDelegate {
    |                                           `- error: 'UITextViewDelegate' is unavailable in watchOS
388 |   public func textViewDidChangeSelection(_ textView: UITextView) {
389 |     guard let textView = textView as? TextView else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:36:11: note: 'UITextViewDelegate' has been explicitly marked unavailable here
 34 |
 35 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 36 | @protocol UITextViewDelegate <NSObject, UIScrollViewDelegate>
    |           `- note: 'UITextViewDelegate' has been explicitly marked unavailable here
 37 |
 38 | @optional
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:425:15: error: cannot override 'textView' which has been marked unavailable
423 |   }
424 |
425 |   public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
    |               `- error: cannot override 'textView' which has been marked unavailable
426 |     guard let textView = textView as? TextView else { return false }
427 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:170:1: note: 'textView(_:shouldInteractWith:in:interaction:)' has been explicitly marked unavailable here
168 |
169 |
170 | - (BOOL)textView:(UITextView *)textView shouldInteractWithURL:(NSURL *)URL inRange:(NSRange)characterRange interaction:(UITextItemInteraction)interaction API_DEPRECATED("Replaced by primaryActionForTextItem: and menuConfigurationForTextItem: for additional customization options.", ios(10.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'textView(_:shouldInteractWith:in:interaction:)' has been explicitly marked unavailable here
171 | - (BOOL)textView:(UITextView *)textView shouldInteractWithTextAttachment:(NSTextAttachment *)textAttachment inRange:(NSRange)characterRange interaction:(UITextItemInteraction)interaction API_DEPRECATED("Replaced by primaryActionForTextItem: and menuConfigurationForTextItem: for additional customization options.", ios(10.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
172 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:46:45: error: argument passed to call that takes no arguments
 44 |     layoutManager.delegate = layoutManagerDelegate
 45 |
 46 |     let textContainer = TextContainer(size: CGSize(width: 0, height: CGFloat.greatestFiniteMagnitude))
    |                                             `- error: argument passed to call that takes no arguments
 47 |     textContainer.widthTracksTextView = true
 48 |
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:62:24: error: 'UILabel' is unavailable in watchOS
 60 |       editorConfig: editorConfig)
 61 |     textStorage.editor = editor
 62 |     placeholderLabel = UILabel(frame: .zero)
    |                        `- error: 'UILabel' is unavailable in watchOS
 63 |
 64 |     useInputDelegateProxy = featureFlags.proxyTextViewInputDelegate
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:145:21: error: 'hasStrings' is unavailable in watchOS
143 |   override public func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool {
144 |     if action == #selector(paste(_:)) {
145 |       if pasteboard.hasStrings {
    |                     `- error: 'hasStrings' is unavailable in watchOS
146 |         return true
147 |       } else if !(pasteboard.data(forPasteboardType: LexicalConstants.pasteboardIdentifier)?.isEmpty ?? true) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:122:38: note: 'hasStrings' has been explicitly marked unavailable here
120 | // Queries
121 |
122 | @property (nonatomic, readonly) BOOL hasStrings API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) API_AVAILABLE(ios(10.0));
    |                                      `- note: 'hasStrings' has been explicitly marked unavailable here
123 | @property (nonatomic, readonly) BOOL hasURLs API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) API_AVAILABLE(ios(10.0));
124 | @property (nonatomic, readonly) BOOL hasImages API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) API_AVAILABLE(ios(10.0));
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:149:55: warning: 'kUTTypeUTF8PlainText' was deprecated in watchOS 8.0: Use UTTypeUTF8PlainText or UTType.utf8PlainText (swift) instead. [#DeprecatedDeclaration]
147 |       } else if !(pasteboard.data(forPasteboardType: LexicalConstants.pasteboardIdentifier)?.isEmpty ?? true) {
148 |         return true
149 |       } else if !(pasteboard.data(forPasteboardType: (kUTTypeUTF8PlainText as String))?.isEmpty ?? true) {
    |                                                       `- warning: 'kUTTypeUTF8PlainText' was deprecated in watchOS 8.0: Use UTTypeUTF8PlainText or UTType.utf8PlainText (swift) instead. [#DeprecatedDeclaration]
150 |         return true
151 |       } else {
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:266:11: error: 'setAttributedMarkedText(_:selectedRange:)' is unavailable in watchOS
264 |     editor.log(.TextView, .verbose)
265 |     isUpdatingNativeSelection = true
266 |     super.setAttributedMarkedText(markedText, selectedRange: selectedRange)
    |           `- error: 'setAttributedMarkedText(_:selectedRange:)' is unavailable in watchOS
267 |     interceptNextSelectionChangeAndReplaceWithRange = nil
268 |     onSelectionChange(editor: editor)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:226:1: note: 'setAttributedMarkedText(_:selectedRange:)' has been explicitly marked unavailable here
224 |
225 | // set attributedString as markedText, selectedRange is a range within the markedText
226 | - (void)setAttributedMarkedText:(nullable NSAttributedString *)markedText selectedRange:(NSRange)selectedRange API_UNAVAILABLE(watchos);
    | `- note: 'setAttributedMarkedText(_:selectedRange:)' has been explicitly marked unavailable here
227 |
228 | // Insert a placeholder
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:309:17: error: 'UIAlertController' is unavailable in watchOS
307 |
308 |   internal func presentDeveloperFacingError(message: String) {
309 |     let alert = UIAlertController(title: "Lexical Error", message: message, preferredStyle: .alert)
    |                 `- error: 'UIAlertController' is unavailable in watchOS
310 |     alert.addAction(UIAlertAction(title: "OK", style: UIAlertAction.Style.default, handler: nil))
311 |     if let rootViewController = self.window?.rootViewController {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:43:12: note: 'UIAlertController' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIAlertController : UIViewController
   |            `- note: 'UIAlertController' has been explicitly marked unavailable here
44 |
45 | + (instancetype)alertControllerWithTitle:(nullable NSString *)title message:(nullable NSString *)message preferredStyle:(UIAlertControllerStyle)preferredStyle;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:310:21: error: 'UIAlertAction' is unavailable in watchOS
308 |   internal func presentDeveloperFacingError(message: String) {
309 |     let alert = UIAlertController(title: "Lexical Error", message: message, preferredStyle: .alert)
310 |     alert.addAction(UIAlertAction(title: "OK", style: UIAlertAction.Style.default, handler: nil))
    |                     `- error: 'UIAlertAction' is unavailable in watchOS
311 |     if let rootViewController = self.window?.rootViewController {
312 |       rootViewController.present(alert, animated: true, completion: nil)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
   |            `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:310:55: error: 'UIAlertAction' is unavailable in watchOS
308 |   internal func presentDeveloperFacingError(message: String) {
309 |     let alert = UIAlertController(title: "Lexical Error", message: message, preferredStyle: .alert)
310 |     alert.addAction(UIAlertAction(title: "OK", style: UIAlertAction.Style.default, handler: nil))
    |                                                       `- error: 'UIAlertAction' is unavailable in watchOS
311 |     if let rootViewController = self.window?.rootViewController {
312 |       rootViewController.present(alert, animated: true, completion: nil)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h:32:12: note: 'UIAlertAction' has been explicitly marked unavailable here
30 |
31 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
32 | @interface UIAlertAction : NSObject <NSCopying>
   |            `- note: 'UIAlertAction' has been explicitly marked unavailable here
33 |
34 | + (instancetype)actionWithTitle:(nullable NSString *)title style:(UIAlertActionStyle)style handler:(void (^ __nullable)(UIAlertAction *action))handler;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextKitUtils.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile TextKitUtils.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile TextStorage.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile InputDelegateProxy.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile NativeSelection.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile TextView.swift
SwiftCompile normal arm64 Compiling\ ObjCHelpers.swift,\ RangeHelpers.swift,\ SelectionHelpers.swift,\ Theme.swift,\ FrontendProtocol.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 (in target 'Lexical' from project 'Lexical')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/Helper/ObjCHelpers.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ObjCHelpers.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/Helper/RangeHelpers.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RangeHelpers.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/Helper/SelectionHelpers.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SelectionHelpers.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/Helper/Theme.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Theme.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift (in target 'Lexical' from project 'Lexical')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile FrontendProtocol.swift
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:28:33: error: 'UIView' is unavailable in watchOS
26 |   var nativeSelection: NativeSelection { get }
27 |   var isFirstResponder: Bool { get }
28 |   var viewForDecoratorSubviews: UIView? { get }
   |                                 `- error: 'UIView' is unavailable in watchOS
29 |   var isEmpty: Bool { get }
30 |   var isUpdatingNativeSelection: Bool { get set }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:34:78: error: 'UITextStorageDirection' is unavailable in watchOS
32 |   var textLayoutWidth: CGFloat { get }
33 |
34 |   func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity)
   |                                                                              `- error: 'UITextStorageDirection' is unavailable in watchOS
35 |   func unmarkTextWithoutUpdate()
36 |   func presentDeveloperFacingError(message: String)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:55:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
 53 | @protocol UIEditMenuInteractionAnimating;
 54 |
 55 | typedef NS_ENUM(NSInteger, UITextStorageDirection) {
    |                            `- note: 'UITextStorageDirection' has been explicitly marked unavailable here
 56 |     UITextStorageDirectionForward = 0,
 57 |     UITextStorageDirectionBackward
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftSoup (in target 'SwiftSoup' from project 'SwiftSoup')
SwiftCompile normal arm64_32 (in target 'SwiftSoup' from project 'SwiftSoup')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-19 17:04:07.490 xcodebuild[905:5320] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-19 17:04:07.591 xcodebuild[905:5320] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64 Emitting\ module\ for\ Lexical (in target 'Lexical' from project 'Lexical')
	SwiftCompile normal arm64 (in target 'Lexical' from project 'Lexical')
	Building workspace Lexical with scheme Lexical-Package
(3 failures)
BUILD FAILURE 6.4 watchOS