Build Information
Failed to build Lexical, reference main (d871c0), with Swift 6.3 for watchOS using Xcode 26.4 on 4 Sep 2026 17:30:39 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Lexical-Package -destination generic/platform=watchOSBuild Log
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:17:29: error: 'UITextView' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:17:111: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:24:29: error: 'UIPasteboard' is unavailable in watchOS
internal let pasteboard = UIPasteboard.general
^~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:33:33: error: 'UILabel' is unavailable in watchOS
private var placeholderLabel: UILabel
^~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:100:38: error: 'UITextInputDelegate' is unavailable in watchOS
override public var inputDelegate: UITextInputDelegate? {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:166:24: error: cannot override 'copy' which has been marked unavailable
override public func copy(_ sender: Any?) {
^
UIKit.UIResponder.copy:3:13: note: 'copy' has been explicitly marked unavailable here
open func copy(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:166:24: note: remove 'override' modifier to declare a new 'copy'
override public func copy(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:170:24: error: cannot override 'cut' which has been marked unavailable
override public func cut(_ sender: Any?) {
^
UIKit.UIResponder.cut:3:13: note: 'cut' has been explicitly marked unavailable here
open func cut(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:170:24: note: remove 'override' modifier to declare a new 'cut'
override public func cut(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:174:24: error: cannot override 'paste' which has been marked unavailable
override public func paste(_ sender: Any?) {
^
UIKit.UIResponder.paste:3:13: note: 'paste' has been explicitly marked unavailable here
open func paste(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:174:24: note: remove 'override' modifier to declare a new 'paste'
override public func paste(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:206:24: error: cannot override 'setAttributedMarkedText' which has been marked unavailable
override public func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange) {
^
UIKit.UITextView.setAttributedMarkedText:3:13: note: 'setAttributedMarkedText(_:selectedRange:)' has been explicitly marked unavailable here
open func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:206:24: note: remove 'override' modifier to declare a new 'setAttributedMarkedText'
override public func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:21:36: error: 'UITextView' is unavailable in watchOS
@objc public final class TextView: UITextView {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:397:54: error: 'UITextView' is unavailable in watchOS
public func textViewDidChangeSelection(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:413:36: error: 'UITextView' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:424:51: error: 'UITextView' is unavailable in watchOS
public func textViewDidBeginEditing(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:429:49: error: 'UITextView' is unavailable in watchOS
public func textViewDidEndEditing(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:435:36: error: 'UITextView' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:435:118: error: 'UITextItemInteraction' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:396:49: error: 'UITextViewDelegate' is unavailable in watchOS
private final class TextViewDelegate: NSObject, UITextViewDelegate {
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:32:11: note: 'UITextViewDelegate' has been explicitly marked unavailable here
@protocol UITextViewDelegate <NSObject, UIScrollViewDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:435:15: error: cannot override 'textView' which has been marked unavailable
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^
UIKit.UITextViewDelegate.textView:3:17: note: 'textView(_:shouldInteractWith:in:interaction:)' has been explicitly marked unavailable here
optional func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool}
^
SwiftEmitModule normal armv7k Emitting\ module\ for\ Lexical (in target 'Lexical' from project 'Lexical')
Failed frontend command:
/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Lexical/Core/Constants.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/EditorState.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Errors.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/FeatureFlags.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/GarbageCollection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Mutations.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/CodeHighlightNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/CodeNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/ElementNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/HeadingNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/LineBreakNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/Node.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/ParagraphNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/QuoteNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/RootNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/TextNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/UnknownNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Reconciler.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/BaseSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/GridSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/NodeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/Point.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/RangeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/SelectionUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Serialization.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/StyleEvents.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/TextUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Updates.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Utils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/AttributesUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/Logging.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/NSAttributedStringKey+Extensions.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/ObjCHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/RangeHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/SelectionHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/Theme.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Plugin/Plugin.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextKitUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift -target armv7k-apple-watchos6.0 -module-can-import-version UIKit 9126.5.5 9126.5.5 -load-resolved-plugin /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical-dependencies-2.json -enable-objc-interop -stack-check -sdk /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.5-23T570-688ef53f1462e2c8f657fdc38a81448f7931b973dfc65d9472806dbbc3af9379.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Lexical -frontend-parseable-output -disable-clang-spi -clang-target armv7k-apple-watchos26.5 -target-sdk-version 26.5 -target-sdk-name watchos26.5 -in-process-plugin-server-path /Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/armv7k/Lexical.abi.json
EmitSwiftModule normal armv7k (in target 'Lexical' from project 'Lexical')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Constants.swift:44:46: error: 'label' is unavailable in watchOS
static let defaultColor: UIColor = UIColor.label
^~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:32:19: error: 'UIView' is unavailable in watchOS
case cachedView(UIView)
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:33:28: error: 'UIView' is unavailable in watchOS
case unmountedCachedView(UIView)
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:34:24: error: 'UIView' is unavailable in watchOS
case needsDecorating(UIView)
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:36:13: error: 'UIView' is unavailable in watchOS
var view: UIView? {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:446:87: error: 'UITextStorageDirection' is unavailable in watchOS
internal func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:446:124: error: 'UITextGranularity' is unavailable in watchOS
internal func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift:99:64: error: 'UIPasteboard' is unavailable in watchOS
internal func onCopyFromUITextView(editor: Editor, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift:106:63: error: 'UIPasteboard' is unavailable in watchOS
internal func onCutFromUITextView(editor: Editor, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift:116:65: error: 'UIPasteboard' is unavailable in watchOS
internal func onPasteFromUITextView(editor: Editor, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:71:29: error: 'UIView' is unavailable in watchOS
open func createView() -> UIView {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:77:28: error: 'UIView' is unavailable in watchOS
open func decorate(view: UIView) {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:81:39: error: 'UIView' is unavailable in watchOS
open func decoratorWillAppear(view: UIView) {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:85:41: error: 'UIView' is unavailable in watchOS
open func decoratorDidDisappear(view: UIView) {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/RangeSelection.swift:1002:95: error: 'UITextGranularity' is unavailable in watchOS
internal func modify(alter: NativeSelectionModificationType, isBackward: Bool, granularity: UITextGranularity) throws {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/RangeSelection.swift:1037:65: error: 'UITextStorageDirection' is unavailable in watchOS
internal func applySelectionRange(_ range: NSRange, affinity: UITextStorageDirection) throws {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Utils.swift:369:76: error: 'UIView' is unavailable in watchOS
public func decoratorView(forKey key: NodeKey, createIfNecessary: Bool) -> UIView? {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:13:67: error: 'UIPasteboard' is unavailable in watchOS
internal func setPasteboard(selection: BaseSelection, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:50:84: error: 'UIPasteboard' is unavailable in watchOS
internal func insertDataTransferForRichText(selection: RangeSelection, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:28:33: error: 'UIView' is unavailable in watchOS
var viewForDecoratorSubviews: UIView? { get }
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:34:78: error: 'UITextStorageDirection' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity)
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:34:115: error: 'UITextGranularity' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity)
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:22:115: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: LexicalView, shouldInteractWith URL: URL, in selection: RangeSelection?, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:27:115: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: LexicalView, shouldInteractWith URL: URL, in selection: RangeSelection?, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:151:33: error: 'UIView' is unavailable in watchOS
var viewForDecoratorSubviews: UIView? {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:155:78: error: 'UITextStorageDirection' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:155:115: error: 'UITextGranularity' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:269:33: error: 'UITextRange' is unavailable in watchOS
public var selectedTextRange: UITextRange? {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:322:31: error: 'UITextRange' is unavailable in watchOS
public var markedTextRange: UITextRange? {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:331:33: error: 'UITextInputMode' is unavailable in watchOS
public var textViewInputMode: UITextInputMode? {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:370:12: note: 'UITextInputMode' has been explicitly marked unavailable here
@interface UITextInputMode : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:409:45: error: 'UITextRange' is unavailable in watchOS
public func getTextViewSelectedRange() -> UITextRange? {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:456:47: error: 'UIView' is unavailable in watchOS
public func presentInputAccessoryView(view: UIView) {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:462:51: error: 'UIView' is unavailable in watchOS
public func presentParagraphMenu(paragraphMenu: UIView) {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:51:39: error: 'UIView' is unavailable in watchOS
@objc public final class LexicalView: UIView, Frontend {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:490:29: error: 'UITextView' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:490:111: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:513:45: error: 'UITextView' is unavailable in watchOS
func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:242:33: error: 'UIView' is unavailable in watchOS
var viewForDecoratorSubviews: UIView? {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:254:78: error: 'UITextStorageDirection' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:254:115: error: 'UITextGranularity' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift:58:43: error: 'UITapGestureRecognizer' is unavailable in watchOS
@objc func handleTap(gestureRecognizer: UITapGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift:11:47: error: 'UIView' is unavailable in watchOS
@objc public final class LexicalReadOnlyView: UIView {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:15:30: error: 'UIResponder' is unavailable in watchOS
private weak var textView: UIResponder?
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:17:65: error: 'UIResponder' is unavailable in watchOS
init(editor: Editor, textStorage: TextStorage, nextResponder: UIResponder) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:23:7: error: cannot override 'hasText' which has been marked unavailable
var hasText: Bool {
^
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:26:37: note: 'hasText' has been explicitly marked unavailable here
@property(nonatomic, readonly) BOOL hasText API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:44:22: error: 'UIResponder' is unavailable in watchOS
override var next: UIResponder? {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:11:40: error: 'UIResponder' is unavailable in watchOS
final class ResponderForNodeSelection: UIResponder, UIKeyInput {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:11:53: error: 'UIKeyInput' is unavailable in watchOS
final class ResponderForNodeSelection: UIResponder, UIKeyInput {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:24:11: note: 'UIKeyInput' has been explicitly marked unavailable here
@protocol UIKeyInput <UITextInputTraits>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:187:24: error: cannot override 'showCGGlyphs' which has been marked unavailable
override public func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key: Any] = [:], in context: CGContext) {
^
UIKit.NSLayoutManager.showCGGlyphs:3:13: note: 'showCGGlyphs(_:positions:count:font:textMatrix:attributes:in:)' has been explicitly marked unavailable here
open func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key : Any] = [:], in CGContext: CGContext)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:187:24: note: remove 'override' modifier to declare a new 'showCGGlyphs'
override public func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key: Any] = [:], in context: CGContext) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:10:29: error: 'NSLayoutManager' is unavailable in watchOS
public class LayoutManager: NSLayoutManager, @unchecked Sendable {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:55:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
@interface NSLayoutManager : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:12:22: error: 'NSLayoutManager' is unavailable in watchOS
_ layoutManager: NSLayoutManager,
^~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:55:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
@interface NSLayoutManager : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:14:31: error: 'NSLayoutManager' is unavailable in watchOS
properties: UnsafePointer<NSLayoutManager.GlyphProperty>,
^~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:55:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
@interface NSLayoutManager : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:10:40: error: 'NSLayoutManagerDelegate' is unavailable in watchOS
class LayoutManagerDelegate: NSObject, NSLayoutManagerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:307:36: note: 'NSLayoutManagerDelegate' has been explicitly marked unavailable here
API_UNAVAILABLE(watchos) @protocol NSLayoutManagerDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift:44:71: error: 'UITextStorageDirection' is unavailable in watchOS
internal func pointAtStringLocation(_ location: Int, searchDirection: UITextStorageDirection, rangeCache: [NodeKey: RangeCacheItem]) throws -> Point? {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift:64:85: error: 'UITextStorageDirection' is unavailable in watchOS
private func evaluateNode(_ nodeKey: NodeKey, stringLocation: Int, searchDirection: UITextStorageDirection, rangeCache: [NodeKey: RangeCacheItem]) throws -> RangeCacheSearchResult? {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:60: error: 'NSTextContainer' is unavailable in watchOS
override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:24: error: cannot override 'attachmentBounds' which has been marked unavailable
override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
^
UIKit.NSTextAttachment.attachmentBounds:3:13: note: 'attachmentBounds(for:proposedLineFragment:glyphPosition:characterIndex:)' has been explicitly marked unavailable here
open func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:24: note: remove 'override' modifier to declare a new 'attachmentBounds'
override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:76: error: 'NSTextContainer' is unavailable in watchOS
override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:24: error: cannot override 'image' which has been marked unavailable
override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
^
UIKit.NSTextAttachment.image:3:13: note: 'image(forBounds:textContainer:characterIndex:)' has been explicitly marked unavailable here
open func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage?}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:24: note: remove 'override' modifier to declare a new 'image'
override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:22:21: error: cannot override 'isSimpleRectangularTextContainer' which has been marked unavailable
override open var isSimpleRectangularTextContainer: Bool {
^
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:53:90: note: 'isSimpleRectangularTextContainer' has been explicitly marked unavailable here
@property (getter=isSimpleRectangularTextContainer, readonly, NS_NONATOMIC_IOSONLY) BOOL simpleRectangularTextContainer API_AVAILABLE(macos(10.0), ios(9.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:22:21: note: remove 'override' modifier to declare a new 'isSimpleRectangularTextContainer'
override open var isSimpleRectangularTextContainer: Bool {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:34:24: error: cannot override 'lineFragmentRect' which has been marked unavailable
override public func lineFragmentRect(
^
UIKit.NSTextContainer.lineFragmentRect:3:13: note: 'lineFragmentRect(forProposedRect:at:writingDirection:remaining:)' has been explicitly marked unavailable here
open func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:34:24: note: remove 'override' modifier to declare a new 'lineFragmentRect'
override public func lineFragmentRect(
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:18:29: error: 'NSTextContainer' is unavailable in watchOS
public class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift:10:27: error: 'NSTextStorage' is unavailable in watchOS
public class TextStorage: NSTextStorage {
^~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:41:12: note: 'NSTextStorage' has been explicitly marked unavailable here
@interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:11:42: error: 'UITextInputDelegate' is unavailable in watchOS
internal weak var targetInputDelegate: UITextInputDelegate?
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:14:41: error: 'UITextInput' is unavailable in watchOS
func selectionWillChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:20:40: error: 'UITextInput' is unavailable in watchOS
func selectionDidChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:26:36: error: 'UITextInput' is unavailable in watchOS
func textWillChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:32:35: error: 'UITextInput' is unavailable in watchOS
func textDidChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:39:68: error: 'UITextInput' is unavailable in watchOS
internal func sendSelectionChangedIgnoringSuspended(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:47:39: error: 'UIConversationContext' is unavailable in watchOS
func conversationContext(_ context: UIConversationContext?, didChange textInput: (any UITextInput)?) {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIConversationContext.h:17:12: note: 'UIConversationContext' has been explicitly marked unavailable here
@interface UIConversationContext : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:47:89: error: 'UITextInput' is unavailable in watchOS
func conversationContext(_ context: UIConversationContext?, didChange textInput: (any UITextInput)?) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:10:52: error: 'UITextInputDelegate' is unavailable in watchOS
internal final class InputDelegateProxy: NSObject, UITextInputDelegate {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:47:8: error: cannot override 'conversationContext' which has been marked unavailable
func conversationContext(_ context: UIConversationContext?, didChange textInput: (any UITextInput)?) {
^
UIKit.UITextInputDelegate.conversationContext:3:8: note: 'conversationContext(_:didChange:)' has been explicitly marked unavailable here
func conversationContext(_ context: UIConversationContext?, didChange textInput: (any UITextInput)?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:47: error: 'UITextRange' is unavailable in watchOS
internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:71: error: 'UITextStorageDirection' is unavailable in watchOS
internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:137: error: 'UITextRange' is unavailable in watchOS
internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:31:53: error: 'UITextStorageDirection' is unavailable in watchOS
public convenience init(range: NSRange, affinity: UITextStorageDirection) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:48:20: error: 'UITextRange' is unavailable in watchOS
let opaqueRange: UITextRange?
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:50:17: error: 'UITextStorageDirection' is unavailable in watchOS
let affinity: UITextStorageDirection
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:56:26: error: 'UITextRange' is unavailable in watchOS
let markedOpaqueRange: UITextRange?
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:15:45: error: 'UITextView' is unavailable in watchOS
func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:17:29: error: 'UITextView' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:17:111: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:24:29: error: 'UIPasteboard' is unavailable in watchOS
internal let pasteboard = UIPasteboard.general
^~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:33:33: error: 'UILabel' is unavailable in watchOS
private var placeholderLabel: UILabel
^~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:100:38: error: 'UITextInputDelegate' is unavailable in watchOS
override public var inputDelegate: UITextInputDelegate? {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:166:24: error: cannot override 'copy' which has been marked unavailable
override public func copy(_ sender: Any?) {
^
UIKit.UIResponder.copy:3:13: note: 'copy' has been explicitly marked unavailable here
open func copy(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:166:24: note: remove 'override' modifier to declare a new 'copy'
override public func copy(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:170:24: error: cannot override 'cut' which has been marked unavailable
override public func cut(_ sender: Any?) {
^
UIKit.UIResponder.cut:3:13: note: 'cut' has been explicitly marked unavailable here
open func cut(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:170:24: note: remove 'override' modifier to declare a new 'cut'
override public func cut(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:174:24: error: cannot override 'paste' which has been marked unavailable
override public func paste(_ sender: Any?) {
^
UIKit.UIResponder.paste:3:13: note: 'paste' has been explicitly marked unavailable here
open func paste(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:174:24: note: remove 'override' modifier to declare a new 'paste'
override public func paste(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:206:24: error: cannot override 'setAttributedMarkedText' which has been marked unavailable
override public func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange) {
^
UIKit.UITextView.setAttributedMarkedText:3:13: note: 'setAttributedMarkedText(_:selectedRange:)' has been explicitly marked unavailable here
open func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:206:24: note: remove 'override' modifier to declare a new 'setAttributedMarkedText'
override public func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:21:36: error: 'UITextView' is unavailable in watchOS
@objc public final class TextView: UITextView {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:397:54: error: 'UITextView' is unavailable in watchOS
public func textViewDidChangeSelection(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:413:36: error: 'UITextView' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:424:51: error: 'UITextView' is unavailable in watchOS
public func textViewDidBeginEditing(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:429:49: error: 'UITextView' is unavailable in watchOS
public func textViewDidEndEditing(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:435:36: error: 'UITextView' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:435:118: error: 'UITextItemInteraction' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:396:49: error: 'UITextViewDelegate' is unavailable in watchOS
private final class TextViewDelegate: NSObject, UITextViewDelegate {
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:32:11: note: 'UITextViewDelegate' has been explicitly marked unavailable here
@protocol UITextViewDelegate <NSObject, UIScrollViewDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:435:15: error: cannot override 'textView' which has been marked unavailable
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^
UIKit.UITextViewDelegate.textView:3:17: note: 'textView(_:shouldInteractWith:in:interaction:)' has been explicitly marked unavailable here
optional func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool}
^
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Lexical (in target 'Lexical' from project 'Lexical')
Failed frontend command:
/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Lexical/Core/Constants.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/EditorState.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Errors.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/FeatureFlags.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/GarbageCollection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Mutations.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/CodeHighlightNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/CodeNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/ElementNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/HeadingNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/LineBreakNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/Node.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/ParagraphNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/QuoteNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/RootNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/TextNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/UnknownNode.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Reconciler.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/BaseSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/GridSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/NodeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/Point.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/RangeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/SelectionUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Serialization.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/StyleEvents.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/TextUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Updates.swift /Users/admin/builder/spi-builder-workspace/Lexical/Core/Utils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/AttributesUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/Logging.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/NSAttributedStringKey+Extensions.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/ObjCHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/RangeHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/SelectionHelpers.swift /Users/admin/builder/spi-builder-workspace/Lexical/Helper/Theme.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift /Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/Plugin/Plugin.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextKitUtils.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift /Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift -target arm64_32-apple-watchos6.0 -module-can-import-version UIKit 9126.5.5 9126.5.5 -load-resolved-plugin /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64_32/Lexical-dependencies-3.json -enable-objc-interop -sdk /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64_32/Lexical_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.5-23T570-688ef53f1462e2c8f657fdc38a81448f7931b973dfc65d9472806dbbc3af9379.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Lexical -frontend-parseable-output -disable-clang-spi -clang-target arm64_32-apple-watchos26.5 -target-sdk-version 26.5 -target-sdk-name watchos26.5 -in-process-plugin-server-path /Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64_32/Lexical.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64_32/Lexical.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64_32/Lexical-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64_32/Lexical-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64_32/Lexical-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64_32/Lexical.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lexical.build/Debug-watchos/Lexical.build/Objects-normal/arm64_32/Lexical.abi.json
EmitSwiftModule normal arm64_32 (in target 'Lexical' from project 'Lexical')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Constants.swift:44:46: error: 'label' is unavailable in watchOS
static let defaultColor: UIColor = UIColor.label
^~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
@property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:32:19: error: 'UIView' is unavailable in watchOS
case cachedView(UIView)
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:33:28: error: 'UIView' is unavailable in watchOS
case unmountedCachedView(UIView)
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:34:24: error: 'UIView' is unavailable in watchOS
case needsDecorating(UIView)
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:36:13: error: 'UIView' is unavailable in watchOS
var view: UIView? {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:446:87: error: 'UITextStorageDirection' is unavailable in watchOS
internal func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Editor.swift:446:124: error: 'UITextGranularity' is unavailable in watchOS
internal func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift:99:64: error: 'UIPasteboard' is unavailable in watchOS
internal func onCopyFromUITextView(editor: Editor, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift:106:63: error: 'UIPasteboard' is unavailable in watchOS
internal func onCutFromUITextView(editor: Editor, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Events.swift:116:65: error: 'UIPasteboard' is unavailable in watchOS
internal func onPasteFromUITextView(editor: Editor, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:71:29: error: 'UIView' is unavailable in watchOS
open func createView() -> UIView {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:77:28: error: 'UIView' is unavailable in watchOS
open func decorate(view: UIView) {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:81:39: error: 'UIView' is unavailable in watchOS
open func decoratorWillAppear(view: UIView) {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift:85:41: error: 'UIView' is unavailable in watchOS
open func decoratorDidDisappear(view: UIView) {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/RangeSelection.swift:1002:95: error: 'UITextGranularity' is unavailable in watchOS
internal func modify(alter: NativeSelectionModificationType, isBackward: Bool, granularity: UITextGranularity) throws {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Selection/RangeSelection.swift:1037:65: error: 'UITextStorageDirection' is unavailable in watchOS
internal func applySelectionRange(_ range: NSRange, affinity: UITextStorageDirection) throws {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/Core/Utils.swift:369:76: error: 'UIView' is unavailable in watchOS
public func decoratorView(forKey key: NodeKey, createIfNecessary: Bool) -> UIView? {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:13:67: error: 'UIPasteboard' is unavailable in watchOS
internal func setPasteboard(selection: BaseSelection, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift:50:84: error: 'UIPasteboard' is unavailable in watchOS
internal func insertDataTransferForRichText(selection: RangeSelection, pasteboard: UIPasteboard) throws {
^~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:28:33: error: 'UIView' is unavailable in watchOS
var viewForDecoratorSubviews: UIView? { get }
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:34:78: error: 'UITextStorageDirection' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity)
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift:34:115: error: 'UITextGranularity' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity)
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:22:115: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: LexicalView, shouldInteractWith URL: URL, in selection: RangeSelection?, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:27:115: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: LexicalView, shouldInteractWith URL: URL, in selection: RangeSelection?, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:151:33: error: 'UIView' is unavailable in watchOS
var viewForDecoratorSubviews: UIView? {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:155:78: error: 'UITextStorageDirection' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:155:115: error: 'UITextGranularity' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:269:33: error: 'UITextRange' is unavailable in watchOS
public var selectedTextRange: UITextRange? {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:322:31: error: 'UITextRange' is unavailable in watchOS
public var markedTextRange: UITextRange? {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:331:33: error: 'UITextInputMode' is unavailable in watchOS
public var textViewInputMode: UITextInputMode? {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:370:12: note: 'UITextInputMode' has been explicitly marked unavailable here
@interface UITextInputMode : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:409:45: error: 'UITextRange' is unavailable in watchOS
public func getTextViewSelectedRange() -> UITextRange? {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:456:47: error: 'UIView' is unavailable in watchOS
public func presentInputAccessoryView(view: UIView) {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:462:51: error: 'UIView' is unavailable in watchOS
public func presentParagraphMenu(paragraphMenu: UIView) {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:51:39: error: 'UIView' is unavailable in watchOS
@objc public final class LexicalView: UIView, Frontend {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:490:29: error: 'UITextView' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:490:111: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift:513:45: error: 'UITextView' is unavailable in watchOS
func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:242:33: error: 'UIView' is unavailable in watchOS
var viewForDecoratorSubviews: UIView? {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:254:78: error: 'UITextStorageDirection' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift:254:115: error: 'UITextGranularity' is unavailable in watchOS
func moveNativeSelection(type: NativeSelectionModificationType, direction: UITextStorageDirection, granularity: UITextGranularity) {
^~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:65:28: note: 'UITextGranularity' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextGranularity) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift:58:43: error: 'UITapGestureRecognizer' is unavailable in watchOS
@objc func handleTap(gestureRecognizer: UITapGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift:11:47: error: 'UIView' is unavailable in watchOS
@objc public final class LexicalReadOnlyView: UIView {
^~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:15:30: error: 'UIResponder' is unavailable in watchOS
private weak var textView: UIResponder?
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:17:65: error: 'UIResponder' is unavailable in watchOS
init(editor: Editor, textStorage: TextStorage, nextResponder: UIResponder) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:23:7: error: cannot override 'hasText' which has been marked unavailable
var hasText: Bool {
^
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:26:37: note: 'hasText' has been explicitly marked unavailable here
@property(nonatomic, readonly) BOOL hasText API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:44:22: error: 'UIResponder' is unavailable in watchOS
override var next: UIResponder? {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:11:40: error: 'UIResponder' is unavailable in watchOS
final class ResponderForNodeSelection: UIResponder, UIKeyInput {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
@interface UIResponder : NSObject <UIResponderStandardEditActions>
^
/Users/admin/builder/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift:11:53: error: 'UIKeyInput' is unavailable in watchOS
final class ResponderForNodeSelection: UIResponder, UIKeyInput {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:24:11: note: 'UIKeyInput' has been explicitly marked unavailable here
@protocol UIKeyInput <UITextInputTraits>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:187:24: error: cannot override 'showCGGlyphs' which has been marked unavailable
override public func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key: Any] = [:], in context: CGContext) {
^
UIKit.NSLayoutManager.showCGGlyphs:3:13: note: 'showCGGlyphs(_:positions:count:font:textMatrix:attributes:in:)' has been explicitly marked unavailable here
open func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key : Any] = [:], in CGContext: CGContext)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:187:24: note: remove 'override' modifier to declare a new 'showCGGlyphs'
override public func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions: UnsafePointer<CGPoint>, count glyphCount: Int, font: UIFont, textMatrix: CGAffineTransform, attributes: [NSAttributedString.Key: Any] = [:], in context: CGContext) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift:10:29: error: 'NSLayoutManager' is unavailable in watchOS
public class LayoutManager: NSLayoutManager, @unchecked Sendable {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:55:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
@interface NSLayoutManager : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:12:22: error: 'NSLayoutManager' is unavailable in watchOS
_ layoutManager: NSLayoutManager,
^~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:55:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
@interface NSLayoutManager : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:14:31: error: 'NSLayoutManager' is unavailable in watchOS
properties: UnsafePointer<NSLayoutManager.GlyphProperty>,
^~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:55:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
@interface NSLayoutManager : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift:10:40: error: 'NSLayoutManagerDelegate' is unavailable in watchOS
class LayoutManagerDelegate: NSObject, NSLayoutManagerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:307:36: note: 'NSLayoutManagerDelegate' has been explicitly marked unavailable here
API_UNAVAILABLE(watchos) @protocol NSLayoutManagerDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift:44:71: error: 'UITextStorageDirection' is unavailable in watchOS
internal func pointAtStringLocation(_ location: Int, searchDirection: UITextStorageDirection, rangeCache: [NodeKey: RangeCacheItem]) throws -> Point? {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/RangeCache.swift:64:85: error: 'UITextStorageDirection' is unavailable in watchOS
private func evaluateNode(_ nodeKey: NodeKey, stringLocation: Int, searchDirection: UITextStorageDirection, rangeCache: [NodeKey: RangeCacheItem]) throws -> RangeCacheSearchResult? {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:60: error: 'NSTextContainer' is unavailable in watchOS
override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:24: error: cannot override 'attachmentBounds' which has been marked unavailable
override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
^
UIKit.NSTextAttachment.attachmentBounds:3:13: note: 'attachmentBounds(for:proposedLineFragment:glyphPosition:characterIndex:)' has been explicitly marked unavailable here
open func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:14:24: note: remove 'override' modifier to declare a new 'attachmentBounds'
override public func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment: CGRect, glyphPosition _: CGPoint, characterIndex: Int) -> CGRect {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:76: error: 'NSTextContainer' is unavailable in watchOS
override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:24: error: cannot override 'image' which has been marked unavailable
override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
^
UIKit.NSTextAttachment.image:3:13: note: 'image(forBounds:textContainer:characterIndex:)' has been explicitly marked unavailable here
open func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage?}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift:35:24: note: remove 'override' modifier to declare a new 'image'
override public func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:22:21: error: cannot override 'isSimpleRectangularTextContainer' which has been marked unavailable
override open var isSimpleRectangularTextContainer: Bool {
^
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:53:90: note: 'isSimpleRectangularTextContainer' has been explicitly marked unavailable here
@property (getter=isSimpleRectangularTextContainer, readonly, NS_NONATOMIC_IOSONLY) BOOL simpleRectangularTextContainer API_AVAILABLE(macos(10.0), ios(9.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:22:21: note: remove 'override' modifier to declare a new 'isSimpleRectangularTextContainer'
override open var isSimpleRectangularTextContainer: Bool {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:34:24: error: cannot override 'lineFragmentRect' which has been marked unavailable
override public func lineFragmentRect(
^
UIKit.NSTextContainer.lineFragmentRect:3:13: note: 'lineFragmentRect(forProposedRect:at:writingDirection:remaining:)' has been explicitly marked unavailable here
open func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:34:24: note: remove 'override' modifier to declare a new 'lineFragmentRect'
override public func lineFragmentRect(
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextContainer.swift:18:29: error: 'NSTextContainer' is unavailable in watchOS
public class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:21:12: note: 'NSTextContainer' has been explicitly marked unavailable here
@interface NSTextContainer : NSObject <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextKit/TextStorage.swift:10:27: error: 'NSTextStorage' is unavailable in watchOS
public class TextStorage: NSTextStorage {
^~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:41:12: note: 'NSTextStorage' has been explicitly marked unavailable here
@interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:11:42: error: 'UITextInputDelegate' is unavailable in watchOS
internal weak var targetInputDelegate: UITextInputDelegate?
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:14:41: error: 'UITextInput' is unavailable in watchOS
func selectionWillChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:20:40: error: 'UITextInput' is unavailable in watchOS
func selectionDidChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:26:36: error: 'UITextInput' is unavailable in watchOS
func textWillChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:32:35: error: 'UITextInput' is unavailable in watchOS
func textDidChange(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:39:68: error: 'UITextInput' is unavailable in watchOS
internal func sendSelectionChangedIgnoringSuspended(_ textInput: UITextInput?) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:47:39: error: 'UIConversationContext' is unavailable in watchOS
func conversationContext(_ context: UIConversationContext?, didChange textInput: (any UITextInput)?) {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIConversationContext.h:17:12: note: 'UIConversationContext' has been explicitly marked unavailable here
@interface UIConversationContext : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:47:89: error: 'UITextInput' is unavailable in watchOS
func conversationContext(_ context: UIConversationContext?, didChange textInput: (any UITextInput)?) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:115:11: note: 'UITextInput' has been explicitly marked unavailable here
@protocol UITextInput <UIKeyInput>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:10:52: error: 'UITextInputDelegate' is unavailable in watchOS
internal final class InputDelegateProxy: NSObject, UITextInputDelegate {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift:47:8: error: cannot override 'conversationContext' which has been marked unavailable
func conversationContext(_ context: UIConversationContext?, didChange textInput: (any UITextInput)?) {
^
UIKit.UITextInputDelegate.conversationContext:3:8: note: 'conversationContext(_:didChange:)' has been explicitly marked unavailable here
func conversationContext(_ context: UIConversationContext?, didChange textInput: (any UITextInput)?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:47: error: 'UITextRange' is unavailable in watchOS
internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:71: error: 'UITextStorageDirection' is unavailable in watchOS
internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:13:137: error: 'UITextRange' is unavailable in watchOS
internal init(range: NSRange?, opaqueRange: UITextRange?, affinity: UITextStorageDirection, markedRange: NSRange?, markedOpaqueRange: UITextRange?, selectionIsNodeOrObject: Bool) {
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:31:53: error: 'UITextStorageDirection' is unavailable in watchOS
public convenience init(range: NSRange, affinity: UITextStorageDirection) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:48:20: error: 'UITextRange' is unavailable in watchOS
let opaqueRange: UITextRange?
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:50:17: error: 'UITextStorageDirection' is unavailable in watchOS
let affinity: UITextStorageDirection
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:51:28: note: 'UITextStorageDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextStorageDirection) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/NativeSelection.swift:56:26: error: 'UITextRange' is unavailable in watchOS
let markedOpaqueRange: UITextRange?
^~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:303:12: note: 'UITextRange' has been explicitly marked unavailable here
@interface UITextRange : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:15:45: error: 'UITextView' is unavailable in watchOS
func textViewShouldChangeText(_ textView: UITextView, range: NSRange, replacementText text: String) -> Bool
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:17:29: error: 'UITextView' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:17:111: error: 'UITextItemInteraction' is unavailable in watchOS
func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:24:29: error: 'UIPasteboard' is unavailable in watchOS
internal let pasteboard = UIPasteboard.general
^~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:33:33: error: 'UILabel' is unavailable in watchOS
private var placeholderLabel: UILabel
^~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
@interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:100:38: error: 'UITextInputDelegate' is unavailable in watchOS
override public var inputDelegate: UITextInputDelegate? {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:332:11: note: 'UITextInputDelegate' has been explicitly marked unavailable here
@protocol UITextInputDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:166:24: error: cannot override 'copy' which has been marked unavailable
override public func copy(_ sender: Any?) {
^
UIKit.UIResponder.copy:3:13: note: 'copy' has been explicitly marked unavailable here
open func copy(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:166:24: note: remove 'override' modifier to declare a new 'copy'
override public func copy(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:170:24: error: cannot override 'cut' which has been marked unavailable
override public func cut(_ sender: Any?) {
^
UIKit.UIResponder.cut:3:13: note: 'cut' has been explicitly marked unavailable here
open func cut(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:170:24: note: remove 'override' modifier to declare a new 'cut'
override public func cut(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:174:24: error: cannot override 'paste' which has been marked unavailable
override public func paste(_ sender: Any?) {
^
UIKit.UIResponder.paste:3:13: note: 'paste' has been explicitly marked unavailable here
open func paste(_ sender: Any?)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:174:24: note: remove 'override' modifier to declare a new 'paste'
override public func paste(_ sender: Any?) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:206:24: error: cannot override 'setAttributedMarkedText' which has been marked unavailable
override public func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange) {
^
UIKit.UITextView.setAttributedMarkedText:3:13: note: 'setAttributedMarkedText(_:selectedRange:)' has been explicitly marked unavailable here
open func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange)}
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:206:24: note: remove 'override' modifier to declare a new 'setAttributedMarkedText'
override public func setAttributedMarkedText(_ markedText: NSAttributedString?, selectedRange: NSRange) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:21:36: error: 'UITextView' is unavailable in watchOS
@objc public final class TextView: UITextView {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:397:54: error: 'UITextView' is unavailable in watchOS
public func textViewDidChangeSelection(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:413:36: error: 'UITextView' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:424:51: error: 'UITextView' is unavailable in watchOS
public func textViewDidBeginEditing(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:429:49: error: 'UITextView' is unavailable in watchOS
public func textViewDidEndEditing(_ textView: UITextView) {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:435:36: error: 'UITextView' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:219:12: note: 'UITextView' has been explicitly marked unavailable here
@interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:435:118: error: 'UITextItemInteraction' is unavailable in watchOS
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h:9:28: note: 'UITextItemInteraction' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UITextItemInteraction) {
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:396:49: error: 'UITextViewDelegate' is unavailable in watchOS
private final class TextViewDelegate: NSObject, UITextViewDelegate {
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:32:11: note: 'UITextViewDelegate' has been explicitly marked unavailable here
@protocol UITextViewDelegate <NSObject, UIScrollViewDelegate>
^
/Users/admin/builder/spi-builder-workspace/Lexical/TextView/TextView.swift:435:15: error: cannot override 'textView' which has been marked unavailable
public func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool {
^
UIKit.UITextViewDelegate.textView:3:17: note: 'textView(_:shouldInteractWith:in:interaction:)' has been explicitly marked unavailable here
optional func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, interaction: UITextItemInteraction) -> Bool}
^
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/xml.o /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/xml.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'cmark-gfm' from project 'cmark-gfm')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
Using response file: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp
/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.5-23T570-688ef53f1462e2c8f657fdc38a81448f7931b973dfc65d9472806dbbc3af9379.sdkstatcache -target arm64-apple-watchos5.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -isysroot /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/xml.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/xml.dia -c /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/xml.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/xml.o -index-unit-output-path /cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/xml.o
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/utf8.o /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/utf8.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'cmark-gfm' from project 'cmark-gfm')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
Using response file: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp
/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.5-23T570-688ef53f1462e2c8f657fdc38a81448f7931b973dfc65d9472806dbbc3af9379.sdkstatcache -target arm64-apple-watchos5.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -isysroot /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/utf8.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/utf8.dia -c /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/utf8.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/utf8.o -index-unit-output-path /cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/utf8.o
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/syntax_extension.o /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/syntax_extension.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'cmark-gfm' from project 'cmark-gfm')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
Using response file: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp
/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.5-23T570-688ef53f1462e2c8f657fdc38a81448f7931b973dfc65d9472806dbbc3af9379.sdkstatcache -target arm64-apple-watchos5.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -isysroot /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/syntax_extension.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/syntax_extension.dia -c /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/syntax_extension.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/syntax_extension.o -index-unit-output-path /cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/syntax_extension.o
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/scanners.o /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/scanners.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'cmark-gfm' from project 'cmark-gfm')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
Using response file: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp
/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.5-23T570-688ef53f1462e2c8f657fdc38a81448f7931b973dfc65d9472806dbbc3af9379.sdkstatcache -target arm64-apple-watchos5.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -isysroot /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/scanners.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/scanners.dia -c /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/scanners.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/scanners.o -index-unit-output-path /cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/scanners.o
Failed frontend command:
/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -Wundef-prefix\=TARGET_OS_ -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -w -ferror-limit 19 -serialize-diagnostic-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/scanners.dia -Wdeprecated-objc-isa-usage -Werror\=deprecated-objc-isa-usage -Werror\=implicit-function-declaration -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -Wno-elaborated-enum-base -Wno-error\=allocator-wrappers -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-unit-output-path /cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/scanners.o -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/include/module.modulemap -fmodule-map-file\=/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/DarwinFoundation1.modulemap -fmodule-map-file\=/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/module.modulemap -fmodule-map-file\=/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/module.modulemap -fmodule-map-file\=/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/DarwinFoundation2.modulemap -fmodule-map-file\=/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/module.modulemap -fmodule-map-file\=/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/DarwinFoundation3.modulemap -fmodule-map-file\=/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/module.modulemap -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/scanners.o -disable-free -emit-obj -x c /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/scanners.c -target-abi darwinpcs -target-cpu apple-s9 -target-feature +v8.6a -target-feature +aes -target-feature +bf16 -target-feature +complxnum -target-feature +crc -target-feature +dotprod -target-feature +fp-armv8 -target-feature +fp16fml -target-feature +fpac -target-feature +fullfp16 -target-feature +hcx -target-feature +i8mm -target-feature +jsconv -target-feature +lse -target-feature +neon -target-feature +pauth -target-feature +perfmon -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -target-feature +sha3 -target-feature +ssbs -triple arm64-apple-watchos5.0.0 -target-linker-version 1267 -target-sdk-version\=26.5 -fmodules-validate-system-headers -fno-modulemap-allow-subdirectory-search -isysroot /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk -resource-dir /Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21 -fmodule-format\=obj -fmodule-file\=_Builtin_limits\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_limits-9TGACZZ7SJ5DI5RA456RKL4KI.pcm -fmodule-file\=_Builtin_stdarg\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_stdarg-2QVR2HRAGUQG1PAA7R0HIE42.pcm -fmodule-file\=_Builtin_stddef\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_stddef-BOTIRB9HHZISPZZNG71SZA4TX.pcm -fmodule-file\=_Builtin_stdint\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_stdint-602YV58Z4WSWJCDO0D6JQAG6L.pcm -fmodule-file\=_DarwinFoundation1\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_DarwinFoundation1-ABS7NKCUZKVLZSQVVCIM90VLI.pcm -fmodule-file\=_DarwinFoundation2\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_DarwinFoundation2-E4DJJLRW2L3V39UUK0T1K4WHH.pcm -fmodule-file\=_DarwinFoundation3\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_DarwinFoundation3-EP5Y0WWVO7OVJR7N3XHXNSAC.pcm -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -I /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/include -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/DerivedSources-normal/arm64 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/DerivedSources/arm64 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/DerivedSources -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/Developer/Library/Frameworks -internal-isystem /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/usr/local/include -internal-isystem /Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include -internal-externc-isystem /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/usr/include -internal-externc-isystem /Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -internal-iframework /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks -internal-iframework /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/SubFrameworks -internal-iframework /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/Library/Frameworks -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.5-23T570-688ef53f1462e2c8f657fdc38a81448f7931b973dfc65d9472806dbbc3af9379.sdkstatcache -std\=gnu17 -fskip-odr-check-in-gmf -fmodules -fmodule-name\=cmark_gfm -fno-implicit-modules -fmax-type-align\=16 -fpascal-strings -fvisibility-inlines-hidden-static-local-var -mdarwin-stkchk-strong-link -fno-odr-hash-protocols -pic-level 2 -fencode-extended-block-signature -stack-protector 1 -fgnuc-version\=4.2.1 -fblocks -fno-convergent-functions -ffp-contract\=on -fclang-abi-compat\=4.0 -fno-experimental-relative-c++-abi-vtables -fno-file-reproducible -clang-vendor-feature\=+disableNonDependentMemberExprInCurrentInstantiation -clang-vendor-feature\=+enableAggressiveVLAFolding -clang-vendor-feature\=+revert09abecef7bbf -clang-vendor-feature\=+thisNoAlignAttr -clang-vendor-feature\=+thisNoNullAttr -clang-vendor-feature\=+disableAtImportPrivateFrameworkInImplementationError -O0 -fno-assume-unique-vtables -fdebug-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcoverage-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcoverage-mapping -fcommon -fdwarf2-cfi-asm -fobjc-msgsend-selector-stubs -fregister-global-dtors-with-atexit -fno-strict-return -dwarf-version\=4 -debugger-tuning\=lldb -disable-llvm-verifier -dwarf-ext-refs -funwind-tables\=1 -fprofile-instrument\=clang -enable-tlsdesc -clear-ast-before-backend -discard-value-names -main-file-name scanners.c -mframe-pointer\=non-leaf -debug-info-kind\=standalone -fno-loop-interchange -fdiagnostics-hotness-threshold\=0 -fdiagnostics-misexpect-tolerance\=0 -D DEBUG\=1 -D SWIFT_PACKAGE -D Xcode -fdefine-target-os-macros -MT dependencies -dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/scanners.d -skip-unused-modulemap-deps
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/render.o /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/render.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'cmark-gfm' from project 'cmark-gfm')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
Using response file: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp
/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.5-23T570-688ef53f1462e2c8f657fdc38a81448f7931b973dfc65d9472806dbbc3af9379.sdkstatcache -target arm64-apple-watchos5.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -isysroot /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/render.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/render.dia -c /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/render.c -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/render.o -index-unit-output-path /cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/render.o
Failed frontend command:
/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -Wundef-prefix\=TARGET_OS_ -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -w -ferror-limit 19 -serialize-diagnostic-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/render.dia -Wdeprecated-objc-isa-usage -Werror\=deprecated-objc-isa-usage -Werror\=implicit-function-declaration -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -Wno-elaborated-enum-base -Wno-error\=allocator-wrappers -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-unit-output-path /cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/render.o -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/include/module.modulemap -fmodule-map-file\=/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/module.modulemap -fmodule-map-file\=/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/DarwinFoundation1.modulemap -fmodule-map-file\=/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/module.modulemap -fmodule-map-file\=/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/module.modulemap -fmodule-map-file\=/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/DarwinFoundation2.modulemap -fmodule-map-file\=/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/module.modulemap -fmodule-map-file\=/Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/DarwinFoundation3.modulemap -fmodule-map-file\=/Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include/module.modulemap -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/render.o -disable-free -emit-obj -x c /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/render.c -target-abi darwinpcs -target-cpu apple-s9 -target-feature +v8.6a -target-feature +aes -target-feature +bf16 -target-feature +complxnum -target-feature +crc -target-feature +dotprod -target-feature +fp-armv8 -target-feature +fp16fml -target-feature +fpac -target-feature +fullfp16 -target-feature +hcx -target-feature +i8mm -target-feature +jsconv -target-feature +lse -target-feature +neon -target-feature +pauth -target-feature +perfmon -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -target-feature +sha3 -target-feature +ssbs -triple arm64-apple-watchos5.0.0 -target-linker-version 1267 -target-sdk-version\=26.5 -fmodules-validate-system-headers -fno-modulemap-allow-subdirectory-search -isysroot /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk -resource-dir /Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21 -fmodule-format\=obj -fmodule-file\=_Builtin_limits\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_limits-9TGACZZ7SJ5DI5RA456RKL4KI.pcm -fmodule-file\=_Builtin_stdarg\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_stdarg-2QVR2HRAGUQG1PAA7R0HIE42.pcm -fmodule-file\=_Builtin_stdbool\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_stdbool-BR7SA9JIZSF9JPFA8UA81RAFM.pcm -fmodule-file\=_Builtin_stddef\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_stddef-BOTIRB9HHZISPZZNG71SZA4TX.pcm -fmodule-file\=_Builtin_stdint\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_stdint-602YV58Z4WSWJCDO0D6JQAG6L.pcm -fmodule-file\=_DarwinFoundation1\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_DarwinFoundation1-ABS7NKCUZKVLZSQVVCIM90VLI.pcm -fmodule-file\=_DarwinFoundation2\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_DarwinFoundation2-E4DJJLRW2L3V39UUK0T1K4WHH.pcm -fmodule-file\=_DarwinFoundation3\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_DarwinFoundation3-EP5Y0WWVO7OVJR7N3XHXNSAC.pcm -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -I /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/include -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/DerivedSources-normal/arm64 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/DerivedSources/arm64 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/DerivedSources -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/Developer/Library/Frameworks -internal-isystem /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/usr/local/include -internal-isystem /Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include -internal-externc-isystem /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/usr/include -internal-externc-isystem /Applications/Xcode-26.5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -internal-iframework /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/Frameworks -internal-iframework /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/System/Library/SubFrameworks -internal-iframework /Applications/Xcode-26.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.5.sdk/Library/Frameworks -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.5-23T570-688ef53f1462e2c8f657fdc38a81448f7931b973dfc65d9472806dbbc3af9379.sdkstatcache -std\=gnu17 -fskip-odr-check-in-gmf -fmodules -fmodule-name\=cmark_gfm -fno-implicit-modules -fmax-type-align\=16 -fpascal-strings -fvisibility-inlines-hidden-static-local-var -mdarwin-stkchk-strong-link -fno-odr-hash-protocols -pic-level 2 -fencode-extended-block-signature -stack-protector 1 -fgnuc-version\=4.2.1 -fblocks -fno-convergent-functions -ffp-contract\=on -fclang-abi-compat\=4.0 -fno-experimental-relative-c++-abi-vtables -fno-file-reproducible -clang-vendor-feature\=+disableNonDependentMemberExprInCurrentInstantiation -clang-vendor-feature\=+enableAggressiveVLAFolding -clang-vendor-feature\=+revert09abecef7bbf -clang-vendor-feature\=+thisNoAlignAttr -clang-vendor-feature\=+thisNoNullAttr -clang-vendor-feature\=+disableAtImportPrivateFrameworkInImplementationError -O0 -fno-assume-unique-vtables -fdebug-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcoverage-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcoverage-mapping -fcommon -fdwarf2-cfi-asm -fobjc-msgsend-selector-stubs -fregister-global-dtors-with-atexit -fno-strict-return -dwarf-version\=4 -debugger-tuning\=lldb -disable-llvm-verifier -dwarf-ext-refs -funwind-tables\=1 -fprofile-instrument\=clang -enable-tlsdesc -clear-ast-before-backend -discard-value-names -main-file-name render.c -mframe-pointer\=non-leaf -debug-info-kind\=standalone -fno-loop-interchange -fdiagnostics-hotness-threshold\=0 -fdiagnostics-misexpect-tolerance\=0 -D DEBUG\=1 -D SWIFT_PACKAGE -D Xcode -fdefine-target-os-macros -MT dependencies -dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/cmark-gfm.build/Debug-watchos/cmark-gfm.build/Objects-normal/arm64/render.d -skip-unused-modulemap-deps
2026-09-04 13:30:35.488 xcodebuild[1217:6262] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-04 13:30:35.591 xcodebuild[1217:6262] [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')
EmitSwiftModule normal arm64 (in target 'Lexical' from project 'Lexical')
SwiftEmitModule normal armv7k Emitting\ module\ for\ Lexical (in target 'Lexical' from project 'Lexical')
EmitSwiftModule normal armv7k (in target 'Lexical' from project 'Lexical')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Lexical (in target 'Lexical' from project 'Lexical')
EmitSwiftModule normal arm64_32 (in target 'Lexical' from project 'Lexical')
Building workspace spi-builder-workspace with scheme Lexical-Package
(7 failures)
BUILD FAILURE 6.3 watchOS