The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MossTextEditor, reference 1.1.1 (537eb1), with Swift 6.4 for watchOS using Xcode 27.0 on 9 Oct 2026 12:46:46 UTC.

Build Command

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

Build Log

SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-CNRFYTWZST27Y961TFFMJJSWW.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SceneKit-4FI8HN5217JGJRU942SA928Z.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-OLX9XIE0GLM2YWAI20FII4R4.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-3YZD3YA7Z4MWTYCYTBEZPNQON.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-CZDKC12L2X4V27KS49NM6B72W.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-CKXOXWYUQQ2O48CH4UU13Z2JM.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-A6EJL732IY339NVWJTGU4BNYJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-592D72KC42GLPLPFVJNXXBBEK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-2RMK9LW2HHS47WUUU80KV2ZIF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-4SW3G4U6UIS29AOHC9ZVG0MY2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-2OYX5669SEDP32XPBIUN6CBFD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-ATFJGS4FR6AGPG9P5TVBZNW3O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-3C1XTOT5B3B3PLKZT0HC6VBQO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-DXNWZ2TCJXFQ2A7ESDZ6J2XYO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-1PSI98ZFAU5MF2OCSPTPFVD66.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SceneKit-ERXQAS5DTIVA5XTQVC1UDQ8KV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-2Y9U3581EK6VREQ762NVMXV4W.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-DX1IW2AOS22HM0GCPHLUWDNU6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-8N24HH5HR3W0T3UOYRM5W87RN.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-7GE423HTZGPAUTJNPKWMXDZHU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-BPMOWA2WADZEME8R9G4GASVM.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-55CZLUBD3974QKFT3IL0PRWPE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-9P6L94KNA490O8M2QQP9NLYS5.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-27G5URXACTR146TYQKM9JMGFV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-61S19SPNFXST7VOQ470VJWCZT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-F44576R4QP5SWTA4Z0CG8BW69.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-8OTQ19C7N17T5P3BMIWG1453Y.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-DFD16XMEJADJ1M2P58VJADV91.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-EJDCR42WCUPDE27EZHUU2K5V6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/HomeKit-3BJ5JLWLEE2DZ91C2S47JEUX6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MapKit-90C7VMYJ6BBMC83YO3S16E8C0.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/HomeKit-F3VQ1NJSP19IRCQN9HO7VFZJ9.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MapKit-EWIM45DTJOC05JOFF0A1QCILJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/WatchKit-9GGFBAQ0O9N9JQABITS3Z9R0O.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/WatchKit-634QCD6ZA4G38HK529O8ZYF6G.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-2NIV6RL93T7Y4UMRZ6CFAK2OJ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-ADDFYS4JIT928LKYKA5YJU1G8.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ MossTextEditor (in target 'MossTextEditor' from project 'MossTextEditor')
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:30:37: error: 'UIScrollView' is unavailable in watchOS
 28 |     public var showsScrollIndicator: Bool
 29 |     public var isEditable: Bool
 30 |     public var keyboardDismissMode: UIScrollView.KeyboardDismissMode
    |                                     `- error: 'UIScrollView' is unavailable in watchOS
 31 |     /// Enables the system's autocorrection while typing.
 32 |     public var autocorrects: Bool
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
 85 |
 86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
    |            `- note: 'UIScrollView' has been explicitly marked unavailable here
 88 |
 89 | @property(nonatomic)         CGPoint                      contentOffset;                  // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:62:30: error: 'UIScrollView' is unavailable in watchOS
 60 |         showsScrollIndicator: Bool = true,
 61 |         isEditable: Bool = true,
 62 |         keyboardDismissMode: UIScrollView.KeyboardDismissMode = .interactive,
    |                              `- error: 'UIScrollView' is unavailable in watchOS
 63 |         autocorrects: Bool = false,
 64 |         keyboardToolbarItems: [RichTextToolbarItem] = [],
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
 85 |
 86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
    |            `- note: 'UIScrollView' has been explicitly marked unavailable here
 88 |
 89 | @property(nonatomic)         CGPoint                      contentOffset;                  // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:49:31: error: 'label' is unavailable in watchOS
 47 |         titleFont: UIFont = .systemFont(ofSize: 28),
 48 |         headingFont: UIFont = .systemFont(ofSize: 22),
 49 |         textColor: UIColor = .label,
    |                               `- error: 'label' is unavailable in watchOS
 50 |         tintColor: UIColor? = nil,
 51 |         lineSpacing: CGFloat = 4,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 |  */
171 | @property (class, nonatomic, readonly) UIColor *labelColor              API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
    |                                                 `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor     API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor      API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:56:38: error: 'placeholderText' is unavailable in watchOS
 54 |         contentInsets: UIEdgeInsets = UIEdgeInsets(top: 16, left: 12, bottom: 16, right: 12),
 55 |         placeholder: String? = nil,
 56 |         placeholderColor: UIColor = .placeholderText,
    |                                      `- error: 'placeholderText' is unavailable in watchOS
 57 |         isScrollEnabled: Bool = true,
 58 |         maxHeight: CGFloat? = nil,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:182:49: note: 'placeholderText' has been explicitly marked unavailable here
180 | /* Foreground color for placeholder text in controls or text fields or text views.
181 |  */
182 | @property (class, nonatomic, readonly) UIColor *placeholderTextColor    API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
    |                                                 `- note: 'placeholderText' has been explicitly marked unavailable here
183 |
184 | /* Foreground colors for separators (thin border or divider lines).
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:55:30: error: cannot find type 'Context' in scope
 53 |     }
 54 |
 55 |     func makeUIView(context: Context) -> RichTextView {
    |                              `- error: cannot find type 'Context' in scope
 56 |         let textView = RichTextView(frame: .zero, textContainer: nil)
 57 |         textView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:70:58: error: cannot find type 'Context' in scope
 68 |     }
 69 |
 70 |     func updateUIView(_ textView: RichTextView, context: Context) {
    |                                                          `- error: cannot find type 'Context' in scope
 71 |         let coordinator = context.coordinator
 72 |         coordinator.text = $text
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:83:84: error: cannot find type 'Context' in scope
 81 |     }
 82 |
 83 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: RichTextView, context: Context) -> CGSize? {
    |                                                                                    `- error: cannot find type 'Context' in scope
 84 |         guard !configuration.isScrollEnabled else { return nil }
 85 |         let width = proposal.width ?? uiView.bounds.width
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:46:45: error: cannot find type 'UIViewRepresentable' in scope
 44 | }
 45 |
 46 | private struct RichTextEditorRepresentable: UIViewRepresentable {
    |                                             `- error: cannot find type 'UIViewRepresentable' in scope
 47 |     @Binding var text: NSAttributedString
 48 |     let context: RichTextContext
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:104:30: error: cannot find type 'UIHostingController' in scope
102 |     private(set) var lastText = NSAttributedString()
103 |     var isUpdatingFromSwiftUI = false
104 |     private var toolbarHost: UIHostingController<AnyView>?
    |                              `- error: cannot find type 'UIHostingController' in scope
105 |     /// Typing that continues this run joins the undo step that started it.
106 |     private var typingRun: TypingRun?
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:370:31: error: 'UITextView' is unavailable in watchOS
368 |     // MARK: - UITextViewDelegate
369 |
370 |     func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
    |                               `- error: 'UITextView' is unavailable in watchOS
371 |         guard let textView = textView as? RichTextView else { return true }
372 |         if let maxLength = configuration.maxLength, textView.markedTextRange == nil {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:407:42: error: 'UITextView' is unavailable in watchOS
405 |
406 |     /// Edits the formatter makes in place of the default typing behavior.
407 |     private func handleEdit(in textView: UITextView, replacing range: NSRange, with text: String) -> Bool {
    |                                          `- error: 'UITextView' is unavailable in watchOS
408 |         guard textView.markedTextRange == nil, textView.selectedRange.length == 0 else { return false }
409 |         let typingAttributes = textView.typingAttributes
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:430:40: error: 'UITextView' is unavailable in watchOS
428 |     }
429 |
430 |     func textViewDidChange(_ textView: UITextView) {
    |                                        `- error: 'UITextView' is unavailable in watchOS
431 |         // Keeps numbered lists in order after lines are typed, pasted or deleted.
432 |         if textView.markedTextRange == nil {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:444:49: error: 'UITextView' is unavailable in watchOS
442 |     }
443 |
444 |     func textViewDidChangeSelection(_ textView: UITextView) {
    |                                                 `- error: 'UITextView' is unavailable in watchOS
445 |         if let typingRun, textView.selectedRange != NSRange(location: typingRun.cursor, length: 0) {
446 |             self.typingRun = nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:451:46: error: 'UITextView' is unavailable in watchOS
449 |     }
450 |
451 |     func textViewDidBeginEditing(_ textView: UITextView) {
    |                                              `- error: 'UITextView' is unavailable in watchOS
452 |         refreshState()
453 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:455:44: error: 'UITextView' is unavailable in watchOS
453 |     }
454 |
455 |     func textViewDidEndEditing(_ textView: UITextView) {
    |                                            `- error: 'UITextView' is unavailable in watchOS
456 |         refreshState()
457 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:97:44: error: 'UITextViewDelegate' is unavailable in watchOS
 95 |
 96 | @MainActor
 97 | final class RichTextCoordinator: NSObject, UITextViewDelegate {
    |                                            `- error: 'UITextViewDelegate' is unavailable in watchOS
 98 |     var text: Binding<NSAttributedString>
 99 |     weak var context: RichTextContext?
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:36:11: note: 'UITextViewDelegate' has been explicitly marked unavailable here
 34 |
 35 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 36 | @protocol UITextViewDelegate <NSObject, UIScrollViewDelegate>
    |           `- note: 'UITextViewDelegate' has been explicitly marked unavailable here
 37 |
 38 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:20:27: error: 'UILabel' is unavailable in watchOS
18 |     override var undoManager: UndoManager? { editorUndoManager }
19 |
20 |     let placeholderLabel: UILabel = {
   |                           `- error: 'UILabel' is unavailable in watchOS
21 |         let label = UILabel()
22 |         label.numberOfLines = 0
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:21:21: error: 'UILabel' is unavailable in watchOS
19 |
20 |     let placeholderLabel: UILabel = {
21 |         let label = UILabel()
   |                     `- error: 'UILabel' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:21:21: error: 'init()' is unavailable in watchOS
19 |
20 |     let placeholderLabel: UILabel = {
21 |         let label = UILabel()
   |                     `- error: 'init()' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:24:15: error: 'isAccessibilityElement' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
24 |         label.isAccessibilityElement = false
   |               `- error: 'isAccessibilityElement' is unavailable in watchOS
25 |         return label
26 |     }()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
 50 |  Setting the property to YES will cause the receiver to be visible to assistive applications.
 51 |  */
 52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                            `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
 53 |
 54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:28:49: error: 'NSTextContainer' is unavailable in watchOS
26 |     }()
27 |
28 |     override init(frame: CGRect, textContainer: NSTextContainer?) {
   |                                                 `- error: 'NSTextContainer' is unavailable in watchOS
