Build Information
Failed to build swift-markdown-ui, reference main (485909), with Swift 6.4 for watchOS using Xcode 27.0 on 13 Oct 2026 20:35:32 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
SwiftDriver MarkdownUIEditor normal arm64 com.apple.xcode.tools.swift.compiler (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name MarkdownUIEditor -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64/MarkdownUIEditor.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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 -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos10.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -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 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64/MarkdownUIEditor-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64/MarkdownUIEditor.swiftmodule -serialize-diagnostics -dependency-scan-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-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUIEditor-t.build/Objects-normal/arm64/MarkdownUIEditor_const_extract_protocols.json -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 -emit-objc-header -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 -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver MarkdownUI normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'MarkdownUI' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name MarkdownUI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/Objects-normal/arm64_32/MarkdownUI.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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 -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos10.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -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 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/Objects-normal/arm64_32/MarkdownUI-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/Objects-normal/arm64_32/MarkdownUI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/Objects-normal/arm64_32/MarkdownUI-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/Objects-normal/arm64_32/MarkdownUI_const_extract_protocols.json -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/MarkdownUI-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/Objects-normal/arm64_32/MarkdownUI-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver MarkdownUI normal arm64 com.apple.xcode.tools.swift.compiler (in target 'MarkdownUI' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name MarkdownUI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/Objects-normal/arm64/MarkdownUI.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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 -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos10.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -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 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/Objects-normal/arm64/MarkdownUI-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/Objects-normal/arm64/MarkdownUI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/Objects-normal/arm64/MarkdownUI-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/Objects-normal/arm64/MarkdownUI_const_extract_protocols.json -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/MarkdownUI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-markdown-ui.build/Debug-watchos/MarkdownUI-t.build/Objects-normal/arm64/MarkdownUI-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ MarkdownEditorClipboard.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/MarkdownEditingEngine.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownEditorCommand.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
SwiftCompile normal arm64 /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 /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 /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
/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 Compiling\ MarkdownBlock.swift,\ MarkdownDocument.swift,\ MarkdownInline.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 (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
SwiftCompile normal arm64 /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 /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 /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
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/MarkdownEditorImageLoader.swift:503:17: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'DateFormatter', consider removing it
501 | /// Configured once and never mutated afterwards. `DateFormatter` is documented as thread safe
502 | /// for formatting and parsing on the supported OS versions, so concurrent downloads may share it.
503 | private nonisolated(unsafe) static let httpDateFormatter: DateFormatter = {
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'DateFormatter', consider removing it
504 | let formatter = DateFormatter()
505 | formatter.locale = Locale(identifier: "en_US_POSIX")
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:198:33: error: 'UIView' is unavailable in watchOS
196 | /// Returns a UIKit attachment view provider for this image.
197 | override public func viewProvider(
198 | for parentView: UIView?,
| `- error: 'UIView' is unavailable in watchOS
199 | location: any NSTextLocation,
200 | 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:200:32: error: 'NSTextContainer' is unavailable in watchOS
198 | for parentView: UIView?,
199 | location: any NSTextLocation,
200 | textContainer: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
201 | ) -> NSTextAttachmentViewProvider? {
202 | 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:201:18: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
199 | location: any NSTextLocation,
200 | textContainer: NSTextContainer?
201 | ) -> NSTextAttachmentViewProvider? {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
202 | MarkdownImageAttachmentViewProvider(
203 | 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:197:34: error: cannot override 'viewProvider' which has been marked unavailable
195 | #if canImport(UIKit)
196 | /// Returns a UIKit attachment view provider for this image.
197 | override public func viewProvider(
| |- error: cannot override 'viewProvider' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'viewProvider'
198 | for parentView: UIView?,
199 | 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:229:61: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
227 | #if canImport(UIKit)
228 | /// Creates the UIKit view for a `MarkdownImageAttachment` and starts image loading.
229 | public final class MarkdownImageAttachmentViewProvider: NSTextAttachmentViewProvider {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
230 | /// Creates and starts loading the native UIKit image view.
231 | 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:248:33: error: 'UIImageView' is unavailable in watchOS
246 |
247 | @MainActor private final class UIKitMarkdownImageView: UIView {
248 | private let imageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
249 | private let altLabel = UILabel()
250 | 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:248:33: error: 'init()' is unavailable in watchOS
246 |
247 | @MainActor private final class UIKitMarkdownImageView: UIView {
248 | private let imageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
249 | private let altLabel = UILabel()
250 | 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:249:32: error: 'UILabel' is unavailable in watchOS
247 | @MainActor private final class UIKitMarkdownImageView: UIView {
248 | private let imageView = UIImageView()
249 | private let altLabel = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
250 | private let loader: MarkdownImageViewLoader
251 |
/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:249:32: error: 'init()' is unavailable in watchOS
247 | @MainActor private final class UIKitMarkdownImageView: UIView {
248 | private let imageView = UIImageView()
249 | private let altLabel = UILabel()
| `- error: 'init()' is unavailable in watchOS
250 | private let loader: MarkdownImageViewLoader
251 |
/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:247:60: error: 'UIView' is unavailable in watchOS
245 | }
246 |
247 | @MainActor private final class UIKitMarkdownImageView: UIView {
| `- error: 'UIView' is unavailable in watchOS
248 | private let imageView = UIImageView()
249 | 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:688:90: error: 'NSTextStorage' is unavailable in watchOS
686 |
687 | /// Keeps callbacks of attachments after inserted or removed blocks pointing at their blocks.
688 | func shiftAttachmentPaths(in range: NSRange, by blockDelta: Int, in textStorage: NSTextStorage) {
| `- error: 'NSTextStorage' is unavailable in watchOS
689 | textStorage.enumerateAttribute(.attachment, in: range) { value, _, _ in
690 | 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:699:53: error: 'NSTextStorage' is unavailable in watchOS
697 |
698 | /// Gives kept tables the cell focus a full projection would give their new attachments.
699 | func restoreTableSelections(in textStorage: NSTextStorage) {
| `- error: 'NSTextStorage' is unavailable in watchOS
700 | let range = NSRange(location: 0, length: textStorage.length)
701 | 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:1021:29: error: 'NSTextStorage' is unavailable in watchOS
1019 | func typingAttributes(
1020 | at offset: Int,
1021 | in textStorage: NSTextStorage
| `- error: 'NSTextStorage' is unavailable in watchOS
1022 | ) -> [NSAttributedString.Key: Any] {
1023 | 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/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:832:24: error: 'NSTextContainer' is unavailable in watchOS
830 | private func markdownTableAvailableWidth(
831 | parentWidth: CGFloat,
832 | textContainer: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
833 | ) -> CGFloat? {
834 | 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:893:33: error: 'UIView' is unavailable in watchOS
891 | /// Returns the UIKit grid provider for this attachment.
892 | override public func viewProvider(
893 | for parentView: UIView?,
| `- error: 'UIView' is unavailable in watchOS
894 | location: any NSTextLocation,
895 | 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:895:32: error: 'NSTextContainer' is unavailable in watchOS
893 | for parentView: UIView?,
894 | location: any NSTextLocation,
895 | textContainer: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
896 | ) -> NSTextAttachmentViewProvider? {
897 | 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:896:18: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
894 | location: any NSTextLocation,
895 | textContainer: NSTextContainer?
896 | ) -> NSTextAttachmentViewProvider? {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
897 | let provider = MarkdownTableAttachmentViewProvider(
898 | 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:892:34: error: cannot override 'viewProvider' which has been marked unavailable
890 | #if canImport(UIKit)
891 | /// Returns the UIKit grid provider for this attachment.
892 | override public func viewProvider(
| |- error: cannot override 'viewProvider' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'viewProvider'
893 | for parentView: UIView?,
894 | 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:943:28: error: 'NSTextContainer' is unavailable in watchOS
941 | for attributes: [NSAttributedString.Key: Any],
942 | location: any NSTextLocation,
943 | textContainer: NSTextContainer?,
| `- error: 'NSTextContainer' is unavailable in watchOS
944 | proposedLineFragment: CGRect,
945 | 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:937:61: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
935 | #if canImport(UIKit)
936 | /// Creates the UIKit view used to edit a `MarkdownTableAttachment`.
937 | public final class MarkdownTableAttachmentViewProvider: NSTextAttachmentViewProvider {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
938 | var availableWidth: CGFloat?
939 |
/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:988:29: error: 'UIStackView' is unavailable in watchOS
986 | private let controller: MarkdownTableController
987 | private var maximumWidth: CGFloat?
988 | private let stack = UIStackView()
| `- error: 'UIStackView' is unavailable in watchOS
989 | private var fields: [MarkdownTableCellPosition: MarkdownTableCellTextView] = [:]
990 | 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:988:29: error: 'init()' is unavailable in watchOS
986 | private let controller: MarkdownTableController
987 | private var maximumWidth: CGFloat?
988 | private let stack = UIStackView()
| `- error: 'init()' is unavailable in watchOS
989 | private var fields: [MarkdownTableCellPosition: MarkdownTableCellTextView] = [:]
990 | 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:990:47: error: 'NSLayoutConstraint' is unavailable in watchOS
988 | private let stack = UIStackView()
989 | private var fields: [MarkdownTableCellPosition: MarkdownTableCellTextView] = [:]
990 | private var columnWidthConstraints: [[NSLayoutConstraint]] = []
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
991 | private var isEditingCell = false
992 | 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:1042:44: error: 'UITextView' is unavailable in watchOS
1040 | }
1041 |
1042 | func textViewDidChange(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1043 | guard let field = textView as? MarkdownTableCellTextView else {
1044 | 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:1058:50: error: 'UITextView' is unavailable in watchOS
1056 | }
1057 |
1058 | func textViewDidBeginEditing(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1059 | guard let field = textView as? MarkdownTableCellTextView else {
1060 | 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:1066:35: error: 'UITextView' is unavailable in watchOS
1064 | }
1065 |
1066 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UITextView' is unavailable in watchOS
1067 | guard let field = textView as? MarkdownTableCellTextView,
1068 | let editor = field.markdownEditor 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:1066:100: error: 'UIMenuElement' is unavailable in watchOS
1064 | }
1065 |
1066 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UIMenuElement' is unavailable in watchOS
1067 | guard let field = textView as? MarkdownTableCellTextView,
1068 | let editor = field.markdownEditor 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:1066:119: error: 'UIMenu' is unavailable in watchOS
1064 | }
1065 |
1066 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UIMenu' is unavailable in watchOS
1067 | guard let field = textView as? MarkdownTableCellTextView,
1068 | let editor = field.markdownEditor 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:1092:53: error: 'UITextView' is unavailable in watchOS
1090 | }
1091 |
1092 | func textViewDidChangeSelection(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1093 | guard let field = textView as? MarkdownTableCellTextView, field.isFirstResponder else {
1094 | 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:1331:60: error: cannot find type 'MarkdownTextView' in scope
1329 |
1330 | /// Invalidates only the fragment holding this table; later fragments move during relayout.
1331 | private func invalidateAttachmentLayout(in editor: MarkdownTextView, manager: NSTextLayoutManager) {
| `- error: cannot find type 'MarkdownTextView' in scope
1332 | let storage = editor.textStorage
1333 | var attachmentRange: NSRange?
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1331:87: error: 'NSTextLayoutManager' is unavailable in watchOS
1329 |
1330 | /// Invalidates only the fragment holding this table; later fragments move during relayout.
1331 | private func invalidateAttachmentLayout(in editor: MarkdownTextView, manager: NSTextLayoutManager) {
| `- error: 'NSTextLayoutManager' is unavailable in watchOS
1332 | let storage = editor.textStorage
1333 | 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:982:56: error: 'UIView' is unavailable in watchOS
980 | }
981 |
982 | @MainActor final class UIKitMarkdownTableGridView: UIView, UITextViewDelegate {
| `- error: 'UIView' is unavailable in watchOS
983 | private(set) var attachmentResizeCount = 0
984 | /// 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:982:64: error: 'UITextViewDelegate' is unavailable in watchOS
980 | }
981 |
982 | @MainActor final class UIKitMarkdownTableGridView: UIView, UITextViewDelegate {
| `- error: 'UITextViewDelegate' is unavailable in watchOS
983 | private(set) var attachmentResizeCount = 0
984 | /// 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:1066:14: error: cannot override 'textView' which has been marked unavailable
1064 | }
1065 |
1066 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: cannot override 'textView' which has been marked unavailable
1067 | guard let field = textView as? MarkdownTableCellTextView,
1068 | let editor = field.markdownEditor 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:1381:63: error: 'UIStackView' is unavailable in watchOS
1379 | }
1380 |
1381 | @MainActor private final class MarkdownTableRowStackView: UIStackView {
| `- error: 'UIStackView' is unavailable in watchOS
1382 | private(set) lazy var heightConstraint = heightAnchor.constraint(equalToConstant: 28)
1383 | }
/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:1428:36: error: 'UIKeyCommand' is unavailable in watchOS
1426 | }
1427 |
1428 | override var keyCommands: [UIKeyCommand]? {
| `- error: 'UIKeyCommand' is unavailable in watchOS
1429 | [
1430 | 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:1450:29: error: cannot find type 'MarkdownTextView' in scope
1448 | }
1449 |
1450 | var markdownEditor: MarkdownTextView? {
| `- error: cannot find type 'MarkdownTextView' in scope
1451 | var ancestor = superview
1452 | while let view = ancestor {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1385:63: error: 'UITextView' is unavailable in watchOS
1383 | }
1384 |
1385 | @MainActor private final class MarkdownTableCellTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
1386 | var position: MarkdownTableCellPosition
1387 | 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/MarkdownEditingEngine.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownEditorCommand.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Editing/MarkdownLogicalSelection.swift /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownEditorImageLoader.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\ MarkdownTaskCheckboxLayer.swift,\ UIKitMarkdownTextView.swift,\ EditorNodeIdentity.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 (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
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 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/EditorNodeIdentity.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EditorNodeIdentity.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
SwiftCompile normal arm64 Compiling\ ProjectionIndex.swift,\ ProjectionRanges.swift,\ ProjectionUnit.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 (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/ProjectionIndex.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ProjectionIndex.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Projection/ProjectionRanges.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ProjectionRanges.swift
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 Compiling\ SourceSelection.swift,\ MarkdownEditingSession.swift,\ TextViewBridge.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 (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/MarkdownEditingSession.swift:688:90: error: 'NSTextStorage' is unavailable in watchOS
686 |
687 | /// Keeps callbacks of attachments after inserted or removed blocks pointing at their blocks.
688 | func shiftAttachmentPaths(in range: NSRange, by blockDelta: Int, in textStorage: NSTextStorage) {
| `- error: 'NSTextStorage' is unavailable in watchOS
689 | textStorage.enumerateAttribute(.attachment, in: range) { value, _, _ in
690 | 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:699:53: error: 'NSTextStorage' is unavailable in watchOS
697 |
698 | /// Gives kept tables the cell focus a full projection would give their new attachments.
699 | func restoreTableSelections(in textStorage: NSTextStorage) {
| `- error: 'NSTextStorage' is unavailable in watchOS
700 | let range = NSRange(location: 0, length: textStorage.length)
701 | 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:1021:29: error: 'NSTextStorage' is unavailable in watchOS
1019 | func typingAttributes(
1020 | at offset: Int,
1021 | in textStorage: NSTextStorage
| `- error: 'NSTextStorage' is unavailable in watchOS
1022 | ) -> [NSAttributedString.Key: Any] {
1023 | 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/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 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Session/TextViewBridge.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TextViewBridge.swift
SwiftCompile normal arm64 Compiling\ MarkdownTableAttachment.swift,\ MarkdownEditorTheme.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:832:24: error: 'NSTextContainer' is unavailable in watchOS
830 | private func markdownTableAvailableWidth(
831 | parentWidth: CGFloat,
832 | textContainer: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
833 | ) -> CGFloat? {
834 | 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:893:33: error: 'UIView' is unavailable in watchOS
891 | /// Returns the UIKit grid provider for this attachment.
892 | override public func viewProvider(
893 | for parentView: UIView?,
| `- error: 'UIView' is unavailable in watchOS
894 | location: any NSTextLocation,
895 | 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:895:32: error: 'NSTextContainer' is unavailable in watchOS
893 | for parentView: UIView?,
894 | location: any NSTextLocation,
895 | textContainer: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
896 | ) -> NSTextAttachmentViewProvider? {
897 | 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:896:18: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
894 | location: any NSTextLocation,
895 | textContainer: NSTextContainer?
896 | ) -> NSTextAttachmentViewProvider? {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
897 | let provider = MarkdownTableAttachmentViewProvider(
898 | 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:892:34: error: cannot override 'viewProvider' which has been marked unavailable
890 | #if canImport(UIKit)
891 | /// Returns the UIKit grid provider for this attachment.
892 | override public func viewProvider(
| |- error: cannot override 'viewProvider' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'viewProvider'
893 | for parentView: UIView?,
894 | 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:943:28: error: 'NSTextContainer' is unavailable in watchOS
941 | for attributes: [NSAttributedString.Key: Any],
942 | location: any NSTextLocation,
943 | textContainer: NSTextContainer?,
| `- error: 'NSTextContainer' is unavailable in watchOS
944 | proposedLineFragment: CGRect,
945 | 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:937:61: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
935 | #if canImport(UIKit)
936 | /// Creates the UIKit view used to edit a `MarkdownTableAttachment`.
937 | public final class MarkdownTableAttachmentViewProvider: NSTextAttachmentViewProvider {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
938 | var availableWidth: CGFloat?
939 |
/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:988:29: error: 'UIStackView' is unavailable in watchOS
986 | private let controller: MarkdownTableController
987 | private var maximumWidth: CGFloat?
988 | private let stack = UIStackView()
| `- error: 'UIStackView' is unavailable in watchOS
989 | private var fields: [MarkdownTableCellPosition: MarkdownTableCellTextView] = [:]
990 | 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:988:29: error: 'init()' is unavailable in watchOS
986 | private let controller: MarkdownTableController
987 | private var maximumWidth: CGFloat?
988 | private let stack = UIStackView()
| `- error: 'init()' is unavailable in watchOS
989 | private var fields: [MarkdownTableCellPosition: MarkdownTableCellTextView] = [:]
990 | 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:990:47: error: 'NSLayoutConstraint' is unavailable in watchOS
988 | private let stack = UIStackView()
989 | private var fields: [MarkdownTableCellPosition: MarkdownTableCellTextView] = [:]
990 | private var columnWidthConstraints: [[NSLayoutConstraint]] = []
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
991 | private var isEditingCell = false
992 | 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:1042:44: error: 'UITextView' is unavailable in watchOS
1040 | }
1041 |
1042 | func textViewDidChange(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1043 | guard let field = textView as? MarkdownTableCellTextView else {
1044 | 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:1058:50: error: 'UITextView' is unavailable in watchOS
1056 | }
1057 |
1058 | func textViewDidBeginEditing(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1059 | guard let field = textView as? MarkdownTableCellTextView else {
1060 | 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:1066:35: error: 'UITextView' is unavailable in watchOS
1064 | }
1065 |
1066 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UITextView' is unavailable in watchOS
1067 | guard let field = textView as? MarkdownTableCellTextView,
1068 | let editor = field.markdownEditor 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:1066:100: error: 'UIMenuElement' is unavailable in watchOS
1064 | }
1065 |
1066 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UIMenuElement' is unavailable in watchOS
1067 | guard let field = textView as? MarkdownTableCellTextView,
1068 | let editor = field.markdownEditor 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:1066:119: error: 'UIMenu' is unavailable in watchOS
1064 | }
1065 |
1066 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UIMenu' is unavailable in watchOS
1067 | guard let field = textView as? MarkdownTableCellTextView,
1068 | let editor = field.markdownEditor 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:1092:53: error: 'UITextView' is unavailable in watchOS
1090 | }
1091 |
1092 | func textViewDidChangeSelection(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1093 | guard let field = textView as? MarkdownTableCellTextView, field.isFirstResponder else {
1094 | 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:1331:60: error: cannot find type 'MarkdownTextView' in scope
1329 |
1330 | /// Invalidates only the fragment holding this table; later fragments move during relayout.
1331 | private func invalidateAttachmentLayout(in editor: MarkdownTextView, manager: NSTextLayoutManager) {
| `- error: cannot find type 'MarkdownTextView' in scope
1332 | let storage = editor.textStorage
1333 | var attachmentRange: NSRange?
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1331:87: error: 'NSTextLayoutManager' is unavailable in watchOS
1329 |
1330 | /// Invalidates only the fragment holding this table; later fragments move during relayout.
1331 | private func invalidateAttachmentLayout(in editor: MarkdownTextView, manager: NSTextLayoutManager) {
| `- error: 'NSTextLayoutManager' is unavailable in watchOS
1332 | let storage = editor.textStorage
1333 | 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:982:56: error: 'UIView' is unavailable in watchOS
980 | }
981 |
982 | @MainActor final class UIKitMarkdownTableGridView: UIView, UITextViewDelegate {
| `- error: 'UIView' is unavailable in watchOS
983 | private(set) var attachmentResizeCount = 0
984 | /// 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:982:64: error: 'UITextViewDelegate' is unavailable in watchOS
980 | }
981 |
982 | @MainActor final class UIKitMarkdownTableGridView: UIView, UITextViewDelegate {
| `- error: 'UITextViewDelegate' is unavailable in watchOS
983 | private(set) var attachmentResizeCount = 0
984 | /// 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:1066:14: error: cannot override 'textView' which has been marked unavailable
1064 | }
1065 |
1066 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: cannot override 'textView' which has been marked unavailable
1067 | guard let field = textView as? MarkdownTableCellTextView,
1068 | let editor = field.markdownEditor 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:1381:63: error: 'UIStackView' is unavailable in watchOS
1379 | }
1380 |
1381 | @MainActor private final class MarkdownTableRowStackView: UIStackView {
| `- error: 'UIStackView' is unavailable in watchOS
1382 | private(set) lazy var heightConstraint = heightAnchor.constraint(equalToConstant: 28)
1383 | }
/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:1428:36: error: 'UIKeyCommand' is unavailable in watchOS
1426 | }
1427 |
1428 | override var keyCommands: [UIKeyCommand]? {
| `- error: 'UIKeyCommand' is unavailable in watchOS
1429 | [
1430 | 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:1450:29: error: cannot find type 'MarkdownTextView' in scope
1448 | }
1449 |
1450 | var markdownEditor: MarkdownTextView? {
| `- error: cannot find type 'MarkdownTextView' in scope
1451 | var ancestor = superview
1452 | while let view = ancestor {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1385:63: error: 'UITextView' is unavailable in watchOS
1383 | }
1384 |
1385 | @MainActor private final class MarkdownTableCellTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
1386 | var position: MarkdownTableCellPosition
1387 | 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:835:39: error: 'size' is unavailable in watchOS
833 | ) -> CGFloat? {
834 | if let textContainer {
835 | let width = textContainer.size.width - 2 * textContainer.lineFragmentPadding
| `- error: 'size' is unavailable in watchOS
836 | if width.isFinite, width > 0 {
837 | 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:875:13: error: 'allowsTextAttachmentView' is unavailable in watchOS
873 | self.controller = MarkdownTableController(table: table, onChange: onChange)
874 | super.init(data: nil, ofType: "com.modernswiftdev.markdown-ui-editor.table")
875 | allowsTextAttachmentView = true
| `- error: 'allowsTextAttachmentView' is unavailable in watchOS
876 | lineLayoutPadding = 4
877 | }
/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:887:13: error: 'allowsTextAttachmentView' is unavailable in watchOS
885 | }
886 | super.init(coder: coder)
887 | allowsTextAttachmentView = true
| `- error: 'allowsTextAttachmentView' is unavailable in watchOS
888 | }
889 |
/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:900:55: error: 'textLayoutManager' is unavailable in watchOS
898 | textAttachment: self,
899 | parentView: parentView,
900 | textLayoutManager: textContainer?.textLayoutManager,
| `- error: 'textLayoutManager' is unavailable in watchOS
901 | location: location
902 | )
/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:1004:13: error: 'NSLayoutConstraint' is unavailable in watchOS
1002 | stack.translatesAutoresizingMaskIntoConstraints = false
1003 | addSubview(stack)
1004 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
1005 | stack.leadingAnchor.constraint(equalTo: leadingAnchor),
1006 | 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:1039:43: error: 'UIView' is unavailable in watchOS
1037 |
1038 | override var intrinsicContentSize: CGSize {
1039 | stack.systemLayoutSizeFitting(UIView.layoutFittingCompressedSize)
| `- error: 'UIView' is unavailable in watchOS
1040 | }
1041 |
/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:1039:50: error: 'layoutFittingCompressedSize' is unavailable in watchOS
1037 |
1038 | override var intrinsicContentSize: CGSize {
1039 | stack.systemLayoutSizeFitting(UIView.layoutFittingCompressedSize)
| `- error: 'layoutFittingCompressedSize' is unavailable in watchOS
1040 | }
1041 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:560:27: note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
558 | // Size To Fit
559 |
560 | UIKIT_EXTERN const CGSize UILayoutFittingCompressedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
| `- note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
561 | UIKIT_EXTERN const CGSize UILayoutFittingExpandedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
562 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1180:27: error: 'accessibilityLabel' is unavailable in watchOS
1178 | }
1179 | field.position = position
1180 | field.accessibilityLabel = markdownTableAccessibilityLabel(for: position)
| `- error: 'accessibilityLabel' is unavailable in watchOS
1181 | updatedFields[position] = field
1182 | columnWidthConstraints[column].append(field.widthConstraint)
/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 | /*
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
SwiftCompile normal arm64 Compiling\ MarkdownTable.swift,\ MarkdownDocument+CMark.swift,\ MarkdownTextView.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 (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
SwiftCompile normal arm64 /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 /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 /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
SwiftEmitModule normal arm64_32 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/MarkdownEditorImageLoader.swift:503:17: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'DateFormatter', consider removing it
501 | /// Configured once and never mutated afterwards. `DateFormatter` is documented as thread safe
502 | /// for formatting and parsing on the supported OS versions, so concurrent downloads may share it.
503 | private nonisolated(unsafe) static let httpDateFormatter: DateFormatter = {
| `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'DateFormatter', consider removing it
504 | let formatter = DateFormatter()
505 | formatter.locale = Locale(identifier: "en_US_POSIX")
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Images/MarkdownImageAttachment.swift:198:33: error: 'UIView' is unavailable in watchOS
196 | /// Returns a UIKit attachment view provider for this image.
197 | override public func viewProvider(
198 | for parentView: UIView?,
| `- error: 'UIView' is unavailable in watchOS
199 | location: any NSTextLocation,
200 | 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:200:32: error: 'NSTextContainer' is unavailable in watchOS
198 | for parentView: UIView?,
199 | location: any NSTextLocation,
200 | textContainer: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
201 | ) -> NSTextAttachmentViewProvider? {
202 | 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:201:18: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
199 | location: any NSTextLocation,
200 | textContainer: NSTextContainer?
201 | ) -> NSTextAttachmentViewProvider? {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
202 | MarkdownImageAttachmentViewProvider(
203 | 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:197:34: error: cannot override 'viewProvider' which has been marked unavailable
195 | #if canImport(UIKit)
196 | /// Returns a UIKit attachment view provider for this image.
197 | override public func viewProvider(
| |- error: cannot override 'viewProvider' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'viewProvider'
198 | for parentView: UIView?,
199 | 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:229:61: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
227 | #if canImport(UIKit)
228 | /// Creates the UIKit view for a `MarkdownImageAttachment` and starts image loading.
229 | public final class MarkdownImageAttachmentViewProvider: NSTextAttachmentViewProvider {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
230 | /// Creates and starts loading the native UIKit image view.
231 | 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:248:33: error: 'UIImageView' is unavailable in watchOS
246 |
247 | @MainActor private final class UIKitMarkdownImageView: UIView {
248 | private let imageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
249 | private let altLabel = UILabel()
250 | 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:248:33: error: 'init()' is unavailable in watchOS
246 |
247 | @MainActor private final class UIKitMarkdownImageView: UIView {
248 | private let imageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
249 | private let altLabel = UILabel()
250 | 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:249:32: error: 'UILabel' is unavailable in watchOS
247 | @MainActor private final class UIKitMarkdownImageView: UIView {
248 | private let imageView = UIImageView()
249 | private let altLabel = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
250 | private let loader: MarkdownImageViewLoader
251 |
/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:249:32: error: 'init()' is unavailable in watchOS
247 | @MainActor private final class UIKitMarkdownImageView: UIView {
248 | private let imageView = UIImageView()
249 | private let altLabel = UILabel()
| `- error: 'init()' is unavailable in watchOS
250 | private let loader: MarkdownImageViewLoader
251 |
/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:247:60: error: 'UIView' is unavailable in watchOS
245 | }
246 |
247 | @MainActor private final class UIKitMarkdownImageView: UIView {
| `- error: 'UIView' is unavailable in watchOS
248 | private let imageView = UIImageView()
249 | 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:688:90: error: 'NSTextStorage' is unavailable in watchOS
686 |
687 | /// Keeps callbacks of attachments after inserted or removed blocks pointing at their blocks.
688 | func shiftAttachmentPaths(in range: NSRange, by blockDelta: Int, in textStorage: NSTextStorage) {
| `- error: 'NSTextStorage' is unavailable in watchOS
689 | textStorage.enumerateAttribute(.attachment, in: range) { value, _, _ in
690 | 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:699:53: error: 'NSTextStorage' is unavailable in watchOS
697 |
698 | /// Gives kept tables the cell focus a full projection would give their new attachments.
699 | func restoreTableSelections(in textStorage: NSTextStorage) {
| `- error: 'NSTextStorage' is unavailable in watchOS
700 | let range = NSRange(location: 0, length: textStorage.length)
701 | 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:1021:29: error: 'NSTextStorage' is unavailable in watchOS
1019 | func typingAttributes(
1020 | at offset: Int,
1021 | in textStorage: NSTextStorage
| `- error: 'NSTextStorage' is unavailable in watchOS
1022 | ) -> [NSAttributedString.Key: Any] {
1023 | 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/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:832:24: error: 'NSTextContainer' is unavailable in watchOS
830 | private func markdownTableAvailableWidth(
831 | parentWidth: CGFloat,
832 | textContainer: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
833 | ) -> CGFloat? {
834 | 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:893:33: error: 'UIView' is unavailable in watchOS
891 | /// Returns the UIKit grid provider for this attachment.
892 | override public func viewProvider(
893 | for parentView: UIView?,
| `- error: 'UIView' is unavailable in watchOS
894 | location: any NSTextLocation,
895 | 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:895:32: error: 'NSTextContainer' is unavailable in watchOS
893 | for parentView: UIView?,
894 | location: any NSTextLocation,
895 | textContainer: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
896 | ) -> NSTextAttachmentViewProvider? {
897 | 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:896:18: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
894 | location: any NSTextLocation,
895 | textContainer: NSTextContainer?
896 | ) -> NSTextAttachmentViewProvider? {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
897 | let provider = MarkdownTableAttachmentViewProvider(
898 | 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:892:34: error: cannot override 'viewProvider' which has been marked unavailable
890 | #if canImport(UIKit)
891 | /// Returns the UIKit grid provider for this attachment.
892 | override public func viewProvider(
| |- error: cannot override 'viewProvider' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'viewProvider'
893 | for parentView: UIView?,
894 | 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:943:28: error: 'NSTextContainer' is unavailable in watchOS
941 | for attributes: [NSAttributedString.Key: Any],
942 | location: any NSTextLocation,
943 | textContainer: NSTextContainer?,
| `- error: 'NSTextContainer' is unavailable in watchOS
944 | proposedLineFragment: CGRect,
945 | 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:937:61: error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
935 | #if canImport(UIKit)
936 | /// Creates the UIKit view used to edit a `MarkdownTableAttachment`.
937 | public final class MarkdownTableAttachmentViewProvider: NSTextAttachmentViewProvider {
| `- error: 'NSTextAttachmentViewProvider' is unavailable in watchOS
938 | var availableWidth: CGFloat?
939 |
/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:988:29: error: 'UIStackView' is unavailable in watchOS
986 | private let controller: MarkdownTableController
987 | private var maximumWidth: CGFloat?
988 | private let stack = UIStackView()
| `- error: 'UIStackView' is unavailable in watchOS
989 | private var fields: [MarkdownTableCellPosition: MarkdownTableCellTextView] = [:]
990 | 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:988:29: error: 'init()' is unavailable in watchOS
986 | private let controller: MarkdownTableController
987 | private var maximumWidth: CGFloat?
988 | private let stack = UIStackView()
| `- error: 'init()' is unavailable in watchOS
989 | private var fields: [MarkdownTableCellPosition: MarkdownTableCellTextView] = [:]
990 | 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:990:47: error: 'NSLayoutConstraint' is unavailable in watchOS
988 | private let stack = UIStackView()
989 | private var fields: [MarkdownTableCellPosition: MarkdownTableCellTextView] = [:]
990 | private var columnWidthConstraints: [[NSLayoutConstraint]] = []
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
991 | private var isEditingCell = false
992 | 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:1042:44: error: 'UITextView' is unavailable in watchOS
1040 | }
1041 |
1042 | func textViewDidChange(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1043 | guard let field = textView as? MarkdownTableCellTextView else {
1044 | 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:1058:50: error: 'UITextView' is unavailable in watchOS
1056 | }
1057 |
1058 | func textViewDidBeginEditing(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1059 | guard let field = textView as? MarkdownTableCellTextView else {
1060 | 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:1066:35: error: 'UITextView' is unavailable in watchOS
1064 | }
1065 |
1066 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UITextView' is unavailable in watchOS
1067 | guard let field = textView as? MarkdownTableCellTextView,
1068 | let editor = field.markdownEditor 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:1066:100: error: 'UIMenuElement' is unavailable in watchOS
1064 | }
1065 |
1066 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UIMenuElement' is unavailable in watchOS
1067 | guard let field = textView as? MarkdownTableCellTextView,
1068 | let editor = field.markdownEditor 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:1066:119: error: 'UIMenu' is unavailable in watchOS
1064 | }
1065 |
1066 | func textView(_ textView: UITextView, editMenuForTextIn range: NSRange, suggestedActions: [UIMenuElement]) -> UIMenu? {
| `- error: 'UIMenu' is unavailable in watchOS
1067 | guard let field = textView as? MarkdownTableCellTextView,
1068 | let editor = field.markdownEditor 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:1092:53: error: 'UITextView' is unavailable in watchOS
1090 | }
1091 |
1092 | func textViewDidChangeSelection(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
1093 | guard let field = textView as? MarkdownTableCellTextView, field.isFirstResponder else {
1094 | 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:1331:60: error: cannot find type 'MarkdownTextView' in scope
1329 |
1330 | /// Invalidates only the fragment holding this table; later fragments move during relayout.
1331 | private func invalidateAttachmentLayout(in editor: MarkdownTextView, manager: NSTextLayoutManager) {
| `- error: cannot find type 'MarkdownTextView' in scope
1332 | let storage = editor.textStorage
1333 | var attachmentRange: NSRange?
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/Tables/MarkdownTableAttachment.swift:1331:87: error: 'NSTextLayoutManager' is unavailable in watchOS
1329 |
1330 | /// Invalidates only the fragment holding this table; later fragments move during relayout.
1331 | private func invalidateAttachmentLayout(in editor: MarkdownTextView, manager: NSTextLayoutManager) {
| `- error: 'NSTextLayoutManager' is unavailable in watchOS
1332 | let storage = editor.textStorage
1333 | 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:982:56: error: 'UIView' is unavailable in watchOS
980 | }
981 |
982 | @MainActor final class UIKitMarkdownTableGridView: UIView, UITextViewDelegate {
| `- error: 'UIView' is unavailable in watchOS
983 | private(set) var attachmentResizeCount = 0
984 | /// 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:982:64: error: 'UITextViewDelegate' is unavailable in watchOS
980 | }
981 |
982 | @MainActor final class UIKitMarkdownTableGridView: UIView, UITextViewDelegate {
| `- error: 'UITextViewDelegate' is unavailable in watchOS
983 | private(set) var attachmentResizeCount = 0
984 | /// 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
SwiftCompile normal arm64_32 (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ MarkdownEditor.swift,\ MarkdownEditorContext.swift,\ MarkdownEditorTheme+SwiftUI.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 (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/SwiftUI/MarkdownEditor.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownEditor.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MarkdownUIEditor/SwiftUI/MarkdownEditorContext.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MarkdownEditorContext.swift
SwiftCompile normal arm64_32 /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
SwiftEmitModule normal arm64 Emitting\ module\ for\ MarkdownUI (in target 'MarkdownUI' from project 'swift-markdown-ui')
SwiftCompile normal arm64 (in target 'MarkdownUI' from project 'swift-markdown-ui')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling MarkdownEditor.swift, MarkdownEditorContext.swift, MarkdownEditorTheme+SwiftUI.swift (in target 'MarkdownUIEditor' from project 'swift-markdown-ui')
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/WatchKit-52R8D796YDUMWDJVUEFB445DC.pcm
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-10-13 16:35:22.438 xcodebuild[1690:9613] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-10-13 16:35:22.541 xcodebuild[1690:9613] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ 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
(3 failures)
BUILD FAILURE 6.4 watchOS