Build Information
Failed to build swift-markdown-ui, reference main (f21442), with Swift 6.4 for watchOS using Xcode 27.0 on 3 Nov 2026 03:21:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swift-markdown-ui-Package -destination generic/platform=watchOSBuild Log
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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1248:35: error: 'UITextView' is unavailable in watchOS
1246 | }
1247 |
1248 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UITextView' is unavailable in watchOS
1249 | guard let field = textView as? MarkdownTableCellTextView,
1250 | let editor = field.markdownEditor, let controller else {
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1248:100: error: 'UIMenuElement' is unavailable in watchOS
1246 | }
1247 |
1248 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UIMenuElement' is unavailable in watchOS
1249 | guard let field = textView as? MarkdownTableCellTextView,
1250 | let editor = field.markdownEditor, let controller else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:56:12: note: 'UIMenuElement' has been explicitly marked unavailable here
54 |
55 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
56 | @interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UIMenuElement' has been explicitly marked unavailable here
57 |
58 | /// The element's title.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1248:119: error: 'UIMenu' is unavailable in watchOS
1246 | }
1247 |
1248 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UIMenu' is unavailable in watchOS
1249 | guard let field = textView as? MarkdownTableCellTextView,
1250 | let editor = field.markdownEditor, let controller else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIMenu : UIMenuElement
| `- note: 'UIMenu' has been explicitly marked unavailable here
44 |
45 | /// Unique identifier.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1274:53: error: 'UITextView' is unavailable in watchOS
1272 | }
1273 |
1274 | func textViewDidChangeSelection(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1275 | guard let field = textView as? MarkdownTableCellTextView, field.isFirstResponder, let controller else {
1276 | return
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1545:60: error: cannot find type 'MarkdownTextView' in scope
1543 |
1544 | /// Invalidates only the fragment holding this table; later fragments move during relayout.
1545 | private func invalidateAttachmentLayout(in editor: MarkdownTextView, manager: NSTextLayoutManager) {
| `- error: cannot find type 'MarkdownTextView' in scope
1546 | let storage = editor.textStorage
1547 | var attachmentRange: NSRange?
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1545:87: error: 'NSTextLayoutManager' is unavailable in watchOS
1543 |
1544 | /// Invalidates only the fragment holding this table; later fragments move during relayout.
1545 | private func invalidateAttachmentLayout(in editor: MarkdownTextView, manager: NSTextLayoutManager) {
| `- error: 'NSTextLayoutManager' is unavailable in watchOS
1546 | let storage = editor.textStorage
1547 | var attachmentRange: NSRange?
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextLayoutManager.h:66:12: note: 'NSTextLayoutManager' has been explicitly marked unavailable here
64 | /// participates in the content layout process.
65 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
66 | @interface NSTextLayoutManager : NSObject <NSSecureCoding, NSTextSelectionDataSource>
| `- note: 'NSTextLayoutManager' has been explicitly marked unavailable here
67 | #pragma mark Initialization
68 | /// Creates a new text layout manager.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1142:56: error: 'UIView' is unavailable in watchOS
1140 | }
1141 |
1142 | @MainActor final class UIKitMarkdownTableGridView: UIView, UITextViewDelegate {
| `- error: 'UIView' is unavailable in watchOS
1143 | private(set) var attachmentResizeCount = 0
1144 | /// Character range whose layout the most recent resize invalidated.
/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.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1142:64: error: 'UITextViewDelegate' is unavailable in watchOS
1140 | }
1141 |
1142 | @MainActor final class UIKitMarkdownTableGridView: UIView, UITextViewDelegate {
| `- error: 'UITextViewDelegate' is unavailable in watchOS
1143 | private(set) var attachmentResizeCount = 0
1144 | /// Character range whose layout the most recent resize invalidated.
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1248:14: error: cannot override 'textView' which has been marked unavailable
1246 | }
1247 |
1248 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: cannot override 'textView' which has been marked unavailable
1249 | guard let field = textView as? MarkdownTableCellTextView,
1250 | let editor = field.markdownEditor, let controller else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:73:1: note: 'textView(_:editMenuForTextIn:suggestedActions:)' has been explicitly marked unavailable here
71 | * @return Return a UIMenu describing the desired menu hierarchy. Return @c nil to present the default system menu.
72 | */
73 | - (nullable UIMenu *)textView:(UITextView *)textView editMenuForTextInRange:(NSRange)range suggestedActions:(NSArray<UIMenuElement *> *)suggestedActions API_UNAVAILABLE(watchos) API_DEPRECATED_WITH_REPLACEMENT("-textView:editMenuForTextInRanges:suggestedActions:", ios(16.0, API_TO_BE_DEPRECATED));
| `- note: 'textView(_:editMenuForTextIn:suggestedActions:)' has been explicitly marked unavailable here
74 |
75 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1595:63: error: 'UIStackView' is unavailable in watchOS
1593 | }
1594 |
1595 | @MainActor private final class MarkdownTableRowStackView: UIStackView {
| `- error: 'UIStackView' is unavailable in watchOS
1596 | private(set) lazy var heightConstraint = heightAnchor.constraint(equalToConstant: 28)
1597 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1652:40: error: 'UITextRange' is unavailable in watchOS
1650 | }
1651 |
1652 | override func replace(_ range: UITextRange, withText text: String) {
| `- error: 'UITextRange' is unavailable in watchOS
1653 | if isEditable {
1654 | super.replace(range, withText: text)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:307:12: note: 'UITextRange' has been explicitly marked unavailable here
305 |
306 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
307 | @interface UITextRange : NSObject
| `- note: 'UITextRange' has been explicitly marked unavailable here
308 |
309 | @property (nonatomic, readonly, getter=isEmpty) BOOL empty; // Whether the range is zero-length.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1669:36: error: 'UIKeyCommand' is unavailable in watchOS
1667 | }
1668 |
1669 | override var keyCommands: [UIKeyCommand]? {
| `- error: 'UIKeyCommand' is unavailable in watchOS
1670 | [
1671 | UIKeyCommand(input: "\t", modifierFlags: [], action: #selector(tabForward)),
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h:18:12: note: 'UIKeyCommand' has been explicitly marked unavailable here
16 | #pragma clang diagnostic ignored "-Wunguarded-availability"
17 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIKeyCommand : UICommand
| `- note: 'UIKeyCommand' has been explicitly marked unavailable here
19 | #pragma clang diagnostic pop
20 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1691:29: error: cannot find type 'MarkdownTextView' in scope
1689 | }
1690 |
1691 | var markdownEditor: MarkdownTextView? {
| `- error: cannot find type 'MarkdownTextView' in scope
1692 | var ancestor = superview
1693 | while let view = ancestor {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1599:63: error: 'UITextView' is unavailable in watchOS
1597 | }
1598 |
1599 | @MainActor private final class MarkdownTableCellTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
1600 | var position: MarkdownTableCellPosition
1601 | var onTab: ((Bool) -> Void)?
/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_32 (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
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/MarkdownUIEditor/Clipboard/MarkdownEditorClipboard.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/HeadingSlugger.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownEditingEngine.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownEditorCommand.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownEditorLink.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownLogicalSelection.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownTypingShortcut.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownEditorImageLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownEditorImageLoadingPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownBlock.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownDocument.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownInline.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownTable.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Parsing/MarkdownDocument+CMark.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/AppKit/MarkdownTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/UIKit/UIKitMarkdownTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/EditorNodeIdentity.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/MarkdownProjectionBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/MarkdownSemanticAttributes.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/OffsetMapSegment.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/ProjectionIndex.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/ProjectionRanges.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/ProjectionUnit.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/SourceSelection.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/MarkdownEditingSession.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/TextViewBridge.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/SwiftUI/MarkdownEditor.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/SwiftUI/MarkdownEditorContext.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/SwiftUI/MarkdownEditorTheme+SwiftUI.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Theme/MarkdownEditorTheme.swift -target arm64_32-apple-watchos10.0 -module-can-import-version SwiftUI 8.0.84.1 8.0.84 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -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/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/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64_32/MarkdownUIEditor-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/PackageFrameworks -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 -profile-generate -profile-coverage-mapping -swift-version 6 -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 -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/extensions/include/module.modulemap -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/.dependencies/checkouts/swift-cmark/src/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/extensions/include -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/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name MarkdownUIEditor -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64_32/MarkdownUIEditor_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/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64_32/MarkdownUIEditor.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64_32/MarkdownUIEditor.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64_32/MarkdownUIEditor-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64_32/MarkdownUIEditor-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64_32/MarkdownUIEditor-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64_32/MarkdownUIEditor.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64_32/MarkdownUIEditor.abi.json
SwiftCompile normal arm64_32 Compiling\ MarkdownTextView.swift,\ MarkdownTaskCheckboxLayer.swift,\ UIKitMarkdownTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/AppKit/MarkdownTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/UIKit/UIKitMarkdownTextView.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/AppKit/MarkdownTextView.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownTextView.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownTaskCheckboxLayer.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/UIKit/UIKitMarkdownTextView.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIKitMarkdownTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift:11:51: error: 'CAShapeLayer' is unavailable in watchOS
9 |
10 | /// Draws task markers sized to the theme's body font.
11 | @MainActor final class MarkdownTaskCheckboxLayer: CAShapeLayer {
| `- error: 'CAShapeLayer' is unavailable in watchOS
12 | private struct ShapeConfiguration: Equatable {
13 | let size: CGFloat
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift:41:36: error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
39 | func update(textRect: CGRect, checked: Bool, color: CGColor, theme: MarkdownEditorTheme) {
40 | if shapeConfiguration == nil {
41 | actions = ["position": NSNull(), "bounds": NSNull(), "path": NSNull(), "strokeColor": NSNull()]
| `- error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
42 | fillColor = nil
43 | lineCap = .round
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:960:1: note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
958 |
959 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
960 | @interface NSNull (CAActionAdditions) <CAAction>
| `- note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
961 |
962 | @end
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift:41:56: error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
39 | func update(textRect: CGRect, checked: Bool, color: CGColor, theme: MarkdownEditorTheme) {
40 | if shapeConfiguration == nil {
41 | actions = ["position": NSNull(), "bounds": NSNull(), "path": NSNull(), "strokeColor": NSNull()]
| `- error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
42 | fillColor = nil
43 | lineCap = .round
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:960:1: note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
958 |
959 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
960 | @interface NSNull (CAActionAdditions) <CAAction>
| `- note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
961 |
962 | @end
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift:41:74: error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
39 | func update(textRect: CGRect, checked: Bool, color: CGColor, theme: MarkdownEditorTheme) {
40 | if shapeConfiguration == nil {
41 | actions = ["position": NSNull(), "bounds": NSNull(), "path": NSNull(), "strokeColor": NSNull()]
| `- error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
42 | fillColor = nil
43 | lineCap = .round
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:960:1: note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
958 |
959 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
960 | @interface NSNull (CAActionAdditions) <CAAction>
| `- note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
961 |
962 | @end
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift:41:99: error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
39 | func update(textRect: CGRect, checked: Bool, color: CGColor, theme: MarkdownEditorTheme) {
40 | if shapeConfiguration == nil {
41 | actions = ["position": NSNull(), "bounds": NSNull(), "path": NSNull(), "strokeColor": NSNull()]
| `- error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
42 | fillColor = nil
43 | lineCap = .round
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:960:1: note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
958 |
959 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
960 | @interface NSNull (CAActionAdditions) <CAAction>
| `- note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
961 |
962 | @end
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift:43:24: error: 'round' is unavailable in watchOS
41 | actions = ["position": NSNull(), "bounds": NSNull(), "path": NSNull(), "strokeColor": NSNull()]
42 | fillColor = nil
43 | lineCap = .round
| `- error: 'round' is unavailable in watchOS
44 | lineJoin = .round
45 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:128:37: note: 'round' has been explicitly marked unavailable here
126 | CA_EXTERN CAShapeLayerLineCap const kCALineCapButt
127 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
128 | CA_EXTERN CAShapeLayerLineCap const kCALineCapRound
| `- note: 'round' has been explicitly marked unavailable here
129 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
130 | CA_EXTERN CAShapeLayerLineCap const kCALineCapSquare
SwiftEmitModule normal arm64 Emitting\ module\ for\ MarkdownUIEditor (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Clipboard/MarkdownEditorClipboard.swift:44:28: error: 'UIPasteboard' is unavailable in watchOS
42 | markdown: String,
43 | plainText: String,
44 | to pasteboard: UIPasteboard = .general
| `- error: 'UIPasteboard' is unavailable in watchOS
45 | ) {
46 | pasteboard.setItems([[
/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/MarkdownUIEditor/Clipboard/MarkdownEditorClipboard.swift:53:50: error: 'UIPasteboard' is unavailable in watchOS
51 |
52 | /// Reads Markdown and plain text from a UIKit pasteboard.
53 | public static func read(from pasteboard: UIPasteboard = .general) -> MarkdownClipboardPayload? {
| `- error: 'UIPasteboard' is unavailable in watchOS
54 | let markdown = string(forType: UTType.markdown.identifier, from: pasteboard)
55 | let plainText = string(forType: UTType.plainText.identifier, from: pasteboard) ?? pasteboard.string
/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/MarkdownUIEditor/Clipboard/MarkdownEditorClipboard.swift:62:75: error: 'UIPasteboard' is unavailable in watchOS
60 | }
61 |
62 | private static func string(forType type: String, from pasteboard: UIPasteboard) -> String? {
| `- error: 'UIPasteboard' is unavailable in watchOS
63 | for item in pasteboard.items {
64 | if let value = item[type] as? String {
/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/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:260:32: error: 'NSTextContainer' is unavailable in watchOS
258 | /// measuring its cells' text asks for it with an unlimited line.
259 | override public func attachmentBounds(
260 | for textContainer: NSTextContainer?,
| `- error: 'NSTextContainer' is unavailable in watchOS
261 | proposedLineFragment lineFrag: CGRect,
262 | glyphPosition position: CGPoint,
/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/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:259:30: error: cannot override 'attachmentBounds' which has been marked unavailable
257 | /// Sizes the image view for the line it is laid out in. TextKit 2 asks for this too, and a table
258 | /// measuring its cells' text asks for it with an unlimited line.
259 | override public func attachmentBounds(
| |- error: cannot override 'attachmentBounds' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'attachmentBounds'
260 | for textContainer: NSTextContainer?,
261 | proposedLineFragment lineFrag: CGRect,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:326:1: note: 'attachmentBounds(for:proposedLineFragment:glyphPosition:characterIndex:)' has been explicitly marked unavailable here
324 |
325 | // Returns the layout bounds to the layout manager. The bounds origin is interpreted to match position inside lineFrag. The NSTextAttachment implementation returns -bounds if not CGRectZero; otherwise, it derives the bounds value from -[image size]. Conforming objects can implement more sophisticated logic for negotiating the frame size based on the available container space and proposed line fragment rect.
326 | - (CGRect)attachmentBoundsForTextContainer:(nullable NSTextContainer *)textContainer proposedLineFragment:(CGRect)lineFrag glyphPosition:(CGPoint)position characterIndex:(NSUInteger)charIndex API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'attachmentBounds(for:proposedLineFragment:glyphPosition:characterIndex:)' has been explicitly marked unavailable here
327 |
328 | @end
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:271:33: error: 'UIView' is unavailable in watchOS
269 | /// Returns a UIKit attachment view provider for this image.
270 | override public func viewProvider(
271 | for parentView: UIView?,
| `- error: 'UIView' is unavailable in watchOS
272 | location: any NSTextLocation,
273 | textContainer: NSTextContainer?
/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.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:273:32: error: 'NSTextContainer' is unavailable in watchOS
271 | for parentView: UIView?,
272 | location: any NSTextLocation,
273 | textContainer: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
274 | ) -> NSTextAttachmentViewProvider? {
275 | MarkdownImageAttachmentViewProvider(
/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/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:274:18: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
272 | location: any NSTextLocation,
273 | textContainer: NSTextContainer?
274 | ) -> NSTextAttachmentViewProvider? {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
275 | MarkdownImageAttachmentViewProvider(
276 | textAttachment: self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:244:12: note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
242 | /// iOS 15 and later.
243 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
244 | @interface NSTextAttachmentViewProvider : NSObject
| `- note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
245 | /// Creates a new text attachment view whose content starts at the location you provide.
246 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:270:34: error: cannot override 'viewProvider' which has been marked unavailable
268 | #if canImport(UIKit)
269 | /// Returns a UIKit attachment view provider for this image.
270 | override public func viewProvider(
| |- error: cannot override 'viewProvider' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'viewProvider'
271 | for parentView: UIView?,
272 | location: any NSTextLocation,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:87:1: note: 'viewProvider(for:location:textContainer:)' has been explicitly marked unavailable here
85 | ///
86 | /// - Returns: An ``NSTextAttachmentViewProvider``.
87 | - (nullable NSTextAttachmentViewProvider *)viewProviderForParentView:(nullable UIView *)parentView location:(id <NSTextLocation>)location textContainer:(nullable NSTextContainer *)textContainer API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'viewProvider(for:location:textContainer:)' has been explicitly marked unavailable here
88 | @end
89 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:302:61: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
300 | #if canImport(UIKit)
301 | /// Creates the UIKit view for a `MarkdownImageAttachment` and starts image loading.
302 | public final class MarkdownImageAttachmentViewProvider: NSTextAttachmentViewProvider {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
303 | /// Creates and starts loading the native UIKit image view.
304 | override public func loadView() {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:244:12: note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
242 | /// iOS 15 and later.
243 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
244 | @interface NSTextAttachmentViewProvider : NSObject
| `- note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
245 | /// Creates a new text attachment view whose content starts at the location you provide.
246 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:322:33: error: 'UIImageView' is unavailable in watchOS
320 |
321 | @MainActor private final class UIKitMarkdownImageView: UIView {
322 | private let imageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
323 | private let altLabel = UILabel()
324 | private let loader: MarkdownImageViewLoader
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:322:33: error: 'init()' is unavailable in watchOS
320 |
321 | @MainActor private final class UIKitMarkdownImageView: UIView {
322 | private let imageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
323 | private let altLabel = UILabel()
324 | private let loader: MarkdownImageViewLoader
/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/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:323:32: error: 'UILabel' is unavailable in watchOS
321 | @MainActor private final class UIKitMarkdownImageView: UIView {
322 | private let imageView = UIImageView()
323 | private let altLabel = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
324 | private let loader: MarkdownImageViewLoader
325 |
/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/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:323:32: error: 'init()' is unavailable in watchOS
321 | @MainActor private final class UIKitMarkdownImageView: UIView {
322 | private let imageView = UIImageView()
323 | private let altLabel = UILabel()
| `- error: 'init()' is unavailable in watchOS
324 | private let loader: MarkdownImageViewLoader
325 |
/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/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:321:60: error: 'UIView' is unavailable in watchOS
319 | }
320 |
321 | @MainActor private final class UIKitMarkdownImageView: UIView {
| `- error: 'UIView' is unavailable in watchOS
322 | private let imageView = UIImageView()
323 | private let altLabel = UILabel()
/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.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift:11:51: error: 'CAShapeLayer' is unavailable in watchOS
9 |
10 | /// Draws task markers sized to the theme's body font.
11 | @MainActor final class MarkdownTaskCheckboxLayer: CAShapeLayer {
| `- error: 'CAShapeLayer' is unavailable in watchOS
12 | private struct ShapeConfiguration: Equatable {
13 | let size: CGFloat
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/MarkdownProjectionBuilder.swift:74:22: error: 'NSTextStorage' is unavailable in watchOS
72 | mutating func reconcileRichLeaf(
73 | at path: EditorNodePath,
74 | textStorage: NSTextStorage,
| `- error: 'NSTextStorage' is unavailable in watchOS
75 | projectionLength: Int,
76 | kind: ProjectionUnit.Kind? = nil
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
44 | /// `edited:range:changeInLength:` to get everything else to happen.
45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
| `- note: 'NSTextStorage' has been explicitly marked unavailable here
47 | /**************************** Pending edit info ****************************/
48 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/MarkdownProjectionBuilder.swift:131:89: error: 'NSTextStorage' is unavailable in watchOS
129 |
130 | /// Records native text that now matches a fresh projection of `document`.
131 | mutating func didRenderChangedBlocks(of document: MarkdownDocument, in textStorage: NSTextStorage) {
| `- error: 'NSTextStorage' is unavailable in watchOS
132 | attributedString = textStorage
133 | sourceDocument = document
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
44 | /// `edited:range:changeInLength:` to get everything else to happen.
45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
| `- note: 'NSTextStorage' has been explicitly marked unavailable here
47 | /**************************** Pending edit info ****************************/
48 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/MarkdownEditingSession.swift:1097:90: error: 'NSTextStorage' is unavailable in watchOS
1095 |
1096 | /// Keeps callbacks of attachments after inserted or removed blocks pointing at their blocks.
1097 | func shiftAttachmentPaths(in range: NSRange, by blockDelta: Int, in textStorage: NSTextStorage) {
| `- error: 'NSTextStorage' is unavailable in watchOS
1098 | textStorage.enumerateAttribute(.attachment, in: range) { value, _, _ in
1099 | let reference = (value as? MarkdownTableAttachment)?.pathReference
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
44 | /// `edited:range:changeInLength:` to get everything else to happen.
45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
| `- note: 'NSTextStorage' has been explicitly marked unavailable here
47 | /**************************** Pending edit info ****************************/
48 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/MarkdownEditingSession.swift:1108:53: error: 'NSTextStorage' is unavailable in watchOS
1106 |
1107 | /// Gives kept tables the cell focus a full projection would give their new attachments.
1108 | func restoreTableSelections(in textStorage: NSTextStorage) {
| `- error: 'NSTextStorage' is unavailable in watchOS
1109 | let range = NSRange(location: 0, length: textStorage.length)
1110 | textStorage.enumerateAttribute(.attachment, in: range) { value, _, _ in
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
44 | /// `edited:range:changeInLength:` to get everything else to happen.
45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
| `- note: 'NSTextStorage' has been explicitly marked unavailable here
47 | /**************************** Pending edit info ****************************/
48 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/MarkdownEditingSession.swift:1485:29: error: 'NSTextStorage' is unavailable in watchOS
1483 | func typingAttributes(
1484 | at offset: Int,
1485 | in textStorage: NSTextStorage
| `- error: 'NSTextStorage' is unavailable in watchOS
1486 | ) -> [NSAttributedString.Key: Any] {
1487 | guard textStorage.length > 0 else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
44 | /// `edited:range:changeInLength:` to get everything else to happen.
45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
| `- note: 'NSTextStorage' has been explicitly marked unavailable here
47 | /**************************** Pending edit info ****************************/
48 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/MarkdownEditingSession.swift:1512:29: error: 'NSTextStorage' is unavailable in watchOS
1510 | at offset: Int,
1511 | from attributes: inout [NSAttributedString.Key: Any],
1512 | in textStorage: NSTextStorage
| `- error: 'NSTextStorage' is unavailable in watchOS
1513 | ) {
1514 | let next = offset < textStorage.length ? textStorage.attributes(at: offset, effectiveRange: nil) : [:]
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
44 | /// `edited:range:changeInLength:` to get everything else to happen.
45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
| `- note: 'NSTextStorage' has been explicitly marked unavailable here
47 | /**************************** Pending edit info ****************************/
48 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/TextViewBridge.swift:15:34: error: 'NSTextStorage' is unavailable in watchOS
13 | @MainActor protocol TextViewBridge: AnyObject {
14 | /// Native storage containing the current rich-text projection.
15 | var markdownTextStorage: NSTextStorage { get }
| `- error: 'NSTextStorage' is unavailable in watchOS
16 | /// Native selections, expressed in projection UTF-16 offsets.
17 | var markdownSelectedRanges: [NSRange] { get set }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
44 | /// `edited:range:changeInLength:` to get everything else to happen.
45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
| `- note: 'NSTextStorage' has been explicitly marked unavailable here
47 | /**************************** Pending edit info ****************************/
48 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:974:24: error: 'NSTextContainer' is unavailable in watchOS
972 | private func markdownTableAvailableWidth(
973 | parentWidth: CGFloat,
974 | textContainer: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
975 | ) -> CGFloat? {
976 | if let textContainer {
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1053:33: error: 'UIView' is unavailable in watchOS
1051 | /// Returns the UIKit grid provider for this attachment.
1052 | override public func viewProvider(
1053 | for parentView: UIView?,
| `- error: 'UIView' is unavailable in watchOS
1054 | location: any NSTextLocation,
1055 | textContainer: NSTextContainer?
/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.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1055:32: error: 'NSTextContainer' is unavailable in watchOS
1053 | for parentView: UIView?,
1054 | location: any NSTextLocation,
1055 | textContainer: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
1056 | ) -> NSTextAttachmentViewProvider? {
1057 | let provider = MarkdownTableAttachmentViewProvider(
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1056:18: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
1054 | location: any NSTextLocation,
1055 | textContainer: NSTextContainer?
1056 | ) -> NSTextAttachmentViewProvider? {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
1057 | let provider = MarkdownTableAttachmentViewProvider(
1058 | textAttachment: self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:244:12: note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
242 | /// iOS 15 and later.
243 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
244 | @interface NSTextAttachmentViewProvider : NSObject
| `- note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
245 | /// Creates a new text attachment view whose content starts at the location you provide.
246 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1052:34: error: cannot override 'viewProvider' which has been marked unavailable
1050 | #if canImport(UIKit)
1051 | /// Returns the UIKit grid provider for this attachment.
1052 | override public func viewProvider(
| |- error: cannot override 'viewProvider' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'viewProvider'
1053 | for parentView: UIView?,
1054 | location: any NSTextLocation,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:87:1: note: 'viewProvider(for:location:textContainer:)' has been explicitly marked unavailable here
85 | ///
86 | /// - Returns: An ``NSTextAttachmentViewProvider``.
87 | - (nullable NSTextAttachmentViewProvider *)viewProviderForParentView:(nullable UIView *)parentView location:(id <NSTextLocation>)location textContainer:(nullable NSTextContainer *)textContainer API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'viewProvider(for:location:textContainer:)' has been explicitly marked unavailable here
88 | @end
89 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1103:28: error: 'NSTextContainer' is unavailable in watchOS
1101 | for attributes: [NSAttributedString.Key: Any],
1102 | location: any NSTextLocation,
1103 | textContainer: NSTextContainer?,
| `- error: 'NSTextContainer' is unavailable in watchOS
1104 | proposedLineFragment: CGRect,
1105 | position: CGPoint
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1097:61: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
1095 | #if canImport(UIKit)
1096 | /// Creates the UIKit view used to edit a `MarkdownTableAttachment`.
1097 | public final class MarkdownTableAttachmentViewProvider: NSTextAttachmentViewProvider {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
1098 | var availableWidth: CGFloat?
1099 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:244:12: note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
242 | /// iOS 15 and later.
243 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
244 | @interface NSTextAttachmentViewProvider : NSObject
| `- note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
245 | /// Creates a new text attachment view whose content starts at the location you provide.
246 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1158:64: error: value of type 'MarkdownEditorTheme' has no member 'scaled'
1156 | /// Projects cell text at this grid's text size when the table has no editor theme.
1157 | /// An editor's theme comes already scaled to the editor's text size.
1158 | private lazy var cellTheme = MarkdownEditorTheme.basic.scaled(to: traitCollection.preferredContentSizeCategory)
| `- error: value of type 'MarkdownEditorTheme' has no member 'scaled'
1159 |
1160 | init(controller: MarkdownTableController, maximumWidth: CGFloat?) {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1149:29: error: 'UIStackView' is unavailable in watchOS
1147 | private weak var controller: MarkdownTableController?
1148 | private var maximumWidth: CGFloat?
1149 | private let stack = UIStackView()
| `- error: 'UIStackView' is unavailable in watchOS
1150 | private var fields: [MarkdownTableCellPosition: MarkdownTableCellTextView] = [:]
1151 | private var columnWidthConstraints: [[NSLayoutConstraint]] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1149:29: error: 'init()' is unavailable in watchOS
1147 | private weak var controller: MarkdownTableController?
1148 | private var maximumWidth: CGFloat?
1149 | private let stack = UIStackView()
| `- error: 'init()' is unavailable in watchOS
1150 | private var fields: [MarkdownTableCellPosition: MarkdownTableCellTextView] = [:]
1151 | private var columnWidthConstraints: [[NSLayoutConstraint]] = []
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1151:47: error: 'NSLayoutConstraint' is unavailable in watchOS
1149 | private let stack = UIStackView()
1150 | private var fields: [MarkdownTableCellPosition: MarkdownTableCellTextView] = [:]
1151 | private var columnWidthConstraints: [[NSLayoutConstraint]] = []
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
1152 | private var isEditingCell = false
1153 | private var rowStacks: [MarkdownTableRowStackView] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1217:44: error: 'UITextView' is unavailable in watchOS
1215 | }
1216 |
1217 | func textViewDidChange(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1218 | guard let field = textView as? MarkdownTableCellTextView, let controller else {
1219 | return
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1233:50: error: 'UITextView' is unavailable in watchOS
1231 | }
1232 |
1233 | func textViewDidBeginEditing(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1234 | guard let field = textView as? MarkdownTableCellTextView, let controller else {
1235 | return
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1241:48: error: 'UITextView' is unavailable in watchOS
1239 | }
1240 |
1241 | func textViewDidEndEditing(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1242 | guard let field = textView as? MarkdownTableCellTextView else {
1243 | return
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1248:35: error: 'UITextView' is unavailable in watchOS
1246 | }
1247 |
1248 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UITextView' is unavailable in watchOS
1249 | guard let field = textView as? MarkdownTableCellTextView,
1250 | let editor = field.markdownEditor, let controller else {
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1248:100: error: 'UIMenuElement' is unavailable in watchOS
1246 | }
1247 |
1248 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UIMenuElement' is unavailable in watchOS
1249 | guard let field = textView as? MarkdownTableCellTextView,
1250 | let editor = field.markdownEditor, let controller else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:56:12: note: 'UIMenuElement' has been explicitly marked unavailable here
54 |
55 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
56 | @interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UIMenuElement' has been explicitly marked unavailable here
57 |
58 | /// The element's title.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1248:119: error: 'UIMenu' is unavailable in watchOS
1246 | }
1247 |
1248 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UIMenu' is unavailable in watchOS
1249 | guard let field = textView as? MarkdownTableCellTextView,
1250 | let editor = field.markdownEditor, let controller else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIMenu : UIMenuElement
| `- note: 'UIMenu' has been explicitly marked unavailable here
44 |
45 | /// Unique identifier.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1274:53: error: 'UITextView' is unavailable in watchOS
1272 | }
1273 |
1274 | func textViewDidChangeSelection(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1275 | guard let field = textView as? MarkdownTableCellTextView, field.isFirstResponder, let controller else {
1276 | return
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1545:60: error: cannot find type 'MarkdownTextView' in scope
1543 |
1544 | /// Invalidates only the fragment holding this table; later fragments move during relayout.
1545 | private func invalidateAttachmentLayout(in editor: MarkdownTextView, manager: NSTextLayoutManager) {
| `- error: cannot find type 'MarkdownTextView' in scope
1546 | let storage = editor.textStorage
1547 | var attachmentRange: NSRange?
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1545:87: error: 'NSTextLayoutManager' is unavailable in watchOS
1543 |
1544 | /// Invalidates only the fragment holding this table; later fragments move during relayout.
1545 | private func invalidateAttachmentLayout(in editor: MarkdownTextView, manager: NSTextLayoutManager) {
| `- error: 'NSTextLayoutManager' is unavailable in watchOS
1546 | let storage = editor.textStorage
1547 | var attachmentRange: NSRange?
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextLayoutManager.h:66:12: note: 'NSTextLayoutManager' has been explicitly marked unavailable here
64 | /// participates in the content layout process.
65 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
66 | @interface NSTextLayoutManager : NSObject <NSSecureCoding, NSTextSelectionDataSource>
| `- note: 'NSTextLayoutManager' has been explicitly marked unavailable here
67 | #pragma mark Initialization
68 | /// Creates a new text layout manager.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1142:56: error: 'UIView' is unavailable in watchOS
1140 | }
1141 |
1142 | @MainActor final class UIKitMarkdownTableGridView: UIView, UITextViewDelegate {
| `- error: 'UIView' is unavailable in watchOS
1143 | private(set) var attachmentResizeCount = 0
1144 | /// Character range whose layout the most recent resize invalidated.
/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.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1142:64: error: 'UITextViewDelegate' is unavailable in watchOS
1140 | }
1141 |
1142 | @MainActor final class UIKitMarkdownTableGridView: UIView, UITextViewDelegate {
| `- error: 'UITextViewDelegate' is unavailable in watchOS
1143 | private(set) var attachmentResizeCount = 0
1144 | /// Character range whose layout the most recent resize invalidated.
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1248:14: error: cannot override 'textView' which has been marked unavailable
1246 | }
1247 |
1248 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: cannot override 'textView' which has been marked unavailable
1249 | guard let field = textView as? MarkdownTableCellTextView,
1250 | let editor = field.markdownEditor, let controller else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:73:1: note: 'textView(_:editMenuForTextIn:suggestedActions:)' has been explicitly marked unavailable here
71 | * @return Return a UIMenu describing the desired menu hierarchy. Return @c nil to present the default system menu.
72 | */
73 | - (nullable UIMenu *)textView:(UITextView *)textView editMenuForTextInRange:(NSRange)range suggestedActions:(NSArray<UIMenuElement *> *)suggestedActions API_UNAVAILABLE(watchos) API_DEPRECATED_WITH_REPLACEMENT("-textView:editMenuForTextInRanges:suggestedActions:", ios(16.0, API_TO_BE_DEPRECATED));
| `- note: 'textView(_:editMenuForTextIn:suggestedActions:)' has been explicitly marked unavailable here
74 |
75 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1595:63: error: 'UIStackView' is unavailable in watchOS
1593 | }
1594 |
1595 | @MainActor private final class MarkdownTableRowStackView: UIStackView {
| `- error: 'UIStackView' is unavailable in watchOS
1596 | private(set) lazy var heightConstraint = heightAnchor.constraint(equalToConstant: 28)
1597 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1652:40: error: 'UITextRange' is unavailable in watchOS
1650 | }
1651 |
1652 | override func replace(_ range: UITextRange, withText text: String) {
| `- error: 'UITextRange' is unavailable in watchOS
1653 | if isEditable {
1654 | super.replace(range, withText: text)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:307:12: note: 'UITextRange' has been explicitly marked unavailable here
305 |
306 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
307 | @interface UITextRange : NSObject
| `- note: 'UITextRange' has been explicitly marked unavailable here
308 |
309 | @property (nonatomic, readonly, getter=isEmpty) BOOL empty; // Whether the range is zero-length.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1669:36: error: 'UIKeyCommand' is unavailable in watchOS
1667 | }
1668 |
1669 | override var keyCommands: [UIKeyCommand]? {
| `- error: 'UIKeyCommand' is unavailable in watchOS
1670 | [
1671 | UIKeyCommand(input: "\t", modifierFlags: [], action: #selector(tabForward)),
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h:18:12: note: 'UIKeyCommand' has been explicitly marked unavailable here
16 | #pragma clang diagnostic ignored "-Wunguarded-availability"
17 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIKeyCommand : UICommand
| `- note: 'UIKeyCommand' has been explicitly marked unavailable here
19 | #pragma clang diagnostic pop
20 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1691:29: error: cannot find type 'MarkdownTextView' in scope
1689 | }
1690 |
1691 | var markdownEditor: MarkdownTextView? {
| `- error: cannot find type 'MarkdownTextView' in scope
1692 | var ancestor = superview
1693 | while let view = ancestor {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1599:63: error: 'UITextView' is unavailable in watchOS
1597 | }
1598 |
1599 | @MainActor private final class MarkdownTableCellTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
1600 | var position: MarkdownTableCellPosition
1601 | var onTab: ((Bool) -> Void)?
/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/MarkdownUIEditor/Clipboard/MarkdownEditorClipboard.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/HeadingSlugger.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownEditingEngine.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownEditorCommand.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownEditorLink.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownLogicalSelection.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownTypingShortcut.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownEditorImageLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownEditorImageLoadingPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownBlock.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownDocument.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownInline.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownTable.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Parsing/MarkdownDocument+CMark.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/AppKit/MarkdownTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/UIKit/UIKitMarkdownTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/EditorNodeIdentity.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/MarkdownProjectionBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/MarkdownSemanticAttributes.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/OffsetMapSegment.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/ProjectionIndex.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/ProjectionRanges.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/ProjectionUnit.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/SourceSelection.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/MarkdownEditingSession.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/TextViewBridge.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/SwiftUI/MarkdownEditor.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/SwiftUI/MarkdownEditorContext.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/SwiftUI/MarkdownEditorTheme+SwiftUI.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Theme/MarkdownEditorTheme.swift -target arm64-apple-watchos10.0 -module-can-import-version SwiftUI 8.0.84.1 8.0.84 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -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/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/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64/MarkdownUIEditor-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/PackageFrameworks -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 -profile-generate -profile-coverage-mapping -swift-version 6 -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 -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/src/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/extensions/include/module.modulemap -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/.dependencies/checkouts/swift-cmark/src/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-cmark/extensions/include -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/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name MarkdownUIEditor -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64/MarkdownUIEditor_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/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64/MarkdownUIEditor.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64/MarkdownUIEditor.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64/MarkdownUIEditor-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64/MarkdownUIEditor-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64/MarkdownUIEditor-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64/MarkdownUIEditor.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64/MarkdownUIEditor.abi.json
SwiftCompile normal arm64 (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ProjectionUnit.swift,\ SourceSelection.swift,\ MarkdownEditingSession.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/ProjectionUnit.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/SourceSelection.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/MarkdownEditingSession.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/MarkdownEditingSession.swift:1097:90: error: 'NSTextStorage' is unavailable in watchOS
1095 |
1096 | /// Keeps callbacks of attachments after inserted or removed blocks pointing at their blocks.
1097 | func shiftAttachmentPaths(in range: NSRange, by blockDelta: Int, in textStorage: NSTextStorage) {
| `- error: 'NSTextStorage' is unavailable in watchOS
1098 | textStorage.enumerateAttribute(.attachment, in: range) { value, _, _ in
1099 | let reference = (value as? MarkdownTableAttachment)?.pathReference
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
44 | /// `edited:range:changeInLength:` to get everything else to happen.
45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
| `- note: 'NSTextStorage' has been explicitly marked unavailable here
47 | /**************************** Pending edit info ****************************/
48 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/MarkdownEditingSession.swift:1108:53: error: 'NSTextStorage' is unavailable in watchOS
1106 |
1107 | /// Gives kept tables the cell focus a full projection would give their new attachments.
1108 | func restoreTableSelections(in textStorage: NSTextStorage) {
| `- error: 'NSTextStorage' is unavailable in watchOS
1109 | let range = NSRange(location: 0, length: textStorage.length)
1110 | textStorage.enumerateAttribute(.attachment, in: range) { value, _, _ in
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
44 | /// `edited:range:changeInLength:` to get everything else to happen.
45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
| `- note: 'NSTextStorage' has been explicitly marked unavailable here
47 | /**************************** Pending edit info ****************************/
48 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/MarkdownEditingSession.swift:1485:29: error: 'NSTextStorage' is unavailable in watchOS
1483 | func typingAttributes(
1484 | at offset: Int,
1485 | in textStorage: NSTextStorage
| `- error: 'NSTextStorage' is unavailable in watchOS
1486 | ) -> [NSAttributedString.Key: Any] {
1487 | guard textStorage.length > 0 else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
44 | /// `edited:range:changeInLength:` to get everything else to happen.
45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
| `- note: 'NSTextStorage' has been explicitly marked unavailable here
47 | /**************************** Pending edit info ****************************/
48 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/ProjectionUnit.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ProjectionUnit.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/SourceSelection.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SourceSelection.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/MarkdownEditingSession.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownEditingSession.swift
SwiftCompile normal arm64_32 Compiling\ MarkdownEditorClipboard.swift,\ HeadingSlugger.swift,\ MarkdownEditingEngine.swift,\ MarkdownEditorCommand.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Clipboard/MarkdownEditorClipboard.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/HeadingSlugger.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownEditingEngine.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownEditorCommand.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Clipboard/MarkdownEditorClipboard.swift:44:28: error: 'UIPasteboard' is unavailable in watchOS
42 | markdown: String,
43 | plainText: String,
44 | to pasteboard: UIPasteboard = .general
| `- error: 'UIPasteboard' is unavailable in watchOS
45 | ) {
46 | pasteboard.setItems([[
/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/MarkdownUIEditor/Clipboard/MarkdownEditorClipboard.swift:53:50: error: 'UIPasteboard' is unavailable in watchOS
51 |
52 | /// Reads Markdown and plain text from a UIKit pasteboard.
53 | public static func read(from pasteboard: UIPasteboard = .general) -> MarkdownClipboardPayload? {
| `- error: 'UIPasteboard' is unavailable in watchOS
54 | let markdown = string(forType: UTType.markdown.identifier, from: pasteboard)
55 | let plainText = string(forType: UTType.plainText.identifier, from: pasteboard) ?? pasteboard.string
/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/MarkdownUIEditor/Clipboard/MarkdownEditorClipboard.swift:62:75: error: 'UIPasteboard' is unavailable in watchOS
60 | }
61 |
62 | private static func string(forType type: String, from pasteboard: UIPasteboard) -> String? {
| `- error: 'UIPasteboard' is unavailable in watchOS
63 | for item in pasteboard.items {
64 | if let value = item[type] as? String {
/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;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Clipboard/MarkdownEditorClipboard.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownEditorClipboard.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/HeadingSlugger.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HeadingSlugger.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownEditingEngine.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownEditingEngine.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownEditorCommand.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownEditorCommand.swift
SwiftCompile normal arm64 Compiling\ MarkdownTextView.swift,\ MarkdownTaskCheckboxLayer.swift,\ UIKitMarkdownTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/AppKit/MarkdownTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/UIKit/UIKitMarkdownTextView.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift:11:51: error: 'CAShapeLayer' is unavailable in watchOS
9 |
10 | /// Draws task markers sized to the theme's body font.
11 | @MainActor final class MarkdownTaskCheckboxLayer: CAShapeLayer {
| `- error: 'CAShapeLayer' is unavailable in watchOS
12 | private struct ShapeConfiguration: Equatable {
13 | let size: CGFloat
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift:41:36: error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
39 | func update(textRect: CGRect, checked: Bool, color: CGColor, theme: MarkdownEditorTheme) {
40 | if shapeConfiguration == nil {
41 | actions = ["position": NSNull(), "bounds": NSNull(), "path": NSNull(), "strokeColor": NSNull()]
| `- error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
42 | fillColor = nil
43 | lineCap = .round
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:960:1: note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
958 |
959 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
960 | @interface NSNull (CAActionAdditions) <CAAction>
| `- note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
961 |
962 | @end
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift:41:56: error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
39 | func update(textRect: CGRect, checked: Bool, color: CGColor, theme: MarkdownEditorTheme) {
40 | if shapeConfiguration == nil {
41 | actions = ["position": NSNull(), "bounds": NSNull(), "path": NSNull(), "strokeColor": NSNull()]
| `- error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
42 | fillColor = nil
43 | lineCap = .round
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:960:1: note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
958 |
959 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
960 | @interface NSNull (CAActionAdditions) <CAAction>
| `- note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
961 |
962 | @end
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift:41:74: error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
39 | func update(textRect: CGRect, checked: Bool, color: CGColor, theme: MarkdownEditorTheme) {
40 | if shapeConfiguration == nil {
41 | actions = ["position": NSNull(), "bounds": NSNull(), "path": NSNull(), "strokeColor": NSNull()]
| `- error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
42 | fillColor = nil
43 | lineCap = .round
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:960:1: note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
958 |
959 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
960 | @interface NSNull (CAActionAdditions) <CAAction>
| `- note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
961 |
962 | @end
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift:41:99: error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
39 | func update(textRect: CGRect, checked: Bool, color: CGColor, theme: MarkdownEditorTheme) {
40 | if shapeConfiguration == nil {
41 | actions = ["position": NSNull(), "bounds": NSNull(), "path": NSNull(), "strokeColor": NSNull()]
| `- error: conformance of 'NSNull' to 'CAAction' is unavailable in watchOS
42 | fillColor = nil
43 | lineCap = .round
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:960:1: note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
958 |
959 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
960 | @interface NSNull (CAActionAdditions) <CAAction>
| `- note: conformance of 'NSNull' to 'CAAction' has been explicitly marked unavailable here
961 |
962 | @end
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift:43:24: error: 'round' is unavailable in watchOS
41 | actions = ["position": NSNull(), "bounds": NSNull(), "path": NSNull(), "strokeColor": NSNull()]
42 | fillColor = nil
43 | lineCap = .round
| `- error: 'round' is unavailable in watchOS
44 | lineJoin = .round
45 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:128:37: note: 'round' has been explicitly marked unavailable here
126 | CA_EXTERN CAShapeLayerLineCap const kCALineCapButt
127 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
128 | CA_EXTERN CAShapeLayerLineCap const kCALineCapRound
| `- note: 'round' has been explicitly marked unavailable here
129 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos);
130 | CA_EXTERN CAShapeLayerLineCap const kCALineCapSquare
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/AppKit/MarkdownTextView.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownTextView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/MarkdownTaskCheckboxLayer.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownTaskCheckboxLayer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Platform/UIKit/UIKitMarkdownTextView.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIKitMarkdownTextView.swift
SwiftCompile normal arm64_32 Compiling\ MarkdownEditorLink.swift,\ MarkdownLogicalSelection.swift,\ MarkdownTypingShortcut.swift,\ MarkdownEditorImageLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownEditorLink.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownLogicalSelection.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownTypingShortcut.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownEditorImageLoader.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownEditorImageLoader.swift:324:29: error: 'UITraitCollection' is unavailable in watchOS
322 | static func maximumPixelSize() -> Int {
323 | #if canImport(UIKit)
324 | let scale = UITraitCollection.current.displayScale
| `- error: 'UITraitCollection' is unavailable in watchOS
325 | #else
326 | let scale = NSScreen.screens.map(\.backingScaleFactor).max() ?? 0
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownEditorLink.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownEditorLink.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownLogicalSelection.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownLogicalSelection.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownTypingShortcut.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownTypingShortcut.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownEditorImageLoader.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownEditorImageLoader.swift
SwiftCompile normal arm64_32 Compiling\ MarkdownInline.swift,\ MarkdownTable.swift,\ MarkdownDocument+CMark.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownInline.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownTable.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Parsing/MarkdownDocument+CMark.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownInline.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownInline.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownTable.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownTable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Parsing/MarkdownDocument+CMark.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownDocument+CMark.swift
SwiftCompile normal arm64_32 Compiling\ MarkdownEditorImageLoadingPolicy.swift,\ MarkdownImageAttachment.swift,\ MarkdownBlock.swift,\ MarkdownDocument.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownEditorImageLoadingPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownBlock.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownDocument.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:260:32: error: 'NSTextContainer' is unavailable in watchOS
258 | /// measuring its cells' text asks for it with an unlimited line.
259 | override public func attachmentBounds(
260 | for textContainer: NSTextContainer?,
| `- error: 'NSTextContainer' is unavailable in watchOS
261 | proposedLineFragment lineFrag: CGRect,
262 | glyphPosition position: CGPoint,
/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/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:259:30: error: cannot override 'attachmentBounds' which has been marked unavailable
257 | /// Sizes the image view for the line it is laid out in. TextKit 2 asks for this too, and a table
258 | /// measuring its cells' text asks for it with an unlimited line.
259 | override public func attachmentBounds(
| |- error: cannot override 'attachmentBounds' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'attachmentBounds'
260 | for textContainer: NSTextContainer?,
261 | proposedLineFragment lineFrag: CGRect,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:326:1: note: 'attachmentBounds(for:proposedLineFragment:glyphPosition:characterIndex:)' has been explicitly marked unavailable here
324 |
325 | // Returns the layout bounds to the layout manager. The bounds origin is interpreted to match position inside lineFrag. The NSTextAttachment implementation returns -bounds if not CGRectZero; otherwise, it derives the bounds value from -[image size]. Conforming objects can implement more sophisticated logic for negotiating the frame size based on the available container space and proposed line fragment rect.
326 | - (CGRect)attachmentBoundsForTextContainer:(nullable NSTextContainer *)textContainer proposedLineFragment:(CGRect)lineFrag glyphPosition:(CGPoint)position characterIndex:(NSUInteger)charIndex API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'attachmentBounds(for:proposedLineFragment:glyphPosition:characterIndex:)' has been explicitly marked unavailable here
327 |
328 | @end
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:271:33: error: 'UIView' is unavailable in watchOS
269 | /// Returns a UIKit attachment view provider for this image.
270 | override public func viewProvider(
271 | for parentView: UIView?,
| `- error: 'UIView' is unavailable in watchOS
272 | location: any NSTextLocation,
273 | textContainer: NSTextContainer?
/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.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:273:32: error: 'NSTextContainer' is unavailable in watchOS
271 | for parentView: UIView?,
272 | location: any NSTextLocation,
273 | textContainer: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
274 | ) -> NSTextAttachmentViewProvider? {
275 | MarkdownImageAttachmentViewProvider(
/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/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:274:18: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
272 | location: any NSTextLocation,
273 | textContainer: NSTextContainer?
274 | ) -> NSTextAttachmentViewProvider? {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
275 | MarkdownImageAttachmentViewProvider(
276 | textAttachment: self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:244:12: note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
242 | /// iOS 15 and later.
243 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
244 | @interface NSTextAttachmentViewProvider : NSObject
| `- note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
245 | /// Creates a new text attachment view whose content starts at the location you provide.
246 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:270:34: error: cannot override 'viewProvider' which has been marked unavailable
268 | #if canImport(UIKit)
269 | /// Returns a UIKit attachment view provider for this image.
270 | override public func viewProvider(
| |- error: cannot override 'viewProvider' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'viewProvider'
271 | for parentView: UIView?,
272 | location: any NSTextLocation,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:87:1: note: 'viewProvider(for:location:textContainer:)' has been explicitly marked unavailable here
85 | ///
86 | /// - Returns: An ``NSTextAttachmentViewProvider``.
87 | - (nullable NSTextAttachmentViewProvider *)viewProviderForParentView:(nullable UIView *)parentView location:(id <NSTextLocation>)location textContainer:(nullable NSTextContainer *)textContainer API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'viewProvider(for:location:textContainer:)' has been explicitly marked unavailable here
88 | @end
89 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:302:61: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
300 | #if canImport(UIKit)
301 | /// Creates the UIKit view for a `MarkdownImageAttachment` and starts image loading.
302 | public final class MarkdownImageAttachmentViewProvider: NSTextAttachmentViewProvider {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
303 | /// Creates and starts loading the native UIKit image view.
304 | override public func loadView() {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:244:12: note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
242 | /// iOS 15 and later.
243 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
244 | @interface NSTextAttachmentViewProvider : NSObject
| `- note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
245 | /// Creates a new text attachment view whose content starts at the location you provide.
246 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:322:33: error: 'UIImageView' is unavailable in watchOS
320 |
321 | @MainActor private final class UIKitMarkdownImageView: UIView {
322 | private let imageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
323 | private let altLabel = UILabel()
324 | private let loader: MarkdownImageViewLoader
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:322:33: error: 'init()' is unavailable in watchOS
320 |
321 | @MainActor private final class UIKitMarkdownImageView: UIView {
322 | private let imageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
323 | private let altLabel = UILabel()
324 | private let loader: MarkdownImageViewLoader
/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/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:323:32: error: 'UILabel' is unavailable in watchOS
321 | @MainActor private final class UIKitMarkdownImageView: UIView {
322 | private let imageView = UIImageView()
323 | private let altLabel = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
324 | private let loader: MarkdownImageViewLoader
325 |
/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/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:323:32: error: 'init()' is unavailable in watchOS
321 | @MainActor private final class UIKitMarkdownImageView: UIView {
322 | private let imageView = UIImageView()
323 | private let altLabel = UILabel()
| `- error: 'init()' is unavailable in watchOS
324 | private let loader: MarkdownImageViewLoader
325 |
/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/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:321:60: error: 'UIView' is unavailable in watchOS
319 | }
320 |
321 | @MainActor private final class UIKitMarkdownImageView: UIView {
| `- error: 'UIView' is unavailable in watchOS
322 | private let imageView = UIImageView()
323 | private let altLabel = UILabel()
/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.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:230:13: error: 'allowsTextAttachmentView' is unavailable in watchOS
228 | self.onChange = onChange
229 | super.init(data: nil, ofType: "com.modernswiftdev.markdown-ui-editor.url-image")
230 | allowsTextAttachmentView = true
| `- error: 'allowsTextAttachmentView' is unavailable in watchOS
231 | lineLayoutPadding = 2
232 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:217:16: note: 'allowsTextAttachmentView' has been explicitly marked unavailable here
215 | /// ``NSTextAttachmentLayout/viewProvider(for:location:textContainer:)``.
216 | /// Default is `true`.
217 | @property BOOL allowsTextAttachmentView API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'allowsTextAttachmentView' has been explicitly marked unavailable here
218 |
219 | /// A Boolean value that indicates whether the text attachment is configured to use text attachment view providers.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:242:13: error: 'allowsTextAttachmentView' is unavailable in watchOS
240 | self.onChange = nil
241 | super.init(coder: coder)
242 | allowsTextAttachmentView = true
| `- error: 'allowsTextAttachmentView' is unavailable in watchOS
243 | }
244 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:217:16: note: 'allowsTextAttachmentView' has been explicitly marked unavailable here
215 | /// ``NSTextAttachmentLayout/viewProvider(for:location:textContainer:)``.
216 | /// Default is `true`.
217 | @property BOOL allowsTextAttachmentView API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'allowsTextAttachmentView' has been explicitly marked unavailable here
218 |
219 | /// A Boolean value that indicates whether the text attachment is configured to use text attachment view providers.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:278:55: error: 'textLayoutManager' is unavailable in watchOS
276 | textAttachment: self,
277 | parentView: parentView,
278 | textLayoutManager: textContainer?.textLayoutManager,
| `- error: 'textLayoutManager' is unavailable in watchOS
279 | location: location
280 | )
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:68:81: note: 'textLayoutManager' has been explicitly marked unavailable here
66 | ///
67 | /// When non-nil, the legacy `layoutManager` should be `nil`.
68 | @property (weak, nullable, readonly, NS_NONATOMIC_IOSONLY) NSTextLayoutManager *textLayoutManager API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'textLayoutManager' has been explicitly marked unavailable here
69 |
70 | /************************* Container shape properties *************************/
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:329:13: error: 'isAccessibilityElement' is unavailable in watchOS
327 | self.loader = loader
328 | super.init(frame: CGRect(origin: .zero, size: MarkdownImageAttachment.imageViewSize))
329 | isAccessibilityElement = true
| `- error: 'isAccessibilityElement' is unavailable in watchOS
330 | accessibilityLabel = altText
331 | accessibilityTraits = .image
/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/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:330:13: error: 'accessibilityLabel' is unavailable in watchOS
328 | super.init(frame: CGRect(origin: .zero, size: MarkdownImageAttachment.imageViewSize))
329 | isAccessibilityElement = true
330 | accessibilityLabel = altText
| `- error: 'accessibilityLabel' is unavailable in watchOS
331 | accessibilityTraits = .image
332 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:64:49: note: 'accessibilityLabel' has been explicitly marked unavailable here
62 | Setting the property will change the label that is returned to the accessibility client.
63 | */
64 | @property (nullable, nonatomic, copy) NSString *accessibilityLabel API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityLabel' has been explicitly marked unavailable here
65 |
66 | /*
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:331:13: error: 'accessibilityTraits' is unavailable in watchOS
329 | isAccessibilityElement = true
330 | accessibilityLabel = altText
331 | accessibilityTraits = .image
| `- error: 'accessibilityTraits' is unavailable in watchOS
332 |
333 | imageView.contentMode = .scaleAspectFit
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:113:45: note: 'accessibilityTraits' has been explicitly marked unavailable here
111 | Setting the property will change the traits that are returned to the accessibility client.
112 | */
113 | @property (nonatomic) UIAccessibilityTraits accessibilityTraits API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityTraits' has been explicitly marked unavailable here
114 |
115 | /*
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:336:35: error: 'secondaryLabel' is unavailable in watchOS
334 | imageView.translatesAutoresizingMaskIntoConstraints = false
335 | altLabel.text = altText
336 | altLabel.textColor = .secondaryLabel
| `- error: 'secondaryLabel' is unavailable in watchOS
337 | altLabel.font = .preferredFont(forTextStyle: .caption1)
338 | altLabel.textAlignment = .center
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:172:49: note: 'secondaryLabel' has been explicitly marked unavailable here
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'secondaryLabel' has been explicitly marked unavailable here
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
174 | @property (class, nonatomic, readonly) UIColor *quaternaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownEditorImageLoadingPolicy.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownEditorImageLoadingPolicy.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownImageAttachment.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownBlock.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownBlock.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Model/MarkdownDocument.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownDocument.swift
SwiftCompile normal arm64 Compiling\ MarkdownEditorTheme+SwiftUI.swift,\ MarkdownTableAttachment.swift,\ MarkdownEditorTheme.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/SwiftUI/MarkdownEditorTheme+SwiftUI.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Theme/MarkdownEditorTheme.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:974:24: error: 'NSTextContainer' is unavailable in watchOS
972 | private func markdownTableAvailableWidth(
973 | parentWidth: CGFloat,
974 | textContainer: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
975 | ) -> CGFloat? {
976 | if let textContainer {
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1053:33: error: 'UIView' is unavailable in watchOS
1051 | /// Returns the UIKit grid provider for this attachment.
1052 | override public func viewProvider(
1053 | for parentView: UIView?,
| `- error: 'UIView' is unavailable in watchOS
1054 | location: any NSTextLocation,
1055 | textContainer: NSTextContainer?
/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.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1055:32: error: 'NSTextContainer' is unavailable in watchOS
1053 | for parentView: UIView?,
1054 | location: any NSTextLocation,
1055 | textContainer: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
1056 | ) -> NSTextAttachmentViewProvider? {
1057 | let provider = MarkdownTableAttachmentViewProvider(
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1056:18: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
1054 | location: any NSTextLocation,
1055 | textContainer: NSTextContainer?
1056 | ) -> NSTextAttachmentViewProvider? {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
1057 | let provider = MarkdownTableAttachmentViewProvider(
1058 | textAttachment: self,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:244:12: note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
242 | /// iOS 15 and later.
243 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
244 | @interface NSTextAttachmentViewProvider : NSObject
| `- note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
245 | /// Creates a new text attachment view whose content starts at the location you provide.
246 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1052:34: error: cannot override 'viewProvider' which has been marked unavailable
1050 | #if canImport(UIKit)
1051 | /// Returns the UIKit grid provider for this attachment.
1052 | override public func viewProvider(
| |- error: cannot override 'viewProvider' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'viewProvider'
1053 | for parentView: UIView?,
1054 | location: any NSTextLocation,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:87:1: note: 'viewProvider(for:location:textContainer:)' has been explicitly marked unavailable here
85 | ///
86 | /// - Returns: An ``NSTextAttachmentViewProvider``.
87 | - (nullable NSTextAttachmentViewProvider *)viewProviderForParentView:(nullable UIView *)parentView location:(id <NSTextLocation>)location textContainer:(nullable NSTextContainer *)textContainer API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'viewProvider(for:location:textContainer:)' has been explicitly marked unavailable here
88 | @end
89 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1103:28: error: 'NSTextContainer' is unavailable in watchOS
1101 | for attributes: [NSAttributedString.Key: Any],
1102 | location: any NSTextLocation,
1103 | textContainer: NSTextContainer?,
| `- error: 'NSTextContainer' is unavailable in watchOS
1104 | proposedLineFragment: CGRect,
1105 | position: CGPoint
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1097:61: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
1095 | #if canImport(UIKit)
1096 | /// Creates the UIKit view used to edit a `MarkdownTableAttachment`.
1097 | public final class MarkdownTableAttachmentViewProvider: NSTextAttachmentViewProvider {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
1098 | var availableWidth: CGFloat?
1099 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:244:12: note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
242 | /// iOS 15 and later.
243 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
244 | @interface NSTextAttachmentViewProvider : NSObject
| `- note: 'NSTextAttachmentViewProvider' has been explicitly marked unavailable here
245 | /// Creates a new text attachment view whose content starts at the location you provide.
246 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1158:64: error: value of type 'MarkdownEditorTheme' has no member 'scaled'
1156 | /// Projects cell text at this grid's text size when the table has no editor theme.
1157 | /// An editor's theme comes already scaled to the editor's text size.
1158 | private lazy var cellTheme = MarkdownEditorTheme.basic.scaled(to: traitCollection.preferredContentSizeCategory)
| `- error: value of type 'MarkdownEditorTheme' has no member 'scaled'
1159 |
1160 | init(controller: MarkdownTableController, maximumWidth: CGFloat?) {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1149:29: error: 'UIStackView' is unavailable in watchOS
1147 | private weak var controller: MarkdownTableController?
1148 | private var maximumWidth: CGFloat?
1149 | private let stack = UIStackView()
| `- error: 'UIStackView' is unavailable in watchOS
1150 | private var fields: [MarkdownTableCellPosition: MarkdownTableCellTextView] = [:]
1151 | private var columnWidthConstraints: [[NSLayoutConstraint]] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1149:29: error: 'init()' is unavailable in watchOS
1147 | private weak var controller: MarkdownTableController?
1148 | private var maximumWidth: CGFloat?
1149 | private let stack = UIStackView()
| `- error: 'init()' is unavailable in watchOS
1150 | private var fields: [MarkdownTableCellPosition: MarkdownTableCellTextView] = [:]
1151 | private var columnWidthConstraints: [[NSLayoutConstraint]] = []
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1151:47: error: 'NSLayoutConstraint' is unavailable in watchOS
1149 | private let stack = UIStackView()
1150 | private var fields: [MarkdownTableCellPosition: MarkdownTableCellTextView] = [:]
1151 | private var columnWidthConstraints: [[NSLayoutConstraint]] = []
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
1152 | private var isEditingCell = false
1153 | private var rowStacks: [MarkdownTableRowStackView] = []
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1217:44: error: 'UITextView' is unavailable in watchOS
1215 | }
1216 |
1217 | func textViewDidChange(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1218 | guard let field = textView as? MarkdownTableCellTextView, let controller else {
1219 | return
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1233:50: error: 'UITextView' is unavailable in watchOS
1231 | }
1232 |
1233 | func textViewDidBeginEditing(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1234 | guard let field = textView as? MarkdownTableCellTextView, let controller else {
1235 | return
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1241:48: error: 'UITextView' is unavailable in watchOS
1239 | }
1240 |
1241 | func textViewDidEndEditing(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1242 | guard let field = textView as? MarkdownTableCellTextView else {
1243 | return
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1248:35: error: 'UITextView' is unavailable in watchOS
1246 | }
1247 |
1248 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UITextView' is unavailable in watchOS
1249 | guard let field = textView as? MarkdownTableCellTextView,
1250 | let editor = field.markdownEditor, let controller else {
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1248:100: error: 'UIMenuElement' is unavailable in watchOS
1246 | }
1247 |
1248 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UIMenuElement' is unavailable in watchOS
1249 | guard let field = textView as? MarkdownTableCellTextView,
1250 | let editor = field.markdownEditor, let controller else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:56:12: note: 'UIMenuElement' has been explicitly marked unavailable here
54 |
55 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
56 | @interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UIMenuElement' has been explicitly marked unavailable here
57 |
58 | /// The element's title.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1248:119: error: 'UIMenu' is unavailable in watchOS
1246 | }
1247 |
1248 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UIMenu' is unavailable in watchOS
1249 | guard let field = textView as? MarkdownTableCellTextView,
1250 | let editor = field.markdownEditor, let controller else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIMenu : UIMenuElement
| `- note: 'UIMenu' has been explicitly marked unavailable here
44 |
45 | /// Unique identifier.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1274:53: error: 'UITextView' is unavailable in watchOS
1272 | }
1273 |
1274 | func textViewDidChangeSelection(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1275 | guard let field = textView as? MarkdownTableCellTextView, field.isFirstResponder, let controller else {
1276 | return
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1545:60: error: cannot find type 'MarkdownTextView' in scope
1543 |
1544 | /// Invalidates only the fragment holding this table; later fragments move during relayout.
1545 | private func invalidateAttachmentLayout(in editor: MarkdownTextView, manager: NSTextLayoutManager) {
| `- error: cannot find type 'MarkdownTextView' in scope
1546 | let storage = editor.textStorage
1547 | var attachmentRange: NSRange?
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1545:87: error: 'NSTextLayoutManager' is unavailable in watchOS
1543 |
1544 | /// Invalidates only the fragment holding this table; later fragments move during relayout.
1545 | private func invalidateAttachmentLayout(in editor: MarkdownTextView, manager: NSTextLayoutManager) {
| `- error: 'NSTextLayoutManager' is unavailable in watchOS
1546 | let storage = editor.textStorage
1547 | var attachmentRange: NSRange?
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextLayoutManager.h:66:12: note: 'NSTextLayoutManager' has been explicitly marked unavailable here
64 | /// participates in the content layout process.
65 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
66 | @interface NSTextLayoutManager : NSObject <NSSecureCoding, NSTextSelectionDataSource>
| `- note: 'NSTextLayoutManager' has been explicitly marked unavailable here
67 | #pragma mark Initialization
68 | /// Creates a new text layout manager.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1142:56: error: 'UIView' is unavailable in watchOS
1140 | }
1141 |
1142 | @MainActor final class UIKitMarkdownTableGridView: UIView, UITextViewDelegate {
| `- error: 'UIView' is unavailable in watchOS
1143 | private(set) var attachmentResizeCount = 0
1144 | /// Character range whose layout the most recent resize invalidated.
/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.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1142:64: error: 'UITextViewDelegate' is unavailable in watchOS
1140 | }
1141 |
1142 | @MainActor final class UIKitMarkdownTableGridView: UIView, UITextViewDelegate {
| `- error: 'UITextViewDelegate' is unavailable in watchOS
1143 | private(set) var attachmentResizeCount = 0
1144 | /// Character range whose layout the most recent resize invalidated.
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1248:14: error: cannot override 'textView' which has been marked unavailable
1246 | }
1247 |
1248 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: cannot override 'textView' which has been marked unavailable
1249 | guard let field = textView as? MarkdownTableCellTextView,
1250 | let editor = field.markdownEditor, let controller else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:73:1: note: 'textView(_:editMenuForTextIn:suggestedActions:)' has been explicitly marked unavailable here
71 | * @return Return a UIMenu describing the desired menu hierarchy. Return @c nil to present the default system menu.
72 | */
73 | - (nullable UIMenu *)textView:(UITextView *)textView editMenuForTextInRange:(NSRange)range suggestedActions:(NSArray<UIMenuElement *> *)suggestedActions API_UNAVAILABLE(watchos) API_DEPRECATED_WITH_REPLACEMENT("-textView:editMenuForTextInRanges:suggestedActions:", ios(16.0, API_TO_BE_DEPRECATED));
| `- note: 'textView(_:editMenuForTextIn:suggestedActions:)' has been explicitly marked unavailable here
74 |
75 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1595:63: error: 'UIStackView' is unavailable in watchOS
1593 | }
1594 |
1595 | @MainActor private final class MarkdownTableRowStackView: UIStackView {
| `- error: 'UIStackView' is unavailable in watchOS
1596 | private(set) lazy var heightConstraint = heightAnchor.constraint(equalToConstant: 28)
1597 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1652:40: error: 'UITextRange' is unavailable in watchOS
1650 | }
1651 |
1652 | override func replace(_ range: UITextRange, withText text: String) {
| `- error: 'UITextRange' is unavailable in watchOS
1653 | if isEditable {
1654 | super.replace(range, withText: text)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:307:12: note: 'UITextRange' has been explicitly marked unavailable here
305 |
306 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
307 | @interface UITextRange : NSObject
| `- note: 'UITextRange' has been explicitly marked unavailable here
308 |
309 | @property (nonatomic, readonly, getter=isEmpty) BOOL empty; // Whether the range is zero-length.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1669:36: error: 'UIKeyCommand' is unavailable in watchOS
1667 | }
1668 |
1669 | override var keyCommands: [UIKeyCommand]? {
| `- error: 'UIKeyCommand' is unavailable in watchOS
1670 | [
1671 | UIKeyCommand(input: "\t", modifierFlags: [], action: #selector(tabForward)),
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h:18:12: note: 'UIKeyCommand' has been explicitly marked unavailable here
16 | #pragma clang diagnostic ignored "-Wunguarded-availability"
17 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
18 | @interface UIKeyCommand : UICommand
| `- note: 'UIKeyCommand' has been explicitly marked unavailable here
19 | #pragma clang diagnostic pop
20 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1691:29: error: cannot find type 'MarkdownTextView' in scope
1689 | }
1690 |
1691 | var markdownEditor: MarkdownTextView? {
| `- error: cannot find type 'MarkdownTextView' in scope
1692 | var ancestor = superview
1693 | while let view = ancestor {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1599:63: error: 'UITextView' is unavailable in watchOS
1597 | }
1598 |
1599 | @MainActor private final class MarkdownTableCellTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
1600 | var position: MarkdownTableCellPosition
1601 | var onTab: ((Bool) -> Void)?
/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/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:977:39: error: 'size' is unavailable in watchOS
975 | ) -> CGFloat? {
976 | if let textContainer {
977 | let width = textContainer.size.width - 2 * textContainer.lineFragmentPadding
| `- error: 'size' is unavailable in watchOS
978 | if width.isFinite, width > 0 {
979 | return width
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:80:41: note: 'size' has been explicitly marked unavailable here
78 | /// If you don't specify an explicit size when you initialize a text container,
79 | /// the system uses a default large size of (`10000000.0`, `10000000.0`).
80 | @property (NS_NONATOMIC_IOSONLY) CGSize size API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'size' has been explicitly marked unavailable here
81 |
82 | /// The behavior of the last line inside the text container.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1035:13: error: 'allowsTextAttachmentView' is unavailable in watchOS
1033 | self.controller = MarkdownTableController(table: table, onChange: onChange)
1034 | super.init(data: nil, ofType: "com.modernswiftdev.markdown-ui-editor.table")
1035 | allowsTextAttachmentView = true
| `- error: 'allowsTextAttachmentView' is unavailable in watchOS
1036 | lineLayoutPadding = 4
1037 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:217:16: note: 'allowsTextAttachmentView' has been explicitly marked unavailable here
215 | /// ``NSTextAttachmentLayout/viewProvider(for:location:textContainer:)``.
216 | /// Default is `true`.
217 | @property BOOL allowsTextAttachmentView API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'allowsTextAttachmentView' has been explicitly marked unavailable here
218 |
219 | /// A Boolean value that indicates whether the text attachment is configured to use text attachment view providers.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1047:13: error: 'allowsTextAttachmentView' is unavailable in watchOS
1045 | }
1046 | super.init(coder: coder)
1047 | allowsTextAttachmentView = true
| `- error: 'allowsTextAttachmentView' is unavailable in watchOS
1048 | }
1049 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:217:16: note: 'allowsTextAttachmentView' has been explicitly marked unavailable here
215 | /// ``NSTextAttachmentLayout/viewProvider(for:location:textContainer:)``.
216 | /// Default is `true`.
217 | @property BOOL allowsTextAttachmentView API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'allowsTextAttachmentView' has been explicitly marked unavailable here
218 |
219 | /// A Boolean value that indicates whether the text attachment is configured to use text attachment view providers.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1060:55: error: 'textLayoutManager' is unavailable in watchOS
1058 | textAttachment: self,
1059 | parentView: parentView,
1060 | textLayoutManager: textContainer?.textLayoutManager,
| `- error: 'textLayoutManager' is unavailable in watchOS
1061 | location: location
1062 | )
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:68:81: note: 'textLayoutManager' has been explicitly marked unavailable here
66 | ///
67 | /// When non-nil, the legacy `layoutManager` should be `nil`.
68 | @property (weak, nullable, readonly, NS_NONATOMIC_IOSONLY) NSTextLayoutManager *textLayoutManager API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'textLayoutManager' has been explicitly marked unavailable here
69 |
70 | /************************* Container shape properties *************************/
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1164:13: error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
1162 | self.maximumWidth = maximumWidth
1163 | super.init(frame: .zero)
1164 | registerForTraitChanges([UITraitPreferredContentSizeCategory.self]) { (grid: UIKitMarkdownTableGridView, _) in
| `- error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
1165 | grid.contentSizeCategoryDidChange()
1166 | }
UIKit.UIView.registerForTraitChanges:3:26: note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
1 | class UIView {
2 | @discardableResult
3 | @MainActor public func registerForTraitChanges<Self>(_ traits: [UITrait], handler: @escaping UIView.TraitChangeHandler<Self>) -> any UITraitChangeRegistration where Self : UITraitEnvironment}
| `- note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1164:38: error: 'UITraitPreferredContentSizeCategory' is unavailable in watchOS
1162 | self.maximumWidth = maximumWidth
1163 | super.init(frame: .zero)
1164 | registerForTraitChanges([UITraitPreferredContentSizeCategory.self]) { (grid: UIKitMarkdownTableGridView, _) in
| `- error: 'UITraitPreferredContentSizeCategory' is unavailable in watchOS
1165 | grid.contentSizeCategoryDidChange()
1166 | }
UIKit.UITraitPreferredContentSizeCategory:3:15: note: 'UITraitPreferredContentSizeCategory' has been explicitly marked unavailable here
1 | @available(iOS 17.0, tvOS 17.0, *)
2 | @available(watchOS, unavailable)
3 | public struct UITraitPreferredContentSizeCategory : UITraitDefinition {
| `- note: 'UITraitPreferredContentSizeCategory' has been explicitly marked unavailable here
4 | public static let defaultValue: UIContentSizeCategory
5 | public static let name: String
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1171:13: error: 'NSLayoutConstraint' is unavailable in watchOS
1169 | stack.translatesAutoresizingMaskIntoConstraints = false
1170 | addSubview(stack)
1171 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
1172 | stack.leadingAnchor.constraint(equalTo: leadingAnchor),
1173 | stack.trailingAnchor.constraint(equalTo: trailingAnchor),
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1214:43: error: 'UIView' is unavailable in watchOS
1212 |
1213 | override var intrinsicContentSize: CGSize {
1214 | stack.systemLayoutSizeFitting(UIView.layoutFittingCompressedSize)
| `- error: 'UIView' is unavailable in watchOS
1215 | }
1216 |
/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 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/SwiftUI/MarkdownEditorTheme+SwiftUI.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownEditorTheme+SwiftUI.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownTableAttachment.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Theme/MarkdownEditorTheme.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownEditorTheme.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ MarkdownUI (in target 'MarkdownUI' from project 'swift-markdown-ui')
SwiftCompile normal arm64_32 (in target 'MarkdownUI' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-11-02 22:21:27.240 xcodebuild[1685:9627] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-11-02 22:21:27.344 xcodebuild[1685:9627] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ MarkdownUIEditor (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
SwiftEmitModule normal arm64 Emitting\ module\ for\ MarkdownUIEditor (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
SwiftCompile normal arm64 (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
Building workspace swift-markdown-ui with scheme swift-markdown-ui-Package
(5 failures)
BUILD FAILURE 6.4 watchOS