Build Information
Failed to build HTMLEditor-SwiftUI, reference main (ce59a5), with Swift 6.4 for watchOS using Xcode 27.0 on 19 Sep 2026 09:48:06 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme HTMLEditor-SwiftUI-Package -destination generic/platform=watchOSBuild Log
SwiftCompile normal arm64_32 (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ HTMLEditorColorScheme.swift,\ HTMLEditorCoordinatorEditing.swift,\ HTMLEditorCoordinatorLifecycle.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorColorScheme.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorCoordinatorEditing.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorCoordinatorLifecycle.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorColorScheme.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorColorScheme.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorCoordinatorEditing.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorCoordinatorEditing.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorCoordinatorLifecycle.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorCoordinatorLifecycle.swift
SwiftCompile normal arm64_32 Compiling\ HTMLEditor.swift,\ HTMLEditorAutoTypeDiagnostic.swift,\ HTMLEditorBenchmarkSupport.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditor.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorAutoTypeDiagnostic.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorBenchmarkSupport.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditor.swift:88:28: error: cannot find type 'UIHostingController' in scope
86 | /// holds it — an input accessory view has no view-controller parent, so
87 | /// dropping this leaves SwiftUI content that never updates again.
88 | var accessoryHost: UIHostingController<AnyView>?
| `- error: cannot find type 'UIHostingController' in scope
89 | #endif
90 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditor.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditor.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorAutoTypeDiagnostic.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorAutoTypeDiagnostic.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorBenchmarkSupport.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorBenchmarkSupport.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ HTMLEditor (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
SwiftCompile normal arm64 (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
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-09-19 05:47:54.582 xcodebuild[627:3883] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-19 05:47:54.711 xcodebuild[627:3883] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ HTMLEditor (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
SwiftCompile normal arm64_32 (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
Building workspace HTMLEditor-SwiftUI with scheme HTMLEditor-SwiftUI-Package
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
HTMLEditor-SwiftUI: /Users/admin/builder/spi-builder-workspace
resolved source packages: HTMLEditor-SwiftUI
2026-09-19 05:48:02.923 xcodebuild[796:4599] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "HTMLEditor-SwiftUI",
"name" : "HTMLEditor-SwiftUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "HTMLEditor-SwiftUI",
"targets" : [
"HTMLEditor"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HTMLEditorBenchmarks",
"targets" : [
"HTMLEditorBenchmarks"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "HTMLEditorBenchmarks",
"module_type" : "SwiftTarget",
"name" : "HTMLEditorBenchmarks",
"path" : "Sources/HTMLEditorBenchmarks",
"product_memberships" : [
"HTMLEditorBenchmarks"
],
"sources" : [
"BenchmarkDocument.swift",
"HTMLEditorBenchmarksMain.swift"
],
"target_dependencies" : [
"HTMLEditor"
],
"type" : "executable"
},
{
"c99name" : "HTMLEditor_SwiftUITests",
"module_type" : "SwiftTarget",
"name" : "HTMLEditor-SwiftUITests",
"path" : "Tests/HTMLEditor-SwiftUITests",
"sources" : [
"HTMLEditorBindingLagTests.swift",
"HTMLEditorCoordinatorEditingTests.swift",
"HTMLEditorExternalUpdateTests.swift",
"HTMLEditorHighlightCoverageTests.swift",
"HTMLEditorLargeDocumentTests.swift",
"HTMLEditorLocalRepaintTests.swift",
"HTMLEditorParagraphCacheCostTests.swift",
"HTMLEditorParagraphCacheTests.swift",
"HTMLEditorPolicyTests.swift",
"HTMLEditorVisibleHighlightStateTests.swift",
"HTMLHighlightPlannerTests.swift",
"HTMLSyntaxHighlighterTests.swift",
"TestSupport.swift"
],
"target_dependencies" : [
"HTMLEditor"
],
"type" : "test"
},
{
"c99name" : "HTMLEditor",
"module_type" : "SwiftTarget",
"name" : "HTMLEditor",
"path" : "Sources/HTMLEditor",
"product_memberships" : [
"HTMLEditor-SwiftUI",
"HTMLEditorBenchmarks"
],
"sources" : [
"HTMLEditor.swift",
"HTMLEditorAutoTypeDiagnostic.swift",
"HTMLEditorBenchmarkSupport.swift",
"HTMLEditorColorScheme.swift",
"HTMLEditorCoordinatorEditing.swift",
"HTMLEditorCoordinatorLifecycle.swift",
"HTMLEditorCoordinatorTextKit2.swift",
"HTMLEditorCoordinatorViewport.swift",
"HTMLEditorHighlightCoverage.swift",
"HTMLEditorKeyboardAccessory.swift",
"HTMLEditorParagraphHighlighting.swift",
"HTMLEditorPlatform.swift",
"HTMLEditorPolicies.swift",
"HTMLEditorRepresentable+iOS.swift",
"HTMLEditorRepresentable+macOS.swift",
"HTMLEditorSignposts.swift",
"HTMLEditorStructuralRanges.swift",
"HTMLEditorTextKitSurface.swift",
"HTMLEditorTheme.swift",
"HTMLEditorVisibleHighlightState.swift",
"HTMLSyntaxHighlighter.swift",
"HTMLSyntaxHighlighterPlanBuilder.swift",
"HTMLSyntaxHighlighterPlanner.swift"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
{
"workspace" : {
"name" : "HTMLEditor-SwiftUI",
"schemes" : [
"HTMLEditor",
"HTMLEditor-SwiftUI",
"HTMLEditor-SwiftUI-Package",
"HTMLEditorBenchmarks"
]
}
}
2026-09-19 05:48:04.290 xcodebuild[804:4666] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-19 05:48:04.434 xcodebuild[804:4666] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme HTMLEditor-SwiftUI-Package -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme HTMLEditor-SwiftUI-Package -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
HTMLEditor-SwiftUI: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
Target 'HTMLEditorBenchmarks-product' in project 'HTMLEditor-SwiftUI'
➜ Explicit dependency on target 'HTMLEditor' in project 'HTMLEditor-SwiftUI'
Target 'HTMLEditor-SwiftUI-product' in project 'HTMLEditor-SwiftUI'
➜ Explicit dependency on target 'HTMLEditor' in project 'HTMLEditor-SwiftUI'
Target 'HTMLEditor' in project 'HTMLEditor-SwiftUI' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver HTMLEditor normal arm64 com.apple.xcode.tools.swift.compiler (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name HTMLEditor -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64/HTMLEditor.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.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-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64/HTMLEditor-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/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64/HTMLEditor.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64/HTMLEditor-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/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64/HTMLEditor_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-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/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64/HTMLEditor-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver HTMLEditor normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name HTMLEditor -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64_32/HTMLEditor.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.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-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64_32/HTMLEditor-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/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64_32/HTMLEditor.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64_32/HTMLEditor-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/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64_32/HTMLEditor_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-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/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64_32/HTMLEditor-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ HTMLEditor (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditor.swift:88:28: error: cannot find type 'UIHostingController' in scope
86 | /// holds it — an input accessory view has no view-controller parent, so
87 | /// dropping this leaves SwiftUI content that never updates again.
88 | var accessoryHost: UIHostingController<AnyView>?
| `- error: cannot find type 'UIHostingController' in scope
89 | #endif
90 |
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditor.swift:181:54: error: 'NSTextParagraph' is unavailable in watchOS
179 | var usesPulledHighlighting = false
180 | /// Per-paragraph plans for the TextKit 2 pull-based path.
181 | var styledParagraphCache: [ParagraphPlanKey: NSTextParagraph] = [:]
| `- error: 'NSTextParagraph' is unavailable in watchOS
182 |
183 | init(_ parent: HTMLEditor) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextElement.h:58:12: note: 'NSTextParagraph' has been explicitly marked unavailable here
56 | /// A class that represents a single paragraph backed by an attributed string as the contents.
57 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
58 | @interface NSTextParagraph : NSTextElement
| `- note: 'NSTextParagraph' has been explicitly marked unavailable here
59 | #pragma mark Initialization
60 | /// Creates a new paragraph with the attributed string you provide.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorKeyboardAccessory.swift:26:19: error: 'UIView' is unavailable in watchOS
24 | static let height: CGFloat = 44
25 |
26 | init(content: UIView) {
| `- error: 'UIView' is unavailable in watchOS
27 | super.init(
28 | // The width is a placeholder: UIKit resizes an input accessory
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorKeyboardAccessory.swift:22:38: error: 'UIInputView' is unavailable in watchOS
20 | /// row of buttons.
21 | @MainActor
22 | final class HTMLEditorAccessoryView: UIInputView {
| `- error: 'UIInputView' is unavailable in watchOS
23 | /// One row of controls, the same height UIKit gives its own shortcut bar.
24 | static let height: CGFloat = 44
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h:20:12: note: 'UIInputView' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIInputView : UIView
| `- note: 'UIInputView' has been explicitly marked unavailable here
21 |
22 | @property (nonatomic, readonly) UIInputViewStyle inputViewStyle;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorKeyboardAccessory.swift:62:45: error: 'UITextView' is unavailable in watchOS
60 | /// creation would act on stale state — tapping "bold" after switching
61 | /// sections would edit the section you left.
62 | func syncKeyboardAccessory(on textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
63 | guard let accessory = parent.keyboardAccessory else {
64 | if accessoryHost != nil {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/HTMLEditor/HTMLEditorParagraphHighlighting.swift:30:31: error: 'NSTextContentStorage' is unavailable in watchOS
28 | extension HTMLEditor.Coordinator: @MainActor NSTextContentStorageDelegate {
29 | public func textContentStorage(
30 | _ textContentStorage: NSTextContentStorage,
| `- error: 'NSTextContentStorage' is unavailable in watchOS
31 | textParagraphWith range: NSRange
32 | ) -> NSTextParagraph? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift:32:10: error: 'NSTextParagraph' is unavailable in watchOS
30 | _ textContentStorage: NSTextContentStorage,
31 | textParagraphWith range: NSRange
32 | ) -> NSTextParagraph? {
| `- error: 'NSTextParagraph' is unavailable in watchOS
33 | HTMLEditorSignpost.interval("paragraph-styling") {
34 | styledParagraph(in: textContentStorage, range: range)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextElement.h:58:12: note: 'NSTextParagraph' has been explicitly marked unavailable here
56 | /// A class that represents a single paragraph backed by an attributed string as the contents.
57 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
58 | @interface NSTextParagraph : NSTextElement
| `- note: 'NSTextParagraph' has been explicitly marked unavailable here
59 | #pragma mark Initialization
60 | /// Creates a new paragraph with the attributed string you provide.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift:40:32: error: 'NSTextContentStorage' is unavailable in watchOS
38 | @MainActor
39 | private func styledParagraph(
40 | in textContentStorage: NSTextContentStorage,
| `- error: 'NSTextContentStorage' is unavailable in watchOS
41 | range: NSRange
42 | ) -> NSTextParagraph? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift:42:10: error: 'NSTextParagraph' is unavailable in watchOS
40 | in textContentStorage: NSTextContentStorage,
41 | range: NSRange
42 | ) -> NSTextParagraph? {
| `- error: 'NSTextParagraph' is unavailable in watchOS
43 | guard let textStorage = textContentStorage.textStorage,
44 | range.location != NSNotFound,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextElement.h:58:12: note: 'NSTextParagraph' has been explicitly marked unavailable here
56 | /// A class that represents a single paragraph backed by an attributed string as the contents.
57 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
58 | @interface NSTextParagraph : NSTextElement
| `- note: 'NSTextParagraph' has been explicitly marked unavailable here
59 | #pragma mark Initialization
60 | /// Creates a new paragraph with the attributed string you provide.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift:28:46: error: 'NSTextContentStorageDelegate' is unavailable in watchOS
26 | /// not actor-annotated, but TextKit only ever calls it during layout, which
27 | /// happens on the main thread.
28 | extension HTMLEditor.Coordinator: @MainActor NSTextContentStorageDelegate {
| `- error: 'NSTextContentStorageDelegate' is unavailable in watchOS
29 | public func textContentStorage(
30 | _ textContentStorage: NSTextContentStorage,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:273:11: note: 'NSTextContentStorageDelegate' has been explicitly marked unavailable here
271 | /// The optional methods that delegates of content storage objects implement to handle content processing.
272 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
273 | @protocol NSTextContentStorageDelegate <NSTextContentManagerDelegate>
| `- note: 'NSTextContentStorageDelegate' has been explicitly marked unavailable here
274 | @optional
275 | /// Returns a custom `NSTextParagraph` for the specified range in the content storage's attributed string.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorPlatform.swift:33:30: error: 'UITextView' is unavailable in watchOS
31 | public typealias Colour = UIColor
32 | public typealias Font = UIFont
33 | public typealias TextView = UITextView
| `- error: 'UITextView' is unavailable in watchOS
34 | #endif
35 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorPlatform.swift:56:42: error: 'UITraitCollection' is unavailable in watchOS
54 | }
55 | #else
56 | public static func resolve(from traits: UITraitCollection) -> HTMLEditorAppearance {
| `- error: 'UITraitCollection' is unavailable in watchOS
57 | traits.userInterfaceStyle == .dark ? .dark : .light
58 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorPlatform.swift:100:31: error: 'NSTextContainer' is unavailable in watchOS
98 | /// `NSTextView.textContainer` is optional, `UITextView`'s is not — this
99 | /// hands back the optional spelling on both so call sites do not fork.
100 | var htmlEditorTextContainer: NSTextContainer? {
| `- error: 'NSTextContainer' is unavailable in watchOS
101 | #if os(macOS)
102 | return textContainer
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:11:23: error: cannot find type 'UIViewRepresentable' in scope
9 |
10 | @MainActor
11 | extension HTMLEditor: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 |
13 | public func makeUIView(context: Context) -> HTMLEditorTextView {
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:13:37: error: cannot find type 'Context' in scope
11 | extension HTMLEditor: UIViewRepresentable {
12 |
13 | public func makeUIView(context: Context) -> HTMLEditorTextView {
| `- error: cannot find type 'Context' in scope
14 | // TextKit 2 explicitly, even though it is the default from iOS 16 —
15 | // the default is a default, and one stray TextKit 1 access anywhere
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:86:71: error: cannot find type 'Context' in scope
84 | }
85 |
86 | public func updateUIView(_ textView: HTMLEditorTextView, context: Context) {
| `- error: cannot find type 'Context' in scope
87 | HTMLEditorSignpost.interval("updateUIView") {
88 | // SwiftUI hands over a fresh HTMLEditor value on every update, so
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:138:49: error: 'NSTextContainer' is unavailable in watchOS
136 | weak var coordinator: HTMLEditor.Coordinator?
137 |
138 | override init(frame: CGRect, textContainer: NSTextContainer?) {
| `- error: 'NSTextContainer' is unavailable in watchOS
139 | super.init(frame: frame, textContainer: textContainer)
140 | observeTraitChanges()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:135:40: error: 'UITextView' is unavailable in watchOS
133 | /// `UITraitCollection.current` is only valid inside a trait-propagating
134 | /// context, and the content-storage delegate callback is not one.
135 | public final class HTMLEditorTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
136 | weak var coordinator: HTMLEditor.Coordinator?
137 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:188:21: error: 'UITextView' is unavailable in watchOS
186 |
187 | public func textView(
188 | _ textView: UITextView,
| `- error: 'UITextView' is unavailable in watchOS
189 | shouldChangeTextIn range: NSRange,
190 | replacementText text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/HTMLEditor/HTMLEditorRepresentable+iOS.swift:196:47: error: 'UITextView' is unavailable in watchOS
194 | }
195 |
196 | public func textViewDidChange(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
197 | handleTextDidChange(textView: textView)
198 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:200:51: error: 'UITextView' is unavailable in watchOS
198 | }
199 |
200 | public func textViewDidEndEditing(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
201 | parent.focusBinding?.wrappedValue = false
202 | Task { @MainActor [weak self] in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:207:53: error: 'UITextView' is unavailable in watchOS
205 | }
206 |
207 | public func textViewDidBeginEditing(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
208 | parent.focusBinding?.wrappedValue = true
209 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:185:35: error: 'UITextViewDelegate' is unavailable in watchOS
183 | }
184 |
185 | extension HTMLEditor.Coordinator: UITextViewDelegate {
| `- error: 'UITextViewDelegate' is unavailable in watchOS
186 |
187 | public func textView(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h: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/HTMLEditor/HTMLEditorTextKitSurface.swift:50:19: error: 'NSTextLayoutManager' is unavailable in watchOS
48 | case textKit1(NSLayoutManager)
49 | #endif
50 | case textKit2(NSTextLayoutManager, NSTextContentStorage)
| `- error: 'NSTextLayoutManager' is unavailable in watchOS
51 |
52 | /// Why a surface could not be resolved. `nil` used to mean two different
/Applications/Xcode-27.0.0-Release.Candidate.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/HTMLEditor/HTMLEditorTextKitSurface.swift:50:40: error: 'NSTextContentStorage' is unavailable in watchOS
48 | case textKit1(NSLayoutManager)
49 | #endif
50 | case textKit2(NSTextLayoutManager, NSTextContentStorage)
| `- error: 'NSTextContentStorage' is unavailable in watchOS
51 |
52 | /// Why a surface could not be resolved. `nil` used to mean two different
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:96:75: error: 'NSTextStorage' is unavailable in watchOS
94 | /// keeps one rule ("never touch TextKit 1 properties") rather than two.
95 | @MainActor
96 | static func textStorage(for textView: HTMLEditorPlatform.TextView) -> NSTextStorage? {
| `- error: 'NSTextStorage' is unavailable in watchOS
97 | #if os(macOS)
98 | if let contentStorage = textView.textContentStorage {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
44 | /// `edited:range:changeInLength:` to get everything else to happen.
45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
| `- note: 'NSTextStorage' has been explicitly marked unavailable here
47 | /**************************** Pending edit info ****************************/
48 |
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:193:71: error: 'NSTextContainer' is unavailable in watchOS
191 | /// from the start of the document.
192 | @MainActor
193 | func visibleCharacterRange(in visibleRect: CGRect, textContainer: NSTextContainer?) -> NSRange? {
| `- error: 'NSTextContainer' is unavailable in watchOS
194 | switch self {
195 | #if os(macOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:229:64: error: 'NSTextContentStorage' is unavailable in watchOS
227 |
228 | @MainActor
229 | static func textRange(_ range: NSRange, in contentStorage: NSTextContentStorage) -> NSTextRange? {
| `- error: 'NSTextContentStorage' is unavailable in watchOS
230 | guard range.location != NSNotFound, range.location >= 0 else { return nil }
231 | guard let start = contentStorage.location(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:239:66: error: 'NSTextContentStorage' is unavailable in watchOS
237 |
238 | @MainActor
239 | static func nsRange(_ range: NSTextRange, in contentStorage: NSTextContentStorage) -> NSRange {
| `- error: 'NSTextContentStorage' is unavailable in watchOS
240 | let location = contentStorage.offset(
241 | from: contentStorage.documentRange.location,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditor.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorAutoTypeDiagnostic.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorBenchmarkSupport.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorColorScheme.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorCoordinatorEditing.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorCoordinatorLifecycle.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorCoordinatorTextKit2.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorCoordinatorViewport.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorHighlightCoverage.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorKeyboardAccessory.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorPlatform.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorPolicies.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+macOS.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorSignposts.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorStructuralRanges.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTheme.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorVisibleHighlightState.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLSyntaxHighlighter.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLSyntaxHighlighterPlanBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLSyntaxHighlighterPlanner.swift -target arm64_32-apple-watchos10.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64_32/HTMLEditor-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name HTMLEditor -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64_32/HTMLEditor_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64_32/HTMLEditor.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64_32/HTMLEditor.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64_32/HTMLEditor-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64_32/HTMLEditor-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64_32/HTMLEditor-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64_32/HTMLEditor.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/HTMLEditor-SwiftUI.build/Debug-watchos/HTMLEditor-t.build/Objects-normal/arm64_32/HTMLEditor.abi.json
SwiftCompile normal arm64_32 Compiling\ HTMLEditorSignposts.swift,\ HTMLEditorStructuralRanges.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorSignposts.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorStructuralRanges.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorSignposts.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorSignposts.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorStructuralRanges.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorStructuralRanges.swift
SwiftCompile normal arm64 Compiling\ HTMLEditorKeyboardAccessory.swift,\ HTMLEditorParagraphHighlighting.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorKeyboardAccessory.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorKeyboardAccessory.swift:26:19: error: 'UIView' is unavailable in watchOS
24 | static let height: CGFloat = 44
25 |
26 | init(content: UIView) {
| `- error: 'UIView' is unavailable in watchOS
27 | super.init(
28 | // The width is a placeholder: UIKit resizes an input accessory
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorKeyboardAccessory.swift:22:38: error: 'UIInputView' is unavailable in watchOS
20 | /// row of buttons.
21 | @MainActor
22 | final class HTMLEditorAccessoryView: UIInputView {
| `- error: 'UIInputView' is unavailable in watchOS
23 | /// One row of controls, the same height UIKit gives its own shortcut bar.
24 | static let height: CGFloat = 44
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h:20:12: note: 'UIInputView' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIInputView : UIView
| `- note: 'UIInputView' has been explicitly marked unavailable here
21 |
22 | @property (nonatomic, readonly) UIInputViewStyle inputViewStyle;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorKeyboardAccessory.swift:62:45: error: 'UITextView' is unavailable in watchOS
60 | /// creation would act on stale state — tapping "bold" after switching
61 | /// sections would edit the section you left.
62 | func syncKeyboardAccessory(on textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
63 | guard let accessory = parent.keyboardAccessory else {
64 | if accessoryHost != nil {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/HTMLEditor/HTMLEditor.swift:88:28: error: cannot find type 'UIHostingController' in scope
86 | /// holds it — an input accessory view has no view-controller parent, so
87 | /// dropping this leaves SwiftUI content that never updates again.
88 | var accessoryHost: UIHostingController<AnyView>?
| `- error: cannot find type 'UIHostingController' in scope
89 | #endif
90 |
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorKeyboardAccessory.swift:77:20: error: cannot find 'UIHostingController' in scope
75 | }
76 |
77 | let host = UIHostingController(rootView: accessory())
| `- error: cannot find 'UIHostingController' in scope
78 | host.view.backgroundColor = .clear
79 | // Without this the hosting view keeps the safe-area inset of the
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorKeyboardAccessory.swift:78:38: error: cannot infer contextual base in reference to member 'clear'
76 |
77 | let host = UIHostingController(rootView: accessory())
78 | host.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
79 | // Without this the hosting view keeps the safe-area inset of the
80 | // window it is measured against and the row sits visibly low.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift:30:31: error: 'NSTextContentStorage' is unavailable in watchOS
28 | extension HTMLEditor.Coordinator: @MainActor NSTextContentStorageDelegate {
29 | public func textContentStorage(
30 | _ textContentStorage: NSTextContentStorage,
| `- error: 'NSTextContentStorage' is unavailable in watchOS
31 | textParagraphWith range: NSRange
32 | ) -> NSTextParagraph? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift:32:10: error: 'NSTextParagraph' is unavailable in watchOS
30 | _ textContentStorage: NSTextContentStorage,
31 | textParagraphWith range: NSRange
32 | ) -> NSTextParagraph? {
| `- error: 'NSTextParagraph' is unavailable in watchOS
33 | HTMLEditorSignpost.interval("paragraph-styling") {
34 | styledParagraph(in: textContentStorage, range: range)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextElement.h:58:12: note: 'NSTextParagraph' has been explicitly marked unavailable here
56 | /// A class that represents a single paragraph backed by an attributed string as the contents.
57 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
58 | @interface NSTextParagraph : NSTextElement
| `- note: 'NSTextParagraph' has been explicitly marked unavailable here
59 | #pragma mark Initialization
60 | /// Creates a new paragraph with the attributed string you provide.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift:40:32: error: 'NSTextContentStorage' is unavailable in watchOS
38 | @MainActor
39 | private func styledParagraph(
40 | in textContentStorage: NSTextContentStorage,
| `- error: 'NSTextContentStorage' is unavailable in watchOS
41 | range: NSRange
42 | ) -> NSTextParagraph? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift:42:10: error: 'NSTextParagraph' is unavailable in watchOS
40 | in textContentStorage: NSTextContentStorage,
41 | range: NSRange
42 | ) -> NSTextParagraph? {
| `- error: 'NSTextParagraph' is unavailable in watchOS
43 | guard let textStorage = textContentStorage.textStorage,
44 | range.location != NSNotFound,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextElement.h:58:12: note: 'NSTextParagraph' has been explicitly marked unavailable here
56 | /// A class that represents a single paragraph backed by an attributed string as the contents.
57 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
58 | @interface NSTextParagraph : NSTextElement
| `- note: 'NSTextParagraph' has been explicitly marked unavailable here
59 | #pragma mark Initialization
60 | /// Creates a new paragraph with the attributed string you provide.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift:28:46: error: 'NSTextContentStorageDelegate' is unavailable in watchOS
26 | /// not actor-annotated, but TextKit only ever calls it during layout, which
27 | /// happens on the main thread.
28 | extension HTMLEditor.Coordinator: @MainActor NSTextContentStorageDelegate {
| `- error: 'NSTextContentStorageDelegate' is unavailable in watchOS
29 | public func textContentStorage(
30 | _ textContentStorage: NSTextContentStorage,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:273:11: note: 'NSTextContentStorageDelegate' has been explicitly marked unavailable here
271 | /// The optional methods that delegates of content storage objects implement to handle content processing.
272 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
273 | @protocol NSTextContentStorageDelegate <NSTextContentManagerDelegate>
| `- note: 'NSTextContentStorageDelegate' has been explicitly marked unavailable here
274 | @optional
275 | /// Returns a custom `NSTextParagraph` for the specified range in the content storage's attributed string.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorKeyboardAccessory.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorKeyboardAccessory.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorParagraphHighlighting.swift
SwiftCompile normal arm64 Compiling\ HTMLEditorColorScheme.swift,\ HTMLEditorCoordinatorEditing.swift,\ HTMLEditorCoordinatorLifecycle.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorColorScheme.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorCoordinatorEditing.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorCoordinatorLifecycle.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorColorScheme.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorColorScheme.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorCoordinatorEditing.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorCoordinatorEditing.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorCoordinatorLifecycle.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorCoordinatorLifecycle.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ HTMLEditor (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditor.swift:88:28: error: cannot find type 'UIHostingController' in scope
86 | /// holds it — an input accessory view has no view-controller parent, so
87 | /// dropping this leaves SwiftUI content that never updates again.
88 | var accessoryHost: UIHostingController<AnyView>?
| `- error: cannot find type 'UIHostingController' in scope
89 | #endif
90 |
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditor.swift:181:54: error: 'NSTextParagraph' is unavailable in watchOS
179 | var usesPulledHighlighting = false
180 | /// Per-paragraph plans for the TextKit 2 pull-based path.
181 | var styledParagraphCache: [ParagraphPlanKey: NSTextParagraph] = [:]
| `- error: 'NSTextParagraph' is unavailable in watchOS
182 |
183 | init(_ parent: HTMLEditor) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextElement.h:58:12: note: 'NSTextParagraph' has been explicitly marked unavailable here
56 | /// A class that represents a single paragraph backed by an attributed string as the contents.
57 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
58 | @interface NSTextParagraph : NSTextElement
| `- note: 'NSTextParagraph' has been explicitly marked unavailable here
59 | #pragma mark Initialization
60 | /// Creates a new paragraph with the attributed string you provide.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorKeyboardAccessory.swift:26:19: error: 'UIView' is unavailable in watchOS
24 | static let height: CGFloat = 44
25 |
26 | init(content: UIView) {
| `- error: 'UIView' is unavailable in watchOS
27 | super.init(
28 | // The width is a placeholder: UIKit resizes an input accessory
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorKeyboardAccessory.swift:22:38: error: 'UIInputView' is unavailable in watchOS
20 | /// row of buttons.
21 | @MainActor
22 | final class HTMLEditorAccessoryView: UIInputView {
| `- error: 'UIInputView' is unavailable in watchOS
23 | /// One row of controls, the same height UIKit gives its own shortcut bar.
24 | static let height: CGFloat = 44
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h:20:12: note: 'UIInputView' has been explicitly marked unavailable here
18 |
19 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20 | @interface UIInputView : UIView
| `- note: 'UIInputView' has been explicitly marked unavailable here
21 |
22 | @property (nonatomic, readonly) UIInputViewStyle inputViewStyle;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorKeyboardAccessory.swift:62:45: error: 'UITextView' is unavailable in watchOS
60 | /// creation would act on stale state — tapping "bold" after switching
61 | /// sections would edit the section you left.
62 | func syncKeyboardAccessory(on textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
63 | guard let accessory = parent.keyboardAccessory else {
64 | if accessoryHost != nil {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/HTMLEditor/HTMLEditorParagraphHighlighting.swift:30:31: error: 'NSTextContentStorage' is unavailable in watchOS
28 | extension HTMLEditor.Coordinator: @MainActor NSTextContentStorageDelegate {
29 | public func textContentStorage(
30 | _ textContentStorage: NSTextContentStorage,
| `- error: 'NSTextContentStorage' is unavailable in watchOS
31 | textParagraphWith range: NSRange
32 | ) -> NSTextParagraph? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift:32:10: error: 'NSTextParagraph' is unavailable in watchOS
30 | _ textContentStorage: NSTextContentStorage,
31 | textParagraphWith range: NSRange
32 | ) -> NSTextParagraph? {
| `- error: 'NSTextParagraph' is unavailable in watchOS
33 | HTMLEditorSignpost.interval("paragraph-styling") {
34 | styledParagraph(in: textContentStorage, range: range)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextElement.h:58:12: note: 'NSTextParagraph' has been explicitly marked unavailable here
56 | /// A class that represents a single paragraph backed by an attributed string as the contents.
57 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
58 | @interface NSTextParagraph : NSTextElement
| `- note: 'NSTextParagraph' has been explicitly marked unavailable here
59 | #pragma mark Initialization
60 | /// Creates a new paragraph with the attributed string you provide.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift:40:32: error: 'NSTextContentStorage' is unavailable in watchOS
38 | @MainActor
39 | private func styledParagraph(
40 | in textContentStorage: NSTextContentStorage,
| `- error: 'NSTextContentStorage' is unavailable in watchOS
41 | range: NSRange
42 | ) -> NSTextParagraph? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift:42:10: error: 'NSTextParagraph' is unavailable in watchOS
40 | in textContentStorage: NSTextContentStorage,
41 | range: NSRange
42 | ) -> NSTextParagraph? {
| `- error: 'NSTextParagraph' is unavailable in watchOS
43 | guard let textStorage = textContentStorage.textStorage,
44 | range.location != NSNotFound,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextElement.h:58:12: note: 'NSTextParagraph' has been explicitly marked unavailable here
56 | /// A class that represents a single paragraph backed by an attributed string as the contents.
57 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
58 | @interface NSTextParagraph : NSTextElement
| `- note: 'NSTextParagraph' has been explicitly marked unavailable here
59 | #pragma mark Initialization
60 | /// Creates a new paragraph with the attributed string you provide.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorParagraphHighlighting.swift:28:46: error: 'NSTextContentStorageDelegate' is unavailable in watchOS
26 | /// not actor-annotated, but TextKit only ever calls it during layout, which
27 | /// happens on the main thread.
28 | extension HTMLEditor.Coordinator: @MainActor NSTextContentStorageDelegate {
| `- error: 'NSTextContentStorageDelegate' is unavailable in watchOS
29 | public func textContentStorage(
30 | _ textContentStorage: NSTextContentStorage,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:273:11: note: 'NSTextContentStorageDelegate' has been explicitly marked unavailable here
271 | /// The optional methods that delegates of content storage objects implement to handle content processing.
272 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
273 | @protocol NSTextContentStorageDelegate <NSTextContentManagerDelegate>
| `- note: 'NSTextContentStorageDelegate' has been explicitly marked unavailable here
274 | @optional
275 | /// Returns a custom `NSTextParagraph` for the specified range in the content storage's attributed string.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorPlatform.swift:33:30: error: 'UITextView' is unavailable in watchOS
31 | public typealias Colour = UIColor
32 | public typealias Font = UIFont
33 | public typealias TextView = UITextView
| `- error: 'UITextView' is unavailable in watchOS
34 | #endif
35 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorPlatform.swift:56:42: error: 'UITraitCollection' is unavailable in watchOS
54 | }
55 | #else
56 | public static func resolve(from traits: UITraitCollection) -> HTMLEditorAppearance {
| `- error: 'UITraitCollection' is unavailable in watchOS
57 | traits.userInterfaceStyle == .dark ? .dark : .light
58 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorPlatform.swift:100:31: error: 'NSTextContainer' is unavailable in watchOS
98 | /// `NSTextView.textContainer` is optional, `UITextView`'s is not — this
99 | /// hands back the optional spelling on both so call sites do not fork.
100 | var htmlEditorTextContainer: NSTextContainer? {
| `- error: 'NSTextContainer' is unavailable in watchOS
101 | #if os(macOS)
102 | return textContainer
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:11:23: error: cannot find type 'UIViewRepresentable' in scope
9 |
10 | @MainActor
11 | extension HTMLEditor: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 |
13 | public func makeUIView(context: Context) -> HTMLEditorTextView {
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:13:37: error: cannot find type 'Context' in scope
11 | extension HTMLEditor: UIViewRepresentable {
12 |
13 | public func makeUIView(context: Context) -> HTMLEditorTextView {
| `- error: cannot find type 'Context' in scope
14 | // TextKit 2 explicitly, even though it is the default from iOS 16 —
15 | // the default is a default, and one stray TextKit 1 access anywhere
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:86:71: error: cannot find type 'Context' in scope
84 | }
85 |
86 | public func updateUIView(_ textView: HTMLEditorTextView, context: Context) {
| `- error: cannot find type 'Context' in scope
87 | HTMLEditorSignpost.interval("updateUIView") {
88 | // SwiftUI hands over a fresh HTMLEditor value on every update, so
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:138:49: error: 'NSTextContainer' is unavailable in watchOS
136 | weak var coordinator: HTMLEditor.Coordinator?
137 |
138 | override init(frame: CGRect, textContainer: NSTextContainer?) {
| `- error: 'NSTextContainer' is unavailable in watchOS
139 | super.init(frame: frame, textContainer: textContainer)
140 | observeTraitChanges()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:135:40: error: 'UITextView' is unavailable in watchOS
133 | /// `UITraitCollection.current` is only valid inside a trait-propagating
134 | /// context, and the content-storage delegate callback is not one.
135 | public final class HTMLEditorTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
136 | weak var coordinator: HTMLEditor.Coordinator?
137 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
SwiftCompile normal arm64 (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:188:21: error: 'UITextView' is unavailable in watchOS
186 |
187 | public func textView(
188 | _ textView: UITextView,
| `- error: 'UITextView' is unavailable in watchOS
189 | shouldChangeTextIn range: NSRange,
190 | replacementText text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/HTMLEditor/HTMLEditorRepresentable+iOS.swift:196:47: error: 'UITextView' is unavailable in watchOS
194 | }
195 |
196 | public func textViewDidChange(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
197 | handleTextDidChange(textView: textView)
198 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:200:51: error: 'UITextView' is unavailable in watchOS
198 | }
199 |
200 | public func textViewDidEndEditing(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
201 | parent.focusBinding?.wrappedValue = false
202 | Task { @MainActor [weak self] in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:207:53: error: 'UITextView' is unavailable in watchOS
205 | }
206 |
207 | public func textViewDidBeginEditing(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
208 | parent.focusBinding?.wrappedValue = true
209 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
SwiftCompile normal arm64 Compiling\ HTMLEditorTextKitSurface.swift,\ HTMLEditorTheme.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTheme.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:50:19: error: 'NSTextLayoutManager' is unavailable in watchOS
48 | case textKit1(NSLayoutManager)
49 | #endif
50 | case textKit2(NSTextLayoutManager, NSTextContentStorage)
| `- error: 'NSTextLayoutManager' is unavailable in watchOS
51 |
52 | /// Why a surface could not be resolved. `nil` used to mean two different
/Applications/Xcode-27.0.0-Release.Candidate.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/HTMLEditor/HTMLEditorTextKitSurface.swift:50:40: error: 'NSTextContentStorage' is unavailable in watchOS
48 | case textKit1(NSLayoutManager)
49 | #endif
50 | case textKit2(NSTextLayoutManager, NSTextContentStorage)
| `- error: 'NSTextContentStorage' is unavailable in watchOS
51 |
52 | /// Why a surface could not be resolved. `nil` used to mean two different
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:96:75: error: 'NSTextStorage' is unavailable in watchOS
94 | /// keeps one rule ("never touch TextKit 1 properties") rather than two.
95 | @MainActor
96 | static func textStorage(for textView: HTMLEditorPlatform.TextView) -> NSTextStorage? {
| `- error: 'NSTextStorage' is unavailable in watchOS
97 | #if os(macOS)
98 | if let contentStorage = textView.textContentStorage {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
44 | /// `edited:range:changeInLength:` to get everything else to happen.
45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
| `- note: 'NSTextStorage' has been explicitly marked unavailable here
47 | /**************************** Pending edit info ****************************/
48 |
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:193:71: error: 'NSTextContainer' is unavailable in watchOS
191 | /// from the start of the document.
192 | @MainActor
193 | func visibleCharacterRange(in visibleRect: CGRect, textContainer: NSTextContainer?) -> NSRange? {
| `- error: 'NSTextContainer' is unavailable in watchOS
194 | switch self {
195 | #if os(macOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:229:64: error: 'NSTextContentStorage' is unavailable in watchOS
227 |
228 | @MainActor
229 | static func textRange(_ range: NSRange, in contentStorage: NSTextContentStorage) -> NSTextRange? {
| `- error: 'NSTextContentStorage' is unavailable in watchOS
230 | guard range.location != NSNotFound, range.location >= 0 else { return nil }
231 | guard let start = contentStorage.location(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:239:66: error: 'NSTextContentStorage' is unavailable in watchOS
237 |
238 | @MainActor
239 | static func nsRange(_ range: NSTextRange, in contentStorage: NSTextContentStorage) -> NSRange {
| `- error: 'NSTextContentStorage' is unavailable in watchOS
240 | let location = contentStorage.offset(
241 | from: contentStorage.documentRange.location,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:77:44: error: 'textLayoutManager' is unavailable in watchOS
75 | // `.layoutManager` (or `textContainer.layoutManager`) here would spring
76 | // the one-way trapdoor and drop the view to TextKit 1 permanently.
77 | guard let layoutManager = textView.textLayoutManager,
| `- error: 'textLayoutManager' is unavailable in watchOS
78 | let contentStorage = layoutManager.textContentManager as? NSTextContentStorage
79 | else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:275:63: note: 'textLayoutManager' has been explicitly marked unavailable here
273 |
274 | // This property accesses the TextKit 2 NSTextLayoutManager. You should generally prefer to use it over the TextKit 1 .layoutManager property if it exists. This property will return nil if TextKit 1 is in use.
275 | @property(nonatomic, nullable, readonly) NSTextLayoutManager *textLayoutManager API_AVAILABLE(ios(16.0), tvos(16.0)) API_UNAVAILABLE(watchos);
| `- note: 'textLayoutManager' has been explicitly marked unavailable here
276 |
277 | // To ensure compatibility with older code, accessing the .layoutManager of a UITextView - or its .textContainer's .layoutManager - will cause a UITextView that's using TextKit 2 to 'fall back' to TextKit 1, and return a newly created NSLayoutManager. After this happens, .textLayoutManager will return nil - and _any TextKit 2 objects you may have cached will cease functioning_. Be careful about this if you are intending to be using TextKit 2!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorTextKitSurface.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTheme.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorTheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:78:73: error: 'NSTextContentStorage' is unavailable in watchOS
76 | // the one-way trapdoor and drop the view to TextKit 1 permanently.
77 | guard let layoutManager = textView.textLayoutManager,
78 | let contentStorage = layoutManager.textContentManager as? NSTextContentStorage
| `- error: 'NSTextContentStorage' is unavailable in watchOS
79 | else {
80 | HTMLEditorSignpost.event("textkit2-unavailable")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:103:84: error: 'NSTextContentStorage' is unavailable in watchOS
101 | return textView.textStorage
102 | #else
103 | if let contentStorage = textView.textLayoutManager?.textContentManager as? NSTextContentStorage {
| `- error: 'NSTextContentStorage' is unavailable in watchOS
104 | return contentStorage.textStorage
105 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
SwiftCompile normal arm64_32 Compiling\ HTMLEditorRepresentable+iOS.swift,\ HTMLEditorRepresentable+macOS.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+macOS.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:11:23: error: cannot find type 'UIViewRepresentable' in scope
9 |
10 | @MainActor
11 | extension HTMLEditor: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 |
13 | public func makeUIView(context: Context) -> HTMLEditorTextView {
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:13:37: error: cannot find type 'Context' in scope
11 | extension HTMLEditor: UIViewRepresentable {
12 |
13 | public func makeUIView(context: Context) -> HTMLEditorTextView {
| `- error: cannot find type 'Context' in scope
14 | // TextKit 2 explicitly, even though it is the default from iOS 16 —
15 | // the default is a default, and one stray TextKit 1 access anywhere
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:86:71: error: cannot find type 'Context' in scope
84 | }
85 |
86 | public func updateUIView(_ textView: HTMLEditorTextView, context: Context) {
| `- error: cannot find type 'Context' in scope
87 | HTMLEditorSignpost.interval("updateUIView") {
88 | // SwiftUI hands over a fresh HTMLEditor value on every update, so
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:138:49: error: 'NSTextContainer' is unavailable in watchOS
136 | weak var coordinator: HTMLEditor.Coordinator?
137 |
138 | override init(frame: CGRect, textContainer: NSTextContainer?) {
| `- error: 'NSTextContainer' is unavailable in watchOS
139 | super.init(frame: frame, textContainer: textContainer)
140 | observeTraitChanges()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:135:40: error: 'UITextView' is unavailable in watchOS
133 | /// `UITraitCollection.current` is only valid inside a trait-propagating
134 | /// context, and the content-storage delegate callback is not one.
135 | public final class HTMLEditorTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
136 | weak var coordinator: HTMLEditor.Coordinator?
137 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:188:21: error: 'UITextView' is unavailable in watchOS
186 |
187 | public func textView(
188 | _ textView: UITextView,
| `- error: 'UITextView' is unavailable in watchOS
189 | shouldChangeTextIn range: NSRange,
190 | replacementText text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/HTMLEditor/HTMLEditorRepresentable+iOS.swift:196:47: error: 'UITextView' is unavailable in watchOS
194 | }
195 |
196 | public func textViewDidChange(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
197 | handleTextDidChange(textView: textView)
198 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:200:51: error: 'UITextView' is unavailable in watchOS
198 | }
199 |
200 | public func textViewDidEndEditing(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
201 | parent.focusBinding?.wrappedValue = false
202 | Task { @MainActor [weak self] in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:207:53: error: 'UITextView' is unavailable in watchOS
205 | }
206 |
207 | public func textViewDidBeginEditing(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
208 | parent.focusBinding?.wrappedValue = true
209 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:185:35: error: 'UITextViewDelegate' is unavailable in watchOS
183 | }
184 |
185 | extension HTMLEditor.Coordinator: UITextViewDelegate {
| `- error: 'UITextViewDelegate' is unavailable in watchOS
186 |
187 | public func textView(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h: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/HTMLEditor/HTMLEditorRepresentable+iOS.swift:37:18: error: 'smartQuotesType' is unavailable in watchOS
35 | textView.autocorrectionType = .no
36 | textView.spellCheckingType = .no
37 | textView.smartQuotesType = .no
| `- error: 'smartQuotesType' is unavailable in watchOS
38 | textView.smartDashesType = .no
39 | textView.smartInsertDeleteType = .no
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:255:44: note: 'smartQuotesType' has been explicitly marked unavailable here
253 | @property(nonatomic) UITextAutocorrectionType autocorrectionType; // default is UITextAutocorrectionTypeDefault
254 | @property(nonatomic) UITextSpellCheckingType spellCheckingType API_AVAILABLE(ios(5.0)); // default is UITextSpellCheckingTypeDefault;
255 | @property(nonatomic) UITextSmartQuotesType smartQuotesType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartQuotesTypeDefault;
| `- note: 'smartQuotesType' has been explicitly marked unavailable here
256 | @property(nonatomic) UITextSmartDashesType smartDashesType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartDashesTypeDefault;
257 | @property(nonatomic) UITextSmartInsertDeleteType smartInsertDeleteType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartInsertDeleteTypeDefault;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:38:18: error: 'smartDashesType' is unavailable in watchOS
36 | textView.spellCheckingType = .no
37 | textView.smartQuotesType = .no
38 | textView.smartDashesType = .no
| `- error: 'smartDashesType' is unavailable in watchOS
39 | textView.smartInsertDeleteType = .no
40 | textView.autocapitalizationType = .none
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:256:44: note: 'smartDashesType' has been explicitly marked unavailable here
254 | @property(nonatomic) UITextSpellCheckingType spellCheckingType API_AVAILABLE(ios(5.0)); // default is UITextSpellCheckingTypeDefault;
255 | @property(nonatomic) UITextSmartQuotesType smartQuotesType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartQuotesTypeDefault;
256 | @property(nonatomic) UITextSmartDashesType smartDashesType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartDashesTypeDefault;
| `- note: 'smartDashesType' has been explicitly marked unavailable here
257 | @property(nonatomic) UITextSmartInsertDeleteType smartInsertDeleteType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartInsertDeleteTypeDefault;
258 |
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:39:18: error: 'smartInsertDeleteType' is unavailable in watchOS
37 | textView.smartQuotesType = .no
38 | textView.smartDashesType = .no
39 | textView.smartInsertDeleteType = .no
| `- error: 'smartInsertDeleteType' is unavailable in watchOS
40 | textView.autocapitalizationType = .none
41 | textView.allowsEditingTextAttributes = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:257:50: note: 'smartInsertDeleteType' has been explicitly marked unavailable here
255 | @property(nonatomic) UITextSmartQuotesType smartQuotesType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartQuotesTypeDefault;
256 | @property(nonatomic) UITextSmartDashesType smartDashesType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartDashesTypeDefault;
257 | @property(nonatomic) UITextSmartInsertDeleteType smartInsertDeleteType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartInsertDeleteTypeDefault;
| `- note: 'smartInsertDeleteType' has been explicitly marked unavailable here
258 |
259 | // This property controls whether inline text prediction is enabled or disabled during typing
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:42:18: error: 'inlinePredictionType' is unavailable in watchOS
40 | textView.autocapitalizationType = .none
41 | textView.allowsEditingTextAttributes = false
42 | textView.inlinePredictionType = .no
| `- error: 'inlinePredictionType' is unavailable in watchOS
43 | if #available(iOS 18.0, *) {
44 | textView.mathExpressionCompletionType = .no
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:260:49: note: 'inlinePredictionType' has been explicitly marked unavailable here
258 |
259 | // This property controls whether inline text prediction is enabled or disabled during typing
260 | @property(nonatomic) UITextInlinePredictionType inlinePredictionType API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos); // default is UITextInlinePredictionTypeDefault
| `- note: 'inlinePredictionType' has been explicitly marked unavailable here
261 | // Controls whether math expression completion is enabled or disabled during typing
262 | @property(nonatomic) UITextMathExpressionCompletionType mathExpressionCompletionType API_AVAILABLE(ios(18.0)); // default is UITextMathExpressionCompletionTypeDefault
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:44:22: error: 'mathExpressionCompletionType' is only available in watchOS 11.0 or newer
9 |
10 | @MainActor
11 | extension HTMLEditor: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing extension
12 |
13 | public func makeUIView(context: Context) -> HTMLEditorTextView {
| `- note: add '@available' attribute to enclosing instance method
14 | // TextKit 2 explicitly, even though it is the default from iOS 16 —
15 | // the default is a default, and one stray TextKit 1 access anywhere
:
42 | textView.inlinePredictionType = .no
43 | if #available(iOS 18.0, *) {
44 | textView.mathExpressionCompletionType = .no
| |- error: 'mathExpressionCompletionType' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
45 | textView.writingToolsBehavior = .none
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:45:22: error: 'writingToolsBehavior' is unavailable in watchOS
43 | if #available(iOS 18.0, *) {
44 | textView.mathExpressionCompletionType = .no
45 | textView.writingToolsBehavior = .none
| `- error: 'writingToolsBehavior' is unavailable in watchOS
46 | }
47 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:314:34: note: 'writingToolsBehavior' has been explicitly marked unavailable here
312 |
313 | // Also see UITextInputTraits.h
314 | @property UIWritingToolsBehavior writingToolsBehavior API_AVAILABLE(ios(18.0), visionos(2.4)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'writingToolsBehavior' has been explicitly marked unavailable here
315 |
316 | // WARNING: UITextView does not support UIWritingToolsResultOptionsTable and will throw an exception for this value
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:55:18: error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
53 | // size again. The host gives the editor a frame instead.
54 | textView.isScrollEnabled = true
55 | textView.contentInsetAdjustmentBehavior = .never
| `- error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
56 | textView.textContainerInset = UIEdgeInsets(top: 8, left: 4, bottom: 8, right: 4)
57 | textView.textContainer.lineFragmentPadding = 0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:110:65: note: 'contentInsetAdjustmentBehavior' has been explicitly marked unavailable here
108 | Default is UIScrollViewContentInsetAdjustmentAutomatic.
109 | */
110 | @property(nonatomic) UIScrollViewContentInsetAdjustmentBehavior contentInsetAdjustmentBehavior API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'contentInsetAdjustmentBehavior' has been explicitly marked unavailable here
111 |
112 | /* Configures whether the scroll indicator insets are automatically adjusted by the system.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:58:32: error: 'maximumNumberOfLines' is unavailable in watchOS
56 | textView.textContainerInset = UIEdgeInsets(top: 8, left: 4, bottom: 8, right: 4)
57 | textView.textContainer.lineFragmentPadding = 0
58 | textView.textContainer.maximumNumberOfLines = 0
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
59 | textView.textContainer.widthTracksTextView = true
60 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:119:45: note: 'maximumNumberOfLines' has been explicitly marked unavailable here
117 | /// The default value of this property is `0`, which indicates that there is no
118 | /// limit.
119 | @property (NS_NONATOMIC_IOSONLY) NSUInteger maximumNumberOfLines API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'maximumNumberOfLines' has been explicitly marked unavailable here
120 |
121 | /**************************** Line fragments ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:63:81: error: 'NSTextContentStorage' is unavailable in watchOS
61 | // TextKit 2 pulls paragraph styling from this delegate as it lays the
62 | // viewport out, so it must be in place before any layout happens.
63 | let contentStorage = textView.textLayoutManager?.textContentManager as? NSTextContentStorage
| `- error: 'NSTextContentStorage' is unavailable in watchOS
64 | contentStorage?.delegate = context.coordinator
65 | context.coordinator.usesPulledHighlighting = contentStorage != nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:63:39: error: 'textLayoutManager' is unavailable in watchOS
61 | // TextKit 2 pulls paragraph styling from this delegate as it lays the
62 | // viewport out, so it must be in place before any layout happens.
63 | let contentStorage = textView.textLayoutManager?.textContentManager as? NSTextContentStorage
| `- error: 'textLayoutManager' is unavailable in watchOS
64 | contentStorage?.delegate = context.coordinator
65 | context.coordinator.usesPulledHighlighting = contentStorage != nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:275:63: note: 'textLayoutManager' has been explicitly marked unavailable here
273 |
274 | // This property accesses the TextKit 2 NSTextLayoutManager. You should generally prefer to use it over the TextKit 1 .layoutManager property if it exists. This property will return nil if TextKit 1 is in use.
275 | @property(nonatomic, nullable, readonly) NSTextLayoutManager *textLayoutManager API_AVAILABLE(ios(16.0), tvos(16.0)) API_UNAVAILABLE(watchos);
| `- note: 'textLayoutManager' has been explicitly marked unavailable here
276 |
277 | // To ensure compatibility with older code, accessing the .layoutManager of a UITextView - or its .textContainer's .layoutManager - will cause a UITextView that's using TextKit 2 to 'fall back' to TextKit 1, and return a newly created NSLayoutManager. After this happens, .textLayoutManager will return nil - and _any TextKit 2 objects you may have cached will cease functioning_. Be careful about this if you are intending to be using TextKit 2!
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:76:22: error: 'textLayoutManager' is unavailable in watchOS
74 |
75 | assert(
76 | textView.textLayoutManager != nil,
| `- error: 'textLayoutManager' is unavailable in watchOS
77 | "TextKit 2 was requested but the text view fell back to TextKit 1"
78 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:275:63: note: 'textLayoutManager' has been explicitly marked unavailable here
273 |
274 | // This property accesses the TextKit 2 NSTextLayoutManager. You should generally prefer to use it over the TextKit 1 .layoutManager property if it exists. This property will return nil if TextKit 1 is in use.
275 | @property(nonatomic, nullable, readonly) NSTextLayoutManager *textLayoutManager API_AVAILABLE(ios(16.0), tvos(16.0)) API_UNAVAILABLE(watchos);
| `- note: 'textLayoutManager' has been explicitly marked unavailable here
276 |
277 | // To ensure compatibility with older code, accessing the .layoutManager of a UITextView - or its .textContainer's .layoutManager - will cause a UITextView that's using TextKit 2 to 'fall back' to TextKit 1, and return a newly created NSLayoutManager. After this happens, .textLayoutManager will return nil - and _any TextKit 2 objects you may have cached will cease functioning_. Be careful about this if you are intending to be using TextKit 2!
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditor.swift:88:28: error: cannot find type 'UIHostingController' in scope
86 | /// holds it — an input accessory view has no view-controller parent, so
87 | /// dropping this leaves SwiftUI content that never updates again.
88 | var accessoryHost: UIHostingController<AnyView>?
| `- error: cannot find type 'UIHostingController' in scope
89 | #endif
90 |
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:151:24: error: 'NSTextContainer' is unavailable in watchOS
149 |
150 | private convenience init(usingTextLayoutManager: Bool, frame: CGRect) {
151 | let container: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
152 | if usingTextLayoutManager {
153 | let contentStorage = NSTextContentStorage()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:153:34: error: 'NSTextContentStorage' is unavailable in watchOS
151 | let container: NSTextContainer?
152 | if usingTextLayoutManager {
153 | let contentStorage = NSTextContentStorage()
| `- error: 'NSTextContentStorage' is unavailable in watchOS
154 | let layoutManager = NSTextLayoutManager()
155 | let textContainer = NSTextContainer(size: .zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:154:33: error: 'NSTextLayoutManager' is unavailable in watchOS
152 | if usingTextLayoutManager {
153 | let contentStorage = NSTextContentStorage()
154 | let layoutManager = NSTextLayoutManager()
| `- error: 'NSTextLayoutManager' is unavailable in watchOS
155 | let textContainer = NSTextContainer(size: .zero)
156 | layoutManager.textContainer = textContainer
/Applications/Xcode-27.0.0-Release.Candidate.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/HTMLEditor/HTMLEditorRepresentable+iOS.swift:155:33: error: 'NSTextContainer' is unavailable in watchOS
153 | let contentStorage = NSTextContentStorage()
154 | let layoutManager = NSTextLayoutManager()
155 | let textContainer = NSTextContainer(size: .zero)
| `- error: 'NSTextContainer' is unavailable in watchOS
156 | layoutManager.textContainer = textContainer
157 | contentStorage.addTextLayoutManager(layoutManager)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:155:33: error: 'init(size:)' is unavailable in watchOS
153 | let contentStorage = NSTextContentStorage()
154 | let layoutManager = NSTextLayoutManager()
155 | let textContainer = NSTextContainer(size: .zero)
| `- error: 'init(size:)' is unavailable in watchOS
156 | layoutManager.textContainer = textContainer
157 | contentStorage.addTextLayoutManager(layoutManager)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:58:1: note: 'init(size:)' has been explicitly marked unavailable here
56 | /// - ``NSLayoutManager/addTextContainer(_:)``
57 | /// - [Text System Storage Layer Overview](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/TextStorageLayer/TextStorageLayer.html#//apple_ref/doc/uid/10000087i)
58 | - (instancetype)initWithSize:(CGSize)size NS_DESIGNATED_INITIALIZER API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(size:)' has been explicitly marked unavailable here
59 | /// Creates a text container from data in an unarchiver.
60 | ///
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:178:9: error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
176 | /// version.
177 | private func observeTraitChanges() {
178 | registerForTraitChanges([UITraitUserInterfaceStyle.self]) {
| `- error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
179 | (view: HTMLEditorTextView, _: UITraitCollection) in
180 | view.coordinator?.systemAppearanceChanged(textView: view)
UIKit.UIView.registerForTraitChanges:3:26: note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
1 | class UIView {
2 | @discardableResult
3 | @MainActor public func registerForTraitChanges<Self>(_ traits: [UITrait], handler: @escaping UIView.TraitChangeHandler<Self>) -> any UITraitChangeRegistration where Self : UITraitEnvironment}
| `- note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:178:34: error: 'UITraitUserInterfaceStyle' is unavailable in watchOS
176 | /// version.
177 | private func observeTraitChanges() {
178 | registerForTraitChanges([UITraitUserInterfaceStyle.self]) {
| `- error: 'UITraitUserInterfaceStyle' is unavailable in watchOS
179 | (view: HTMLEditorTextView, _: UITraitCollection) in
180 | view.coordinator?.systemAppearanceChanged(textView: view)
UIKit.UITraitUserInterfaceStyle:3:15: note: 'UITraitUserInterfaceStyle' has been explicitly marked unavailable here
1 | @available(iOS 17.0, tvOS 17.0, *)
2 | @available(watchOS, unavailable)
3 | public struct UITraitUserInterfaceStyle : UITraitDefinition {
| `- note: 'UITraitUserInterfaceStyle' has been explicitly marked unavailable here
4 | public static let defaultValue: UIUserInterfaceStyle
5 | public static let name: String
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorRepresentable+iOS.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+macOS.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorRepresentable+macOS.swift
SwiftCompile normal arm64 Compiling\ HTMLEditorRepresentable+iOS.swift,\ HTMLEditorRepresentable+macOS.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+macOS.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:11:23: error: cannot find type 'UIViewRepresentable' in scope
9 |
10 | @MainActor
11 | extension HTMLEditor: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 |
13 | public func makeUIView(context: Context) -> HTMLEditorTextView {
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:13:37: error: cannot find type 'Context' in scope
11 | extension HTMLEditor: UIViewRepresentable {
12 |
13 | public func makeUIView(context: Context) -> HTMLEditorTextView {
| `- error: cannot find type 'Context' in scope
14 | // TextKit 2 explicitly, even though it is the default from iOS 16 —
15 | // the default is a default, and one stray TextKit 1 access anywhere
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:86:71: error: cannot find type 'Context' in scope
84 | }
85 |
86 | public func updateUIView(_ textView: HTMLEditorTextView, context: Context) {
| `- error: cannot find type 'Context' in scope
87 | HTMLEditorSignpost.interval("updateUIView") {
88 | // SwiftUI hands over a fresh HTMLEditor value on every update, so
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:138:49: error: 'NSTextContainer' is unavailable in watchOS
136 | weak var coordinator: HTMLEditor.Coordinator?
137 |
138 | override init(frame: CGRect, textContainer: NSTextContainer?) {
| `- error: 'NSTextContainer' is unavailable in watchOS
139 | super.init(frame: frame, textContainer: textContainer)
140 | observeTraitChanges()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:135:40: error: 'UITextView' is unavailable in watchOS
133 | /// `UITraitCollection.current` is only valid inside a trait-propagating
134 | /// context, and the content-storage delegate callback is not one.
135 | public final class HTMLEditorTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
136 | weak var coordinator: HTMLEditor.Coordinator?
137 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:188:21: error: 'UITextView' is unavailable in watchOS
186 |
187 | public func textView(
188 | _ textView: UITextView,
| `- error: 'UITextView' is unavailable in watchOS
189 | shouldChangeTextIn range: NSRange,
190 | replacementText text: String
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/HTMLEditor/HTMLEditorRepresentable+iOS.swift:196:47: error: 'UITextView' is unavailable in watchOS
194 | }
195 |
196 | public func textViewDidChange(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
197 | handleTextDidChange(textView: textView)
198 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:200:51: error: 'UITextView' is unavailable in watchOS
198 | }
199 |
200 | public func textViewDidEndEditing(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
201 | parent.focusBinding?.wrappedValue = false
202 | Task { @MainActor [weak self] in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:207:53: error: 'UITextView' is unavailable in watchOS
205 | }
206 |
207 | public func textViewDidBeginEditing(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
208 | parent.focusBinding?.wrappedValue = true
209 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:185:35: error: 'UITextViewDelegate' is unavailable in watchOS
183 | }
184 |
185 | extension HTMLEditor.Coordinator: UITextViewDelegate {
| `- error: 'UITextViewDelegate' is unavailable in watchOS
186 |
187 | public func textView(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h: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/HTMLEditor/HTMLEditorRepresentable+iOS.swift:37:18: error: 'smartQuotesType' is unavailable in watchOS
35 | textView.autocorrectionType = .no
36 | textView.spellCheckingType = .no
37 | textView.smartQuotesType = .no
| `- error: 'smartQuotesType' is unavailable in watchOS
38 | textView.smartDashesType = .no
39 | textView.smartInsertDeleteType = .no
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:255:44: note: 'smartQuotesType' has been explicitly marked unavailable here
253 | @property(nonatomic) UITextAutocorrectionType autocorrectionType; // default is UITextAutocorrectionTypeDefault
254 | @property(nonatomic) UITextSpellCheckingType spellCheckingType API_AVAILABLE(ios(5.0)); // default is UITextSpellCheckingTypeDefault;
255 | @property(nonatomic) UITextSmartQuotesType smartQuotesType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartQuotesTypeDefault;
| `- note: 'smartQuotesType' has been explicitly marked unavailable here
256 | @property(nonatomic) UITextSmartDashesType smartDashesType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartDashesTypeDefault;
257 | @property(nonatomic) UITextSmartInsertDeleteType smartInsertDeleteType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartInsertDeleteTypeDefault;
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:38:18: error: 'smartDashesType' is unavailable in watchOS
36 | textView.spellCheckingType = .no
37 | textView.smartQuotesType = .no
38 | textView.smartDashesType = .no
| `- error: 'smartDashesType' is unavailable in watchOS
39 | textView.smartInsertDeleteType = .no
40 | textView.autocapitalizationType = .none
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:256:44: note: 'smartDashesType' has been explicitly marked unavailable here
254 | @property(nonatomic) UITextSpellCheckingType spellCheckingType API_AVAILABLE(ios(5.0)); // default is UITextSpellCheckingTypeDefault;
255 | @property(nonatomic) UITextSmartQuotesType smartQuotesType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartQuotesTypeDefault;
256 | @property(nonatomic) UITextSmartDashesType smartDashesType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartDashesTypeDefault;
| `- note: 'smartDashesType' has been explicitly marked unavailable here
257 | @property(nonatomic) UITextSmartInsertDeleteType smartInsertDeleteType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartInsertDeleteTypeDefault;
258 |
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:39:18: error: 'smartInsertDeleteType' is unavailable in watchOS
37 | textView.smartQuotesType = .no
38 | textView.smartDashesType = .no
39 | textView.smartInsertDeleteType = .no
| `- error: 'smartInsertDeleteType' is unavailable in watchOS
40 | textView.autocapitalizationType = .none
41 | textView.allowsEditingTextAttributes = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:257:50: note: 'smartInsertDeleteType' has been explicitly marked unavailable here
255 | @property(nonatomic) UITextSmartQuotesType smartQuotesType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartQuotesTypeDefault;
256 | @property(nonatomic) UITextSmartDashesType smartDashesType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartDashesTypeDefault;
257 | @property(nonatomic) UITextSmartInsertDeleteType smartInsertDeleteType API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos); // default is UITextSmartInsertDeleteTypeDefault;
| `- note: 'smartInsertDeleteType' has been explicitly marked unavailable here
258 |
259 | // This property controls whether inline text prediction is enabled or disabled during typing
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:42:18: error: 'inlinePredictionType' is unavailable in watchOS
40 | textView.autocapitalizationType = .none
41 | textView.allowsEditingTextAttributes = false
42 | textView.inlinePredictionType = .no
| `- error: 'inlinePredictionType' is unavailable in watchOS
43 | if #available(iOS 18.0, *) {
44 | textView.mathExpressionCompletionType = .no
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h:260:49: note: 'inlinePredictionType' has been explicitly marked unavailable here
258 |
259 | // This property controls whether inline text prediction is enabled or disabled during typing
260 | @property(nonatomic) UITextInlinePredictionType inlinePredictionType API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos); // default is UITextInlinePredictionTypeDefault
| `- note: 'inlinePredictionType' has been explicitly marked unavailable here
261 | // Controls whether math expression completion is enabled or disabled during typing
262 | @property(nonatomic) UITextMathExpressionCompletionType mathExpressionCompletionType API_AVAILABLE(ios(18.0)); // default is UITextMathExpressionCompletionTypeDefault
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:44:22: error: 'mathExpressionCompletionType' is only available in watchOS 11.0 or newer
9 |
10 | @MainActor
11 | extension HTMLEditor: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing extension
12 |
13 | public func makeUIView(context: Context) -> HTMLEditorTextView {
| `- note: add '@available' attribute to enclosing instance method
14 | // TextKit 2 explicitly, even though it is the default from iOS 16 —
15 | // the default is a default, and one stray TextKit 1 access anywhere
:
42 | textView.inlinePredictionType = .no
43 | if #available(iOS 18.0, *) {
44 | textView.mathExpressionCompletionType = .no
| |- error: 'mathExpressionCompletionType' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
45 | textView.writingToolsBehavior = .none
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:45:22: error: 'writingToolsBehavior' is unavailable in watchOS
43 | if #available(iOS 18.0, *) {
44 | textView.mathExpressionCompletionType = .no
45 | textView.writingToolsBehavior = .none
| `- error: 'writingToolsBehavior' is unavailable in watchOS
46 | }
47 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:314:34: note: 'writingToolsBehavior' has been explicitly marked unavailable here
312 |
313 | // Also see UITextInputTraits.h
314 | @property UIWritingToolsBehavior writingToolsBehavior API_AVAILABLE(ios(18.0), visionos(2.4)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'writingToolsBehavior' has been explicitly marked unavailable here
315 |
316 | // WARNING: UITextView does not support UIWritingToolsResultOptionsTable and will throw an exception for this value
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:55:18: error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
53 | // size again. The host gives the editor a frame instead.
54 | textView.isScrollEnabled = true
55 | textView.contentInsetAdjustmentBehavior = .never
| `- error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
56 | textView.textContainerInset = UIEdgeInsets(top: 8, left: 4, bottom: 8, right: 4)
57 | textView.textContainer.lineFragmentPadding = 0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:110:65: note: 'contentInsetAdjustmentBehavior' has been explicitly marked unavailable here
108 | Default is UIScrollViewContentInsetAdjustmentAutomatic.
109 | */
110 | @property(nonatomic) UIScrollViewContentInsetAdjustmentBehavior contentInsetAdjustmentBehavior API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'contentInsetAdjustmentBehavior' has been explicitly marked unavailable here
111 |
112 | /* Configures whether the scroll indicator insets are automatically adjusted by the system.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:58:32: error: 'maximumNumberOfLines' is unavailable in watchOS
56 | textView.textContainerInset = UIEdgeInsets(top: 8, left: 4, bottom: 8, right: 4)
57 | textView.textContainer.lineFragmentPadding = 0
58 | textView.textContainer.maximumNumberOfLines = 0
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
59 | textView.textContainer.widthTracksTextView = true
60 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:119:45: note: 'maximumNumberOfLines' has been explicitly marked unavailable here
117 | /// The default value of this property is `0`, which indicates that there is no
118 | /// limit.
119 | @property (NS_NONATOMIC_IOSONLY) NSUInteger maximumNumberOfLines API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'maximumNumberOfLines' has been explicitly marked unavailable here
120 |
121 | /**************************** Line fragments ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:63:81: error: 'NSTextContentStorage' is unavailable in watchOS
61 | // TextKit 2 pulls paragraph styling from this delegate as it lays the
62 | // viewport out, so it must be in place before any layout happens.
63 | let contentStorage = textView.textLayoutManager?.textContentManager as? NSTextContentStorage
| `- error: 'NSTextContentStorage' is unavailable in watchOS
64 | contentStorage?.delegate = context.coordinator
65 | context.coordinator.usesPulledHighlighting = contentStorage != nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:63:39: error: 'textLayoutManager' is unavailable in watchOS
61 | // TextKit 2 pulls paragraph styling from this delegate as it lays the
62 | // viewport out, so it must be in place before any layout happens.
63 | let contentStorage = textView.textLayoutManager?.textContentManager as? NSTextContentStorage
| `- error: 'textLayoutManager' is unavailable in watchOS
64 | contentStorage?.delegate = context.coordinator
65 | context.coordinator.usesPulledHighlighting = contentStorage != nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:275:63: note: 'textLayoutManager' has been explicitly marked unavailable here
273 |
274 | // This property accesses the TextKit 2 NSTextLayoutManager. You should generally prefer to use it over the TextKit 1 .layoutManager property if it exists. This property will return nil if TextKit 1 is in use.
275 | @property(nonatomic, nullable, readonly) NSTextLayoutManager *textLayoutManager API_AVAILABLE(ios(16.0), tvos(16.0)) API_UNAVAILABLE(watchos);
| `- note: 'textLayoutManager' has been explicitly marked unavailable here
276 |
277 | // To ensure compatibility with older code, accessing the .layoutManager of a UITextView - or its .textContainer's .layoutManager - will cause a UITextView that's using TextKit 2 to 'fall back' to TextKit 1, and return a newly created NSLayoutManager. After this happens, .textLayoutManager will return nil - and _any TextKit 2 objects you may have cached will cease functioning_. Be careful about this if you are intending to be using TextKit 2!
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:76:22: error: 'textLayoutManager' is unavailable in watchOS
74 |
75 | assert(
76 | textView.textLayoutManager != nil,
| `- error: 'textLayoutManager' is unavailable in watchOS
77 | "TextKit 2 was requested but the text view fell back to TextKit 1"
78 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:275:63: note: 'textLayoutManager' has been explicitly marked unavailable here
273 |
274 | // This property accesses the TextKit 2 NSTextLayoutManager. You should generally prefer to use it over the TextKit 1 .layoutManager property if it exists. This property will return nil if TextKit 1 is in use.
275 | @property(nonatomic, nullable, readonly) NSTextLayoutManager *textLayoutManager API_AVAILABLE(ios(16.0), tvos(16.0)) API_UNAVAILABLE(watchos);
| `- note: 'textLayoutManager' has been explicitly marked unavailable here
276 |
277 | // To ensure compatibility with older code, accessing the .layoutManager of a UITextView - or its .textContainer's .layoutManager - will cause a UITextView that's using TextKit 2 to 'fall back' to TextKit 1, and return a newly created NSLayoutManager. After this happens, .textLayoutManager will return nil - and _any TextKit 2 objects you may have cached will cease functioning_. Be careful about this if you are intending to be using TextKit 2!
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditor.swift:88:28: error: cannot find type 'UIHostingController' in scope
86 | /// holds it — an input accessory view has no view-controller parent, so
87 | /// dropping this leaves SwiftUI content that never updates again.
88 | var accessoryHost: UIHostingController<AnyView>?
| `- error: cannot find type 'UIHostingController' in scope
89 | #endif
90 |
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:151:24: error: 'NSTextContainer' is unavailable in watchOS
149 |
150 | private convenience init(usingTextLayoutManager: Bool, frame: CGRect) {
151 | let container: NSTextContainer?
| `- error: 'NSTextContainer' is unavailable in watchOS
152 | if usingTextLayoutManager {
153 | let contentStorage = NSTextContentStorage()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:153:34: error: 'NSTextContentStorage' is unavailable in watchOS
151 | let container: NSTextContainer?
152 | if usingTextLayoutManager {
153 | let contentStorage = NSTextContentStorage()
| `- error: 'NSTextContentStorage' is unavailable in watchOS
154 | let layoutManager = NSTextLayoutManager()
155 | let textContainer = NSTextContainer(size: .zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:154:33: error: 'NSTextLayoutManager' is unavailable in watchOS
152 | if usingTextLayoutManager {
153 | let contentStorage = NSTextContentStorage()
154 | let layoutManager = NSTextLayoutManager()
| `- error: 'NSTextLayoutManager' is unavailable in watchOS
155 | let textContainer = NSTextContainer(size: .zero)
156 | layoutManager.textContainer = textContainer
/Applications/Xcode-27.0.0-Release.Candidate.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/HTMLEditor/HTMLEditorRepresentable+iOS.swift:155:33: error: 'NSTextContainer' is unavailable in watchOS
153 | let contentStorage = NSTextContentStorage()
154 | let layoutManager = NSTextLayoutManager()
155 | let textContainer = NSTextContainer(size: .zero)
| `- error: 'NSTextContainer' is unavailable in watchOS
156 | layoutManager.textContainer = textContainer
157 | contentStorage.addTextLayoutManager(layoutManager)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:155:33: error: 'init(size:)' is unavailable in watchOS
153 | let contentStorage = NSTextContentStorage()
154 | let layoutManager = NSTextLayoutManager()
155 | let textContainer = NSTextContainer(size: .zero)
| `- error: 'init(size:)' is unavailable in watchOS
156 | layoutManager.textContainer = textContainer
157 | contentStorage.addTextLayoutManager(layoutManager)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:58:1: note: 'init(size:)' has been explicitly marked unavailable here
56 | /// - ``NSLayoutManager/addTextContainer(_:)``
57 | /// - [Text System Storage Layer Overview](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/TextStorageLayer/TextStorageLayer.html#//apple_ref/doc/uid/10000087i)
58 | - (instancetype)initWithSize:(CGSize)size NS_DESIGNATED_INITIALIZER API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(size:)' has been explicitly marked unavailable here
59 | /// Creates a text container from data in an unarchiver.
60 | ///
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:178:9: error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
176 | /// version.
177 | private func observeTraitChanges() {
178 | registerForTraitChanges([UITraitUserInterfaceStyle.self]) {
| `- error: 'registerForTraitChanges(_:handler:)' is unavailable in watchOS
179 | (view: HTMLEditorTextView, _: UITraitCollection) in
180 | view.coordinator?.systemAppearanceChanged(textView: view)
UIKit.UIView.registerForTraitChanges:3:26: note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
1 | class UIView {
2 | @discardableResult
3 | @MainActor public func registerForTraitChanges<Self>(_ traits: [UITrait], handler: @escaping UIView.TraitChangeHandler<Self>) -> any UITraitChangeRegistration where Self : UITraitEnvironment}
| `- note: 'registerForTraitChanges(_:handler:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift:178:34: error: 'UITraitUserInterfaceStyle' is unavailable in watchOS
176 | /// version.
177 | private func observeTraitChanges() {
178 | registerForTraitChanges([UITraitUserInterfaceStyle.self]) {
| `- error: 'UITraitUserInterfaceStyle' is unavailable in watchOS
179 | (view: HTMLEditorTextView, _: UITraitCollection) in
180 | view.coordinator?.systemAppearanceChanged(textView: view)
UIKit.UITraitUserInterfaceStyle:3:15: note: 'UITraitUserInterfaceStyle' has been explicitly marked unavailable here
1 | @available(iOS 17.0, tvOS 17.0, *)
2 | @available(watchOS, unavailable)
3 | public struct UITraitUserInterfaceStyle : UITraitDefinition {
| `- note: 'UITraitUserInterfaceStyle' has been explicitly marked unavailable here
4 | public static let defaultValue: UIUserInterfaceStyle
5 | public static let name: String
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+iOS.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorRepresentable+iOS.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorRepresentable+macOS.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorRepresentable+macOS.swift
SwiftCompile normal arm64 Compiling\ HTMLEditorSignposts.swift,\ HTMLEditorStructuralRanges.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorSignposts.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorStructuralRanges.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorSignposts.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorSignposts.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorStructuralRanges.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorStructuralRanges.swift
SwiftCompile normal arm64_32 Compiling\ HTMLEditorTextKitSurface.swift,\ HTMLEditorTheme.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTheme.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:50:19: error: 'NSTextLayoutManager' is unavailable in watchOS
48 | case textKit1(NSLayoutManager)
49 | #endif
50 | case textKit2(NSTextLayoutManager, NSTextContentStorage)
| `- error: 'NSTextLayoutManager' is unavailable in watchOS
51 |
52 | /// Why a surface could not be resolved. `nil` used to mean two different
/Applications/Xcode-27.0.0-Release.Candidate.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/HTMLEditor/HTMLEditorTextKitSurface.swift:50:40: error: 'NSTextContentStorage' is unavailable in watchOS
48 | case textKit1(NSLayoutManager)
49 | #endif
50 | case textKit2(NSTextLayoutManager, NSTextContentStorage)
| `- error: 'NSTextContentStorage' is unavailable in watchOS
51 |
52 | /// Why a surface could not be resolved. `nil` used to mean two different
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:96:75: error: 'NSTextStorage' is unavailable in watchOS
94 | /// keeps one rule ("never touch TextKit 1 properties") rather than two.
95 | @MainActor
96 | static func textStorage(for textView: HTMLEditorPlatform.TextView) -> NSTextStorage? {
| `- error: 'NSTextStorage' is unavailable in watchOS
97 | #if os(macOS)
98 | if let contentStorage = textView.textContentStorage {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
44 | /// `edited:range:changeInLength:` to get everything else to happen.
45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
| `- note: 'NSTextStorage' has been explicitly marked unavailable here
47 | /**************************** Pending edit info ****************************/
48 |
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:193:71: error: 'NSTextContainer' is unavailable in watchOS
191 | /// from the start of the document.
192 | @MainActor
193 | func visibleCharacterRange(in visibleRect: CGRect, textContainer: NSTextContainer?) -> NSRange? {
| `- error: 'NSTextContainer' is unavailable in watchOS
194 | switch self {
195 | #if os(macOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:229:64: error: 'NSTextContentStorage' is unavailable in watchOS
227 |
228 | @MainActor
229 | static func textRange(_ range: NSRange, in contentStorage: NSTextContentStorage) -> NSTextRange? {
| `- error: 'NSTextContentStorage' is unavailable in watchOS
230 | guard range.location != NSNotFound, range.location >= 0 else { return nil }
231 | guard let start = contentStorage.location(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:239:66: error: 'NSTextContentStorage' is unavailable in watchOS
237 |
238 | @MainActor
239 | static func nsRange(_ range: NSTextRange, in contentStorage: NSTextContentStorage) -> NSRange {
| `- error: 'NSTextContentStorage' is unavailable in watchOS
240 | let location = contentStorage.offset(
241 | from: contentStorage.documentRange.location,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:77:44: error: 'textLayoutManager' is unavailable in watchOS
75 | // `.layoutManager` (or `textContainer.layoutManager`) here would spring
76 | // the one-way trapdoor and drop the view to TextKit 1 permanently.
77 | guard let layoutManager = textView.textLayoutManager,
| `- error: 'textLayoutManager' is unavailable in watchOS
78 | let contentStorage = layoutManager.textContentManager as? NSTextContentStorage
79 | else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:275:63: note: 'textLayoutManager' has been explicitly marked unavailable here
273 |
274 | // This property accesses the TextKit 2 NSTextLayoutManager. You should generally prefer to use it over the TextKit 1 .layoutManager property if it exists. This property will return nil if TextKit 1 is in use.
275 | @property(nonatomic, nullable, readonly) NSTextLayoutManager *textLayoutManager API_AVAILABLE(ios(16.0), tvos(16.0)) API_UNAVAILABLE(watchos);
| `- note: 'textLayoutManager' has been explicitly marked unavailable here
276 |
277 | // To ensure compatibility with older code, accessing the .layoutManager of a UITextView - or its .textContainer's .layoutManager - will cause a UITextView that's using TextKit 2 to 'fall back' to TextKit 1, and return a newly created NSLayoutManager. After this happens, .textLayoutManager will return nil - and _any TextKit 2 objects you may have cached will cease functioning_. Be careful about this if you are intending to be using TextKit 2!
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:78:73: error: 'NSTextContentStorage' is unavailable in watchOS
76 | // the one-way trapdoor and drop the view to TextKit 1 permanently.
77 | guard let layoutManager = textView.textLayoutManager,
78 | let contentStorage = layoutManager.textContentManager as? NSTextContentStorage
| `- error: 'NSTextContentStorage' is unavailable in watchOS
79 | else {
80 | HTMLEditorSignpost.event("textkit2-unavailable")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift:103:84: error: 'NSTextContentStorage' is unavailable in watchOS
101 | return textView.textStorage
102 | #else
103 | if let contentStorage = textView.textLayoutManager?.textContentManager as? NSTextContentStorage {
| `- error: 'NSTextContentStorage' is unavailable in watchOS
104 | return contentStorage.textStorage
105 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h:303:12: note: 'NSTextContentStorage' has been explicitly marked unavailable here
301 | /// the backing store.
302 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos)
303 | @interface NSTextContentStorage : NSTextContentManager <NSTextStorageObserving>
| `- note: 'NSTextContentStorage' has been explicitly marked unavailable here
304 | #pragma mark Basic properties
305 | /// The delegate for the content storage object.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTextKitSurface.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorTextKitSurface.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/HTMLEditor/HTMLEditorTheme.swift (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTMLEditorTheme.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-19 05:48:05.334 xcodebuild[805:4690] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-19 05:48:05.476 xcodebuild[805:4690] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ HTMLEditor (in target 'HTMLEditor' from project 'HTMLEditor-SwiftUI')
Building workspace HTMLEditor-SwiftUI with scheme HTMLEditor-SwiftUI-Package
(3 failures)
BUILD FAILURE 6.4 watchOS