Build Information
Failed to build ResizingTextView, reference 5.1.0 (df9d5b), with Swift 6.4 for watchOS using Xcode 27.0 on 1 Oct 2026 00:00:59 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 ResizingTextView -destination generic/platform=watchOSBuild Log
186 | var swiftUIView: TextView
187 | let measurer = TextMeasurer()
/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/ResizingTextView/UIKit/TextView (UIKit).swift:7:29: error: cannot find type 'UIViewRepresentable' in scope
5 | import UIKit
6 |
7 | @MainActor struct TextView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
8 | static let defaultForegroundColor = Color(UIColor.label)
9 |
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:213:25: error: 'NSTextContainer' is unavailable in watchOS
211 | }
212 |
213 | init(textContainer: NSTextContainer? = nil) {
| `- error: 'NSTextContainer' is unavailable in watchOS
214 | super.init(frame: .zero, textContainer: textContainer)
215 | isScrollEnabled = true
/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/ResizingTextView/UIKit/TextView (UIKit).swift:204:23: error: 'UITextView' is unavailable in watchOS
202 | }
203 |
204 | class CustomTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
205 | var hasDynamicHeight = true
206 |
/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;
Failed frontend command:
SwiftCompile normal arm64 (in target 'ResizingTextView' from project 'ResizingTextView')
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/ResizingTextView/AppKit/TextView\ \(AppKit\).swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/AppKit/TextViewMeasurer.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/DecoratableTextStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/PlatformTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextDecoration.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView\ \(UIKit\).swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/CrossPlatformAliases.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/NSRange+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/String+Newlines.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/View+Extensions.swift -target arm64-apple-watchos9.0 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64/ResizingTextView-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ResizingTextView -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64/ResizingTextView_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64/ResizingTextView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64/ResizingTextView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64/ResizingTextView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64/ResizingTextView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64/ResizingTextView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64/ResizingTextView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64/ResizingTextView.abi.json
SwiftCompile normal arm64 Compiling\ NSRange+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/NSRange+Extensions.swift (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/NSRange+Extensions.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NSRange+Extensions.swift
SwiftCompile normal arm64 Compiling\ TextMeasurer.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift (in target 'ResizingTextView' from project 'ResizingTextView')
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift:13:33: error: 'NSLayoutManager' is unavailable in watchOS
11 | @MainActor
12 | final class TextMeasurer {
13 | private let layoutManager = NSLayoutManager()
| `- error: 'NSLayoutManager' is unavailable in watchOS
14 | private let textContainer = NSTextContainer()
15 | private weak var textStorage: NSTextStorage?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:58:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
56 |
57 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0)) API_UNAVAILABLE(watchos)
58 | @interface NSLayoutManager : NSObject <NSSecureCoding>
| `- note: 'NSLayoutManager' has been explicitly marked unavailable here
59 |
60 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift:14:33: error: 'NSTextContainer' is unavailable in watchOS
12 | final class TextMeasurer {
13 | private let layoutManager = NSLayoutManager()
14 | private let textContainer = NSTextContainer()
| `- error: 'NSTextContainer' is unavailable in watchOS
15 | private weak var textStorage: NSTextStorage?
16 |
/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/ResizingTextView/TextMeasurer.swift:15:35: error: 'NSTextStorage' is unavailable in watchOS
13 | private let layoutManager = NSLayoutManager()
14 | private let textContainer = NSTextContainer()
15 | private weak var textStorage: NSTextStorage?
| `- error: 'NSTextStorage' is unavailable in watchOS
16 |
17 | init() {
/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/ResizingTextView/TextMeasurer.swift:28:31: error: 'NSTextStorage' is unavailable in watchOS
26 | /// Returns the size of the laid out text as the text view shows it: the empty line after a trailing
27 | /// newline is omitted when the line limit is reached, and empty text is one line of `emptyLineFont`.
28 | func size(of textStorage: NSTextStorage, width: CGFloat?, like container: NSTextContainer, emptyLineFont: UXFont) -> CGSize {
| `- error: 'NSTextStorage' is unavailable in watchOS
29 | layOut(textStorage, width: width, like: container)
30 |
/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/ResizingTextView/TextMeasurer.swift:28:79: error: 'NSTextContainer' is unavailable in watchOS
26 | /// Returns the size of the laid out text as the text view shows it: the empty line after a trailing
27 | /// newline is omitted when the line limit is reached, and empty text is one line of `emptyLineFont`.
28 | func size(of textStorage: NSTextStorage, width: CGFloat?, like container: NSTextContainer, emptyLineFont: UXFont) -> CGSize {
| `- error: 'NSTextContainer' is unavailable in watchOS
29 | layOut(textStorage, width: width, like: container)
30 |
/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/ResizingTextView/TextMeasurer.swift:41:25: error: 'NSTextStorage' is unavailable in watchOS
39 |
40 | func lines(
41 | of textStorage: NSTextStorage,
| `- error: 'NSTextStorage' is unavailable in watchOS
42 | width: CGFloat?,
43 | like container: NSTextContainer,
/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/ResizingTextView/TextMeasurer.swift:43:25: error: 'NSTextContainer' is unavailable in watchOS
41 | of textStorage: NSTextStorage,
42 | width: CGFloat?,
43 | like container: NSTextContainer,
| `- error: 'NSTextContainer' is unavailable in watchOS
44 | emptyLineFont: UXFont
45 | ) -> [Line] {
/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/ResizingTextView/TextMeasurer.swift:67:40: error: 'NSTextStorage' is unavailable in watchOS
65 | }
66 |
67 | private func layOut(_ textStorage: NSTextStorage, width: CGFloat?, like container: NSTextContainer) {
| `- error: 'NSTextStorage' is unavailable in watchOS
68 | if self.textStorage !== textStorage {
69 | self.textStorage?.removeLayoutManager(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/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/ResizingTextView/TextMeasurer.swift:67:88: error: 'NSTextContainer' is unavailable in watchOS
65 | }
66 |
67 | private func layOut(_ textStorage: NSTextStorage, width: CGFloat?, like container: NSTextContainer) {
| `- error: 'NSTextContainer' is unavailable in watchOS
68 | if self.textStorage !== textStorage {
69 | self.textStorage?.removeLayoutManager(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/ResizingTextView/TextMeasurer.swift:80:49: error: 'NSTextContainer' is unavailable in watchOS
78 | }
79 |
80 | private func showsExtraLine(like container: NSTextContainer) -> Bool {
| `- error: 'NSTextContainer' is unavailable in watchOS
81 | layoutManager.extraLineFragmentUsedRect.height > 0
82 | && !(container.maximumNumberOfLines > 0 && numberOfLines() >= container.maximumNumberOfLines)
/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/ResizingTextView/TextMeasurer.swift:74:23: error: 'maximumNumberOfLines' is unavailable in watchOS
72 | }
73 | textContainer.lineFragmentPadding = container.lineFragmentPadding
74 | textContainer.maximumNumberOfLines = container.maximumNumberOfLines
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
75 | textContainer.lineBreakMode = container.lineBreakMode
76 | textContainer.size = CGSize(width: width ?? .greatestFiniteMagnitude, height: .greatestFiniteMagnitude)
/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/ResizingTextView/TextMeasurer.swift:74:56: error: 'maximumNumberOfLines' is unavailable in watchOS
72 | }
73 | textContainer.lineFragmentPadding = container.lineFragmentPadding
74 | textContainer.maximumNumberOfLines = container.maximumNumberOfLines
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
75 | textContainer.lineBreakMode = container.lineBreakMode
76 | textContainer.size = CGSize(width: width ?? .greatestFiniteMagnitude, height: .greatestFiniteMagnitude)
/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/ResizingTextView/TextMeasurer.swift:75:23: error: 'lineBreakMode' is unavailable in watchOS
73 | textContainer.lineFragmentPadding = container.lineFragmentPadding
74 | textContainer.maximumNumberOfLines = container.maximumNumberOfLines
75 | textContainer.lineBreakMode = container.lineBreakMode
| `- error: 'lineBreakMode' is unavailable in watchOS
76 | textContainer.size = CGSize(width: width ?? .greatestFiniteMagnitude, height: .greatestFiniteMagnitude)
77 | layoutManager.ensureLayout(for: 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:89:50: note: 'lineBreakMode' has been explicitly marked unavailable here
87 | /// truncated. The default value of this property is
88 | /// ``NSLineBreakMode/byWordWrapping``.
89 | @property (NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'lineBreakMode' has been explicitly marked unavailable here
90 |
91 | /// An array of path objects that represents the regions where text doesn't display in the text container.
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift:75:49: error: 'lineBreakMode' is unavailable in watchOS
73 | textContainer.lineFragmentPadding = container.lineFragmentPadding
74 | textContainer.maximumNumberOfLines = container.maximumNumberOfLines
75 | textContainer.lineBreakMode = container.lineBreakMode
| `- error: 'lineBreakMode' is unavailable in watchOS
76 | textContainer.size = CGSize(width: width ?? .greatestFiniteMagnitude, height: .greatestFiniteMagnitude)
77 | layoutManager.ensureLayout(for: 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:89:50: note: 'lineBreakMode' has been explicitly marked unavailable here
87 | /// truncated. The default value of this property is
88 | /// ``NSLineBreakMode/byWordWrapping``.
89 | @property (NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'lineBreakMode' has been explicitly marked unavailable here
90 |
91 | /// An array of path objects that represents the regions where text doesn't display in the text container.
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift:76:23: error: 'size' is unavailable in watchOS
74 | textContainer.maximumNumberOfLines = container.maximumNumberOfLines
75 | textContainer.lineBreakMode = container.lineBreakMode
76 | textContainer.size = CGSize(width: width ?? .greatestFiniteMagnitude, height: .greatestFiniteMagnitude)
| `- error: 'size' is unavailable in watchOS
77 | layoutManager.ensureLayout(for: textContainer)
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/NSTextContainer.h:80:41: note: 'size' has been explicitly marked unavailable here
78 | /// If you don't specify an explicit size when you initialize a text container,
79 | /// the system uses a default large size of (`10000000.0`, `10000000.0`).
80 | @property (NS_NONATOMIC_IOSONLY) CGSize size API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'size' has been explicitly marked unavailable here
81 |
82 | /// The behavior of the last line inside the text container.
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift:82:28: error: 'maximumNumberOfLines' is unavailable in watchOS
80 | private func showsExtraLine(like container: NSTextContainer) -> Bool {
81 | layoutManager.extraLineFragmentUsedRect.height > 0
82 | && !(container.maximumNumberOfLines > 0 && numberOfLines() >= container.maximumNumberOfLines)
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
83 | }
84 |
/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/ResizingTextView/TextMeasurer.swift:82:85: error: 'maximumNumberOfLines' is unavailable in watchOS
80 | private func showsExtraLine(like container: NSTextContainer) -> Bool {
81 | layoutManager.extraLineFragmentUsedRect.height > 0
82 | && !(container.maximumNumberOfLines > 0 && numberOfLines() >= container.maximumNumberOfLines)
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
83 | }
84 |
/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/ResizingTextView/TextMeasurer.swift:108:23: error: 'NSTextStorage' is unavailable in watchOS
106 | return metrics
107 | }
108 | let storage = NSTextStorage(string: " ", attributes: [.font: font])
| `- error: 'NSTextStorage' is unavailable in watchOS
109 | let layoutManager = NSLayoutManager()
110 | let container = NSTextContainer(size: CGSize(width: CGFloat.greatestFiniteMagnitude, height: .greatestFiniteMagnitude))
/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/ResizingTextView/TextMeasurer.swift:109:29: error: 'NSLayoutManager' is unavailable in watchOS
107 | }
108 | let storage = NSTextStorage(string: " ", attributes: [.font: font])
109 | let layoutManager = NSLayoutManager()
| `- error: 'NSLayoutManager' is unavailable in watchOS
110 | let container = NSTextContainer(size: CGSize(width: CGFloat.greatestFiniteMagnitude, height: .greatestFiniteMagnitude))
111 | storage.addLayoutManager(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/NSLayoutManager.h:58:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
56 |
57 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0)) API_UNAVAILABLE(watchos)
58 | @interface NSLayoutManager : NSObject <NSSecureCoding>
| `- note: 'NSLayoutManager' has been explicitly marked unavailable here
59 |
60 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift:110:25: error: 'NSTextContainer' is unavailable in watchOS
108 | let storage = NSTextStorage(string: " ", attributes: [.font: font])
109 | let layoutManager = NSLayoutManager()
110 | let container = NSTextContainer(size: CGSize(width: CGFloat.greatestFiniteMagnitude, height: .greatestFiniteMagnitude))
| `- error: 'NSTextContainer' is unavailable in watchOS
111 | storage.addLayoutManager(layoutManager)
112 | layoutManager.addTextContainer(container)
/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 ****************************/
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TextMeasurer.swift
SwiftCompile normal arm64 Compiling\ String+Newlines.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/String+Newlines.swift (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/String+Newlines.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile String+Newlines.swift
SwiftCompile normal arm64 Compiling\ TextView\ (UIKit).swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView\ (UIKit).swift (in target 'ResizingTextView' from project 'ResizingTextView')
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:8:55: error: 'label' is unavailable in watchOS
6 |
7 | @MainActor struct TextView: UIViewRepresentable {
8 | static let defaultForegroundColor = Color(UIColor.label)
| `- error: 'label' is unavailable in watchOS
9 |
10 | struct Parameters {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:22:37: error: 'UITextAutocapitalizationType' is unavailable in watchOS
20 | var canHaveNewLineCharacters: Bool
21 | var foregroundColor: Color
22 | var autocapitalizationType: UITextAutocapitalizationType
| `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
23 | var textContainerInset: UIEdgeInsets
24 | var keyboardType: UIKeyboardType
/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:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
20 | // cases, these values are ignored by the keyboard/input method implementation.
21 | //
22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
| `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
23 | UITextAutocapitalizationTypeNone,
24 | UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:24:27: error: 'UIKeyboardType' is unavailable in watchOS
22 | var autocapitalizationType: UITextAutocapitalizationType
23 | var textContainerInset: UIEdgeInsets
24 | var keyboardType: UIKeyboardType
| `- error: 'UIKeyboardType' is unavailable in watchOS
25 | var hasGreedyWidth: Bool
26 | }
/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:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
| `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 | UIKeyboardTypeDefault, // Default type for the current input method.
129 | UIKeyboardTypeASCIICapable, // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:39:41: error: 'UITextAutocapitalizationType' is unavailable in watchOS
37 | private var font: UIFont
38 | private var canHaveNewLineCharacters: Bool
39 | private var autocapitalizationType: UITextAutocapitalizationType
| `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
40 | private var textContainerInset: UIEdgeInsets
41 | private var keyboardType: UIKeyboardType
/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:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
20 | // cases, these values are ignored by the keyboard/input method implementation.
21 | //
22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
| `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
23 | UITextAutocapitalizationTypeNone,
24 | UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:41:31: error: 'UIKeyboardType' is unavailable in watchOS
39 | private var autocapitalizationType: UITextAutocapitalizationType
40 | private var textContainerInset: UIEdgeInsets
41 | private var keyboardType: UIKeyboardType
| `- error: 'UIKeyboardType' is unavailable in watchOS
42 | private var hasGreedyWidth: Bool
43 |
/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:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
| `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 | UIKeyboardTypeDefault, // Default type for the current input method.
129 | UIKeyboardTypeASCIICapable, // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:62:30: error: cannot find type 'Context' in scope
60 | }
61 |
62 | func makeUIView(context: Context) -> CustomTextView {
| `- error: cannot find type 'Context' in scope
63 | let textStorage = DecoratableTextStorage()
64 | let layoutManager = NSLayoutManager()
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:84:60: error: cannot find type 'Context' in scope
82 | }
83 |
84 | func updateUIView(_ textView: CustomTextView, context: Context) {
| `- error: cannot find type 'Context' in scope
85 | context.coordinator.swiftUIView = self
86 |
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:147:86: error: cannot find type 'Context' in scope
145 |
146 | @available(iOS 16.0, tvOS 16.0, *)
147 | func sizeThatFits(_ proposal: ProposedViewSize, uiView: CustomTextView, context: Context) -> CGSize? {
| `- error: cannot find type 'Context' in scope
148 | let inset = uiView.textContainerInset
149 | let textSize = context.coordinator.measurer.size(
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:193:35: error: 'UITextView' is unavailable in watchOS
191 | }
192 |
193 | func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
| `- error: 'UITextView' is unavailable in watchOS
194 | swiftUIView.editingRules.shouldChangeText(of: textView, in: range, replacementText: text)
195 | }
/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/ResizingTextView/UIKit/TextView (UIKit).swift:197:44: error: 'UITextView' is unavailable in watchOS
195 | }
196 |
197 | func textViewDidChange(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
198 | swiftUIView.editingRules.textDidChange(in: textView, binding: swiftUIView.$text)
199 | textView.invalidateIntrinsicContentSize()
/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/ResizingTextView/UIKit/TextView (UIKit).swift:185:51: error: 'UITextViewDelegate' is unavailable in watchOS
183 | }
184 |
185 | @MainActor final class Coordinator: NSObject, UITextViewDelegate {
| `- error: 'UITextViewDelegate' is unavailable in watchOS
186 | var swiftUIView: TextView
187 | let measurer = TextMeasurer()
/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/ResizingTextView/UIKit/TextView (UIKit).swift:7:29: error: cannot find type 'UIViewRepresentable' in scope
5 | import UIKit
6 |
7 | @MainActor struct TextView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
8 | static let defaultForegroundColor = Color(UIColor.label)
9 |
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:213:25: error: 'NSTextContainer' is unavailable in watchOS
211 | }
212 |
213 | init(textContainer: NSTextContainer? = nil) {
| `- error: 'NSTextContainer' is unavailable in watchOS
214 | super.init(frame: .zero, textContainer: textContainer)
215 | isScrollEnabled = true
/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/ResizingTextView/UIKit/TextView (UIKit).swift:204:23: error: 'UITextView' is unavailable in watchOS
202 | }
203 |
204 | class CustomTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
205 | var hasDynamicHeight = true
206 |
/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/ResizingTextView/UIKit/TextView (UIKit).swift:64:29: error: 'NSLayoutManager' is unavailable in watchOS
62 | func makeUIView(context: Context) -> CustomTextView {
63 | let textStorage = DecoratableTextStorage()
64 | let layoutManager = NSLayoutManager()
| `- error: 'NSLayoutManager' is unavailable in watchOS
65 | let textContainer = NSTextContainer()
66 | textContainer.widthTracksTextView = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:58:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
56 |
57 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0)) API_UNAVAILABLE(watchos)
58 | @interface NSLayoutManager : NSObject <NSSecureCoding>
| `- note: 'NSLayoutManager' has been explicitly marked unavailable here
59 |
60 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:65:29: error: 'NSTextContainer' is unavailable in watchOS
63 | let textStorage = DecoratableTextStorage()
64 | let layoutManager = NSLayoutManager()
65 | let textContainer = NSTextContainer()
| `- error: 'NSTextContainer' is unavailable in watchOS
66 | textContainer.widthTracksTextView = true
67 | textStorage.addLayoutManager(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/ResizingTextView/UIKit/TextView (UIKit).swift:70:45: error: 'defaultHigh' is unavailable in watchOS
68 | layoutManager.addTextContainer(textContainer)
69 | let textView = CustomTextView(textContainer: textContainer)
70 | textView.setContentHuggingPriority(.defaultHigh, for: .vertical)
| `- error: 'defaultHigh' is unavailable in watchOS
71 | textView.textContainer.lineFragmentPadding = 0
72 | textView.backgroundColor = .clear
UIKit.UILayoutPriority.defaultHigh:3:21: note: 'defaultHigh' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var defaultHigh: UILayoutPriority { get }}
| `- note: 'defaultHigh' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:114:35: error: 'maximumNumberOfLines' is unavailable in watchOS
112 | textView.isSelectable = isSelectable
113 | }
114 | if textView.textContainer.maximumNumberOfLines != lineLimit {
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
115 | textView.textContainer.maximumNumberOfLines = lineLimit
116 | }
/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/ResizingTextView/UIKit/TextView (UIKit).swift:115:36: error: 'maximumNumberOfLines' is unavailable in watchOS
113 | }
114 | if textView.textContainer.maximumNumberOfLines != lineLimit {
115 | textView.textContainer.maximumNumberOfLines = lineLimit
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
116 | }
117 | if textView.autocapitalizationType != autocapitalizationType {
/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/ResizingTextView/UIKit/TextView (UIKit).swift:129:39: error: 'lineBreakMode' is unavailable in watchOS
127 | }
128 | if lineLimit > 0 {
129 | if textView.textContainer.lineBreakMode != .byTruncatingTail {
| `- error: 'lineBreakMode' is unavailable in watchOS
130 | textView.textContainer.lineBreakMode = .byTruncatingTail
131 | }
/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:89:50: note: 'lineBreakMode' has been explicitly marked unavailable here
87 | /// truncated. The default value of this property is
88 | /// ``NSLineBreakMode/byWordWrapping``.
89 | @property (NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'lineBreakMode' has been explicitly marked unavailable here
90 |
91 | /// An array of path objects that represents the regions where text doesn't display in the text container.
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:130:40: error: 'lineBreakMode' is unavailable in watchOS
128 | if lineLimit > 0 {
129 | if textView.textContainer.lineBreakMode != .byTruncatingTail {
130 | textView.textContainer.lineBreakMode = .byTruncatingTail
| `- error: 'lineBreakMode' is unavailable in watchOS
131 | }
132 | }
/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:89:50: note: 'lineBreakMode' has been explicitly marked unavailable here
87 | /// truncated. The default value of this property is
88 | /// ``NSLineBreakMode/byWordWrapping``.
89 | @property (NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'lineBreakMode' has been explicitly marked unavailable here
90 |
91 | /// An array of path objects that represents the regions where text doesn't display in the text container.
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:236:29: error: 'UIView' is unavailable in watchOS
234 | override open var intrinsicContentSize: CGSize {
235 | return hasDynamicHeight
236 | ? CGSize(width: UIView.noIntrinsicMetric, height: contentSize.height)
| `- error: 'UIView' is unavailable in watchOS
237 | : super.intrinsicContentSize
238 | }
/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.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView\ (UIKit).swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TextView\ \(UIKit\).swift
SwiftCompile normal arm64 Compiling\ View+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/View+Extensions.swift (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/View+Extensions.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile View+Extensions.swift
SwiftCompile normal arm64 Compiling\ TextDecoration.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextDecoration.swift (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextDecoration.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TextDecoration.swift
SwiftCompile normal arm64 Compiling\ ResizingTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift (in target 'ResizingTextView' from project 'ResizingTextView')
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:27:41: error: 'label' is unavailable in watchOS
25 | var foregroundColor: UXColor = .labelColor
26 | #elseif canImport(UIKit)
27 | var foregroundColor: UXColor = .label
| `- error: 'label' is unavailable in watchOS
28 | #endif
29 | var hasGreedyWidth: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:35:37: error: 'UITextAutocapitalizationType' is unavailable in watchOS
33 | var textContainerInset: CGSize?
34 | #elseif canImport(UIKit)
35 | var autocapitalizationType: UITextAutocapitalizationType = .sentences
| `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
36 | var textContainerInset: UIEdgeInsets?
37 | var keyboardType: UIKeyboardType = .default
/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:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
20 | // cases, these values are ignored by the keyboard/input method implementation.
21 | //
22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
| `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
23 | UITextAutocapitalizationTypeNone,
24 | UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:37:27: error: 'UIKeyboardType' is unavailable in watchOS
35 | var autocapitalizationType: UITextAutocapitalizationType = .sentences
36 | var textContainerInset: UIEdgeInsets?
37 | var keyboardType: UIKeyboardType = .default
| `- error: 'UIKeyboardType' is unavailable in watchOS
38 | #endif
39 | }
/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:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
| `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 | UIKeyboardTypeDefault, // Default type for the current input method.
129 | UIKeyboardTypeASCIICapable, // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:393:59: error: 'UITextAutocapitalizationType' is unavailable in watchOS
391 | }
392 |
393 | func autocapitalizationType(_ autocapitalizationType: UITextAutocapitalizationType) -> Self {
| `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
394 | var newSelf = self
395 | newSelf.configuration.autocapitalizationType = autocapitalizationType
/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:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
20 | // cases, these values are ignored by the keyboard/input method implementation.
21 | //
22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
| `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
23 | UITextAutocapitalizationTypeNone,
24 | UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:405:39: error: 'UIKeyboardType' is unavailable in watchOS
403 | }
404 |
405 | func keyboardType(_ keyboardType: UIKeyboardType) -> Self {
| `- error: 'UIKeyboardType' is unavailable in watchOS
406 | var newSelf = self
407 | newSelf.configuration.keyboardType = keyboardType
/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:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
| `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 | UIKeyboardTypeDefault, // Default type for the current input method.
129 | UIKeyboardTypeASCIICapable, // Displays a keyboard which can enter ASCII characters
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ResizingTextView.swift
SwiftCompile normal arm64 Compiling\ TextView\ (AppKit).swift,\ TextViewMeasurer.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/AppKit/TextView\ (AppKit).swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/AppKit/TextViewMeasurer.swift (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/AppKit/TextView\ (AppKit).swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TextView\ \(AppKit\).swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/AppKit/TextViewMeasurer.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TextViewMeasurer.swift
SwiftCompile normal arm64 Compiling\ DecoratableTextStorage.swift,\ PlatformTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/DecoratableTextStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/PlatformTextView.swift (in target 'ResizingTextView' from project 'ResizingTextView')
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/DecoratableTextStorage.swift:9:37: error: 'NSTextStorage' is unavailable in watchOS
7 | #endif
8 |
9 | final class DecoratableTextStorage: NSTextStorage {
| `- error: 'NSTextStorage' is unavailable in watchOS
10 | struct AttributionMap: Equatable {
11 | var defaultFont: UXFont?
/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/ResizingTextView/DecoratableTextStorage.swift:90:17: error: 'editedAttributes' is unavailable in watchOS
88 | override func fixAttributes(in range: NSRange) {
89 | backing.fixAttributes(in: range)
90 | edited(.editedAttributes, range: range, changeInLength: 0)
| `- error: 'editedAttributes' is unavailable in watchOS
91 | }
92 |
UIKit.NSTextStorage.EditActions.editedAttributes:4:23: note: 'editedAttributes' has been explicitly marked unavailable here
2 | struct EditActions {
3 | @available(watchOS, unavailable)
4 | public static var editedAttributes: NSTextStorage.EditActions { get } }
| `- note: 'editedAttributes' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/DecoratableTextStorage.swift:95:37: error: 'editedCharacters' is unavailable in watchOS
93 | override func processEditing() {
94 | let needsNormalization = isApplyingAttributionMap
95 | || editedMask.contains(.editedCharacters)
| `- error: 'editedCharacters' is unavailable in watchOS
96 | || (Self.normalizesAttributeOnlyEdits && editedMask.contains(.editedAttributes))
97 | if needsNormalization, editedRange.length > 0 {
UIKit.NSTextStorage.EditActions.editedCharacters:4:23: note: 'editedCharacters' has been explicitly marked unavailable here
2 | struct EditActions {
3 | @available(watchOS, unavailable)
4 | public static var editedCharacters: NSTextStorage.EditActions { get } }
| `- note: 'editedCharacters' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/DecoratableTextStorage.swift:96:75: error: 'editedAttributes' is unavailable in watchOS
94 | let needsNormalization = isApplyingAttributionMap
95 | || editedMask.contains(.editedCharacters)
96 | || (Self.normalizesAttributeOnlyEdits && editedMask.contains(.editedAttributes))
| `- error: 'editedAttributes' is unavailable in watchOS
97 | if needsNormalization, editedRange.length > 0 {
98 | normalizeAttributes(in: editedRange)
UIKit.NSTextStorage.EditActions.editedAttributes:4:23: note: 'editedAttributes' has been explicitly marked unavailable here
2 | struct EditActions {
3 | @available(watchOS, unavailable)
4 | public static var editedAttributes: NSTextStorage.EditActions { get } }
| `- note: 'editedAttributes' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/DecoratableTextStorage.swift:111:18: error: 'editedCharacters' is unavailable in watchOS
109 | shiftDecorations(forReplacingCharactersIn: range, replacementLength: replacementLength)
110 | hasCharacterEditsSinceResolution = true
111 | edited([.editedCharacters, .editedAttributes], range: range, changeInLength: delta)
| `- error: 'editedCharacters' is unavailable in watchOS
112 | endEditing()
113 | }
UIKit.NSTextStorage.EditActions.editedCharacters:4:23: note: 'editedCharacters' has been explicitly marked unavailable here
2 | struct EditActions {
3 | @available(watchOS, unavailable)
4 | public static var editedCharacters: NSTextStorage.EditActions { get } }
| `- note: 'editedCharacters' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/DecoratableTextStorage.swift:111:37: error: 'editedAttributes' is unavailable in watchOS
109 | shiftDecorations(forReplacingCharactersIn: range, replacementLength: replacementLength)
110 | hasCharacterEditsSinceResolution = true
111 | edited([.editedCharacters, .editedAttributes], range: range, changeInLength: delta)
| `- error: 'editedAttributes' is unavailable in watchOS
112 | endEditing()
113 | }
UIKit.NSTextStorage.EditActions.editedAttributes:4:23: note: 'editedAttributes' has been explicitly marked unavailable here
2 | struct EditActions {
3 | @available(watchOS, unavailable)
4 | public static var editedAttributes: NSTextStorage.EditActions { get } }
| `- note: 'editedAttributes' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/DecoratableTextStorage.swift:118:17: error: 'editedAttributes' is unavailable in watchOS
116 | beginEditing()
117 | backing.setAttributes(attrs, range: range)
118 | edited(.editedAttributes, range: range, changeInLength: 0)
| `- error: 'editedAttributes' is unavailable in watchOS
119 | endEditing()
120 | }
UIKit.NSTextStorage.EditActions.editedAttributes:4:23: note: 'editedAttributes' has been explicitly marked unavailable here
2 | struct EditActions {
3 | @available(watchOS, unavailable)
4 | public static var editedAttributes: NSTextStorage.EditActions { get } }
| `- note: 'editedAttributes' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/DecoratableTextStorage.swift:157:21: error: 'editedAttributes' is unavailable in watchOS
155 | beginEditing()
156 | for range in dirtyIndexes.rangeView {
157 | edited(.editedAttributes, range: NSRange(range), changeInLength: 0)
| `- error: 'editedAttributes' is unavailable in watchOS
158 | }
159 | endEditing()
UIKit.NSTextStorage.EditActions.editedAttributes:4:23: note: 'editedAttributes' has been explicitly marked unavailable here
2 | struct EditActions {
3 | @available(watchOS, unavailable)
4 | public static var editedAttributes: NSTextStorage.EditActions { get } }
| `- note: 'editedAttributes' has been explicitly marked unavailable here
5 | }
6 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/DecoratableTextStorage.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DecoratableTextStorage.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/PlatformTextView.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PlatformTextView.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ResizingTextView (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftCompile normal arm64_32 (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-30 20:00:48.649 xcodebuild[627:3918] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftEmitModule normal arm64 Emitting\ module\ for\ ResizingTextView (in target 'ResizingTextView' from project 'ResizingTextView')
Building workspace ResizingTextView with scheme ResizingTextView
(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:
ResizingTextView: /Users/admin/builder/spi-builder-workspace
resolved source packages: ResizingTextView
2026-09-30 20:00:56.162 xcodebuild[806:4703] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "ResizingTextView",
"name" : "ResizingTextView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "ResizingTextView",
"targets" : [
"ResizingTextView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ResizingTextViewTests",
"module_type" : "SwiftTarget",
"name" : "ResizingTextViewTests",
"path" : "Tests/ResizingTextViewTests",
"sources" : [
"AppKitHarness.swift",
"AttributeEditingTests.swift",
"BaselineAlignmentTests.swift",
"CoordinatorTests.swift",
"DecoratableTextStorageFuzzTests.swift",
"DecoratableTextStorageTests.swift",
"EquatableConformanceTests.swift",
"FocusRingTests.swift",
"FocusSelectionTests.swift",
"FontFallbackTests.swift",
"LegacyScrollerTests.swift",
"LineLimitTests.swift",
"MarkedTextLayoutTests.swift",
"NewlineTests.swift",
"PlatformConsistencyTests.swift",
"RepeatedSizingTests.swift",
"ScrollingTests.swift",
"SelectionTests.swift",
"SizingTests.swift",
"TestModel.swift",
"UIKitHarness.swift",
"UndoTests.swift",
"UnfocusedUndoTests.swift",
"VerifiedBehaviorTests.swift",
"ViewUpdateTests.swift"
],
"target_dependencies" : [
"ResizingTextView"
],
"type" : "test"
},
{
"c99name" : "ResizingTextView",
"module_type" : "SwiftTarget",
"name" : "ResizingTextView",
"path" : "Sources/ResizingTextView",
"product_memberships" : [
"ResizingTextView"
],
"sources" : [
"AppKit/TextView (AppKit).swift",
"AppKit/TextViewMeasurer.swift",
"DecoratableTextStorage.swift",
"PlatformTextView.swift",
"ResizingTextView.swift",
"TextDecoration.swift",
"TextMeasurer.swift",
"UIKit/TextView (UIKit).swift",
"Utils/CrossPlatformAliases.swift",
"Utils/NSRange+Extensions.swift",
"Utils/String+Newlines.swift",
"Utils/View+Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "ResizingTextView",
"schemes" : [
"ResizingTextView"
]
}
}
2026-09-30 20:00:57.439 xcodebuild[814:4775] [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 ResizingTextView -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 ResizingTextView -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
ResizingTextView: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'ResizingTextView-product' in project 'ResizingTextView'
➜ Explicit dependency on target 'ResizingTextView' in project 'ResizingTextView'
Target 'ResizingTextView' in project 'ResizingTextView' (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 ResizingTextView normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'ResizingTextView' from project 'ResizingTextView')
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 ResizingTextView -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64_32/ResizingTextView.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-watchos9.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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64_32/ResizingTextView-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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64_32/ResizingTextView.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64_32/ResizingTextView-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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64_32/ResizingTextView_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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64_32/ResizingTextView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver ResizingTextView normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ResizingTextView' from project 'ResizingTextView')
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 ResizingTextView -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64/ResizingTextView.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-watchos9.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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64/ResizingTextView-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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64/ResizingTextView.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64/ResizingTextView-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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64/ResizingTextView_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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64/ResizingTextView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ TextView\ (AppKit).swift,\ TextViewMeasurer.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/AppKit/TextView\ (AppKit).swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/AppKit/TextViewMeasurer.swift (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/AppKit/TextView\ (AppKit).swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TextView\ \(AppKit\).swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/AppKit/TextViewMeasurer.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TextViewMeasurer.swift
SwiftCompile normal arm64 Compiling\ ResizingTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ResizingTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:27:41: error: 'label' is unavailable in watchOS
25 | var foregroundColor: UXColor = .labelColor
26 | #elseif canImport(UIKit)
27 | var foregroundColor: UXColor = .label
| `- error: 'label' is unavailable in watchOS
28 | #endif
29 | var hasGreedyWidth: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:35:37: error: 'UITextAutocapitalizationType' is unavailable in watchOS
33 | var textContainerInset: CGSize?
34 | #elseif canImport(UIKit)
35 | var autocapitalizationType: UITextAutocapitalizationType = .sentences
| `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
36 | var textContainerInset: UIEdgeInsets?
37 | var keyboardType: UIKeyboardType = .default
/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:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
20 | // cases, these values are ignored by the keyboard/input method implementation.
21 | //
22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
| `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
23 | UITextAutocapitalizationTypeNone,
24 | UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:37:27: error: 'UIKeyboardType' is unavailable in watchOS
35 | var autocapitalizationType: UITextAutocapitalizationType = .sentences
36 | var textContainerInset: UIEdgeInsets?
37 | var keyboardType: UIKeyboardType = .default
| `- error: 'UIKeyboardType' is unavailable in watchOS
38 | #endif
39 | }
/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:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
| `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 | UIKeyboardTypeDefault, // Default type for the current input method.
129 | UIKeyboardTypeASCIICapable, // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:393:59: error: 'UITextAutocapitalizationType' is unavailable in watchOS
391 | }
392 |
393 | func autocapitalizationType(_ autocapitalizationType: UITextAutocapitalizationType) -> Self {
| `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
394 | var newSelf = self
395 | newSelf.configuration.autocapitalizationType = autocapitalizationType
/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:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
20 | // cases, these values are ignored by the keyboard/input method implementation.
21 | //
22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
| `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
23 | UITextAutocapitalizationTypeNone,
24 | UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:405:39: error: 'UIKeyboardType' is unavailable in watchOS
403 | }
404 |
405 | func keyboardType(_ keyboardType: UIKeyboardType) -> Self {
| `- error: 'UIKeyboardType' is unavailable in watchOS
406 | var newSelf = self
407 | newSelf.configuration.keyboardType = keyboardType
/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:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
| `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 | UIKeyboardTypeDefault, // Default type for the current input method.
129 | UIKeyboardTypeASCIICapable, // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:74:17: error: 'label' is unavailable in watchOS
72 | #elseif canImport(UIKit)
73 | public static var defaultLabelColor: UIColor {
74 | UIColor.label
| `- error: 'label' is unavailable in watchOS
75 | }
76 | #endif
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:304:13: error: initializer 'init(alignment:content:)' requires that 'TextView' conform to 'View'
302 | )
303 | #endif
304 | TextView(parameters: parameters)
| `- error: initializer 'init(alignment:content:)' requires that 'TextView' conform to 'View'
305 |
306 | if let placeholder = configuration.placeholder {
SwiftUI.TupleContent:2:11: note: requirement from conditional conformance of 'TupleContent<TextView, some View?>' to 'View'
1 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
2 | extension TupleContent : View where repeat each Content : View {
| `- note: requirement from conditional conformance of 'TupleContent<TextView, some View?>' to 'View'
3 | nonisolated public static func _makeView(view: _GraphValue<TupleContent<repeat each Content>>, inputs: _ViewInputs) -> _ViewOutputs
4 | nonisolated public static func _makeViewList(view: _GraphValue<TupleContent<repeat each Content>>, inputs: _ViewListInputs) -> _ViewListOutputs
SwiftCompile normal arm64 Compiling\ TextDecoration.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextDecoration.swift (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextDecoration.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TextDecoration.swift
SwiftCompile normal arm64 Compiling\ TextMeasurer.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift (in target 'ResizingTextView' from project 'ResizingTextView')
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift:13:33: error: 'NSLayoutManager' is unavailable in watchOS
11 | @MainActor
12 | final class TextMeasurer {
13 | private let layoutManager = NSLayoutManager()
| `- error: 'NSLayoutManager' is unavailable in watchOS
14 | private let textContainer = NSTextContainer()
15 | private weak var textStorage: NSTextStorage?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:58:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
56 |
57 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0)) API_UNAVAILABLE(watchos)
58 | @interface NSLayoutManager : NSObject <NSSecureCoding>
| `- note: 'NSLayoutManager' has been explicitly marked unavailable here
59 |
60 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift:14:33: error: 'NSTextContainer' is unavailable in watchOS
12 | final class TextMeasurer {
13 | private let layoutManager = NSLayoutManager()
14 | private let textContainer = NSTextContainer()
| `- error: 'NSTextContainer' is unavailable in watchOS
15 | private weak var textStorage: NSTextStorage?
16 |
/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/ResizingTextView/TextMeasurer.swift:15:35: error: 'NSTextStorage' is unavailable in watchOS
13 | private let layoutManager = NSLayoutManager()
14 | private let textContainer = NSTextContainer()
15 | private weak var textStorage: NSTextStorage?
| `- error: 'NSTextStorage' is unavailable in watchOS
16 |
17 | init() {
/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/ResizingTextView/TextMeasurer.swift:28:31: error: 'NSTextStorage' is unavailable in watchOS
26 | /// Returns the size of the laid out text as the text view shows it: the empty line after a trailing
27 | /// newline is omitted when the line limit is reached, and empty text is one line of `emptyLineFont`.
28 | func size(of textStorage: NSTextStorage, width: CGFloat?, like container: NSTextContainer, emptyLineFont: UXFont) -> CGSize {
| `- error: 'NSTextStorage' is unavailable in watchOS
29 | layOut(textStorage, width: width, like: container)
30 |
/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/ResizingTextView/TextMeasurer.swift:28:79: error: 'NSTextContainer' is unavailable in watchOS
26 | /// Returns the size of the laid out text as the text view shows it: the empty line after a trailing
27 | /// newline is omitted when the line limit is reached, and empty text is one line of `emptyLineFont`.
28 | func size(of textStorage: NSTextStorage, width: CGFloat?, like container: NSTextContainer, emptyLineFont: UXFont) -> CGSize {
| `- error: 'NSTextContainer' is unavailable in watchOS
29 | layOut(textStorage, width: width, like: container)
30 |
/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/ResizingTextView/TextMeasurer.swift:41:25: error: 'NSTextStorage' is unavailable in watchOS
39 |
40 | func lines(
41 | of textStorage: NSTextStorage,
| `- error: 'NSTextStorage' is unavailable in watchOS
42 | width: CGFloat?,
43 | like container: NSTextContainer,
/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/ResizingTextView/TextMeasurer.swift:43:25: error: 'NSTextContainer' is unavailable in watchOS
41 | of textStorage: NSTextStorage,
42 | width: CGFloat?,
43 | like container: NSTextContainer,
| `- error: 'NSTextContainer' is unavailable in watchOS
44 | emptyLineFont: UXFont
45 | ) -> [Line] {
/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/ResizingTextView/TextMeasurer.swift:67:40: error: 'NSTextStorage' is unavailable in watchOS
65 | }
66 |
67 | private func layOut(_ textStorage: NSTextStorage, width: CGFloat?, like container: NSTextContainer) {
| `- error: 'NSTextStorage' is unavailable in watchOS
68 | if self.textStorage !== textStorage {
69 | self.textStorage?.removeLayoutManager(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/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/ResizingTextView/TextMeasurer.swift:67:88: error: 'NSTextContainer' is unavailable in watchOS
65 | }
66 |
67 | private func layOut(_ textStorage: NSTextStorage, width: CGFloat?, like container: NSTextContainer) {
| `- error: 'NSTextContainer' is unavailable in watchOS
68 | if self.textStorage !== textStorage {
69 | self.textStorage?.removeLayoutManager(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/ResizingTextView/TextMeasurer.swift:80:49: error: 'NSTextContainer' is unavailable in watchOS
78 | }
79 |
80 | private func showsExtraLine(like container: NSTextContainer) -> Bool {
| `- error: 'NSTextContainer' is unavailable in watchOS
81 | layoutManager.extraLineFragmentUsedRect.height > 0
82 | && !(container.maximumNumberOfLines > 0 && numberOfLines() >= container.maximumNumberOfLines)
/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/ResizingTextView/TextMeasurer.swift:74:23: error: 'maximumNumberOfLines' is unavailable in watchOS
72 | }
73 | textContainer.lineFragmentPadding = container.lineFragmentPadding
74 | textContainer.maximumNumberOfLines = container.maximumNumberOfLines
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
75 | textContainer.lineBreakMode = container.lineBreakMode
76 | textContainer.size = CGSize(width: width ?? .greatestFiniteMagnitude, height: .greatestFiniteMagnitude)
/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/ResizingTextView/TextMeasurer.swift:74:56: error: 'maximumNumberOfLines' is unavailable in watchOS
72 | }
73 | textContainer.lineFragmentPadding = container.lineFragmentPadding
74 | textContainer.maximumNumberOfLines = container.maximumNumberOfLines
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
75 | textContainer.lineBreakMode = container.lineBreakMode
76 | textContainer.size = CGSize(width: width ?? .greatestFiniteMagnitude, height: .greatestFiniteMagnitude)
/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/ResizingTextView/TextMeasurer.swift:75:23: error: 'lineBreakMode' is unavailable in watchOS
73 | textContainer.lineFragmentPadding = container.lineFragmentPadding
74 | textContainer.maximumNumberOfLines = container.maximumNumberOfLines
75 | textContainer.lineBreakMode = container.lineBreakMode
| `- error: 'lineBreakMode' is unavailable in watchOS
76 | textContainer.size = CGSize(width: width ?? .greatestFiniteMagnitude, height: .greatestFiniteMagnitude)
77 | layoutManager.ensureLayout(for: 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:89:50: note: 'lineBreakMode' has been explicitly marked unavailable here
87 | /// truncated. The default value of this property is
88 | /// ``NSLineBreakMode/byWordWrapping``.
89 | @property (NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'lineBreakMode' has been explicitly marked unavailable here
90 |
91 | /// An array of path objects that represents the regions where text doesn't display in the text container.
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift:75:49: error: 'lineBreakMode' is unavailable in watchOS
73 | textContainer.lineFragmentPadding = container.lineFragmentPadding
74 | textContainer.maximumNumberOfLines = container.maximumNumberOfLines
75 | textContainer.lineBreakMode = container.lineBreakMode
| `- error: 'lineBreakMode' is unavailable in watchOS
76 | textContainer.size = CGSize(width: width ?? .greatestFiniteMagnitude, height: .greatestFiniteMagnitude)
77 | layoutManager.ensureLayout(for: 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:89:50: note: 'lineBreakMode' has been explicitly marked unavailable here
87 | /// truncated. The default value of this property is
88 | /// ``NSLineBreakMode/byWordWrapping``.
89 | @property (NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'lineBreakMode' has been explicitly marked unavailable here
90 |
91 | /// An array of path objects that represents the regions where text doesn't display in the text container.
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift:76:23: error: 'size' is unavailable in watchOS
74 | textContainer.maximumNumberOfLines = container.maximumNumberOfLines
75 | textContainer.lineBreakMode = container.lineBreakMode
76 | textContainer.size = CGSize(width: width ?? .greatestFiniteMagnitude, height: .greatestFiniteMagnitude)
| `- error: 'size' is unavailable in watchOS
77 | layoutManager.ensureLayout(for: textContainer)
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/NSTextContainer.h:80:41: note: 'size' has been explicitly marked unavailable here
78 | /// If you don't specify an explicit size when you initialize a text container,
79 | /// the system uses a default large size of (`10000000.0`, `10000000.0`).
80 | @property (NS_NONATOMIC_IOSONLY) CGSize size API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'size' has been explicitly marked unavailable here
81 |
82 | /// The behavior of the last line inside the text container.
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift:82:28: error: 'maximumNumberOfLines' is unavailable in watchOS
80 | private func showsExtraLine(like container: NSTextContainer) -> Bool {
81 | layoutManager.extraLineFragmentUsedRect.height > 0
82 | && !(container.maximumNumberOfLines > 0 && numberOfLines() >= container.maximumNumberOfLines)
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
83 | }
84 |
/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/ResizingTextView/TextMeasurer.swift:82:85: error: 'maximumNumberOfLines' is unavailable in watchOS
80 | private func showsExtraLine(like container: NSTextContainer) -> Bool {
81 | layoutManager.extraLineFragmentUsedRect.height > 0
82 | && !(container.maximumNumberOfLines > 0 && numberOfLines() >= container.maximumNumberOfLines)
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
83 | }
84 |
/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/ResizingTextView/TextMeasurer.swift:108:23: error: 'NSTextStorage' is unavailable in watchOS
106 | return metrics
107 | }
108 | let storage = NSTextStorage(string: " ", attributes: [.font: font])
| `- error: 'NSTextStorage' is unavailable in watchOS
109 | let layoutManager = NSLayoutManager()
110 | let container = NSTextContainer(size: CGSize(width: CGFloat.greatestFiniteMagnitude, height: .greatestFiniteMagnitude))
/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/ResizingTextView/TextMeasurer.swift:109:29: error: 'NSLayoutManager' is unavailable in watchOS
107 | }
108 | let storage = NSTextStorage(string: " ", attributes: [.font: font])
109 | let layoutManager = NSLayoutManager()
| `- error: 'NSLayoutManager' is unavailable in watchOS
110 | let container = NSTextContainer(size: CGSize(width: CGFloat.greatestFiniteMagnitude, height: .greatestFiniteMagnitude))
111 | storage.addLayoutManager(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/NSLayoutManager.h:58:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
56 |
57 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0)) API_UNAVAILABLE(watchos)
58 | @interface NSLayoutManager : NSObject <NSSecureCoding>
| `- note: 'NSLayoutManager' has been explicitly marked unavailable here
59 |
60 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift:110:25: error: 'NSTextContainer' is unavailable in watchOS
108 | let storage = NSTextStorage(string: " ", attributes: [.font: font])
109 | let layoutManager = NSLayoutManager()
110 | let container = NSTextContainer(size: CGSize(width: CGFloat.greatestFiniteMagnitude, height: .greatestFiniteMagnitude))
| `- error: 'NSTextContainer' is unavailable in watchOS
111 | storage.addLayoutManager(layoutManager)
112 | layoutManager.addTextContainer(container)
/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 ****************************/
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TextMeasurer.swift
SwiftCompile normal arm64 Compiling\ TextView\ (UIKit).swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView\ (UIKit).swift (in target 'ResizingTextView' from project 'ResizingTextView')
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:8:55: error: 'label' is unavailable in watchOS
6 |
7 | @MainActor struct TextView: UIViewRepresentable {
8 | static let defaultForegroundColor = Color(UIColor.label)
| `- error: 'label' is unavailable in watchOS
9 |
10 | struct Parameters {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:22:37: error: 'UITextAutocapitalizationType' is unavailable in watchOS
20 | var canHaveNewLineCharacters: Bool
21 | var foregroundColor: Color
22 | var autocapitalizationType: UITextAutocapitalizationType
| `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
23 | var textContainerInset: UIEdgeInsets
24 | var keyboardType: UIKeyboardType
/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:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
20 | // cases, these values are ignored by the keyboard/input method implementation.
21 | //
22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
| `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
23 | UITextAutocapitalizationTypeNone,
24 | UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:24:27: error: 'UIKeyboardType' is unavailable in watchOS
22 | var autocapitalizationType: UITextAutocapitalizationType
23 | var textContainerInset: UIEdgeInsets
24 | var keyboardType: UIKeyboardType
| `- error: 'UIKeyboardType' is unavailable in watchOS
25 | var hasGreedyWidth: Bool
26 | }
/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:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
| `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 | UIKeyboardTypeDefault, // Default type for the current input method.
129 | UIKeyboardTypeASCIICapable, // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:39:41: error: 'UITextAutocapitalizationType' is unavailable in watchOS
37 | private var font: UIFont
38 | private var canHaveNewLineCharacters: Bool
39 | private var autocapitalizationType: UITextAutocapitalizationType
| `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
40 | private var textContainerInset: UIEdgeInsets
41 | private var keyboardType: UIKeyboardType
/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:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
20 | // cases, these values are ignored by the keyboard/input method implementation.
21 | //
22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
| `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
23 | UITextAutocapitalizationTypeNone,
24 | UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:41:31: error: 'UIKeyboardType' is unavailable in watchOS
39 | private var autocapitalizationType: UITextAutocapitalizationType
40 | private var textContainerInset: UIEdgeInsets
41 | private var keyboardType: UIKeyboardType
| `- error: 'UIKeyboardType' is unavailable in watchOS
42 | private var hasGreedyWidth: Bool
43 |
/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:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
| `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 | UIKeyboardTypeDefault, // Default type for the current input method.
129 | UIKeyboardTypeASCIICapable, // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:62:30: error: cannot find type 'Context' in scope
60 | }
61 |
62 | func makeUIView(context: Context) -> CustomTextView {
| `- error: cannot find type 'Context' in scope
63 | let textStorage = DecoratableTextStorage()
64 | let layoutManager = NSLayoutManager()
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:84:60: error: cannot find type 'Context' in scope
82 | }
83 |
84 | func updateUIView(_ textView: CustomTextView, context: Context) {
| `- error: cannot find type 'Context' in scope
85 | context.coordinator.swiftUIView = self
86 |
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:147:86: error: cannot find type 'Context' in scope
145 |
146 | @available(iOS 16.0, tvOS 16.0, *)
147 | func sizeThatFits(_ proposal: ProposedViewSize, uiView: CustomTextView, context: Context) -> CGSize? {
| `- error: cannot find type 'Context' in scope
148 | let inset = uiView.textContainerInset
149 | let textSize = context.coordinator.measurer.size(
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:193:35: error: 'UITextView' is unavailable in watchOS
191 | }
192 |
193 | func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
| `- error: 'UITextView' is unavailable in watchOS
194 | swiftUIView.editingRules.shouldChangeText(of: textView, in: range, replacementText: text)
195 | }
/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/ResizingTextView/UIKit/TextView (UIKit).swift:197:44: error: 'UITextView' is unavailable in watchOS
195 | }
196 |
197 | func textViewDidChange(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
198 | swiftUIView.editingRules.textDidChange(in: textView, binding: swiftUIView.$text)
199 | textView.invalidateIntrinsicContentSize()
/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/ResizingTextView/UIKit/TextView (UIKit).swift:185:51: error: 'UITextViewDelegate' is unavailable in watchOS
183 | }
184 |
185 | @MainActor final class Coordinator: NSObject, UITextViewDelegate {
| `- error: 'UITextViewDelegate' is unavailable in watchOS
186 | var swiftUIView: TextView
187 | let measurer = TextMeasurer()
/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/ResizingTextView/UIKit/TextView (UIKit).swift:7:29: error: cannot find type 'UIViewRepresentable' in scope
5 | import UIKit
6 |
7 | @MainActor struct TextView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
8 | static let defaultForegroundColor = Color(UIColor.label)
9 |
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:213:25: error: 'NSTextContainer' is unavailable in watchOS
211 | }
212 |
213 | init(textContainer: NSTextContainer? = nil) {
| `- error: 'NSTextContainer' is unavailable in watchOS
214 | super.init(frame: .zero, textContainer: textContainer)
215 | isScrollEnabled = true
/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/ResizingTextView/UIKit/TextView (UIKit).swift:204:23: error: 'UITextView' is unavailable in watchOS
202 | }
203 |
204 | class CustomTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
205 | var hasDynamicHeight = true
206 |
/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/ResizingTextView/UIKit/TextView (UIKit).swift:64:29: error: 'NSLayoutManager' is unavailable in watchOS
62 | func makeUIView(context: Context) -> CustomTextView {
63 | let textStorage = DecoratableTextStorage()
64 | let layoutManager = NSLayoutManager()
| `- error: 'NSLayoutManager' is unavailable in watchOS
65 | let textContainer = NSTextContainer()
66 | textContainer.widthTracksTextView = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:58:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
56 |
57 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0)) API_UNAVAILABLE(watchos)
58 | @interface NSLayoutManager : NSObject <NSSecureCoding>
| `- note: 'NSLayoutManager' has been explicitly marked unavailable here
59 |
60 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:65:29: error: 'NSTextContainer' is unavailable in watchOS
63 | let textStorage = DecoratableTextStorage()
64 | let layoutManager = NSLayoutManager()
65 | let textContainer = NSTextContainer()
| `- error: 'NSTextContainer' is unavailable in watchOS
66 | textContainer.widthTracksTextView = true
67 | textStorage.addLayoutManager(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/ResizingTextView/UIKit/TextView (UIKit).swift:70:45: error: 'defaultHigh' is unavailable in watchOS
68 | layoutManager.addTextContainer(textContainer)
69 | let textView = CustomTextView(textContainer: textContainer)
70 | textView.setContentHuggingPriority(.defaultHigh, for: .vertical)
| `- error: 'defaultHigh' is unavailable in watchOS
71 | textView.textContainer.lineFragmentPadding = 0
72 | textView.backgroundColor = .clear
UIKit.UILayoutPriority.defaultHigh:3:21: note: 'defaultHigh' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var defaultHigh: UILayoutPriority { get }}
| `- note: 'defaultHigh' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:114:35: error: 'maximumNumberOfLines' is unavailable in watchOS
112 | textView.isSelectable = isSelectable
113 | }
114 | if textView.textContainer.maximumNumberOfLines != lineLimit {
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
115 | textView.textContainer.maximumNumberOfLines = lineLimit
116 | }
/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/ResizingTextView/UIKit/TextView (UIKit).swift:115:36: error: 'maximumNumberOfLines' is unavailable in watchOS
113 | }
114 | if textView.textContainer.maximumNumberOfLines != lineLimit {
115 | textView.textContainer.maximumNumberOfLines = lineLimit
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
116 | }
117 | if textView.autocapitalizationType != autocapitalizationType {
/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/ResizingTextView/UIKit/TextView (UIKit).swift:129:39: error: 'lineBreakMode' is unavailable in watchOS
127 | }
128 | if lineLimit > 0 {
129 | if textView.textContainer.lineBreakMode != .byTruncatingTail {
| `- error: 'lineBreakMode' is unavailable in watchOS
130 | textView.textContainer.lineBreakMode = .byTruncatingTail
131 | }
/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:89:50: note: 'lineBreakMode' has been explicitly marked unavailable here
87 | /// truncated. The default value of this property is
88 | /// ``NSLineBreakMode/byWordWrapping``.
89 | @property (NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'lineBreakMode' has been explicitly marked unavailable here
90 |
91 | /// An array of path objects that represents the regions where text doesn't display in the text container.
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:130:40: error: 'lineBreakMode' is unavailable in watchOS
128 | if lineLimit > 0 {
129 | if textView.textContainer.lineBreakMode != .byTruncatingTail {
130 | textView.textContainer.lineBreakMode = .byTruncatingTail
| `- error: 'lineBreakMode' is unavailable in watchOS
131 | }
132 | }
/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:89:50: note: 'lineBreakMode' has been explicitly marked unavailable here
87 | /// truncated. The default value of this property is
88 | /// ``NSLineBreakMode/byWordWrapping``.
89 | @property (NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'lineBreakMode' has been explicitly marked unavailable here
90 |
91 | /// An array of path objects that represents the regions where text doesn't display in the text container.
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:236:29: error: 'UIView' is unavailable in watchOS
234 | override open var intrinsicContentSize: CGSize {
235 | return hasDynamicHeight
236 | ? CGSize(width: UIView.noIntrinsicMetric, height: contentSize.height)
| `- error: 'UIView' is unavailable in watchOS
237 | : super.intrinsicContentSize
238 | }
/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.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView\ (UIKit).swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TextView\ \(UIKit\).swift
SwiftCompile normal arm64 Compiling\ CrossPlatformAliases.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/CrossPlatformAliases.swift (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/CrossPlatformAliases.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CrossPlatformAliases.swift
SwiftCompile normal arm64 Compiling\ NSRange+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/NSRange+Extensions.swift (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/NSRange+Extensions.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NSRange+Extensions.swift
SwiftCompile normal arm64 Compiling\ String+Newlines.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/String+Newlines.swift (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/String+Newlines.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile String+Newlines.swift
SwiftCompile normal arm64 Compiling\ View+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/View+Extensions.swift (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/View+Extensions.swift (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile View+Extensions.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ResizingTextView (in target 'ResizingTextView' from project 'ResizingTextView')
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/DecoratableTextStorage.swift:9:37: error: 'NSTextStorage' is unavailable in watchOS
7 | #endif
8 |
9 | final class DecoratableTextStorage: NSTextStorage {
| `- error: 'NSTextStorage' is unavailable in watchOS
10 | struct AttributionMap: Equatable {
11 | var defaultFont: UXFont?
/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/ResizingTextView/PlatformTextView.swift:118:11: error: 'UITextView' is unavailable in watchOS
116 | }
117 | #elseif canImport(UIKit)
118 | extension UITextView: PlatformTextView {
| `- error: 'UITextView' is unavailable in watchOS
119 | var currentText: String {
120 | text ?? ""
/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/ResizingTextView/ResizingTextView.swift:27:41: error: 'label' is unavailable in watchOS
25 | var foregroundColor: UXColor = .labelColor
26 | #elseif canImport(UIKit)
27 | var foregroundColor: UXColor = .label
| `- error: 'label' is unavailable in watchOS
28 | #endif
29 | var hasGreedyWidth: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:35:37: error: 'UITextAutocapitalizationType' is unavailable in watchOS
33 | var textContainerInset: CGSize?
34 | #elseif canImport(UIKit)
35 | var autocapitalizationType: UITextAutocapitalizationType = .sentences
| `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
36 | var textContainerInset: UIEdgeInsets?
37 | var keyboardType: UIKeyboardType = .default
/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:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
20 | // cases, these values are ignored by the keyboard/input method implementation.
21 | //
22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
| `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
23 | UITextAutocapitalizationTypeNone,
24 | UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:37:27: error: 'UIKeyboardType' is unavailable in watchOS
35 | var autocapitalizationType: UITextAutocapitalizationType = .sentences
36 | var textContainerInset: UIEdgeInsets?
37 | var keyboardType: UIKeyboardType = .default
| `- error: 'UIKeyboardType' is unavailable in watchOS
38 | #endif
39 | }
/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:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
| `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 | UIKeyboardTypeDefault, // Default type for the current input method.
129 | UIKeyboardTypeASCIICapable, // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:393:59: error: 'UITextAutocapitalizationType' is unavailable in watchOS
391 | }
392 |
393 | func autocapitalizationType(_ autocapitalizationType: UITextAutocapitalizationType) -> Self {
| `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
394 | var newSelf = self
395 | newSelf.configuration.autocapitalizationType = autocapitalizationType
/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:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
20 | // cases, these values are ignored by the keyboard/input method implementation.
21 | //
22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
| `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
23 | UITextAutocapitalizationTypeNone,
24 | UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:405:39: error: 'UIKeyboardType' is unavailable in watchOS
403 | }
404 |
405 | func keyboardType(_ keyboardType: UIKeyboardType) -> Self {
| `- error: 'UIKeyboardType' is unavailable in watchOS
406 | var newSelf = self
407 | newSelf.configuration.keyboardType = keyboardType
/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:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
| `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 | UIKeyboardTypeDefault, // Default type for the current input method.
129 | UIKeyboardTypeASCIICapable, // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift:13:33: error: 'NSLayoutManager' is unavailable in watchOS
11 | @MainActor
12 | final class TextMeasurer {
13 | private let layoutManager = NSLayoutManager()
| `- error: 'NSLayoutManager' is unavailable in watchOS
14 | private let textContainer = NSTextContainer()
15 | private weak var textStorage: NSTextStorage?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:58:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
56 |
57 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0)) API_UNAVAILABLE(watchos)
58 | @interface NSLayoutManager : NSObject <NSSecureCoding>
| `- note: 'NSLayoutManager' has been explicitly marked unavailable here
59 |
60 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift:14:33: error: 'NSTextContainer' is unavailable in watchOS
12 | final class TextMeasurer {
13 | private let layoutManager = NSLayoutManager()
14 | private let textContainer = NSTextContainer()
| `- error: 'NSTextContainer' is unavailable in watchOS
15 | private weak var textStorage: NSTextStorage?
16 |
/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/ResizingTextView/TextMeasurer.swift:15:35: error: 'NSTextStorage' is unavailable in watchOS
13 | private let layoutManager = NSLayoutManager()
14 | private let textContainer = NSTextContainer()
15 | private weak var textStorage: NSTextStorage?
| `- error: 'NSTextStorage' is unavailable in watchOS
16 |
17 | init() {
/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/ResizingTextView/TextMeasurer.swift:28:31: error: 'NSTextStorage' is unavailable in watchOS
26 | /// Returns the size of the laid out text as the text view shows it: the empty line after a trailing
27 | /// newline is omitted when the line limit is reached, and empty text is one line of `emptyLineFont`.
28 | func size(of textStorage: NSTextStorage, width: CGFloat?, like container: NSTextContainer, emptyLineFont: UXFont) -> CGSize {
| `- error: 'NSTextStorage' is unavailable in watchOS
29 | layOut(textStorage, width: width, like: container)
30 |
/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/ResizingTextView/TextMeasurer.swift:28:79: error: 'NSTextContainer' is unavailable in watchOS
26 | /// Returns the size of the laid out text as the text view shows it: the empty line after a trailing
27 | /// newline is omitted when the line limit is reached, and empty text is one line of `emptyLineFont`.
28 | func size(of textStorage: NSTextStorage, width: CGFloat?, like container: NSTextContainer, emptyLineFont: UXFont) -> CGSize {
| `- error: 'NSTextContainer' is unavailable in watchOS
29 | layOut(textStorage, width: width, like: container)
30 |
/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/ResizingTextView/TextMeasurer.swift:41:25: error: 'NSTextStorage' is unavailable in watchOS
39 |
40 | func lines(
41 | of textStorage: NSTextStorage,
| `- error: 'NSTextStorage' is unavailable in watchOS
42 | width: CGFloat?,
43 | like container: NSTextContainer,
/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/ResizingTextView/TextMeasurer.swift:43:25: error: 'NSTextContainer' is unavailable in watchOS
41 | of textStorage: NSTextStorage,
42 | width: CGFloat?,
43 | like container: NSTextContainer,
| `- error: 'NSTextContainer' is unavailable in watchOS
44 | emptyLineFont: UXFont
45 | ) -> [Line] {
/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/ResizingTextView/TextMeasurer.swift:67:40: error: 'NSTextStorage' is unavailable in watchOS
65 | }
66 |
67 | private func layOut(_ textStorage: NSTextStorage, width: CGFloat?, like container: NSTextContainer) {
| `- error: 'NSTextStorage' is unavailable in watchOS
68 | if self.textStorage !== textStorage {
69 | self.textStorage?.removeLayoutManager(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/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/ResizingTextView/TextMeasurer.swift:67:88: error: 'NSTextContainer' is unavailable in watchOS
65 | }
66 |
67 | private func layOut(_ textStorage: NSTextStorage, width: CGFloat?, like container: NSTextContainer) {
| `- error: 'NSTextContainer' is unavailable in watchOS
68 | if self.textStorage !== textStorage {
69 | self.textStorage?.removeLayoutManager(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/ResizingTextView/TextMeasurer.swift:80:49: error: 'NSTextContainer' is unavailable in watchOS
78 | }
79 |
80 | private func showsExtraLine(like container: NSTextContainer) -> Bool {
| `- error: 'NSTextContainer' is unavailable in watchOS
81 | layoutManager.extraLineFragmentUsedRect.height > 0
82 | && !(container.maximumNumberOfLines > 0 && numberOfLines() >= container.maximumNumberOfLines)
/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/ResizingTextView/UIKit/TextView (UIKit).swift:8:55: error: 'label' is unavailable in watchOS
6 |
7 | @MainActor struct TextView: UIViewRepresentable {
8 | static let defaultForegroundColor = Color(UIColor.label)
| `- error: 'label' is unavailable in watchOS
9 |
10 | struct Parameters {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:22:37: error: 'UITextAutocapitalizationType' is unavailable in watchOS
20 | var canHaveNewLineCharacters: Bool
21 | var foregroundColor: Color
22 | var autocapitalizationType: UITextAutocapitalizationType
| `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
23 | var textContainerInset: UIEdgeInsets
24 | var keyboardType: UIKeyboardType
/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:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
20 | // cases, these values are ignored by the keyboard/input method implementation.
21 | //
22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
| `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
23 | UITextAutocapitalizationTypeNone,
24 | UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:24:27: error: 'UIKeyboardType' is unavailable in watchOS
22 | var autocapitalizationType: UITextAutocapitalizationType
23 | var textContainerInset: UIEdgeInsets
24 | var keyboardType: UIKeyboardType
| `- error: 'UIKeyboardType' is unavailable in watchOS
25 | var hasGreedyWidth: Bool
26 | }
/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:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
| `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 | UIKeyboardTypeDefault, // Default type for the current input method.
129 | UIKeyboardTypeASCIICapable, // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:39:41: error: 'UITextAutocapitalizationType' is unavailable in watchOS
37 | private var font: UIFont
38 | private var canHaveNewLineCharacters: Bool
39 | private var autocapitalizationType: UITextAutocapitalizationType
| `- error: 'UITextAutocapitalizationType' is unavailable in watchOS
40 | private var textContainerInset: UIEdgeInsets
41 | private var keyboardType: UIKeyboardType
/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:22:28: note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
20 | // cases, these values are ignored by the keyboard/input method implementation.
21 | //
22 | typedef NS_ENUM(NSInteger, UITextAutocapitalizationType) {
| `- note: 'UITextAutocapitalizationType' has been explicitly marked unavailable here
23 | UITextAutocapitalizationTypeNone,
24 | UITextAutocapitalizationTypeWords,
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:41:31: error: 'UIKeyboardType' is unavailable in watchOS
39 | private var autocapitalizationType: UITextAutocapitalizationType
40 | private var textContainerInset: UIEdgeInsets
41 | private var keyboardType: UIKeyboardType
| `- error: 'UIKeyboardType' is unavailable in watchOS
42 | private var hasGreedyWidth: Bool
43 |
/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:127:28: note: 'UIKeyboardType' has been explicitly marked unavailable here
125 | // type if UIKeyboardTypeNumberPad is not supported).
126 | //
127 | typedef NS_ENUM(NSInteger, UIKeyboardType) {
| `- note: 'UIKeyboardType' has been explicitly marked unavailable here
128 | UIKeyboardTypeDefault, // Default type for the current input method.
129 | UIKeyboardTypeASCIICapable, // Displays a keyboard which can enter ASCII characters
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:62:30: error: cannot find type 'Context' in scope
60 | }
61 |
62 | func makeUIView(context: Context) -> CustomTextView {
| `- error: cannot find type 'Context' in scope
63 | let textStorage = DecoratableTextStorage()
64 | let layoutManager = NSLayoutManager()
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:84:60: error: cannot find type 'Context' in scope
82 | }
83 |
84 | func updateUIView(_ textView: CustomTextView, context: Context) {
| `- error: cannot find type 'Context' in scope
85 | context.coordinator.swiftUIView = self
86 |
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:147:86: error: cannot find type 'Context' in scope
145 |
146 | @available(iOS 16.0, tvOS 16.0, *)
147 | func sizeThatFits(_ proposal: ProposedViewSize, uiView: CustomTextView, context: Context) -> CGSize? {
| `- error: cannot find type 'Context' in scope
148 | let inset = uiView.textContainerInset
149 | let textSize = context.coordinator.measurer.size(
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:193:35: error: 'UITextView' is unavailable in watchOS
191 | }
192 |
193 | func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
| `- error: 'UITextView' is unavailable in watchOS
194 | swiftUIView.editingRules.shouldChangeText(of: textView, in: range, replacementText: text)
195 | }
/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/ResizingTextView/UIKit/TextView (UIKit).swift:197:44: error: 'UITextView' is unavailable in watchOS
195 | }
196 |
197 | func textViewDidChange(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
198 | swiftUIView.editingRules.textDidChange(in: textView, binding: swiftUIView.$text)
199 | textView.invalidateIntrinsicContentSize()
/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/ResizingTextView/UIKit/TextView (UIKit).swift:185:51: error: 'UITextViewDelegate' is unavailable in watchOS
183 | }
184 |
185 | @MainActor final class Coordinator: NSObject, UITextViewDelegate {
| `- error: 'UITextViewDelegate' is unavailable in watchOS
186 | var swiftUIView: TextView
187 | let measurer = TextMeasurer()
/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/ResizingTextView/UIKit/TextView (UIKit).swift:7:29: error: cannot find type 'UIViewRepresentable' in scope
5 | import UIKit
6 |
7 | @MainActor struct TextView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
8 | static let defaultForegroundColor = Color(UIColor.label)
9 |
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView (UIKit).swift:213:25: error: 'NSTextContainer' is unavailable in watchOS
211 | }
212 |
213 | init(textContainer: NSTextContainer? = nil) {
| `- error: 'NSTextContainer' is unavailable in watchOS
214 | super.init(frame: .zero, textContainer: textContainer)
215 | isScrollEnabled = true
/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/ResizingTextView/UIKit/TextView (UIKit).swift:204:23: error: 'UITextView' is unavailable in watchOS
202 | }
203 |
204 | class CustomTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
205 | var hasDynamicHeight = true
206 |
/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;
Failed frontend command:
/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/ResizingTextView/AppKit/TextView\ \(AppKit\).swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/AppKit/TextViewMeasurer.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/DecoratableTextStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/PlatformTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextDecoration.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextMeasurer.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/UIKit/TextView\ \(UIKit\).swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/CrossPlatformAliases.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/NSRange+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/String+Newlines.swift /Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/Utils/View+Extensions.swift -target arm64_32-apple-watchos9.0 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64_32/ResizingTextView-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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ResizingTextView -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64_32/ResizingTextView_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/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64_32/ResizingTextView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64_32/ResizingTextView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64_32/ResizingTextView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64_32/ResizingTextView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64_32/ResizingTextView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64_32/ResizingTextView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ResizingTextView.build/Debug-watchos/ResizingTextView-t.build/Objects-normal/arm64_32/ResizingTextView.abi.json
SwiftCompile normal arm64_32 (in target 'ResizingTextView' from project 'ResizingTextView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ ResizingTextView (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftCompile normal arm64 (in target 'ResizingTextView' from project 'ResizingTextView')
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-30 20:00:58.438 xcodebuild[815:4798] [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\ ResizingTextView (in target 'ResizingTextView' from project 'ResizingTextView')
SwiftCompile normal arm64_32 (in target 'ResizingTextView' from project 'ResizingTextView')
Building workspace ResizingTextView with scheme ResizingTextView
(3 failures)
BUILD FAILURE 6.4 watchOS