29 |         super.init(frame: frame, textContainer: textContainer)
30 |         addSubview(placeholderLabel)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
 34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
 35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
    |            `- note: 'NSTextContainer' has been explicitly marked unavailable here
 37 |
 38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:55:19: error: cannot override 'paste' which has been marked unavailable
53 |     }
54 |
55 |     override func paste(_ sender: Any?) {
   |                   |- error: cannot override 'paste' which has been marked unavailable
   |                   `- note: remove 'override' modifier to declare a new 'paste'
56 |         guard pastesPlainText, let string = UIPasteboard.general.string else {
57 |             super.paste(sender)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:36:1: note: 'paste' has been explicitly marked unavailable here
 34 | - (void)cut:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 35 | - (void)copy:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 36 | - (void)paste:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
    | `- note: 'paste' has been explicitly marked unavailable here
 37 | - (void)pasteAndMatchStyle:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
 38 | - (void)pasteAndGo:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:4:27: error: 'UITextView' is unavailable in watchOS
 2 |
 3 | /// `UITextView` with a placeholder, plain-text pasting and its own undo manager.
 4 | final class RichTextView: UITextView {
   |                           `- error: 'UITextView' is unavailable in watchOS
 5 |     var pastesPlainText = true
 6 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
Failed frontend command:
SwiftCompile normal arm64 (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Applications/Xcode-27.0.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/Sources/MossTextEditor/NSAttributedString+RichTextData.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextContext.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextStyles.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextToolbar.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.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/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name MossTextEditor -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.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/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor.abi.json
SwiftCompile normal arm64 Compiling\ RichTextToolbar.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextToolbar.swift (in target 'MossTextEditor' from project 'MossTextEditor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextToolbar.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextToolbar.swift
SwiftCompile normal arm64 Compiling\ RichTextFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextFormatter.swift (in target 'MossTextEditor' from project 'MossTextEditor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextFormatter.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextFormatter.swift
SwiftCompile normal arm64 Compiling\ RichTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift (in target 'MossTextEditor' from project 'MossTextEditor')
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:20:27: error: 'UILabel' is unavailable in watchOS
18 |     override var undoManager: UndoManager? { editorUndoManager }
19 |
20 |     let placeholderLabel: UILabel = {
   |                           `- error: 'UILabel' is unavailable in watchOS
21 |         let label = UILabel()
22 |         label.numberOfLines = 0
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:21:21: error: 'UILabel' is unavailable in watchOS
19 |
20 |     let placeholderLabel: UILabel = {
21 |         let label = UILabel()
   |                     `- error: 'UILabel' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:21:21: error: 'init()' is unavailable in watchOS
19 |
20 |     let placeholderLabel: UILabel = {
21 |         let label = UILabel()
   |                     `- error: 'init()' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:24:15: error: 'isAccessibilityElement' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
24 |         label.isAccessibilityElement = false
   |               `- error: 'isAccessibilityElement' is unavailable in watchOS
25 |         return label
26 |     }()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
 50 |  Setting the property to YES will cause the receiver to be visible to assistive applications.
 51 |  */
 52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                            `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
 53 |
 54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:28:49: error: 'NSTextContainer' is unavailable in watchOS
26 |     }()
27 |
28 |     override init(frame: CGRect, textContainer: NSTextContainer?) {
   |                                                 `- error: 'NSTextContainer' is unavailable in watchOS
29 |         super.init(frame: frame, textContainer: textContainer)
30 |         addSubview(placeholderLabel)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
 34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
 35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
    |            `- note: 'NSTextContainer' has been explicitly marked unavailable here
 37 |
 38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:55:19: error: cannot override 'paste' which has been marked unavailable
53 |     }
54 |
55 |     override func paste(_ sender: Any?) {
   |                   |- error: cannot override 'paste' which has been marked unavailable
   |                   `- note: remove 'override' modifier to declare a new 'paste'
56 |         guard pastesPlainText, let string = UIPasteboard.general.string else {
57 |             super.paste(sender)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:36:1: note: 'paste' has been explicitly marked unavailable here
 34 | - (void)cut:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 35 | - (void)copy:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 36 | - (void)paste:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
    | `- note: 'paste' has been explicitly marked unavailable here
 37 | - (void)pasteAndMatchStyle:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
 38 | - (void)pasteAndGo:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:4:27: error: 'UITextView' is unavailable in watchOS
 2 |
 3 | /// `UITextView` with a placeholder, plain-text pasting and its own undo manager.
 4 | final class RichTextView: UITextView {
   |                           `- error: 'UITextView' is unavailable in watchOS
 5 |     var pastesPlainText = true
 6 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:56:45: error: 'UIPasteboard' is unavailable in watchOS
54 |
55 |     override func paste(_ sender: Any?) {
56 |         guard pastesPlainText, let string = UIPasteboard.general.string else {
   |                                             `- error: 'UIPasteboard' is unavailable in watchOS
57 |             super.paste(sender)
58 |             return
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
 48 |
 49 | UIKIT_EXTERN API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
 50 | @interface UIPasteboard : NSObject
    |            `- note: 'UIPasteboard' has been explicitly marked unavailable here
 51 |
 52 | @property(class, nonatomic, readonly) UIPasteboard *generalPasteboard;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:56:66: error: 'string' is unavailable in watchOS
54 |
55 |     override func paste(_ sender: Any?) {
56 |         guard pastesPlainText, let string = UIPasteboard.general.string else {
   |                                                                  `- error: 'string' is unavailable in watchOS
57 |             super.paste(sender)
58 |             return
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:108:46: note: 'string' has been explicitly marked unavailable here
106 | - (void)setItems:(NSArray<NSDictionary<NSString *, id> *> *)items options:(NSDictionary<UIPasteboardOption, id> *)options API_AVAILABLE(ios(10.0));
107 |
108 | @property(nullable,nonatomic,copy) NSString *string API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
    |                                              `- note: 'string' has been explicitly marked unavailable here
109 | @property(nullable,nonatomic,copy) NSArray<NSString *> *strings API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
110 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextView.swift
SwiftCompile normal arm64 Compiling\ NSAttributedString+RichTextData.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/NSAttributedString+RichTextData.swift (in target 'MossTextEditor' from project 'MossTextEditor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/NSAttributedString+RichTextData.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile NSAttributedString+RichTextData.swift
SwiftCompile normal arm64 Compiling\ RichTextStyles.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextStyles.swift (in target 'MossTextEditor' from project 'MossTextEditor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextStyles.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextStyles.swift
SwiftCompile normal arm64 Compiling\ RichTextContext.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextContext.swift (in target 'MossTextEditor' from project 'MossTextEditor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextContext.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextContext.swift
SwiftCompile normal arm64 Compiling\ RichTextEditor.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift (in target 'MossTextEditor' from project 'MossTextEditor')
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:55:30: error: cannot find type 'Context' in scope
 53 |     }
 54 |
 55 |     func makeUIView(context: Context) -> RichTextView {
    |                              `- error: cannot find type 'Context' in scope
 56 |         let textView = RichTextView(frame: .zero, textContainer: nil)
 57 |         textView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:70:58: error: cannot find type 'Context' in scope
 68 |     }
 69 |
 70 |     func updateUIView(_ textView: RichTextView, context: Context) {
    |                                                          `- error: cannot find type 'Context' in scope
 71 |         let coordinator = context.coordinator
 72 |         coordinator.text = $text
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:83:84: error: cannot find type 'Context' in scope
 81 |     }
 82 |
 83 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: RichTextView, context: Context) -> CGSize? {
    |                                                                                    `- error: cannot find type 'Context' in scope
 84 |         guard !configuration.isScrollEnabled else { return nil }
 85 |         let width = proposal.width ?? uiView.bounds.width
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:46:45: error: cannot find type 'UIViewRepresentable' in scope
 44 | }
 45 |
 46 | private struct RichTextEditorRepresentable: UIViewRepresentable {
    |                                             `- error: cannot find type 'UIViewRepresentable' in scope
 47 |     @Binding var text: NSAttributedString
 48 |     let context: RichTextContext
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:104:30: error: cannot find type 'UIHostingController' in scope
102 |     private(set) var lastText = NSAttributedString()
103 |     var isUpdatingFromSwiftUI = false
104 |     private var toolbarHost: UIHostingController<AnyView>?
    |                              `- error: cannot find type 'UIHostingController' in scope
105 |     /// Typing that continues this run joins the undo step that started it.
106 |     private var typingRun: TypingRun?
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:370:31: error: 'UITextView' is unavailable in watchOS
368 |     // MARK: - UITextViewDelegate
369 |
370 |     func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
    |                               `- error: 'UITextView' is unavailable in watchOS
371 |         guard let textView = textView as? RichTextView else { return true }
372 |         if let maxLength = configuration.maxLength, textView.markedTextRange == nil {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:407:42: error: 'UITextView' is unavailable in watchOS
405 |
406 |     /// Edits the formatter makes in place of the default typing behavior.
407 |     private func handleEdit(in textView: UITextView, replacing range: NSRange, with text: String) -> Bool {
    |                                          `- error: 'UITextView' is unavailable in watchOS
408 |         guard textView.markedTextRange == nil, textView.selectedRange.length == 0 else { return false }
409 |         let typingAttributes = textView.typingAttributes
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:430:40: error: 'UITextView' is unavailable in watchOS
428 |     }
429 |
430 |     func textViewDidChange(_ textView: UITextView) {
    |                                        `- error: 'UITextView' is unavailable in watchOS
431 |         // Keeps numbered lists in order after lines are typed, pasted or deleted.
432 |         if textView.markedTextRange == nil {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:444:49: error: 'UITextView' is unavailable in watchOS
442 |     }
443 |
444 |     func textViewDidChangeSelection(_ textView: UITextView) {
    |                                                 `- error: 'UITextView' is unavailable in watchOS
445 |         if let typingRun, textView.selectedRange != NSRange(location: typingRun.cursor, length: 0) {
446 |             self.typingRun = nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:451:46: error: 'UITextView' is unavailable in watchOS
449 |     }
450 |
451 |     func textViewDidBeginEditing(_ textView: UITextView) {
    |                                              `- error: 'UITextView' is unavailable in watchOS
452 |         refreshState()
453 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:455:44: error: 'UITextView' is unavailable in watchOS
453 |     }
454 |
455 |     func textViewDidEndEditing(_ textView: UITextView) {
    |                                            `- error: 'UITextView' is unavailable in watchOS
456 |         refreshState()
457 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:97:44: error: 'UITextViewDelegate' is unavailable in watchOS
 95 |
 96 | @MainActor
 97 | final class RichTextCoordinator: NSObject, UITextViewDelegate {
    |                                            `- error: 'UITextViewDelegate' is unavailable in watchOS
 98 |     var text: Binding<NSAttributedString>
 99 |     weak var context: RichTextContext?
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:36:11: note: 'UITextViewDelegate' has been explicitly marked unavailable here
 34 |
 35 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 36 | @protocol UITextViewDelegate <NSObject, UIScrollViewDelegate>
    |           `- note: 'UITextViewDelegate' has been explicitly marked unavailable here
 37 |
 38 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:38:9: error: return type of property 'body' requires that 'RichTextEditorRepresentable' conform to 'View'
 35 |     }
 36 |
 37 |     public var body: some View {
    |                      `- note: opaque return type declared here
 38 |         RichTextEditorRepresentable(
    |         `- error: return type of property 'body' requires that 'RichTextEditorRepresentable' conform to 'View'
 39 |             text: $text,
 40 |             context: externalContext ?? ownContext,
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:52:9: error: call to main actor-isolated initializer 'init(text:context:configuration:)' in a synchronous nonisolated context [#ActorIsolatedCall]
 49 |     let configuration: RichTextConfiguration
 50 |
 51 |     func makeCoordinator() -> RichTextCoordinator {
    |          `- note: add '@MainActor' to make instance method 'makeCoordinator()' part of global actor 'MainActor'
 52 |         RichTextCoordinator(text: $text, context: context, configuration: configuration)
    |         `- error: call to main actor-isolated initializer 'init(text:context:configuration:)' in a synchronous nonisolated context [#ActorIsolatedCall]
 53 |     }
 54 |
    :
117 |     var formatter: RichTextFormatter { RichTextFormatter(configuration: configuration) }
118 |
119 |     init(text: Binding<NSAttributedString>, context: RichTextContext, configuration: RichTextConfiguration) {
    |     `- note: calls to initializer 'init(text:context:configuration:)' from outside of its actor context are implicitly asynchronous
120 |         self.text = text
121 |         self.context = context
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:60:59: error: 'defaultLow' is unavailable in watchOS
 58 |         textView.backgroundColor = .clear
 59 |         textView.allowsEditingTextAttributes = false
 60 |         textView.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
    |                                                           `- error: 'defaultLow' is unavailable in watchOS
 61 |         context.coordinator.textView = textView
 62 |         self.context.coordinator = context.coordinator
UIKit.UILayoutPriority.defaultLow:3:21: note: 'defaultLow' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var defaultLow: UILayoutPriority { get }}
  |                     `- note: 'defaultLow' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:170:30: error: 'bar' is unavailable in watchOS
168 |                 .tint(configuration.tintColor.map(Color.init(uiColor:)))
169 |                 .frame(maxWidth: .infinity)
170 |                 .background(.bar)
    |                              `- error: 'bar' is unavailable in watchOS
171 |                 .overlay(alignment: .top) { Divider() }
172 |                 .ignoresSafeArea()
SwiftUI.ShapeStyle.bar:2:43: note: 'bar' has been explicitly marked unavailable here
1 | protocol ShapeStyle {
2 | @export(implementation) public static var bar: Material { get }}
  |                                           `- note: 'bar' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:178:20: error: cannot find 'UIHostingController' in scope
176 |             return
177 |         }
178 |         let host = UIHostingController(rootView: toolbar)
    |                    `- error: cannot find 'UIHostingController' in scope
179 |         host.view.backgroundColor = .clear
180 |         host.view.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:179:38: error: cannot infer contextual base in reference to member 'clear'
177 |         }
178 |         let host = UIHostingController(rootView: toolbar)
179 |         host.view.backgroundColor = .clear
    |                                      `- error: cannot infer contextual base in reference to member 'clear'
180 |         host.view.translatesAutoresizingMaskIntoConstraints = false
181 |         if #available(iOS 16.4, *) {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextEditor.swift
SwiftCompile normal arm64 Compiling\ RichTextConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift (in target 'MossTextEditor' from project 'MossTextEditor')
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:30:37: error: 'UIScrollView' is unavailable in watchOS
 28 |     public var showsScrollIndicator: Bool
 29 |     public var isEditable: Bool
 30 |     public var keyboardDismissMode: UIScrollView.KeyboardDismissMode
    |                                     `- error: 'UIScrollView' is unavailable in watchOS
 31 |     /// Enables the system's autocorrection while typing.
 32 |     public var autocorrects: Bool
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
 85 |
 86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
    |            `- note: 'UIScrollView' has been explicitly marked unavailable here
 88 |
 89 | @property(nonatomic)         CGPoint                      contentOffset;                  // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:62:30: error: 'UIScrollView' is unavailable in watchOS
 60 |         showsScrollIndicator: Bool = true,
 61 |         isEditable: Bool = true,
 62 |         keyboardDismissMode: UIScrollView.KeyboardDismissMode = .interactive,
    |                              `- error: 'UIScrollView' is unavailable in watchOS
 63 |         autocorrects: Bool = false,
 64 |         keyboardToolbarItems: [RichTextToolbarItem] = [],
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
 85 |
 86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
    |            `- note: 'UIScrollView' has been explicitly marked unavailable here
 88 |
 89 | @property(nonatomic)         CGPoint                      contentOffset;                  // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:49:31: error: 'label' is unavailable in watchOS
 47 |         titleFont: UIFont = .systemFont(ofSize: 28),
 48 |         headingFont: UIFont = .systemFont(ofSize: 22),
 49 |         textColor: UIColor = .label,
    |                               `- error: 'label' is unavailable in watchOS
 50 |         tintColor: UIColor? = nil,
 51 |         lineSpacing: CGFloat = 4,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 |  */
171 | @property (class, nonatomic, readonly) UIColor *labelColor              API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
    |                                                 `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor     API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor      API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextConfiguration.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ MossTextEditor (in target 'MossTextEditor' from project 'MossTextEditor')
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:30:37: error: 'UIScrollView' is unavailable in watchOS
 28 |     public var showsScrollIndicator: Bool
 29 |     public var isEditable: Bool
 30 |     public var keyboardDismissMode: UIScrollView.KeyboardDismissMode
    |                                     `- error: 'UIScrollView' is unavailable in watchOS
 31 |     /// Enables the system's autocorrection while typing.
 32 |     public var autocorrects: Bool
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
 85 |
 86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
    |            `- note: 'UIScrollView' has been explicitly marked unavailable here
 88 |
 89 | @property(nonatomic)         CGPoint                      contentOffset;                  // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:62:30: error: 'UIScrollView' is unavailable in watchOS
 60 |         showsScrollIndicator: Bool = true,
 61 |         isEditable: Bool = true,
 62 |         keyboardDismissMode: UIScrollView.KeyboardDismissMode = .interactive,
    |                              `- error: 'UIScrollView' is unavailable in watchOS
 63 |         autocorrects: Bool = false,
 64 |         keyboardToolbarItems: [RichTextToolbarItem] = [],
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
 85 |
 86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
    |            `- note: 'UIScrollView' has been explicitly marked unavailable here
 88 |
 89 | @property(nonatomic)         CGPoint                      contentOffset;                  // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:49:31: error: 'label' is unavailable in watchOS
 47 |         titleFont: UIFont = .systemFont(ofSize: 28),
 48 |         headingFont: UIFont = .systemFont(ofSize: 22),
 49 |         textColor: UIColor = .label,
    |                               `- error: 'label' is unavailable in watchOS
 50 |         tintColor: UIColor? = nil,
 51 |         lineSpacing: CGFloat = 4,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 |  */
171 | @property (class, nonatomic, readonly) UIColor *labelColor              API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
    |                                                 `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor     API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor      API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:56:38: error: 'placeholderText' is unavailable in watchOS
 54 |         contentInsets: UIEdgeInsets = UIEdgeInsets(top: 16, left: 12, bottom: 16, right: 12),
 55 |         placeholder: String? = nil,
 56 |         placeholderColor: UIColor = .placeholderText,
    |                                      `- error: 'placeholderText' is unavailable in watchOS
 57 |         isScrollEnabled: Bool = true,
 58 |         maxHeight: CGFloat? = nil,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:182:49: note: 'placeholderText' has been explicitly marked unavailable here
180 | /* Foreground color for placeholder text in controls or text fields or text views.
181 |  */
182 | @property (class, nonatomic, readonly) UIColor *placeholderTextColor    API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
    |                                                 `- note: 'placeholderText' has been explicitly marked unavailable here
183 |
184 | /* Foreground colors for separators (thin border or divider lines).
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:55:30: error: cannot find type 'Context' in scope
 53 |     }
 54 |
 55 |     func makeUIView(context: Context) -> RichTextView {
    |                              `- error: cannot find type 'Context' in scope
 56 |         let textView = RichTextView(frame: .zero, textContainer: nil)
 57 |         textView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:70:58: error: cannot find type 'Context' in scope
 68 |     }
 69 |
 70 |     func updateUIView(_ textView: RichTextView, context: Context) {
    |                                                          `- error: cannot find type 'Context' in scope
 71 |         let coordinator = context.coordinator
 72 |         coordinator.text = $text
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:83:84: error: cannot find type 'Context' in scope
 81 |     }
 82 |
 83 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: RichTextView, context: Context) -> CGSize? {
    |                                                                                    `- error: cannot find type 'Context' in scope
 84 |         guard !configuration.isScrollEnabled else { return nil }
 85 |         let width = proposal.width ?? uiView.bounds.width
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:46:45: error: cannot find type 'UIViewRepresentable' in scope
 44 | }
 45 |
 46 | private struct RichTextEditorRepresentable: UIViewRepresentable {
    |                                             `- error: cannot find type 'UIViewRepresentable' in scope
 47 |     @Binding var text: NSAttributedString
 48 |     let context: RichTextContext
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:104:30: error: cannot find type 'UIHostingController' in scope
102 |     private(set) var lastText = NSAttributedString()
103 |     var isUpdatingFromSwiftUI = false
104 |     private var toolbarHost: UIHostingController<AnyView>?
    |                              `- error: cannot find type 'UIHostingController' in scope
105 |     /// Typing that continues this run joins the undo step that started it.
106 |     private var typingRun: TypingRun?
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:370:31: error: 'UITextView' is unavailable in watchOS
368 |     // MARK: - UITextViewDelegate
369 |
370 |     func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
    |                               `- error: 'UITextView' is unavailable in watchOS
371 |         guard let textView = textView as? RichTextView else { return true }
372 |         if let maxLength = configuration.maxLength, textView.markedTextRange == nil {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:407:42: error: 'UITextView' is unavailable in watchOS
405 |
406 |     /// Edits the formatter makes in place of the default typing behavior.
407 |     private func handleEdit(in textView: UITextView, replacing range: NSRange, with text: String) -> Bool {
    |                                          `- error: 'UITextView' is unavailable in watchOS
408 |         guard textView.markedTextRange == nil, textView.selectedRange.length == 0 else { return false }
409 |         let typingAttributes = textView.typingAttributes
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:430:40: error: 'UITextView' is unavailable in watchOS
428 |     }
429 |
430 |     func textViewDidChange(_ textView: UITextView) {
    |                                        `- error: 'UITextView' is unavailable in watchOS
431 |         // Keeps numbered lists in order after lines are typed, pasted or deleted.
432 |         if textView.markedTextRange == nil {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:444:49: error: 'UITextView' is unavailable in watchOS
442 |     }
443 |
444 |     func textViewDidChangeSelection(_ textView: UITextView) {
    |                                                 `- error: 'UITextView' is unavailable in watchOS
445 |         if let typingRun, textView.selectedRange != NSRange(location: typingRun.cursor, length: 0) {
446 |             self.typingRun = nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:451:46: error: 'UITextView' is unavailable in watchOS
449 |     }
450 |
451 |     func textViewDidBeginEditing(_ textView: UITextView) {
    |                                              `- error: 'UITextView' is unavailable in watchOS
452 |         refreshState()
453 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:455:44: error: 'UITextView' is unavailable in watchOS
453 |     }
454 |
455 |     func textViewDidEndEditing(_ textView: UITextView) {
    |                                            `- error: 'UITextView' is unavailable in watchOS
456 |         refreshState()
457 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:97:44: error: 'UITextViewDelegate' is unavailable in watchOS
 95 |
 96 | @MainActor
 97 | final class RichTextCoordinator: NSObject, UITextViewDelegate {
    |                                            `- error: 'UITextViewDelegate' is unavailable in watchOS
 98 |     var text: Binding<NSAttributedString>
 99 |     weak var context: RichTextContext?
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:36:11: note: 'UITextViewDelegate' has been explicitly marked unavailable here
 34 |
 35 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 36 | @protocol UITextViewDelegate <NSObject, UIScrollViewDelegate>
    |           `- note: 'UITextViewDelegate' has been explicitly marked unavailable here
 37 |
 38 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:20:27: error: 'UILabel' is unavailable in watchOS
18 |     override var undoManager: UndoManager? { editorUndoManager }
19 |
20 |     let placeholderLabel: UILabel = {
   |                           `- error: 'UILabel' is unavailable in watchOS
21 |         let label = UILabel()
22 |         label.numberOfLines = 0
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:21:21: error: 'UILabel' is unavailable in watchOS
19 |
20 |     let placeholderLabel: UILabel = {
21 |         let label = UILabel()
   |                     `- error: 'UILabel' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:21:21: error: 'init()' is unavailable in watchOS
19 |
20 |     let placeholderLabel: UILabel = {
21 |         let label = UILabel()
   |                     `- error: 'init()' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:24:15: error: 'isAccessibilityElement' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
24 |         label.isAccessibilityElement = false
   |               `- error: 'isAccessibilityElement' is unavailable in watchOS
25 |         return label
26 |     }()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
 50 |  Setting the property to YES will cause the receiver to be visible to assistive applications.
 51 |  */
 52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                            `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
 53 |
 54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:28:49: error: 'NSTextContainer' is unavailable in watchOS
26 |     }()
27 |
28 |     override init(frame: CGRect, textContainer: NSTextContainer?) {
   |                                                 `- error: 'NSTextContainer' is unavailable in watchOS
29 |         super.init(frame: frame, textContainer: textContainer)
30 |         addSubview(placeholderLabel)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
 34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
 35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
    |            `- note: 'NSTextContainer' has been explicitly marked unavailable here
 37 |
 38 | /**************************** Initialization ****************************/
SwiftCompile normal arm64_32 (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64_32 Compiling\ RichTextFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextFormatter.swift (in target 'MossTextEditor' from project 'MossTextEditor')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextFormatter.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextFormatter.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-10-09 08:46:34.803 xcodebuild[629:3942] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-10-09 08:46:34.943 xcodebuild[629:3942] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64 (in target 'MossTextEditor' from project 'MossTextEditor')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ MossTextEditor (in target 'MossTextEditor' from project 'MossTextEditor')
	Building workspace MossTextEditor with scheme MossTextEditor
(3 failures)
Command line invocation:
    /Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  MossTextEditor: /Users/admin/builder/spi-builder-workspace
resolved source packages: MossTextEditor
2026-10-09 08:46:42.480 xcodebuild[807:4737] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-10-09 08:46:42.624 xcodebuild[807:4737] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MossTextEditor",
  "name" : "MossTextEditor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "MossTextEditor",
      "targets" : [
        "MossTextEditor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MossTextEditorTests",
      "module_type" : "SwiftTarget",
      "name" : "MossTextEditorTests",
      "path" : "Tests/MossTextEditorTests",
      "sources" : [
        "RichTextFormatterTests.swift",
        "RichTextLimitTests.swift",
        "RichTextUndoTests.swift"
      ],
      "target_dependencies" : [
        "MossTextEditor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MossTextEditor",
      "module_type" : "SwiftTarget",
      "name" : "MossTextEditor",
      "path" : "Sources/MossTextEditor",
      "product_memberships" : [
        "MossTextEditor"
      ],
      "sources" : [
        "NSAttributedString+RichTextData.swift",
        "RichTextConfiguration.swift",
        "RichTextContext.swift",
        "RichTextEditor.swift",
        "RichTextFormatter.swift",
        "RichTextStyles.swift",
        "RichTextToolbar.swift",
        "RichTextView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "MossTextEditor",
    "schemes" : [
      "MossTextEditor"
    ]
  }
}
2026-10-09 08:46:43.659 xcodebuild[815:4801] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-10-09 08:46:43.798 xcodebuild[815:4801] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme MossTextEditor -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme MossTextEditor -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  MossTextEditor: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'MossTextEditor-product' in project 'MossTextEditor'
        ➜ Explicit dependency on target 'MossTextEditor' in project 'MossTextEditor'
    Target 'MossTextEditor' in project 'MossTextEditor' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
SwiftDriver MossTextEditor normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name MossTextEditor -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64_32/MossTextEditor.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.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-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64_32/MossTextEditor-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64_32/MossTextEditor.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64_32/MossTextEditor-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64_32/MossTextEditor_const_extract_protocols.json -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/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64_32/MossTextEditor-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver MossTextEditor normal arm64 com.apple.xcode.tools.swift.compiler (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name MossTextEditor -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.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-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor_const_extract_protocols.json -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/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ RichTextEditor.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift (in target 'MossTextEditor' from project 'MossTextEditor')
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:55:30: error: cannot find type 'Context' in scope
 53 |     }
 54 |
 55 |     func makeUIView(context: Context) -> RichTextView {
    |                              `- error: cannot find type 'Context' in scope
 56 |         let textView = RichTextView(frame: .zero, textContainer: nil)
 57 |         textView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:70:58: error: cannot find type 'Context' in scope
 68 |     }
 69 |
 70 |     func updateUIView(_ textView: RichTextView, context: Context) {
    |                                                          `- error: cannot find type 'Context' in scope
 71 |         let coordinator = context.coordinator
 72 |         coordinator.text = $text
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:83:84: error: cannot find type 'Context' in scope
 81 |     }
 82 |
 83 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: RichTextView, context: Context) -> CGSize? {
    |                                                                                    `- error: cannot find type 'Context' in scope
 84 |         guard !configuration.isScrollEnabled else { return nil }
 85 |         let width = proposal.width ?? uiView.bounds.width
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:46:45: error: cannot find type 'UIViewRepresentable' in scope
 44 | }
 45 |
 46 | private struct RichTextEditorRepresentable: UIViewRepresentable {
    |                                             `- error: cannot find type 'UIViewRepresentable' in scope
 47 |     @Binding var text: NSAttributedString
 48 |     let context: RichTextContext
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:104:30: error: cannot find type 'UIHostingController' in scope
102 |     private(set) var lastText = NSAttributedString()
103 |     var isUpdatingFromSwiftUI = false
104 |     private var toolbarHost: UIHostingController<AnyView>?
    |                              `- error: cannot find type 'UIHostingController' in scope
105 |     /// Typing that continues this run joins the undo step that started it.
106 |     private var typingRun: TypingRun?
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:370:31: error: 'UITextView' is unavailable in watchOS
368 |     // MARK: - UITextViewDelegate
369 |
370 |     func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
    |                               `- error: 'UITextView' is unavailable in watchOS
371 |         guard let textView = textView as? RichTextView else { return true }
372 |         if let maxLength = configuration.maxLength, textView.markedTextRange == nil {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:407:42: error: 'UITextView' is unavailable in watchOS
405 |
406 |     /// Edits the formatter makes in place of the default typing behavior.
407 |     private func handleEdit(in textView: UITextView, replacing range: NSRange, with text: String) -> Bool {
    |                                          `- error: 'UITextView' is unavailable in watchOS
408 |         guard textView.markedTextRange == nil, textView.selectedRange.length == 0 else { return false }
409 |         let typingAttributes = textView.typingAttributes
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:430:40: error: 'UITextView' is unavailable in watchOS
428 |     }
429 |
430 |     func textViewDidChange(_ textView: UITextView) {
    |                                        `- error: 'UITextView' is unavailable in watchOS
431 |         // Keeps numbered lists in order after lines are typed, pasted or deleted.
432 |         if textView.markedTextRange == nil {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:444:49: error: 'UITextView' is unavailable in watchOS
442 |     }
443 |
444 |     func textViewDidChangeSelection(_ textView: UITextView) {
    |                                                 `- error: 'UITextView' is unavailable in watchOS
445 |         if let typingRun, textView.selectedRange != NSRange(location: typingRun.cursor, length: 0) {
446 |             self.typingRun = nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:451:46: error: 'UITextView' is unavailable in watchOS
449 |     }
450 |
451 |     func textViewDidBeginEditing(_ textView: UITextView) {
    |                                              `- error: 'UITextView' is unavailable in watchOS
452 |         refreshState()
453 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:455:44: error: 'UITextView' is unavailable in watchOS
453 |     }
454 |
455 |     func textViewDidEndEditing(_ textView: UITextView) {
    |                                            `- error: 'UITextView' is unavailable in watchOS
456 |         refreshState()
457 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:97:44: error: 'UITextViewDelegate' is unavailable in watchOS
 95 |
 96 | @MainActor
 97 | final class RichTextCoordinator: NSObject, UITextViewDelegate {
    |                                            `- error: 'UITextViewDelegate' is unavailable in watchOS
 98 |     var text: Binding<NSAttributedString>
 99 |     weak var context: RichTextContext?
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:36:11: note: 'UITextViewDelegate' has been explicitly marked unavailable here
 34 |
 35 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 36 | @protocol UITextViewDelegate <NSObject, UIScrollViewDelegate>
    |           `- note: 'UITextViewDelegate' has been explicitly marked unavailable here
 37 |
 38 | @optional
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextEditor.swift
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:38:9: error: return type of property 'body' requires that 'RichTextEditorRepresentable' conform to 'View'
 35 |     }
 36 |
 37 |     public var body: some View {
    |                      `- note: opaque return type declared here
 38 |         RichTextEditorRepresentable(
    |         `- error: return type of property 'body' requires that 'RichTextEditorRepresentable' conform to 'View'
 39 |             text: $text,
 40 |             context: externalContext ?? ownContext,
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:52:9: error: call to main actor-isolated initializer 'init(text:context:configuration:)' in a synchronous nonisolated context [#ActorIsolatedCall]
 49 |     let configuration: RichTextConfiguration
 50 |
 51 |     func makeCoordinator() -> RichTextCoordinator {
    |          `- note: add '@MainActor' to make instance method 'makeCoordinator()' part of global actor 'MainActor'
 52 |         RichTextCoordinator(text: $text, context: context, configuration: configuration)
    |         `- error: call to main actor-isolated initializer 'init(text:context:configuration:)' in a synchronous nonisolated context [#ActorIsolatedCall]
 53 |     }
 54 |
    :
117 |     var formatter: RichTextFormatter { RichTextFormatter(configuration: configuration) }
118 |
119 |     init(text: Binding<NSAttributedString>, context: RichTextContext, configuration: RichTextConfiguration) {
    |     `- note: calls to initializer 'init(text:context:configuration:)' from outside of its actor context are implicitly asynchronous
120 |         self.text = text
121 |         self.context = context
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:60:59: error: 'defaultLow' is unavailable in watchOS
 58 |         textView.backgroundColor = .clear
 59 |         textView.allowsEditingTextAttributes = false
 60 |         textView.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
    |                                                           `- error: 'defaultLow' is unavailable in watchOS
 61 |         context.coordinator.textView = textView
 62 |         self.context.coordinator = context.coordinator
UIKit.UILayoutPriority.defaultLow:3:21: note: 'defaultLow' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 |   public static var defaultLow: UILayoutPriority { get }}
  |                     `- note: 'defaultLow' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:170:30: error: 'bar' is unavailable in watchOS
168 |                 .tint(configuration.tintColor.map(Color.init(uiColor:)))
169 |                 .frame(maxWidth: .infinity)
170 |                 .background(.bar)
    |                              `- error: 'bar' is unavailable in watchOS
171 |                 .overlay(alignment: .top) { Divider() }
172 |                 .ignoresSafeArea()
SwiftUI.ShapeStyle.bar:2:43: note: 'bar' has been explicitly marked unavailable here
1 | protocol ShapeStyle {
2 | @export(implementation) public static var bar: Material { get }}
  |                                           `- note: 'bar' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:178:20: error: cannot find 'UIHostingController' in scope
176 |             return
177 |         }
178 |         let host = UIHostingController(rootView: toolbar)
    |                    `- error: cannot find 'UIHostingController' in scope
179 |         host.view.backgroundColor = .clear
180 |         host.view.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:179:38: error: cannot infer contextual base in reference to member 'clear'
177 |         }
178 |         let host = UIHostingController(rootView: toolbar)
179 |         host.view.backgroundColor = .clear
    |                                      `- error: cannot infer contextual base in reference to member 'clear'
180 |         host.view.translatesAutoresizingMaskIntoConstraints = false
181 |         if #available(iOS 16.4, *) {
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:185:25: error: 'UIView' is unavailable in watchOS
183 |         }
184 |
185 |         let container = UIView(frame: CGRect(x: 0, y: 0, width: 0, height: RichTextToolbar.height))
    |                         `- error: 'UIView' is unavailable in watchOS
186 |         container.autoresizingMask = .flexibleWidth
187 |         container.addSubview(host.view)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
    |            `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass;                        // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 Compiling\ RichTextConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift (in target 'MossTextEditor' from project 'MossTextEditor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:30:37: error: 'UIScrollView' is unavailable in watchOS
 28 |     public var showsScrollIndicator: Bool
 29 |     public var isEditable: Bool
 30 |     public var keyboardDismissMode: UIScrollView.KeyboardDismissMode
    |                                     `- error: 'UIScrollView' is unavailable in watchOS
 31 |     /// Enables the system's autocorrection while typing.
 32 |     public var autocorrects: Bool
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
 85 |
 86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
    |            `- note: 'UIScrollView' has been explicitly marked unavailable here
 88 |
 89 | @property(nonatomic)         CGPoint                      contentOffset;                  // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:62:30: error: 'UIScrollView' is unavailable in watchOS
 60 |         showsScrollIndicator: Bool = true,
 61 |         isEditable: Bool = true,
 62 |         keyboardDismissMode: UIScrollView.KeyboardDismissMode = .interactive,
    |                              `- error: 'UIScrollView' is unavailable in watchOS
 63 |         autocorrects: Bool = false,
 64 |         keyboardToolbarItems: [RichTextToolbarItem] = [],
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
 85 |
 86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
    |            `- note: 'UIScrollView' has been explicitly marked unavailable here
 88 |
 89 | @property(nonatomic)         CGPoint                      contentOffset;                  // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:49:31: error: 'label' is unavailable in watchOS
 47 |         titleFont: UIFont = .systemFont(ofSize: 28),
 48 |         headingFont: UIFont = .systemFont(ofSize: 22),
 49 |         textColor: UIColor = .label,
    |                               `- error: 'label' is unavailable in watchOS
 50 |         tintColor: UIColor? = nil,
 51 |         lineSpacing: CGFloat = 4,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 |  */
171 | @property (class, nonatomic, readonly) UIColor *labelColor              API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
    |                                                 `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor     API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor      API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64 Compiling\ NSAttributedString+RichTextData.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/NSAttributedString+RichTextData.swift (in target 'MossTextEditor' from project 'MossTextEditor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/NSAttributedString+RichTextData.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile NSAttributedString+RichTextData.swift
SwiftCompile normal arm64 Compiling\ RichTextToolbar.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextToolbar.swift (in target 'MossTextEditor' from project 'MossTextEditor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextToolbar.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextToolbar.swift
SwiftCompile normal arm64 Compiling\ RichTextFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextFormatter.swift (in target 'MossTextEditor' from project 'MossTextEditor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextFormatter.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextFormatter.swift
SwiftCompile normal arm64 Compiling\ RichTextStyles.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextStyles.swift (in target 'MossTextEditor' from project 'MossTextEditor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextStyles.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextStyles.swift
SwiftCompile normal arm64 Compiling\ RichTextContext.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextContext.swift (in target 'MossTextEditor' from project 'MossTextEditor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextContext.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextContext.swift
SwiftCompile normal arm64 Compiling\ RichTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift (in target 'MossTextEditor' from project 'MossTextEditor')
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:20:27: error: 'UILabel' is unavailable in watchOS
18 |     override var undoManager: UndoManager? { editorUndoManager }
19 |
20 |     let placeholderLabel: UILabel = {
   |                           `- error: 'UILabel' is unavailable in watchOS
21 |         let label = UILabel()
22 |         label.numberOfLines = 0
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:21:21: error: 'UILabel' is unavailable in watchOS
19 |
20 |     let placeholderLabel: UILabel = {
21 |         let label = UILabel()
   |                     `- error: 'UILabel' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:21:21: error: 'init()' is unavailable in watchOS
19 |
20 |     let placeholderLabel: UILabel = {
21 |         let label = UILabel()
   |                     `- error: 'init()' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:24:15: error: 'isAccessibilityElement' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
24 |         label.isAccessibilityElement = false
   |               `- error: 'isAccessibilityElement' is unavailable in watchOS
25 |         return label
26 |     }()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
 50 |  Setting the property to YES will cause the receiver to be visible to assistive applications.
 51 |  */
 52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                            `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
 53 |
 54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:28:49: error: 'NSTextContainer' is unavailable in watchOS
26 |     }()
27 |
28 |     override init(frame: CGRect, textContainer: NSTextContainer?) {
   |                                                 `- error: 'NSTextContainer' is unavailable in watchOS
29 |         super.init(frame: frame, textContainer: textContainer)
30 |         addSubview(placeholderLabel)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
 34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
 35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
    |            `- note: 'NSTextContainer' has been explicitly marked unavailable here
 37 |
 38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:55:19: error: cannot override 'paste' which has been marked unavailable
53 |     }
54 |
55 |     override func paste(_ sender: Any?) {
   |                   |- error: cannot override 'paste' which has been marked unavailable
   |                   `- note: remove 'override' modifier to declare a new 'paste'
56 |         guard pastesPlainText, let string = UIPasteboard.general.string else {
57 |             super.paste(sender)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:36:1: note: 'paste' has been explicitly marked unavailable here
 34 | - (void)cut:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 35 | - (void)copy:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 36 | - (void)paste:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
    | `- note: 'paste' has been explicitly marked unavailable here
 37 | - (void)pasteAndMatchStyle:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
 38 | - (void)pasteAndGo:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:4:27: error: 'UITextView' is unavailable in watchOS
 2 |
 3 | /// `UITextView` with a placeholder, plain-text pasting and its own undo manager.
 4 | final class RichTextView: UITextView {
   |                           `- error: 'UITextView' is unavailable in watchOS
 5 |     var pastesPlainText = true
 6 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:56:45: error: 'UIPasteboard' is unavailable in watchOS
54 |
55 |     override func paste(_ sender: Any?) {
56 |         guard pastesPlainText, let string = UIPasteboard.general.string else {
   |                                             `- error: 'UIPasteboard' is unavailable in watchOS
57 |             super.paste(sender)
58 |             return
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
 48 |
 49 | UIKIT_EXTERN API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
 50 | @interface UIPasteboard : NSObject
    |            `- note: 'UIPasteboard' has been explicitly marked unavailable here
 51 |
 52 | @property(class, nonatomic, readonly) UIPasteboard *generalPasteboard;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:56:66: error: 'string' is unavailable in watchOS
54 |
55 |     override func paste(_ sender: Any?) {
56 |         guard pastesPlainText, let string = UIPasteboard.general.string else {
   |                                                                  `- error: 'string' is unavailable in watchOS
57 |             super.paste(sender)
58 |             return
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:108:46: note: 'string' has been explicitly marked unavailable here
106 | - (void)setItems:(NSArray<NSDictionary<NSString *, id> *> *)items options:(NSDictionary<UIPasteboardOption, id> *)options API_AVAILABLE(ios(10.0));
107 |
108 | @property(nullable,nonatomic,copy) NSString *string API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
    |                                              `- note: 'string' has been explicitly marked unavailable here
109 | @property(nullable,nonatomic,copy) NSArray<NSString *> *strings API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
110 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextView.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ MossTextEditor (in target 'MossTextEditor' from project 'MossTextEditor')
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:30:37: error: 'UIScrollView' is unavailable in watchOS
 28 |     public var showsScrollIndicator: Bool
 29 |     public var isEditable: Bool
 30 |     public var keyboardDismissMode: UIScrollView.KeyboardDismissMode
    |                                     `- error: 'UIScrollView' is unavailable in watchOS
 31 |     /// Enables the system's autocorrection while typing.
 32 |     public var autocorrects: Bool
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
 85 |
 86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
    |            `- note: 'UIScrollView' has been explicitly marked unavailable here
 88 |
 89 | @property(nonatomic)         CGPoint                      contentOffset;                  // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:62:30: error: 'UIScrollView' is unavailable in watchOS
 60 |         showsScrollIndicator: Bool = true,
 61 |         isEditable: Bool = true,
 62 |         keyboardDismissMode: UIScrollView.KeyboardDismissMode = .interactive,
    |                              `- error: 'UIScrollView' is unavailable in watchOS
 63 |         autocorrects: Bool = false,
 64 |         keyboardToolbarItems: [RichTextToolbarItem] = [],
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
 85 |
 86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
    |            `- note: 'UIScrollView' has been explicitly marked unavailable here
 88 |
 89 | @property(nonatomic)         CGPoint                      contentOffset;                  // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:49:31: error: 'label' is unavailable in watchOS
 47 |         titleFont: UIFont = .systemFont(ofSize: 28),
 48 |         headingFont: UIFont = .systemFont(ofSize: 22),
 49 |         textColor: UIColor = .label,
    |                               `- error: 'label' is unavailable in watchOS
 50 |         tintColor: UIColor? = nil,
 51 |         lineSpacing: CGFloat = 4,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 |  */
171 | @property (class, nonatomic, readonly) UIColor *labelColor              API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
    |                                                 `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor     API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor      API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:56:38: error: 'placeholderText' is unavailable in watchOS
 54 |         contentInsets: UIEdgeInsets = UIEdgeInsets(top: 16, left: 12, bottom: 16, right: 12),
 55 |         placeholder: String? = nil,
 56 |         placeholderColor: UIColor = .placeholderText,
    |                                      `- error: 'placeholderText' is unavailable in watchOS
 57 |         isScrollEnabled: Bool = true,
 58 |         maxHeight: CGFloat? = nil,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:182:49: note: 'placeholderText' has been explicitly marked unavailable here
180 | /* Foreground color for placeholder text in controls or text fields or text views.
181 |  */
182 | @property (class, nonatomic, readonly) UIColor *placeholderTextColor    API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
    |                                                 `- note: 'placeholderText' has been explicitly marked unavailable here
183 |
184 | /* Foreground colors for separators (thin border or divider lines).
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:55:30: error: cannot find type 'Context' in scope
 53 |     }
 54 |
 55 |     func makeUIView(context: Context) -> RichTextView {
    |                              `- error: cannot find type 'Context' in scope
 56 |         let textView = RichTextView(frame: .zero, textContainer: nil)
 57 |         textView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:70:58: error: cannot find type 'Context' in scope
 68 |     }
 69 |
 70 |     func updateUIView(_ textView: RichTextView, context: Context) {
    |                                                          `- error: cannot find type 'Context' in scope
 71 |         let coordinator = context.coordinator
 72 |         coordinator.text = $text
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:83:84: error: cannot find type 'Context' in scope
 81 |     }
 82 |
 83 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: RichTextView, context: Context) -> CGSize? {
    |                                                                                    `- error: cannot find type 'Context' in scope
 84 |         guard !configuration.isScrollEnabled else { return nil }
 85 |         let width = proposal.width ?? uiView.bounds.width
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:46:45: error: cannot find type 'UIViewRepresentable' in scope
 44 | }
 45 |
 46 | private struct RichTextEditorRepresentable: UIViewRepresentable {
    |                                             `- error: cannot find type 'UIViewRepresentable' in scope
 47 |     @Binding var text: NSAttributedString
 48 |     let context: RichTextContext
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:104:30: error: cannot find type 'UIHostingController' in scope
102 |     private(set) var lastText = NSAttributedString()
103 |     var isUpdatingFromSwiftUI = false
104 |     private var toolbarHost: UIHostingController<AnyView>?
    |                              `- error: cannot find type 'UIHostingController' in scope
105 |     /// Typing that continues this run joins the undo step that started it.
106 |     private var typingRun: TypingRun?
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:370:31: error: 'UITextView' is unavailable in watchOS
368 |     // MARK: - UITextViewDelegate
369 |
370 |     func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
    |                               `- error: 'UITextView' is unavailable in watchOS
371 |         guard let textView = textView as? RichTextView else { return true }
372 |         if let maxLength = configuration.maxLength, textView.markedTextRange == nil {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:407:42: error: 'UITextView' is unavailable in watchOS
405 |
406 |     /// Edits the formatter makes in place of the default typing behavior.
407 |     private func handleEdit(in textView: UITextView, replacing range: NSRange, with text: String) -> Bool {
    |                                          `- error: 'UITextView' is unavailable in watchOS
408 |         guard textView.markedTextRange == nil, textView.selectedRange.length == 0 else { return false }
409 |         let typingAttributes = textView.typingAttributes
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:430:40: error: 'UITextView' is unavailable in watchOS
428 |     }
429 |
430 |     func textViewDidChange(_ textView: UITextView) {
    |                                        `- error: 'UITextView' is unavailable in watchOS
431 |         // Keeps numbered lists in order after lines are typed, pasted or deleted.
432 |         if textView.markedTextRange == nil {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:444:49: error: 'UITextView' is unavailable in watchOS
442 |     }
443 |
444 |     func textViewDidChangeSelection(_ textView: UITextView) {
    |                                                 `- error: 'UITextView' is unavailable in watchOS
445 |         if let typingRun, textView.selectedRange != NSRange(location: typingRun.cursor, length: 0) {
446 |             self.typingRun = nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:451:46: error: 'UITextView' is unavailable in watchOS
449 |     }
450 |
451 |     func textViewDidBeginEditing(_ textView: UITextView) {
    |                                              `- error: 'UITextView' is unavailable in watchOS
452 |         refreshState()
453 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:455:44: error: 'UITextView' is unavailable in watchOS
453 |     }
454 |
455 |     func textViewDidEndEditing(_ textView: UITextView) {
    |                                            `- error: 'UITextView' is unavailable in watchOS
456 |         refreshState()
457 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:97:44: error: 'UITextViewDelegate' is unavailable in watchOS
 95 |
 96 | @MainActor
 97 | final class RichTextCoordinator: NSObject, UITextViewDelegate {
    |                                            `- error: 'UITextViewDelegate' is unavailable in watchOS
 98 |     var text: Binding<NSAttributedString>
 99 |     weak var context: RichTextContext?
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:36:11: note: 'UITextViewDelegate' has been explicitly marked unavailable here
 34 |
 35 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 36 | @protocol UITextViewDelegate <NSObject, UIScrollViewDelegate>
    |           `- note: 'UITextViewDelegate' has been explicitly marked unavailable here
 37 |
 38 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:20:27: error: 'UILabel' is unavailable in watchOS
18 |     override var undoManager: UndoManager? { editorUndoManager }
19 |
20 |     let placeholderLabel: UILabel = {
   |                           `- error: 'UILabel' is unavailable in watchOS
21 |         let label = UILabel()
22 |         label.numberOfLines = 0
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:21:21: error: 'UILabel' is unavailable in watchOS
19 |
20 |     let placeholderLabel: UILabel = {
21 |         let label = UILabel()
   |                     `- error: 'UILabel' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:21:21: error: 'init()' is unavailable in watchOS
19 |
20 |     let placeholderLabel: UILabel = {
21 |         let label = UILabel()
   |                     `- error: 'init()' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:24:15: error: 'isAccessibilityElement' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
24 |         label.isAccessibilityElement = false
   |               `- error: 'isAccessibilityElement' is unavailable in watchOS
25 |         return label
26 |     }()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
 50 |  Setting the property to YES will cause the receiver to be visible to assistive applications.
 51 |  */
 52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                            `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
 53 |
 54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:28:49: error: 'NSTextContainer' is unavailable in watchOS
26 |     }()
27 |
28 |     override init(frame: CGRect, textContainer: NSTextContainer?) {
   |                                                 `- error: 'NSTextContainer' is unavailable in watchOS
29 |         super.init(frame: frame, textContainer: textContainer)
30 |         addSubview(placeholderLabel)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
 34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
 35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
    |            `- note: 'NSTextContainer' has been explicitly marked unavailable here
 37 |
 38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:55:19: error: cannot override 'paste' which has been marked unavailable
53 |     }
54 |
55 |     override func paste(_ sender: Any?) {
   |                   |- error: cannot override 'paste' which has been marked unavailable
   |                   `- note: remove 'override' modifier to declare a new 'paste'
56 |         guard pastesPlainText, let string = UIPasteboard.general.string else {
57 |             super.paste(sender)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:36:1: note: 'paste' has been explicitly marked unavailable here
 34 | - (void)cut:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 35 | - (void)copy:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 36 | - (void)paste:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
    | `- note: 'paste' has been explicitly marked unavailable here
 37 | - (void)pasteAndMatchStyle:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
 38 | - (void)pasteAndGo:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:4:27: error: 'UITextView' is unavailable in watchOS
 2 |
 3 | /// `UITextView` with a placeholder, plain-text pasting and its own undo manager.
 4 | final class RichTextView: UITextView {
   |                           `- error: 'UITextView' is unavailable in watchOS
 5 |     var pastesPlainText = true
 6 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
Failed frontend command:
/Applications/Xcode-27.0.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/Sources/MossTextEditor/NSAttributedString+RichTextData.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextContext.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextStyles.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextToolbar.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.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/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name MossTextEditor -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.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/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64/MossTextEditor.abi.json
SwiftCompile normal arm64 (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftEmitModule normal arm64_32 Emitting\ module\ for\ MossTextEditor (in target 'MossTextEditor' from project 'MossTextEditor')
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:30:37: error: 'UIScrollView' is unavailable in watchOS
 28 |     public var showsScrollIndicator: Bool
 29 |     public var isEditable: Bool
 30 |     public var keyboardDismissMode: UIScrollView.KeyboardDismissMode
    |                                     `- error: 'UIScrollView' is unavailable in watchOS
 31 |     /// Enables the system's autocorrection while typing.
 32 |     public var autocorrects: Bool
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
 85 |
 86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
    |            `- note: 'UIScrollView' has been explicitly marked unavailable here
 88 |
 89 | @property(nonatomic)         CGPoint                      contentOffset;                  // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:62:30: error: 'UIScrollView' is unavailable in watchOS
 60 |         showsScrollIndicator: Bool = true,
 61 |         isEditable: Bool = true,
 62 |         keyboardDismissMode: UIScrollView.KeyboardDismissMode = .interactive,
    |                              `- error: 'UIScrollView' is unavailable in watchOS
 63 |         autocorrects: Bool = false,
 64 |         keyboardToolbarItems: [RichTextToolbarItem] = [],
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
 85 |
 86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
    |            `- note: 'UIScrollView' has been explicitly marked unavailable here
 88 |
 89 | @property(nonatomic)         CGPoint                      contentOffset;                  // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:49:31: error: 'label' is unavailable in watchOS
 47 |         titleFont: UIFont = .systemFont(ofSize: 28),
 48 |         headingFont: UIFont = .systemFont(ofSize: 22),
 49 |         textColor: UIColor = .label,
    |                               `- error: 'label' is unavailable in watchOS
 50 |         tintColor: UIColor? = nil,
 51 |         lineSpacing: CGFloat = 4,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 |  */
171 | @property (class, nonatomic, readonly) UIColor *labelColor              API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
    |                                                 `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor     API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor      API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift:56:38: error: 'placeholderText' is unavailable in watchOS
 54 |         contentInsets: UIEdgeInsets = UIEdgeInsets(top: 16, left: 12, bottom: 16, right: 12),
 55 |         placeholder: String? = nil,
 56 |         placeholderColor: UIColor = .placeholderText,
    |                                      `- error: 'placeholderText' is unavailable in watchOS
 57 |         isScrollEnabled: Bool = true,
 58 |         maxHeight: CGFloat? = nil,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:182:49: note: 'placeholderText' has been explicitly marked unavailable here
180 | /* Foreground color for placeholder text in controls or text fields or text views.
181 |  */
182 | @property (class, nonatomic, readonly) UIColor *placeholderTextColor    API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
    |                                                 `- note: 'placeholderText' has been explicitly marked unavailable here
183 |
184 | /* Foreground colors for separators (thin border or divider lines).
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:55:30: error: cannot find type 'Context' in scope
 53 |     }
 54 |
 55 |     func makeUIView(context: Context) -> RichTextView {
    |                              `- error: cannot find type 'Context' in scope
 56 |         let textView = RichTextView(frame: .zero, textContainer: nil)
 57 |         textView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:70:58: error: cannot find type 'Context' in scope
 68 |     }
 69 |
 70 |     func updateUIView(_ textView: RichTextView, context: Context) {
    |                                                          `- error: cannot find type 'Context' in scope
 71 |         let coordinator = context.coordinator
 72 |         coordinator.text = $text
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:83:84: error: cannot find type 'Context' in scope
 81 |     }
 82 |
 83 |     func sizeThatFits(_ proposal: ProposedViewSize, uiView: RichTextView, context: Context) -> CGSize? {
    |                                                                                    `- error: cannot find type 'Context' in scope
 84 |         guard !configuration.isScrollEnabled else { return nil }
 85 |         let width = proposal.width ?? uiView.bounds.width
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:46:45: error: cannot find type 'UIViewRepresentable' in scope
 44 | }
 45 |
 46 | private struct RichTextEditorRepresentable: UIViewRepresentable {
    |                                             `- error: cannot find type 'UIViewRepresentable' in scope
 47 |     @Binding var text: NSAttributedString
 48 |     let context: RichTextContext
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:104:30: error: cannot find type 'UIHostingController' in scope
102 |     private(set) var lastText = NSAttributedString()
103 |     var isUpdatingFromSwiftUI = false
104 |     private var toolbarHost: UIHostingController<AnyView>?
    |                              `- error: cannot find type 'UIHostingController' in scope
105 |     /// Typing that continues this run joins the undo step that started it.
106 |     private var typingRun: TypingRun?
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:370:31: error: 'UITextView' is unavailable in watchOS
368 |     // MARK: - UITextViewDelegate
369 |
370 |     func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
    |                               `- error: 'UITextView' is unavailable in watchOS
371 |         guard let textView = textView as? RichTextView else { return true }
372 |         if let maxLength = configuration.maxLength, textView.markedTextRange == nil {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:407:42: error: 'UITextView' is unavailable in watchOS
405 |
406 |     /// Edits the formatter makes in place of the default typing behavior.
407 |     private func handleEdit(in textView: UITextView, replacing range: NSRange, with text: String) -> Bool {
    |                                          `- error: 'UITextView' is unavailable in watchOS
408 |         guard textView.markedTextRange == nil, textView.selectedRange.length == 0 else { return false }
409 |         let typingAttributes = textView.typingAttributes
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:430:40: error: 'UITextView' is unavailable in watchOS
428 |     }
429 |
430 |     func textViewDidChange(_ textView: UITextView) {
    |                                        `- error: 'UITextView' is unavailable in watchOS
431 |         // Keeps numbered lists in order after lines are typed, pasted or deleted.
432 |         if textView.markedTextRange == nil {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:444:49: error: 'UITextView' is unavailable in watchOS
442 |     }
443 |
444 |     func textViewDidChangeSelection(_ textView: UITextView) {
    |                                                 `- error: 'UITextView' is unavailable in watchOS
445 |         if let typingRun, textView.selectedRange != NSRange(location: typingRun.cursor, length: 0) {
446 |             self.typingRun = nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:451:46: error: 'UITextView' is unavailable in watchOS
449 |     }
450 |
451 |     func textViewDidBeginEditing(_ textView: UITextView) {
    |                                              `- error: 'UITextView' is unavailable in watchOS
452 |         refreshState()
453 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:455:44: error: 'UITextView' is unavailable in watchOS
453 |     }
454 |
455 |     func textViewDidEndEditing(_ textView: UITextView) {
    |                                            `- error: 'UITextView' is unavailable in watchOS
456 |         refreshState()
457 |     }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift:97:44: error: 'UITextViewDelegate' is unavailable in watchOS
 95 |
 96 | @MainActor
 97 | final class RichTextCoordinator: NSObject, UITextViewDelegate {
    |                                            `- error: 'UITextViewDelegate' is unavailable in watchOS
 98 |     var text: Binding<NSAttributedString>
 99 |     weak var context: RichTextContext?
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:36:11: note: 'UITextViewDelegate' has been explicitly marked unavailable here
 34 |
 35 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 36 | @protocol UITextViewDelegate <NSObject, UIScrollViewDelegate>
    |           `- note: 'UITextViewDelegate' has been explicitly marked unavailable here
 37 |
 38 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:20:27: error: 'UILabel' is unavailable in watchOS
18 |     override var undoManager: UndoManager? { editorUndoManager }
19 |
20 |     let placeholderLabel: UILabel = {
   |                           `- error: 'UILabel' is unavailable in watchOS
21 |         let label = UILabel()
22 |         label.numberOfLines = 0
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:21:21: error: 'UILabel' is unavailable in watchOS
19 |
20 |     let placeholderLabel: UILabel = {
21 |         let label = UILabel()
   |                     `- error: 'UILabel' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
 31 |
 32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
    |            `- note: 'UILabel' has been explicitly marked unavailable here
 34 |
 35 | @property(nullable, nonatomic,copy)   NSString           *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:21:21: error: 'init()' is unavailable in watchOS
19 |
20 |     let placeholderLabel: UILabel = {
21 |         let label = UILabel()
   |                     `- error: 'init()' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
    | `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;  // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:24:15: error: 'isAccessibilityElement' is unavailable in watchOS
22 |         label.numberOfLines = 0
23 |         label.isUserInteractionEnabled = false
24 |         label.isAccessibilityElement = false
   |               `- error: 'isAccessibilityElement' is unavailable in watchOS
25 |         return label
26 |     }()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
 50 |  Setting the property to YES will cause the receiver to be visible to assistive applications.
 51 |  */
 52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
    |                            `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
 53 |
 54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:28:49: error: 'NSTextContainer' is unavailable in watchOS
26 |     }()
27 |
28 |     override init(frame: CGRect, textContainer: NSTextContainer?) {
   |                                                 `- error: 'NSTextContainer' is unavailable in watchOS
29 |         super.init(frame: frame, textContainer: textContainer)
30 |         addSubview(placeholderLabel)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
 34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
 35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
 36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
    |            `- note: 'NSTextContainer' has been explicitly marked unavailable here
 37 |
 38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:55:19: error: cannot override 'paste' which has been marked unavailable
53 |     }
54 |
55 |     override func paste(_ sender: Any?) {
   |                   |- error: cannot override 'paste' which has been marked unavailable
   |                   `- note: remove 'override' modifier to declare a new 'paste'
56 |         guard pastesPlainText, let string = UIPasteboard.general.string else {
57 |             super.paste(sender)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:36:1: note: 'paste' has been explicitly marked unavailable here
 34 | - (void)cut:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 35 | - (void)copy:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
 36 | - (void)paste:(nullable id)sender API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
    | `- note: 'paste' has been explicitly marked unavailable here
 37 | - (void)pasteAndMatchStyle:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
 38 | - (void)pasteAndGo:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift:4:27: error: 'UITextView' is unavailable in watchOS
 2 |
 3 | /// `UITextView` with a placeholder, plain-text pasting and its own undo manager.
 4 | final class RichTextView: UITextView {
   |                           `- error: 'UITextView' is unavailable in watchOS
 5 |     var pastesPlainText = true
 6 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
    |            `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
Failed frontend command:
/Applications/Xcode-27.0.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/Sources/MossTextEditor/NSAttributedString+RichTextData.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextContext.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextStyles.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextToolbar.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextView.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.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/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64_32/MossTextEditor-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name MossTextEditor -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64_32/MossTextEditor_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.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/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64_32/MossTextEditor.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64_32/MossTextEditor.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64_32/MossTextEditor-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64_32/MossTextEditor-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64_32/MossTextEditor-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64_32/MossTextEditor.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MossTextEditor.build/Debug-watchos/MossTextEditor-t.build/Objects-normal/arm64_32/MossTextEditor.abi.json
SwiftCompile normal arm64_32 (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64_32 Compiling\ RichTextEditor.swift /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift (in target 'MossTextEditor' from project 'MossTextEditor')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MossTextEditor/RichTextEditor.swift (in target 'MossTextEditor' from project 'MossTextEditor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RichTextEditor.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-10-09 08:46:44.579 xcodebuild[816:4829] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-10-09 08:46:44.719 xcodebuild[816:4829] [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\ MossTextEditor (in target 'MossTextEditor' from project 'MossTextEditor')
	SwiftCompile normal arm64 (in target 'MossTextEditor' from project 'MossTextEditor')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ MossTextEditor (in target 'MossTextEditor' from project 'MossTextEditor')
	SwiftCompile normal arm64_32 (in target 'MossTextEditor' from project 'MossTextEditor')
	Building workspace MossTextEditor with scheme MossTextEditor
(5 failures)
BUILD FAILURE 6.4 watchOS