Build Information
Failed to build RichTextEditorSwiftUI, reference 1.0.9 (dcc6ec), with Swift 6.4 for watchOS using Xcode 27.0 on 21 Sep 2026 15:52:46 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme RichTextEditorSwiftUI -destination generic/platform=watchOSBuild Log
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ RichTextEditorSwiftUI (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Config/RichTextToolbarConfig.swift:13:43: error: 'systemBlue' is unavailable in watchOS
11 |
12 | // New properties for customization
13 | public var hashtagColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
14 | public var hyperlinkColor: UIColor = .systemBlue
15 | public var textFieldBackgroundColor: UIColor = .white
/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:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Config/RichTextToolbarConfig.swift:14:45: error: 'systemBlue' is unavailable in watchOS
12 | // New properties for customization
13 | public var hashtagColor: UIColor = .systemBlue
14 | public var hyperlinkColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
15 | public var textFieldBackgroundColor: UIColor = .white
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/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Config/RichTextToolbarConfig.swift:34:39: error: 'link' is unavailable in watchOS
32 | projectFonts: [String] = [],
33 | hashtagColor: UIColor = .lightGray,
34 | hyperlinkColor: UIColor = .link,
| `- error: 'link' is unavailable in watchOS
35 | textFieldBackgroundColor: UIColor = .white
36 | ) {
/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:178:49: note: 'link' has been explicitly marked unavailable here
176 | /* Foreground color for standard system links.
177 | */
178 | @property (class, nonatomic, readonly) UIColor *linkColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'link' has been explicitly marked unavailable here
179 |
180 | /* Foreground color for placeholder text in controls or text fields or text views.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+View.swift:15:48: error: 'UIView' is unavailable in watchOS
13 | ///
14 | /// - Returns: A `UIView` representation of the SwiftUI view.
15 | func toToolbar(of height: CGFloat = 52) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
16 | let hostingController = UIHostingController(rootView: self)
17 | hostingController.view.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: height)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:14:40: error: cannot find type 'Context' in scope
12 | var onFilePicked: (URL) -> Void
13 |
14 | func makeUIViewController(context: Context) -> UIDocumentPickerViewController {
| `- error: cannot find type 'Context' in scope
15 | let picker = UIDocumentPickerViewController(forOpeningContentTypes: [.item])
16 | picker.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:14:52: error: 'UIDocumentPickerViewController' is unavailable in watchOS
12 | var onFilePicked: (URL) -> Void
13 |
14 | func makeUIViewController(context: Context) -> UIDocumentPickerViewController {
| `- error: 'UIDocumentPickerViewController' is unavailable in watchOS
15 | let picker = UIDocumentPickerViewController(forOpeningContentTypes: [.item])
16 | picker.delegate = context.coordinator
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h:38:12: note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
36 |
37 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
38 | @interface UIDocumentPickerViewController : UIViewController
| `- note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
39 |
40 | // Initializes the picker instance for selecting a document in a remote location. The valid modes are Import and Open.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:20:94: error: cannot find type 'Context' in scope
18 | }
19 |
20 | func updateUIViewController(_ uiViewController: UIDocumentPickerViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
21 | if !isPresented {
22 | uiViewController.dismiss(animated: true)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:20:53: error: 'UIDocumentPickerViewController' is unavailable in watchOS
18 | }
19 |
20 | func updateUIViewController(_ uiViewController: UIDocumentPickerViewController, context: Context) {
| `- error: 'UIDocumentPickerViewController' is unavailable in watchOS
21 | if !isPresented {
22 | uiViewController.dismiss(animated: 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/UIDocumentPickerViewController.h:38:12: note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
36 |
37 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
38 | @interface UIDocumentPickerViewController : UIViewController
| `- note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
39 |
40 | // Initializes the picker instance for selecting a document in a remote location. The valid modes are Import and Open.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:37:43: error: 'UIDocumentPickerViewController' is unavailable in watchOS
35 | }
36 |
37 | func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentsAt urls: [URL]) {
| `- error: 'UIDocumentPickerViewController' is unavailable in watchOS
38 | if let url = urls.first {
39 | parent.onFilePicked(url)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h:38:12: note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
36 |
37 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
38 | @interface UIDocumentPickerViewController : UIViewController
| `- note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
39 |
40 | // Initializes the picker instance for selecting a document in a remote location. The valid modes are Import and Open.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:44:55: error: 'UIDocumentPickerViewController' is unavailable in watchOS
42 | }
43 |
44 | func documentPickerWasCancelled(_ controller: UIDocumentPickerViewController) {
| `- error: 'UIDocumentPickerViewController' is unavailable in watchOS
45 | parent.isPresented = false
46 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h:38:12: note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
36 |
37 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
38 | @interface UIDocumentPickerViewController : UIViewController
| `- note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
39 |
40 | // Initializes the picker instance for selecting a document in a remote location. The valid modes are Import and Open.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:30:34: error: 'UIDocumentPickerDelegate' is unavailable in watchOS
28 | }
29 |
30 | class Coordinator: NSObject, UIDocumentPickerDelegate {
| `- error: 'UIDocumentPickerDelegate' is unavailable in watchOS
31 | let parent: FilePicker
32 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h:18:11: note: 'UIDocumentPickerDelegate' has been explicitly marked unavailable here
16 |
17 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
18 | @protocol UIDocumentPickerDelegate <NSObject>
| `- note: 'UIDocumentPickerDelegate' has been explicitly marked unavailable here
19 |
20 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:37:14: error: cannot override 'documentPicker' which has been marked unavailable
35 | }
36 |
37 | func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentsAt urls: [URL]) {
| `- error: cannot override 'documentPicker' which has been marked unavailable
38 | if let url = urls.first {
39 | parent.onFilePicked(url)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h:22:1: note: 'documentPicker(_:didPickDocumentsAt:)' has been explicitly marked unavailable here
20 | @optional
21 |
22 | - (void)documentPicker:(UIDocumentPickerViewController *)controller didPickDocumentsAtURLs:(NSArray <NSURL *>*)urls API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'documentPicker(_:didPickDocumentsAt:)' has been explicitly marked unavailable here
23 |
24 | // called if the user dismisses the document picker without selecting a document (using the Cancel button)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:10:20: error: cannot find type 'UIViewControllerRepresentable' in scope
8 | import UIKit
9 |
10 | struct FilePicker: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
11 | @Binding var isPresented: Bool
12 | var onFilePicked: (URL) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:20:21: error: 'UIImagePickerController' is unavailable in watchOS
18 | public struct CameraImagePicker: UIViewControllerRepresentable {
19 | let onImagePicked: (UIImage) -> Void // Callback for the selected image
20 | var sourceType: UIImagePickerController.SourceType
| `- error: 'UIImagePickerController' is unavailable in watchOS
21 |
22 | public func makeUIViewController(context: Context) -> UIImagePickerController {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:69:12: note: 'UIImagePickerController' has been explicitly marked unavailable here
67 |
68 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
69 | @interface UIImagePickerController : UINavigationController <NSCoding>
| `- note: 'UIImagePickerController' has been explicitly marked unavailable here
70 |
71 | + (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType)sourceType; // returns YES if source is available (i.e. camera present)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:22:47: error: cannot find type 'Context' in scope
20 | var sourceType: UIImagePickerController.SourceType
21 |
22 | public func makeUIViewController(context: Context) -> UIImagePickerController {
| `- error: cannot find type 'Context' in scope
23 | let picker = UIImagePickerController()
24 | picker.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:22:59: error: 'UIImagePickerController' is unavailable in watchOS
20 | var sourceType: UIImagePickerController.SourceType
21 |
22 | public func makeUIViewController(context: Context) -> UIImagePickerController {
| `- error: 'UIImagePickerController' is unavailable in watchOS
23 | let picker = UIImagePickerController()
24 | picker.delegate = context.coordinator
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:69:12: note: 'UIImagePickerController' has been explicitly marked unavailable here
67 |
68 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
69 | @interface UIImagePickerController : UINavigationController <NSCoding>
| `- note: 'UIImagePickerController' has been explicitly marked unavailable here
70 |
71 | + (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType)sourceType; // returns YES if source is available (i.e. camera present)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:29:94: error: cannot find type 'Context' in scope
27 | }
28 |
29 | public func updateUIViewController(_ uiViewController: UIImagePickerController, context: Context) {}
| `- error: cannot find type 'Context' in scope
30 |
31 | public func makeCoordinator() -> Coordinator {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:29:60: error: 'UIImagePickerController' is unavailable in watchOS
27 | }
28 |
29 | public func updateUIViewController(_ uiViewController: UIImagePickerController, context: Context) {}
| `- error: 'UIImagePickerController' is unavailable in watchOS
30 |
31 | public func makeCoordinator() -> Coordinator {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:69:12: note: 'UIImagePickerController' has been explicitly marked unavailable here
67 |
68 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
69 | @interface UIImagePickerController : UINavigationController <NSCoding>
| `- note: 'UIImagePickerController' has been explicitly marked unavailable here
70 |
71 | + (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType)sourceType; // returns YES if source is available (i.e. camera present)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:42:53: error: 'UIImagePickerController' is unavailable in watchOS
40 | }
41 |
42 | public func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey: Any]) {
| `- error: 'UIImagePickerController' is unavailable in watchOS
43 | if let image = info[.originalImage] as? UIImage {
44 | parent.onImagePicked(image)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:69:12: note: 'UIImagePickerController' has been explicitly marked unavailable here
67 |
68 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
69 | @interface UIImagePickerController : UINavigationController <NSCoding>
| `- note: 'UIImagePickerController' has been explicitly marked unavailable here
70 |
71 | + (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType)sourceType; // returns YES if source is available (i.e. camera present)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:42:115: error: 'UIImagePickerController' is unavailable in watchOS
40 | }
41 |
42 | public func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey: Any]) {
| `- error: 'UIImagePickerController' is unavailable in watchOS
43 | if let image = info[.originalImage] as? UIImage {
44 | parent.onImagePicked(image)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:69:12: note: 'UIImagePickerController' has been explicitly marked unavailable here
67 |
68 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
69 | @interface UIImagePickerController : UINavigationController <NSCoding>
| `- note: 'UIImagePickerController' has been explicitly marked unavailable here
70 |
71 | + (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType)sourceType; // returns YES if source is available (i.e. camera present)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:49:62: error: 'UIImagePickerController' is unavailable in watchOS
47 | }
48 |
49 | public func imagePickerControllerDidCancel(_ picker: UIImagePickerController) {
| `- error: 'UIImagePickerController' is unavailable in watchOS
50 | picker.dismiss(animated: true)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:69:12: note: 'UIImagePickerController' has been explicitly marked unavailable here
67 |
68 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
69 | @interface UIImagePickerController : UINavigationController <NSCoding>
| `- note: 'UIImagePickerController' has been explicitly marked unavailable here
70 |
71 | + (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType)sourceType; // returns YES if source is available (i.e. camera present)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:35:41: error: 'UINavigationControllerDelegate' is unavailable in watchOS
33 | }
34 |
35 | public class Coordinator: NSObject, UINavigationControllerDelegate, UIImagePickerControllerDelegate {
| `- error: 'UINavigationControllerDelegate' is unavailable in watchOS
36 | var parent: CameraImagePicker
37 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:128:11: note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
126 |
127 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
128 | @protocol UINavigationControllerDelegate <NSObject>
| `- note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
129 |
130 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:35:73: error: 'UIImagePickerControllerDelegate' is unavailable in watchOS
33 | }
34 |
35 | public class Coordinator: NSObject, UINavigationControllerDelegate, UIImagePickerControllerDelegate {
| `- error: 'UIImagePickerControllerDelegate' is unavailable in watchOS
36 | var parent: CameraImagePicker
37 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:113:11: note: 'UIImagePickerControllerDelegate' has been explicitly marked unavailable here
111 |
112 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
113 | @protocol UIImagePickerControllerDelegate<NSObject>
| `- note: 'UIImagePickerControllerDelegate' has been explicitly marked unavailable here
114 | @optional
115 | // The picker does not dismiss itself; the client dismisses it in these callbacks.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:18:34: error: cannot find type 'UIViewControllerRepresentable' in scope
16 | /// CameraImagePicker(image: $image, sourceType: .camera)
17 | /// ```
18 | public struct CameraImagePicker: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
19 | let onImagePicked: (UIImage) -> Void // Callback for the selected image
20 | var sourceType: UIImagePickerController.SourceType
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:26:47: error: cannot find type 'Context' in scope
24 | let onImagePicked: (UIImage) -> Void // Callback for the selected image
25 |
26 | public func makeUIViewController(context: Context) -> PHPickerViewController {
| `- error: cannot find type 'Context' in scope
27 | var configuration = PHPickerConfiguration()
28 | configuration.selectionLimit = 1
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:26:59: error: 'PHPickerViewController' is unavailable in watchOS
24 | let onImagePicked: (UIImage) -> Void // Callback for the selected image
25 |
26 | public func makeUIViewController(context: Context) -> PHPickerViewController {
| `- error: 'PHPickerViewController' is unavailable in watchOS
27 | var configuration = PHPickerConfiguration()
28 | configuration.selectionLimit = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/PhotosUI.framework/Headers/PHPicker.h:263:12: note: 'PHPickerViewController' has been explicitly marked unavailable here
261 | API_UNAVAILABLE(watchos)
262 | #if __has_include(<UIKit/UIViewController.h>) && TARGET_OS_IPHONE
263 | @interface PHPickerViewController : UIViewController
| `- note: 'PHPickerViewController' has been explicitly marked unavailable here
264 | #elif __has_include(<AppKit/NSViewController.h>)
265 | @interface PHPickerViewController : NSViewController
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:36:93: error: cannot find type 'Context' in scope
34 | }
35 |
36 | public func updateUIViewController(_ uiViewController: PHPickerViewController, context: Context) {}
| `- error: cannot find type 'Context' in scope
37 |
38 | public func makeCoordinator() -> Coordinator {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:36:60: error: 'PHPickerViewController' is unavailable in watchOS
34 | }
35 |
36 | public func updateUIViewController(_ uiViewController: PHPickerViewController, context: Context) {}
| `- error: 'PHPickerViewController' is unavailable in watchOS
37 |
38 | public func makeCoordinator() -> Coordinator {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/PhotosUI.framework/Headers/PHPicker.h:263:12: note: 'PHPickerViewController' has been explicitly marked unavailable here
261 | API_UNAVAILABLE(watchos)
262 | #if __has_include(<UIKit/UIViewController.h>) && TARGET_OS_IPHONE
263 | @interface PHPickerViewController : UIViewController
| `- note: 'PHPickerViewController' has been explicitly marked unavailable here
264 | #elif __has_include(<AppKit/NSViewController.h>)
265 | @interface PHPickerViewController : NSViewController
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:49:38: error: 'PHPickerViewController' is unavailable in watchOS
47 | }
48 |
49 | public func picker(_ picker: PHPickerViewController, didFinishPicking results: [PHPickerResult]) {
| `- error: 'PHPickerViewController' is unavailable in watchOS
50 | picker.dismiss(animated: true)
51 | if let result = results.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/PhotosUI.framework/Headers/PHPicker.h:263:12: note: 'PHPickerViewController' has been explicitly marked unavailable here
261 | API_UNAVAILABLE(watchos)
262 | #if __has_include(<UIKit/UIViewController.h>) && TARGET_OS_IPHONE
263 | @interface PHPickerViewController : UIViewController
| `- note: 'PHPickerViewController' has been explicitly marked unavailable here
264 | #elif __has_include(<AppKit/NSViewController.h>)
265 | @interface PHPickerViewController : NSViewController
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:49:89: error: 'PHPickerResult' is unavailable in watchOS
47 | }
48 |
49 | public func picker(_ picker: PHPickerViewController, didFinishPicking results: [PHPickerResult]) {
| `- error: 'PHPickerResult' is unavailable in watchOS
50 | picker.dismiss(animated: true)
51 | if let result = results.first {
PhotosUI.PHPickerResult:4:15: note: 'PHPickerResult' has been explicitly marked unavailable here
2 | @available(watchOS, unavailable)
3 | @available(tvOS, unavailable)
4 | public struct PHPickerResult : Equatable, Hashable {
| `- note: 'PHPickerResult' has been explicitly marked unavailable here
5 | public let itemProvider: NSItemProvider
6 | public var assetIdentifier: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:42:41: error: 'PHPickerViewControllerDelegate' is unavailable in watchOS
40 | }
41 |
42 | public class Coordinator: NSObject, PHPickerViewControllerDelegate {
| `- error: 'PHPickerViewControllerDelegate' is unavailable in watchOS
43 | var parent: PhotoLibraryPicker
44 |
PhotosUI.PHPickerViewControllerDelegate:4:44: note: 'PHPickerViewControllerDelegate' has been explicitly marked unavailable here
2 | @available(watchOS, unavailable)
3 | @available(tvOS, unavailable)
4 | @MainActor @preconcurrency public protocol PHPickerViewControllerDelegate : AnyObject {
| `- note: 'PHPickerViewControllerDelegate' has been explicitly marked unavailable here
5 | @MainActor @preconcurrency func picker(_ picker: PHPickerViewController, didFinishPicking results: [PHPickerResult])
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:23:35: error: cannot find type 'UIViewControllerRepresentable' in scope
21 | /// PhotoLibraryPicker(selectedImage: $image)
22 | /// ```
23 | public struct PhotoLibraryPicker: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
24 | let onImagePicked: (UIImage) -> Void // Callback for the selected image
25 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift:12:30: error: cannot find type 'Context' in scope
10 | let attributedString: NSAttributedString
11 |
12 | func makeUIView(context: Context) -> UITextView {
| `- error: cannot find type 'Context' in scope
13 | let textView = UITextView()
14 | textView.isEditable = false
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift:12:42: error: 'UITextView' is unavailable in watchOS
10 | let attributedString: NSAttributedString
11 |
12 | func makeUIView(context: Context) -> UITextView {
| `- error: 'UITextView' is unavailable in watchOS
13 | let textView = UITextView()
14 | textView.isEditable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift:22:54: error: cannot find type 'Context' in scope
20 | }
21 |
22 | func updateUIView(_ uiView: UITextView, context: Context) {
| `- error: cannot find type 'Context' in scope
23 | uiView.attributedText = attributedString
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift:22:33: error: 'UITextView' is unavailable in watchOS
20 | }
21 |
22 | func updateUIView(_ uiView: UITextView, context: Context) {
| `- error: 'UITextView' is unavailable in watchOS
23 | uiView.attributedText = attributedString
24 | }
/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/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift:9:28: error: cannot find type 'UIViewRepresentable' in scope
7 | import SwiftUI
8 |
9 | struct AttributedTextView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
10 | let attributedString: NSAttributedString
11 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift:14:30: error: cannot find type 'Context' in scope
12 | let attributedString: NSAttributedString
13 |
14 | func makeUIView(context: Context) -> UITextView {
| `- error: cannot find type 'Context' in scope
15 | let textView = UITextView()
16 | textView.isEditable = false
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift:14:42: error: 'UITextView' is unavailable in watchOS
12 | let attributedString: NSAttributedString
13 |
14 | func makeUIView(context: Context) -> UITextView {
| `- error: 'UITextView' is unavailable in watchOS
15 | let textView = UITextView()
16 | textView.isEditable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift:25:54: error: cannot find type 'Context' in scope
23 | }
24 |
25 | func updateUIView(_ uiView: UITextView, context: Context) {
| `- error: cannot find type 'Context' in scope
26 | uiView.attributedText = attributedString
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift:25:33: error: 'UITextView' is unavailable in watchOS
23 | }
24 |
25 | func updateUIView(_ uiView: UITextView, context: Context) {
| `- error: 'UITextView' is unavailable in watchOS
26 | uiView.attributedText = attributedString
27 | }
/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/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift:11:29: error: cannot find type 'UIViewRepresentable' in scope
9 |
10 | /// A wrapper to display NSAttributedString using UILabel in SwiftUI.
11 | struct RichTextViewWrapper: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 | let attributedString: NSAttributedString
13 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:44:76: error: 'systemFontSize' is unavailable in watchOS
42 | @Published var showingBackgroundColorPicker = false
43 |
44 | @Published var selectedFont: UIFont = UIFont.systemFont(ofSize: UIFont.systemFontSize)
| `- error: 'systemFontSize' is unavailable in watchOS
45 | @Published var showingFontPicker = false
46 | @Published var selectedFontStyle: String? = "Body"
/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:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:49:82: error: 'systemFontSize' is unavailable in watchOS
47 | @Published var showFontPickerMenu = false
48 | @Published var availableFonts: [String] = UIFont.familyNames
49 | @Published var selectedFontFamily: String = UIFont.systemFont(ofSize: UIFont.systemFontSize).familyName
| `- error: 'systemFontSize' is unavailable in watchOS
50 | @Published var selectedFontWeight: UIFont.Weight = .regular
51 |
/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:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:57:57: error: 'link' is unavailable in watchOS
55 | @Published var hyperlinkURL: String = ""
56 | @Published var hyperlinkText: String = ""
57 | @Published var hyperlinkColorFromCOnfig: UIColor = .link
| `- error: 'link' is unavailable in watchOS
58 | @Published var hashtagColorFromConfig: UIColor = .lightGray
59 |
/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:178:49: note: 'link' has been explicitly marked unavailable here
176 | /* Foreground color for standard system links.
177 | */
178 | @property (class, nonatomic, readonly) UIColor *linkColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'link' has been explicitly marked unavailable here
179 |
180 | /* Foreground color for placeholder text in controls or text fields or text views.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:33:36: error: 'systemFontSize' is unavailable in watchOS
31 | @Published var showingImagePickerDropdown = false // Tracks visibility of the Image Picker dropdown
32 |
33 | var fontSize: CGFloat = UIFont.systemFontSize
| `- error: 'systemFontSize' is unavailable in watchOS
34 | @Published var textForegroundColor: UIColor = .black
35 | @Published var textBackgroundColor: UIColor = .white
/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:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:783:104: error: 'UITextView' is unavailable in watchOS
781 | }
782 |
783 | func handleHyperlinkRemoval(mutableText: NSMutableAttributedString, cursorPosition: Int, textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
784 | // saveStateForUndo()
785 |
/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/RichTextEditorSwiftUI/Views/RichTextField.swift:34:37: error: cannot find type 'Context' in scope
32 | /// - Parameter context: The context containing coordinator and environment information.
33 | /// - Returns: A configured `UITextView` instance.
34 | public func makeUIView(context: Context) -> UITextView {
| `- error: cannot find type 'Context' in scope
35 | let textView = UITextView()
36 | textView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextField.swift:34:49: error: 'UITextView' is unavailable in watchOS
32 | /// - Parameter context: The context containing coordinator and environment information.
33 | /// - Returns: A configured `UITextView` instance.
34 | public func makeUIView(context: Context) -> UITextView {
| `- error: 'UITextView' is unavailable in watchOS
35 | let textView = UITextView()
36 | textView.delegate = context.coordinator
/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/RichTextEditorSwiftUI/Views/RichTextField.swift:53:61: error: cannot find type 'Context' in scope
51 | /// - uiView: The `UITextView` instance to update.
52 | /// - context: Contextual information for the update.
53 | public func updateUIView(_ uiView: UITextView, context: Context) {
| `- error: cannot find type 'Context' in scope
54 | if uiView.attributedText != text {
55 | uiView.attributedText = text
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextField.swift:53:40: error: 'UITextView' is unavailable in watchOS
51 | /// - uiView: The `UITextView` instance to update.
52 | /// - context: Contextual information for the update.
53 | public func updateUIView(_ uiView: UITextView, context: Context) {
| `- error: 'UITextView' is unavailable in watchOS
54 | if uiView.attributedText != text {
55 | uiView.attributedText = 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/RichTextEditorSwiftUI/Views/RichTextField.swift:84:60: error: 'UITextView' is unavailable in watchOS
82 | ///
83 | /// - Parameter textView: The `UITextView` whose selection has changed.
84 | public func textViewDidChangeSelection(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
85 | let newRange = textView.selectedRange
86 | let textLength = textView.text.count
/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/RichTextEditorSwiftUI/Views/RichTextField.swift:111:51: error: 'UITextView' is unavailable in watchOS
109 | ///
110 | /// - Parameter textView: The `UITextView` whose content has changed.
111 | public func textViewDidChange(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
112 | let mutableText = NSMutableAttributedString(attributedString: textView.attributedText)
113 | let cursorPosition = min(textView.selectedRange.location, mutableText.length)
/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/RichTextEditorSwiftUI/Views/RichTextField.swift:69:41: error: 'UITextViewDelegate' is unavailable in watchOS
67 |
68 | /// A coordinator to handle `UITextView` delegate events.
69 | public class Coordinator: NSObject, UITextViewDelegate {
| `- error: 'UITextViewDelegate' is unavailable in watchOS
70 |
71 | /// The parent `RichTextField` instance.
/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/RichTextEditorSwiftUI/Views/RichTextField.swift:15:30: error: cannot find type 'UIViewRepresentable' in scope
13 | /// and editing of attributed strings with support for toolbars and state management.
14 |
15 | public struct RichTextField: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
16 |
17 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/UtilityViews.swift:11:30: error: cannot find type 'Context' in scope
9 | // MARK: - Transparent Background View
10 | struct TransparentBackgroundView: UIViewRepresentable {
11 | func makeUIView(context: Context) -> UIView {
| `- error: cannot find type 'Context' in scope
12 | let view = UIView()
13 | view.backgroundColor = UIColor.clear // Make background clear
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/UtilityViews.swift:11:42: error: 'UIView' is unavailable in watchOS
9 | // MARK: - Transparent Background View
10 | struct TransparentBackgroundView: UIViewRepresentable {
11 | func makeUIView(context: Context) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
12 | let view = UIView()
13 | view.backgroundColor = UIColor.clear // Make background clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/UtilityViews.swift:20:50: error: cannot find type 'Context' in scope
18 | }
19 |
20 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'Context' in scope
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/UtilityViews.swift:20:33: error: 'UIView' is unavailable in watchOS
18 | }
19 |
20 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: 'UIView' is unavailable in watchOS
21 | }
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/UtilityViews.swift:10:35: error: cannot find type 'UIViewRepresentable' in scope
8 |
9 | // MARK: - Transparent Background View
10 | struct TransparentBackgroundView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 | func makeUIView(context: Context) -> UIView {
12 | let view = UIView()
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/UtilityViews.swift:25:16: error: 'UIBlurEffect' is unavailable in watchOS
23 | // MARK: - Blur Background View
24 | struct BlurBackgroundView: UIViewRepresentable {
25 | let style: UIBlurEffect.Style
| `- error: 'UIBlurEffect' is unavailable in watchOS
26 |
27 | func makeUIView(context: Context) -> UIVisualEffectView {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:61:12: note: 'UIBlurEffect' has been explicitly marked unavailable here
59 | /* UIBlurEffect will provide a blur that appears to have been applied to the content layered behind the UIVisualEffectView. Views added to the contentView of a blur visual effect are not blurred themselves. */
60 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
61 | @interface UIBlurEffect : UIVisualEffect
| `- note: 'UIBlurEffect' has been explicitly marked unavailable here
62 |
63 | + (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/UtilityViews.swift:27:30: error: cannot find type 'Context' in scope
25 | let style: UIBlurEffect.Style
26 |
27 | func makeUIView(context: Context) -> UIVisualEffectView {
| `- error: cannot find type 'Context' in scope
28 | let blurEffect = UIBlurEffect(style: style)
29 | let blurView = UIVisualEffectView(effect: blurEffect)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/UtilityViews.swift:27:42: error: 'UIVisualEffectView' is unavailable in watchOS
25 | let style: UIBlurEffect.Style
26 |
27 | func makeUIView(context: Context) -> UIVisualEffectView {
| `- error: 'UIVisualEffectView' is unavailable in watchOS
28 | let blurEffect = UIBlurEffect(style: style)
29 | let blurView = UIVisualEffectView(effect: blurEffect)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/UtilityViews.swift:34:62: error: cannot find type 'Context' in scope
32 | }
33 |
34 | func updateUIView(_ uiView: UIVisualEffectView, context: Context) {}
| `- error: cannot find type 'Context' in scope
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/UtilityViews.swift:34:33: error: 'UIVisualEffectView' is unavailable in watchOS
32 | }
33 |
34 | func updateUIView(_ uiView: UIVisualEffectView, context: Context) {}
| `- error: 'UIVisualEffectView' is unavailable in watchOS
35 | }
36 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/UtilityViews.swift:24:28: error: cannot find type 'UIViewRepresentable' in scope
22 |
23 | // MARK: - Blur Background View
24 | struct BlurBackgroundView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
25 | let style: UIBlurEffect.Style
26 |
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
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/RichTextEditorSwiftUI/ColorPicker/ColorPickerView.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Config/RichTextToolbarConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+NSMutableString.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+UIFont.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+UiIMage.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+View.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontFamilyDropdown.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontPickerDropdownView.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontStyleDropdownView.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontWeightDropdown.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Modifiers/PickerSheetConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Modifiers/PickerSheetsModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextEditorSwiftUI.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/RichTextViewer.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/ButtonHighlightView.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/HyperlinkInputView.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextToolbar.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextview.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/UtilityViews.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -swift-module-cross-import PhotosUI /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/PhotosUI.framework/Modules/PhotosUI.swiftcrossimport/SwiftUI.swiftoverlay -swift-module-cross-import PhotosUI /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/PhotosUI.framework/Modules/PhotosUI.swiftcrossimport/SwiftUI.swiftoverlay -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/RichTextEditorSwiftUI.build/Debug-watchos/RichTextEditorSwiftUI-t.build/Objects-normal/arm64_32/RichTextEditorSwiftUI-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 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-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/RichTextEditorSwiftUI.build/Debug-watchos/RichTextEditorSwiftUI-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RichTextEditorSwiftUI.build/Debug-watchos/RichTextEditorSwiftUI-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RichTextEditorSwiftUI.build/Debug-watchos/RichTextEditorSwiftUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name RichTextEditorSwiftUI -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RichTextEditorSwiftUI.build/Debug-watchos/RichTextEditorSwiftUI-t.build/Objects-normal/arm64_32/RichTextEditorSwiftUI_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/RichTextEditorSwiftUI.build/Debug-watchos/RichTextEditorSwiftUI-t.build/Objects-normal/arm64_32/RichTextEditorSwiftUI.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RichTextEditorSwiftUI.build/Debug-watchos/RichTextEditorSwiftUI-t.build/Objects-normal/arm64_32/RichTextEditorSwiftUI.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RichTextEditorSwiftUI.build/Debug-watchos/RichTextEditorSwiftUI-t.build/Objects-normal/arm64_32/RichTextEditorSwiftUI-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RichTextEditorSwiftUI.build/Debug-watchos/RichTextEditorSwiftUI-t.build/Objects-normal/arm64_32/RichTextEditorSwiftUI-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RichTextEditorSwiftUI.build/Debug-watchos/RichTextEditorSwiftUI-t.build/Objects-normal/arm64_32/RichTextEditorSwiftUI-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RichTextEditorSwiftUI.build/Debug-watchos/RichTextEditorSwiftUI-t.build/Objects-normal/arm64_32/RichTextEditorSwiftUI.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/RichTextEditorSwiftUI.build/Debug-watchos/RichTextEditorSwiftUI-t.build/Objects-normal/arm64_32/RichTextEditorSwiftUI.abi.json
SwiftCompile normal arm64_32 Compiling\ ColorPickerView.swift,\ RichTextToolbarConfig.swift,\ Extension+NSMutableString.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ColorPicker/ColorPickerView.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Config/RichTextToolbarConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+NSMutableString.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ColorPicker/ColorPickerView.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ColorPickerView.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Config/RichTextToolbarConfig.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RichTextToolbarConfig.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+NSMutableString.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extension+NSMutableString.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ColorPicker/ColorPickerView.swift:23:17: error: 'ColorPicker' is unavailable in watchOS
21 | .padding(.bottom, 8)
22 |
23 | ColorPicker("", selection: Binding(
| `- error: 'ColorPicker' is unavailable in watchOS
24 | get: { Color(isBackground ? viewModel.textBackgroundColor : viewModel.textForegroundColor) },
25 | set: { newColor in
SwiftUI.ColorPicker:4:27: note: 'ColorPicker' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | nonisolated public struct ColorPicker<Label> : View, ~Sendable where Label : View {
| `- note: 'ColorPicker' has been explicitly marked unavailable here
5 | nonisolated public init(selection: Binding<Color>, supportsOpacity: Bool = true, @ContentBuilder label: () -> Label)
6 | nonisolated public init(selection: Binding<CGColor>, supportsOpacity: Bool = true, @ContentBuilder label: () -> Label)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ColorPicker/ColorPickerView.swift:23:17: error: 'init(_:selection:supportsOpacity:)' is unavailable in watchOS
21 | .padding(.bottom, 8)
22 |
23 | ColorPicker("", selection: Binding(
| `- error: 'init(_:selection:supportsOpacity:)' is unavailable in watchOS
24 | get: { Color(isBackground ? viewModel.textBackgroundColor : viewModel.textForegroundColor) },
25 | set: { newColor in
SwiftUI.ColorPicker.init:2:20: note: 'init(_:selection:supportsOpacity:)' has been explicitly marked unavailable here
1 | generic struct ColorPicker {
2 | nonisolated public init(_ titleKey: LocalizedStringKey, selection: Binding<Color>, supportsOpacity: Bool = true)}
| `- note: 'init(_:selection:supportsOpacity:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Config/RichTextToolbarConfig.swift:13:43: error: 'systemBlue' is unavailable in watchOS
11 |
12 | // New properties for customization
13 | public var hashtagColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
14 | public var hyperlinkColor: UIColor = .systemBlue
15 | public var textFieldBackgroundColor: UIColor = .white
/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:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Config/RichTextToolbarConfig.swift:14:45: error: 'systemBlue' is unavailable in watchOS
12 | // New properties for customization
13 | public var hashtagColor: UIColor = .systemBlue
14 | public var hyperlinkColor: UIColor = .systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
15 | public var textFieldBackgroundColor: UIColor = .white
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/UIInterface.h:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Config/RichTextToolbarConfig.swift:34:39: error: 'link' is unavailable in watchOS
32 | projectFonts: [String] = [],
33 | hashtagColor: UIColor = .lightGray,
34 | hyperlinkColor: UIColor = .link,
| `- error: 'link' is unavailable in watchOS
35 | textFieldBackgroundColor: UIColor = .white
36 | ) {
/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:178:49: note: 'link' has been explicitly marked unavailable here
176 | /* Foreground color for standard system links.
177 | */
178 | @property (class, nonatomic, readonly) UIColor *linkColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'link' has been explicitly marked unavailable here
179 |
180 | /* Foreground color for placeholder text in controls or text fields or text views.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+NSMutableString.swift:39:39: error: 'link' is unavailable in watchOS
37 | let hyperlink = NSAttributedString(string: "Visit Example.com\n", attributes: [
38 | .link: URL(string: "https://example.com")!,
39 | .foregroundColor: UIColor.link
| `- error: 'link' is unavailable in watchOS
40 | ])
41 | mutableAttributedString.append(hyperlink)
/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:178:49: note: 'link' has been explicitly marked unavailable here
176 | /* Foreground color for standard system links.
177 | */
178 | @property (class, nonatomic, readonly) UIColor *linkColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'link' has been explicitly marked unavailable here
179 |
180 | /* Foreground color for placeholder text in controls or text fields or text views.
SwiftCompile normal arm64_32 Compiling\ Extension+UIFont.swift,\ Extension+UiIMage.swift,\ Extension+View.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+UIFont.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+UiIMage.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+View.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+UiIMage.swift:12:24: error: 'UIGraphicsImageRenderer' is unavailable in watchOS
10 | /// Resizes the image to a specified size.
11 | func resized(to size: CGSize) -> UIImage {
12 | let renderer = UIGraphicsImageRenderer(size: size)
| `- error: 'UIGraphicsImageRenderer' is unavailable in watchOS
13 | return renderer.image { _ in
14 | self.draw(in: CGRect(origin: .zero, size: size))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:47:12: note: 'UIGraphicsImageRenderer' has been explicitly marked unavailable here
45 |
46 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos)
47 | @interface UIGraphicsImageRenderer : UIGraphicsRenderer
| `- note: 'UIGraphicsImageRenderer' has been explicitly marked unavailable here
48 | - (instancetype)initWithSize:(CGSize)size;
49 | - (instancetype)initWithSize:(CGSize)size format:(UIGraphicsImageRendererFormat *)format NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+View.swift:15:48: error: 'UIView' is unavailable in watchOS
13 | ///
14 | /// - Returns: A `UIView` representation of the SwiftUI view.
15 | func toToolbar(of height: CGFloat = 52) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
16 | let hostingController = UIHostingController(rootView: self)
17 | hostingController.view.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: height)
/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_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+UIFont.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extension+UIFont.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+UiIMage.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extension+UiIMage.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Extensions/Extension+View.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extension+View.swift
SwiftCompile normal arm64_32 Compiling\ FilePickerView.swift,\ FontFamilyDropdown.swift,\ FontPickerDropdownView.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontFamilyDropdown.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontPickerDropdownView.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:14:40: error: cannot find type 'Context' in scope
12 | var onFilePicked: (URL) -> Void
13 |
14 | func makeUIViewController(context: Context) -> UIDocumentPickerViewController {
| `- error: cannot find type 'Context' in scope
15 | let picker = UIDocumentPickerViewController(forOpeningContentTypes: [.item])
16 | picker.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:14:52: error: 'UIDocumentPickerViewController' is unavailable in watchOS
12 | var onFilePicked: (URL) -> Void
13 |
14 | func makeUIViewController(context: Context) -> UIDocumentPickerViewController {
| `- error: 'UIDocumentPickerViewController' is unavailable in watchOS
15 | let picker = UIDocumentPickerViewController(forOpeningContentTypes: [.item])
16 | picker.delegate = context.coordinator
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h:38:12: note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
36 |
37 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
38 | @interface UIDocumentPickerViewController : UIViewController
| `- note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
39 |
40 | // Initializes the picker instance for selecting a document in a remote location. The valid modes are Import and Open.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:20:94: error: cannot find type 'Context' in scope
18 | }
19 |
20 | func updateUIViewController(_ uiViewController: UIDocumentPickerViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
21 | if !isPresented {
22 | uiViewController.dismiss(animated: true)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:20:53: error: 'UIDocumentPickerViewController' is unavailable in watchOS
18 | }
19 |
20 | func updateUIViewController(_ uiViewController: UIDocumentPickerViewController, context: Context) {
| `- error: 'UIDocumentPickerViewController' is unavailable in watchOS
21 | if !isPresented {
22 | uiViewController.dismiss(animated: 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/UIDocumentPickerViewController.h:38:12: note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
36 |
37 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
38 | @interface UIDocumentPickerViewController : UIViewController
| `- note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
39 |
40 | // Initializes the picker instance for selecting a document in a remote location. The valid modes are Import and Open.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:37:43: error: 'UIDocumentPickerViewController' is unavailable in watchOS
35 | }
36 |
37 | func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentsAt urls: [URL]) {
| `- error: 'UIDocumentPickerViewController' is unavailable in watchOS
38 | if let url = urls.first {
39 | parent.onFilePicked(url)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h:38:12: note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
36 |
37 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
38 | @interface UIDocumentPickerViewController : UIViewController
| `- note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
39 |
40 | // Initializes the picker instance for selecting a document in a remote location. The valid modes are Import and Open.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:44:55: error: 'UIDocumentPickerViewController' is unavailable in watchOS
42 | }
43 |
44 | func documentPickerWasCancelled(_ controller: UIDocumentPickerViewController) {
| `- error: 'UIDocumentPickerViewController' is unavailable in watchOS
45 | parent.isPresented = false
46 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h:38:12: note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
36 |
37 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
38 | @interface UIDocumentPickerViewController : UIViewController
| `- note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
39 |
40 | // Initializes the picker instance for selecting a document in a remote location. The valid modes are Import and Open.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:30:34: error: 'UIDocumentPickerDelegate' is unavailable in watchOS
28 | }
29 |
30 | class Coordinator: NSObject, UIDocumentPickerDelegate {
| `- error: 'UIDocumentPickerDelegate' is unavailable in watchOS
31 | let parent: FilePicker
32 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h:18:11: note: 'UIDocumentPickerDelegate' has been explicitly marked unavailable here
16 |
17 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
18 | @protocol UIDocumentPickerDelegate <NSObject>
| `- note: 'UIDocumentPickerDelegate' has been explicitly marked unavailable here
19 |
20 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:37:14: error: cannot override 'documentPicker' which has been marked unavailable
35 | }
36 |
37 | func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentsAt urls: [URL]) {
| `- error: cannot override 'documentPicker' which has been marked unavailable
38 | if let url = urls.first {
39 | parent.onFilePicked(url)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h:22:1: note: 'documentPicker(_:didPickDocumentsAt:)' has been explicitly marked unavailable here
20 | @optional
21 |
22 | - (void)documentPicker:(UIDocumentPickerViewController *)controller didPickDocumentsAtURLs:(NSArray <NSURL *>*)urls API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'documentPicker(_:didPickDocumentsAt:)' has been explicitly marked unavailable here
23 |
24 | // called if the user dismisses the document picker without selecting a document (using the Cancel button)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:10:20: error: cannot find type 'UIViewControllerRepresentable' in scope
8 | import UIKit
9 |
10 | struct FilePicker: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
11 | @Binding var isPresented: Bool
12 | var onFilePicked: (URL) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:15:22: error: 'UIDocumentPickerViewController' is unavailable in watchOS
13 |
14 | func makeUIViewController(context: Context) -> UIDocumentPickerViewController {
15 | let picker = UIDocumentPickerViewController(forOpeningContentTypes: [.item])
| `- error: 'UIDocumentPickerViewController' is unavailable in watchOS
16 | picker.delegate = context.coordinator
17 | return picker
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h:38:12: note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
36 |
37 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
38 | @interface UIDocumentPickerViewController : UIViewController
| `- note: 'UIDocumentPickerViewController' has been explicitly marked unavailable here
39 |
40 | // Initializes the picker instance for selecting a document in a remote location. The valid modes are Import and Open.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift:15:22: error: 'init(forOpeningContentTypes:)' is unavailable in watchOS
13 |
14 | func makeUIViewController(context: Context) -> UIDocumentPickerViewController {
15 | let picker = UIDocumentPickerViewController(forOpeningContentTypes: [.item])
| `- error: 'init(forOpeningContentTypes:)' is unavailable in watchOS
16 | picker.delegate = context.coordinator
17 | return picker
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h:48:1: note: 'init(forOpeningContentTypes:)' has been explicitly marked unavailable here
46 |
47 | /// Initializes the picker instance for selecting a document in a remote location, giving you access to the original document.
48 | - (instancetype)initForOpeningContentTypes:(NSArray <UTType *>*)contentTypes API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'init(forOpeningContentTypes:)' has been explicitly marked unavailable here
49 |
50 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontFamilyDropdown.swift:26:13: error: 'Menu' is unavailable in watchOS
24 | .padding(.bottom, 4)
25 |
26 | Menu {
| `- error: 'Menu' is unavailable in watchOS
27 | ForEach(viewModel.availableFonts, id: \.self) { font in
28 | Button(action: {
SwiftUI.Menu:3:27: note: 'Menu' has been explicitly marked unavailable here
1 | @available(iOS 14.0, macOS 11.0, tvOS 17.0, *)
2 | @available(watchOS, unavailable)
3 | nonisolated public struct Menu<Label, Content> : View, ~Sendable where Label : View, Content : View {
| `- note: 'Menu' has been explicitly marked unavailable here
4 | nonisolated public var body: some View { get }
5 | @available(macOS 11.0, iOS 14.0, tvOS 17.0, *)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FilePicker/FilePickerView.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FilePickerView.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontFamilyDropdown.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FontFamilyDropdown.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontPickerDropdownView.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FontPickerDropdownView.swift
SwiftCompile normal arm64_32 Compiling\ ButtonHighlightView.swift,\ HyperlinkInputView.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/ButtonHighlightView.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/HyperlinkInputView.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/HyperlinkInputView.swift:23:41: error: 'RoundedBorderTextFieldStyle' is unavailable in watchOS
21 | .font(.caption)
22 | TextField("Enter link text", text: $linkText)
23 | .textFieldStyle(RoundedBorderTextFieldStyle())
| `- error: 'RoundedBorderTextFieldStyle' is unavailable in watchOS
24 | }
25 | }
SwiftUI.RoundedBorderTextFieldStyle:5:15: note: 'RoundedBorderTextFieldStyle' has been explicitly marked unavailable here
3 | @available(tvOS, unavailable)
4 | @available(watchOS, unavailable)
5 | public struct RoundedBorderTextFieldStyle : TextFieldStyle, ~Sendable {
| `- note: 'RoundedBorderTextFieldStyle' has been explicitly marked unavailable here
6 | public init()
7 | public func _body(configuration: TextField<RoundedBorderTextFieldStyle._Label>) -> some View
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/ButtonHighlightView.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ButtonHighlightView.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/HyperlinkInputView.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HyperlinkInputView.swift
SwiftCompile normal arm64_32 Compiling\ RichTextField.swift,\ RichTextToolbar.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextToolbar.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextField.swift:34:37: error: cannot find type 'Context' in scope
32 | /// - Parameter context: The context containing coordinator and environment information.
33 | /// - Returns: A configured `UITextView` instance.
34 | public func makeUIView(context: Context) -> UITextView {
| `- error: cannot find type 'Context' in scope
35 | let textView = UITextView()
36 | textView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextField.swift:34:49: error: 'UITextView' is unavailable in watchOS
32 | /// - Parameter context: The context containing coordinator and environment information.
33 | /// - Returns: A configured `UITextView` instance.
34 | public func makeUIView(context: Context) -> UITextView {
| `- error: 'UITextView' is unavailable in watchOS
35 | let textView = UITextView()
36 | textView.delegate = context.coordinator
/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/RichTextEditorSwiftUI/Views/RichTextField.swift:53:61: error: cannot find type 'Context' in scope
51 | /// - uiView: The `UITextView` instance to update.
52 | /// - context: Contextual information for the update.
53 | public func updateUIView(_ uiView: UITextView, context: Context) {
| `- error: cannot find type 'Context' in scope
54 | if uiView.attributedText != text {
55 | uiView.attributedText = text
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextField.swift:53:40: error: 'UITextView' is unavailable in watchOS
51 | /// - uiView: The `UITextView` instance to update.
52 | /// - context: Contextual information for the update.
53 | public func updateUIView(_ uiView: UITextView, context: Context) {
| `- error: 'UITextView' is unavailable in watchOS
54 | if uiView.attributedText != text {
55 | uiView.attributedText = 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/RichTextEditorSwiftUI/Views/RichTextField.swift:84:60: error: 'UITextView' is unavailable in watchOS
82 | ///
83 | /// - Parameter textView: The `UITextView` whose selection has changed.
84 | public func textViewDidChangeSelection(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
85 | let newRange = textView.selectedRange
86 | let textLength = textView.text.count
/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/RichTextEditorSwiftUI/Views/RichTextField.swift:111:51: error: 'UITextView' is unavailable in watchOS
109 | ///
110 | /// - Parameter textView: The `UITextView` whose content has changed.
111 | public func textViewDidChange(_ textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
112 | let mutableText = NSMutableAttributedString(attributedString: textView.attributedText)
113 | let cursorPosition = min(textView.selectedRange.location, mutableText.length)
/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/RichTextEditorSwiftUI/Views/RichTextField.swift:69:41: error: 'UITextViewDelegate' is unavailable in watchOS
67 |
68 | /// A coordinator to handle `UITextView` delegate events.
69 | public class Coordinator: NSObject, UITextViewDelegate {
| `- error: 'UITextViewDelegate' is unavailable in watchOS
70 |
71 | /// The parent `RichTextField` instance.
/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/RichTextEditorSwiftUI/Views/RichTextField.swift:15:30: error: cannot find type 'UIViewRepresentable' in scope
13 | /// and editing of attributed strings with support for toolbars and state management.
14 |
15 | public struct RichTextField: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
16 |
17 | // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextField.swift:35:24: error: 'UITextView' is unavailable in watchOS
33 | /// - Returns: A configured `UITextView` instance.
34 | public func makeUIView(context: Context) -> UITextView {
35 | let textView = UITextView()
| `- error: 'UITextView' is unavailable in watchOS
36 | textView.delegate = context.coordinator
37 | textView.isEditable = 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/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/RichTextEditorSwiftUI/Views/RichTextField.swift:35:24: error: 'init()' is unavailable in watchOS
33 | /// - Returns: A configured `UITextView` instance.
34 | public func makeUIView(context: Context) -> UITextView {
35 | let textView = UITextView()
| `- error: 'init()' is unavailable in watchOS
36 | textView.delegate = context.coordinator
37 | textView.isEditable = 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/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextToolbar.swift:35:33: error: 'UIScreen' is unavailable in watchOS
33 | let totalWidth = CGFloat(buttonCount) * 36.0 + CGFloat(buttonCount - 1) * config.spacing
34 |
35 | if totalWidth > UIScreen.main.bounds.width - 36 { // Enable scrolling if buttons overflow
| `- error: 'UIScreen' is unavailable in watchOS
36 | ScrollView(.horizontal, showsIndicators: false) {
37 | toolbarButtonRow(for: groupIndex)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextToolbar.swift:35:42: error: 'main' is unavailable in watchOS
33 | let totalWidth = CGFloat(buttonCount) * 36.0 + CGFloat(buttonCount - 1) * config.spacing
34 |
35 | if totalWidth > UIScreen.main.bounds.width - 36 { // Enable scrolling if buttons overflow
| `- error: 'main' is unavailable in watchOS
36 | ScrollView(.horizontal, showsIndicators: false) {
37 | toolbarButtonRow(for: groupIndex)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextToolbar.swift:243:16: error: 'Menu' is unavailable in watchOS
241 | default: isActive = false
242 | }
243 | return Menu {
| `- error: 'Menu' is unavailable in watchOS
244 | ForEach(menuButtons) { menuButton in
245 | Button(action: {
SwiftUI.Menu:3:27: note: 'Menu' has been explicitly marked unavailable here
1 | @available(iOS 14.0, macOS 11.0, tvOS 17.0, *)
2 | @available(watchOS, unavailable)
3 | nonisolated public struct Menu<Label, Content> : View, ~Sendable where Label : View, Content : View {
| `- note: 'Menu' has been explicitly marked unavailable here
4 | nonisolated public var body: some View { get }
5 | @available(macOS 11.0, iOS 14.0, tvOS 17.0, *)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextField.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RichTextField.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Views/RichTextToolbar.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RichTextToolbar.swift
SwiftCompile normal arm64_32 Compiling\ PhotoImagePicker.swift,\ PickerSheetConfig.swift,\ PickerSheetsModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Modifiers/PickerSheetConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Modifiers/PickerSheetsModifier.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:26:47: error: cannot find type 'Context' in scope
24 | let onImagePicked: (UIImage) -> Void // Callback for the selected image
25 |
26 | public func makeUIViewController(context: Context) -> PHPickerViewController {
| `- error: cannot find type 'Context' in scope
27 | var configuration = PHPickerConfiguration()
28 | configuration.selectionLimit = 1
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:26:59: error: 'PHPickerViewController' is unavailable in watchOS
24 | let onImagePicked: (UIImage) -> Void // Callback for the selected image
25 |
26 | public func makeUIViewController(context: Context) -> PHPickerViewController {
| `- error: 'PHPickerViewController' is unavailable in watchOS
27 | var configuration = PHPickerConfiguration()
28 | configuration.selectionLimit = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/PhotosUI.framework/Headers/PHPicker.h:263:12: note: 'PHPickerViewController' has been explicitly marked unavailable here
261 | API_UNAVAILABLE(watchos)
262 | #if __has_include(<UIKit/UIViewController.h>) && TARGET_OS_IPHONE
263 | @interface PHPickerViewController : UIViewController
| `- note: 'PHPickerViewController' has been explicitly marked unavailable here
264 | #elif __has_include(<AppKit/NSViewController.h>)
265 | @interface PHPickerViewController : NSViewController
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:36:93: error: cannot find type 'Context' in scope
34 | }
35 |
36 | public func updateUIViewController(_ uiViewController: PHPickerViewController, context: Context) {}
| `- error: cannot find type 'Context' in scope
37 |
38 | public func makeCoordinator() -> Coordinator {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:36:60: error: 'PHPickerViewController' is unavailable in watchOS
34 | }
35 |
36 | public func updateUIViewController(_ uiViewController: PHPickerViewController, context: Context) {}
| `- error: 'PHPickerViewController' is unavailable in watchOS
37 |
38 | public func makeCoordinator() -> Coordinator {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/PhotosUI.framework/Headers/PHPicker.h:263:12: note: 'PHPickerViewController' has been explicitly marked unavailable here
261 | API_UNAVAILABLE(watchos)
262 | #if __has_include(<UIKit/UIViewController.h>) && TARGET_OS_IPHONE
263 | @interface PHPickerViewController : UIViewController
| `- note: 'PHPickerViewController' has been explicitly marked unavailable here
264 | #elif __has_include(<AppKit/NSViewController.h>)
265 | @interface PHPickerViewController : NSViewController
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:49:38: error: 'PHPickerViewController' is unavailable in watchOS
47 | }
48 |
49 | public func picker(_ picker: PHPickerViewController, didFinishPicking results: [PHPickerResult]) {
| `- error: 'PHPickerViewController' is unavailable in watchOS
50 | picker.dismiss(animated: true)
51 | if let result = results.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/PhotosUI.framework/Headers/PHPicker.h:263:12: note: 'PHPickerViewController' has been explicitly marked unavailable here
261 | API_UNAVAILABLE(watchos)
262 | #if __has_include(<UIKit/UIViewController.h>) && TARGET_OS_IPHONE
263 | @interface PHPickerViewController : UIViewController
| `- note: 'PHPickerViewController' has been explicitly marked unavailable here
264 | #elif __has_include(<AppKit/NSViewController.h>)
265 | @interface PHPickerViewController : NSViewController
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:49:89: error: 'PHPickerResult' is unavailable in watchOS
47 | }
48 |
49 | public func picker(_ picker: PHPickerViewController, didFinishPicking results: [PHPickerResult]) {
| `- error: 'PHPickerResult' is unavailable in watchOS
50 | picker.dismiss(animated: true)
51 | if let result = results.first {
PhotosUI.PHPickerResult:4:15: note: 'PHPickerResult' has been explicitly marked unavailable here
2 | @available(watchOS, unavailable)
3 | @available(tvOS, unavailable)
4 | public struct PHPickerResult : Equatable, Hashable {
| `- note: 'PHPickerResult' has been explicitly marked unavailable here
5 | public let itemProvider: NSItemProvider
6 | public var assetIdentifier: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:42:41: error: 'PHPickerViewControllerDelegate' is unavailable in watchOS
40 | }
41 |
42 | public class Coordinator: NSObject, PHPickerViewControllerDelegate {
| `- error: 'PHPickerViewControllerDelegate' is unavailable in watchOS
43 | var parent: PhotoLibraryPicker
44 |
PhotosUI.PHPickerViewControllerDelegate:4:44: note: 'PHPickerViewControllerDelegate' has been explicitly marked unavailable here
2 | @available(watchOS, unavailable)
3 | @available(tvOS, unavailable)
4 | @MainActor @preconcurrency public protocol PHPickerViewControllerDelegate : AnyObject {
| `- note: 'PHPickerViewControllerDelegate' has been explicitly marked unavailable here
5 | @MainActor @preconcurrency func picker(_ picker: PHPickerViewController, didFinishPicking results: [PHPickerResult])
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:23:35: error: cannot find type 'UIViewControllerRepresentable' in scope
21 | /// PhotoLibraryPicker(selectedImage: $image)
22 | /// ```
23 | public struct PhotoLibraryPicker: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
24 | let onImagePicked: (UIImage) -> Void // Callback for the selected image
25 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:27:29: error: 'PHPickerConfiguration' is unavailable in watchOS
25 |
26 | public func makeUIViewController(context: Context) -> PHPickerViewController {
27 | var configuration = PHPickerConfiguration()
| `- error: 'PHPickerConfiguration' is unavailable in watchOS
28 | configuration.selectionLimit = 1
29 | configuration.filter = .images
PhotosUI.PHPickerConfiguration:4:15: note: 'PHPickerConfiguration' has been explicitly marked unavailable here
2 | @available(watchOS, unavailable)
3 | @available(tvOS, unavailable)
4 | public struct PHPickerConfiguration : Equatable, Hashable, @unchecked Sendable {
| `- note: 'PHPickerConfiguration' has been explicitly marked unavailable here
5 | public enum AssetRepresentationMode : Sendable {
6 | case automatic
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:31:22: error: 'PHPickerViewController' is unavailable in watchOS
29 | configuration.filter = .images
30 |
31 | let picker = PHPickerViewController(configuration: configuration)
| `- error: 'PHPickerViewController' is unavailable in watchOS
32 | picker.delegate = context.coordinator
33 | return picker
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/PhotosUI.framework/Headers/PHPicker.h:263:12: note: 'PHPickerViewController' has been explicitly marked unavailable here
261 | API_UNAVAILABLE(watchos)
262 | #if __has_include(<UIKit/UIViewController.h>) && TARGET_OS_IPHONE
263 | @interface PHPickerViewController : UIViewController
| `- note: 'PHPickerViewController' has been explicitly marked unavailable here
264 | #elif __has_include(<AppKit/NSViewController.h>)
265 | @interface PHPickerViewController : NSViewController
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift:31:22: error: 'init(configuration:)' is unavailable in watchOS
29 | configuration.filter = .images
30 |
31 | let picker = PHPickerViewController(configuration: configuration)
| `- error: 'init(configuration:)' is unavailable in watchOS
32 | picker.delegate = context.coordinator
33 | return picker
PhotosUI.PHPickerViewController.init:2:47: note: 'init(configuration:)' has been explicitly marked unavailable here
1 | class PHPickerViewController {
2 | @MainActor @preconcurrency public convenience init(configuration: PHPickerConfiguration)}
| `- note: 'init(configuration:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Modifiers/PickerSheetsModifier.swift:32:17: error: instance method 'adaptiveSheet(content:)' requires that 'PhotoLibraryPicker' conform to 'View'
30 | .sheet(isPresented: $viewModel.isPhotoLibraryPickerPresented) {
31 | adaptiveSheet {
32 | PhotoLibraryPicker { image in
| `- error: instance method 'adaptiveSheet(content:)' requires that 'PhotoLibraryPicker' conform to 'View'
33 | viewModel.insertImage(image)
34 | }
:
95 | /// A reusable adaptive sheet modifier with configurable properties.
96 | @ViewBuilder
97 | private func adaptiveSheet<Content: View>(@ViewBuilder content: @escaping () -> Content) -> some View {
| `- note: where 'Content' = 'PhotoLibraryPicker'
98 | VStack {
99 | content()
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/PhotoImagePicker.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PhotoImagePicker.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Modifiers/PickerSheetConfig.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PickerSheetConfig.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/Modifiers/PickerSheetsModifier.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PickerSheetsModifier.swift
SwiftCompile normal arm64_32 Compiling\ RichTextViewerWrapper.swift,\ RichtTextEditorViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift:14:30: error: cannot find type 'Context' in scope
12 | let attributedString: NSAttributedString
13 |
14 | func makeUIView(context: Context) -> UITextView {
| `- error: cannot find type 'Context' in scope
15 | let textView = UITextView()
16 | textView.isEditable = false
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift:14:42: error: 'UITextView' is unavailable in watchOS
12 | let attributedString: NSAttributedString
13 |
14 | func makeUIView(context: Context) -> UITextView {
| `- error: 'UITextView' is unavailable in watchOS
15 | let textView = UITextView()
16 | textView.isEditable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift:25:54: error: cannot find type 'Context' in scope
23 | }
24 |
25 | func updateUIView(_ uiView: UITextView, context: Context) {
| `- error: cannot find type 'Context' in scope
26 | uiView.attributedText = attributedString
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift:25:33: error: 'UITextView' is unavailable in watchOS
23 | }
24 |
25 | func updateUIView(_ uiView: UITextView, context: Context) {
| `- error: 'UITextView' is unavailable in watchOS
26 | uiView.attributedText = attributedString
27 | }
/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/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift:11:29: error: cannot find type 'UIViewRepresentable' in scope
9 |
10 | /// A wrapper to display NSAttributedString using UILabel in SwiftUI.
11 | struct RichTextViewWrapper: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 | let attributedString: NSAttributedString
13 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift:15:24: error: 'UITextView' is unavailable in watchOS
13 |
14 | func makeUIView(context: Context) -> UITextView {
15 | let textView = UITextView()
| `- error: 'UITextView' is unavailable in watchOS
16 | textView.isEditable = false
17 | textView.backgroundColor = .clear
/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/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift:15:24: error: 'init()' is unavailable in watchOS
13 |
14 | func makeUIView(context: Context) -> UITextView {
15 | let textView = UITextView()
| `- error: 'init()' is unavailable in watchOS
16 | textView.isEditable = false
17 | textView.backgroundColor = .clear
/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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift:20:39: error: 'lineBreakMode' is unavailable in watchOS
18 | textView.textContainerInset = UIEdgeInsets(top: 8, left: 8, bottom: 8, right: 8) // Padding inside
19 | textView.textContainer.lineFragmentPadding = 0 // Ensure proper text alignment to edges
20 | textView.textContainer.lineBreakMode = .byWordWrapping
| `- error: 'lineBreakMode' is unavailable in watchOS
21 | textView.translatesAutoresizingMaskIntoConstraints = false
22 | return textView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:44:76: error: 'systemFontSize' is unavailable in watchOS
42 | @Published var showingBackgroundColorPicker = false
43 |
44 | @Published var selectedFont: UIFont = UIFont.systemFont(ofSize: UIFont.systemFontSize)
| `- error: 'systemFontSize' is unavailable in watchOS
45 | @Published var showingFontPicker = false
46 | @Published var selectedFontStyle: String? = "Body"
/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:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:49:82: error: 'systemFontSize' is unavailable in watchOS
47 | @Published var showFontPickerMenu = false
48 | @Published var availableFonts: [String] = UIFont.familyNames
49 | @Published var selectedFontFamily: String = UIFont.systemFont(ofSize: UIFont.systemFontSize).familyName
| `- error: 'systemFontSize' is unavailable in watchOS
50 | @Published var selectedFontWeight: UIFont.Weight = .regular
51 |
/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:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:57:57: error: 'link' is unavailable in watchOS
55 | @Published var hyperlinkURL: String = ""
56 | @Published var hyperlinkText: String = ""
57 | @Published var hyperlinkColorFromCOnfig: UIColor = .link
| `- error: 'link' is unavailable in watchOS
58 | @Published var hashtagColorFromConfig: UIColor = .lightGray
59 |
/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:178:49: note: 'link' has been explicitly marked unavailable here
176 | /* Foreground color for standard system links.
177 | */
178 | @property (class, nonatomic, readonly) UIColor *linkColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'link' has been explicitly marked unavailable here
179 |
180 | /* Foreground color for placeholder text in controls or text fields or text views.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:33:36: error: 'systemFontSize' is unavailable in watchOS
31 | @Published var showingImagePickerDropdown = false // Tracks visibility of the Image Picker dropdown
32 |
33 | var fontSize: CGFloat = UIFont.systemFontSize
| `- error: 'systemFontSize' is unavailable in watchOS
34 | @Published var textForegroundColor: UIColor = .black
35 | @Published var textBackgroundColor: UIColor = .white
/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:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:783:104: error: 'UITextView' is unavailable in watchOS
781 | }
782 |
783 | func handleHyperlinkRemoval(mutableText: NSMutableAttributedString, cursorPosition: Int, textView: UITextView) {
| `- error: 'UITextView' is unavailable in watchOS
784 | // saveStateForUndo()
785 |
/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/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:307:13: warning: initialization of immutable value 'cursorPosition' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
305 |
306 | let mutableText = NSMutableAttributedString(attributedString: text)
307 | let cursorPosition = selectedRange.location
| `- warning: initialization of immutable value 'cursorPosition' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
308 | let isTextSelected = selectedRange.length > 0
309 | // Define code snippet attributes
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:405:39: error: 'systemGray' is unavailable in watchOS
403 | private func applyQuoteFormatting(to text: NSMutableAttributedString, in range: NSRange) {
404 | text.addAttributes([
405 | .foregroundColor: UIColor.systemGray, // Custom color for quotes
| `- error: 'systemGray' is unavailable in watchOS
406 | .font: selectedFont.withSize(selectedFont.pointSize) // Italic font for quotes
407 | ], range: range)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:136:49: note: 'systemGray' has been explicitly marked unavailable here
134 | /* Shades of gray. systemGray is the base gray color.
135 | */
136 | @property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemGray' has been explicitly marked unavailable here
137 |
138 | /* The numbered variations, systemGray2 through systemGray6, are grays which increasingly
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:443:27: error: 'UIScreen' is unavailable in watchOS
441 |
442 | // Step 1: Calculate the scaled size to fit the screen width
443 | let screenWidth = UIScreen.main.bounds.width - 20 // Adjust for padding
| `- error: 'UIScreen' is unavailable in watchOS
444 | let aspectRatio = image.size.height / image.size.width
445 | let scaledHeight = screenWidth * aspectRatio
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:443:36: error: 'main' is unavailable in watchOS
441 |
442 | // Step 1: Calculate the scaled size to fit the screen width
443 | let screenWidth = UIScreen.main.bounds.width - 20 // Adjust for padding
| `- error: 'main' is unavailable in watchOS
444 | let aspectRatio = image.size.height / image.size.width
445 | let scaledHeight = screenWidth * aspectRatio
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:581:43: error: 'systemBlue' is unavailable in watchOS
579 | .link: url,
580 | .underlineStyle: NSUnderlineStyle.single.rawValue,
581 | .foregroundColor: UIColor.systemBlue
| `- error: 'systemBlue' is unavailable in watchOS
582 | ], range: selectedRange)
583 | } else if let linkText = linkText, !linkText.isEmpty {
/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:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:590:47: error: 'systemBlue' is unavailable in watchOS
588 | .link: url,
589 | .underlineStyle: NSUnderlineStyle.single.rawValue,
590 | .foregroundColor: UIColor.systemBlue,
| `- error: 'systemBlue' is unavailable in watchOS
591 | .font: selectedFont.withSize(fontSize)
592 | ]
/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:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:615:43: error: 'systemGray' is unavailable in watchOS
613 | for match in matches {
614 | mutableText.addAttributes([
615 | .foregroundColor: UIColor.systemGray,
| `- error: 'systemGray' is unavailable in watchOS
616 | .font: UIFont.italicSystemFont(ofSize: UIFont.systemFontSize)
617 | ], range: match.range)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:136:49: note: 'systemGray' has been explicitly marked unavailable here
134 | /* Shades of gray. systemGray is the base gray color.
135 | */
136 | @property (class, nonatomic, readonly) UIColor *systemGrayColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemGray' has been explicitly marked unavailable here
137 |
138 | /* The numbered variations, systemGray2 through systemGray6, are grays which increasingly
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:616:63: error: 'systemFontSize' is unavailable in watchOS
614 | mutableText.addAttributes([
615 | .foregroundColor: UIColor.systemGray,
616 | .font: UIFont.italicSystemFont(ofSize: UIFont.systemFontSize)
| `- error: 'systemFontSize' is unavailable in watchOS
617 | ], range: match.range)
618 | }
/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:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:623:59: error: 'systemFontSize' is unavailable in watchOS
621 |
622 | func setFont(_ fontName: String) {
623 | let newFont = UIFont(name: fontName, size: UIFont.systemFontSize) ?? UIFont.systemFont(ofSize: UIFont.systemFontSize)
| `- error: 'systemFontSize' is unavailable in watchOS
624 | let mutableText = NSMutableAttributedString(attributedString: text)
625 | mutableText.addAttribute(.font, value: newFont, range: NSRange(location: 0, length: text.length))
/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:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:623:111: error: 'systemFontSize' is unavailable in watchOS
621 |
622 | func setFont(_ fontName: String) {
623 | let newFont = UIFont(name: fontName, size: UIFont.systemFontSize) ?? UIFont.systemFont(ofSize: UIFont.systemFontSize)
| `- error: 'systemFontSize' is unavailable in watchOS
624 | let mutableText = NSMutableAttributedString(attributedString: text)
625 | mutableText.addAttribute(.font, value: newFont, range: NSRange(location: 0, length: text.length))
/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:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:631:72: error: 'systemFontSize' is unavailable in watchOS
629 | // Updated to apply both font family and weight
630 | func applySelectedFont(fontName: String, weight: UIFont.Weight) {
631 | let descriptor = UIFontDescriptor(name: fontName, size: UIFont.systemFontSize)
| `- error: 'systemFontSize' is unavailable in watchOS
632 | let weightedFont = UIFont(descriptor: descriptor.withSymbolicTraits(.traitBold) ?? descriptor, size: UIFont.systemFontSize)
633 | selectedFont = UIFont.systemFont(ofSize: UIFont.systemFontSize, weight: weight)
/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:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:632:117: error: 'systemFontSize' is unavailable in watchOS
630 | func applySelectedFont(fontName: String, weight: UIFont.Weight) {
631 | let descriptor = UIFontDescriptor(name: fontName, size: UIFont.systemFontSize)
632 | let weightedFont = UIFont(descriptor: descriptor.withSymbolicTraits(.traitBold) ?? descriptor, size: UIFont.systemFontSize)
| `- error: 'systemFontSize' is unavailable in watchOS
633 | selectedFont = UIFont.systemFont(ofSize: UIFont.systemFontSize, weight: weight)
634 | applyFormatting()
/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:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift:633:57: error: 'systemFontSize' is unavailable in watchOS
631 | let descriptor = UIFontDescriptor(name: fontName, size: UIFont.systemFontSize)
632 | let weightedFont = UIFont(descriptor: descriptor.withSymbolicTraits(.traitBold) ?? descriptor, size: UIFont.systemFontSize)
633 | selectedFont = UIFont.systemFont(ofSize: UIFont.systemFontSize, weight: weight)
| `- error: 'systemFontSize' is unavailable in watchOS
634 | applyFormatting()
635 | }
/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:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/RichTextViewerWrapper.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RichTextViewerWrapper.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ViewModel/RichtTextEditorViewModel.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RichtTextEditorViewModel.swift
SwiftCompile normal arm64_32 Compiling\ RichTextEditorSwiftUI.swift,\ AttributedTextView.swift,\ RichTextViewer.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextEditorSwiftUI.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/RichTextViewer.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift:12:30: error: cannot find type 'Context' in scope
10 | let attributedString: NSAttributedString
11 |
12 | func makeUIView(context: Context) -> UITextView {
| `- error: cannot find type 'Context' in scope
13 | let textView = UITextView()
14 | textView.isEditable = false
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift:12:42: error: 'UITextView' is unavailable in watchOS
10 | let attributedString: NSAttributedString
11 |
12 | func makeUIView(context: Context) -> UITextView {
| `- error: 'UITextView' is unavailable in watchOS
13 | let textView = UITextView()
14 | textView.isEditable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift:22:54: error: cannot find type 'Context' in scope
20 | }
21 |
22 | func updateUIView(_ uiView: UITextView, context: Context) {
| `- error: cannot find type 'Context' in scope
23 | uiView.attributedText = attributedString
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift:22:33: error: 'UITextView' is unavailable in watchOS
20 | }
21 |
22 | func updateUIView(_ uiView: UITextView, context: Context) {
| `- error: 'UITextView' is unavailable in watchOS
23 | uiView.attributedText = attributedString
24 | }
/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/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift:9:28: error: cannot find type 'UIViewRepresentable' in scope
7 | import SwiftUI
8 |
9 | struct AttributedTextView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
10 | let attributedString: NSAttributedString
11 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift:13:24: error: 'UITextView' is unavailable in watchOS
11 |
12 | func makeUIView(context: Context) -> UITextView {
13 | let textView = UITextView()
| `- error: 'UITextView' is unavailable in watchOS
14 | textView.isEditable = false
15 | textView.isScrollEnabled = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift:13:24: error: 'init()' is unavailable in watchOS
11 |
12 | func makeUIView(context: Context) -> UITextView {
13 | let textView = UITextView()
| `- error: 'init()' is unavailable in watchOS
14 | textView.isEditable = false
15 | textView.isScrollEnabled = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift:18:66: error: 'systemBlue' is unavailable in watchOS
16 | textView.textContainerInset = .zero
17 | textView.backgroundColor = .clear
18 | textView.linkTextAttributes = [.foregroundColor: UIColor.systemBlue]
| `- error: 'systemBlue' is unavailable in watchOS
19 | return textView
20 | }
/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:123:49: note: 'systemBlue' has been explicitly marked unavailable here
121 | @property (class, nonatomic, readonly) UIColor *systemRedColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
122 | @property (class, nonatomic, readonly) UIColor *systemGreenColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
123 | @property (class, nonatomic, readonly) UIColor *systemBlueColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'systemBlue' has been explicitly marked unavailable here
124 | @property (class, nonatomic, readonly) UIColor *systemOrangeColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
125 | @property (class, nonatomic, readonly) UIColor *systemYellowColor API_AVAILABLE(ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextEditorSwiftUI.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RichTextEditorSwiftUI.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/AttributedTextView.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AttributedTextView.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/RichTextViewer/RichTextViewer.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RichTextViewer.swift
SwiftCompile normal arm64_32 Compiling\ FontStyleDropdownView.swift,\ FontWeightDropdown.swift,\ CameraImagePicker.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontStyleDropdownView.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontWeightDropdown.swift /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontStyleDropdownView.swift:29:109: warning: left side of nil coalescing operator '??' has non-optional type 'UIFont', so the right side is never used
27 | HStack {
28 | Text(style)
29 | .font(Font(viewModel.styleFont(for: style, baseFont: viewModel.selectedFont ?? UIFont.systemFont(ofSize: viewModel.fontSize))))
| `- warning: left side of nil coalescing operator '??' has non-optional type 'UIFont', so the right side is never used
30 | if viewModel.selectedFontStyle == style {
31 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontStyleDropdownView.swift:22:13: error: 'Menu' is unavailable in watchOS
20 | .padding(.bottom, 4)
21 |
22 | Menu {
| `- error: 'Menu' is unavailable in watchOS
23 | ForEach(styles, id: \.self) { style in
24 | Button(action: {
SwiftUI.Menu:3:27: note: 'Menu' has been explicitly marked unavailable here
1 | @available(iOS 14.0, macOS 11.0, tvOS 17.0, *)
2 | @available(watchOS, unavailable)
3 | nonisolated public struct Menu<Label, Content> : View, ~Sendable where Label : View, Content : View {
| `- note: 'Menu' has been explicitly marked unavailable here
4 | nonisolated public var body: some View { get }
5 | @available(macOS 11.0, iOS 14.0, tvOS 17.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontStyleDropdownView.swift:22:13: error: 'init(content:label:)' is unavailable in watchOS
20 | .padding(.bottom, 4)
21 |
22 | Menu {
| `- error: 'init(content:label:)' is unavailable in watchOS
23 | ForEach(styles, id: \.self) { style in
24 | Button(action: {
SwiftUI.Menu.init:2:20: note: 'init(content:label:)' has been explicitly marked unavailable here
1 | generic struct Menu {
2 | nonisolated public init(@ContentBuilder content: () -> Content, @ContentBuilder label: () -> Label)}
| `- note: 'init(content:label:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontWeightDropdown.swift:19:13: error: 'Menu' is unavailable in watchOS
17 | .padding(.bottom, 4)
18 |
19 | Menu {
| `- error: 'Menu' is unavailable in watchOS
20 | ForEach(viewModel.fontWeights.keys.sorted(), id: \.self) { weightName in
21 | Button(action: {
SwiftUI.Menu:3:27: note: 'Menu' has been explicitly marked unavailable here
1 | @available(iOS 14.0, macOS 11.0, tvOS 17.0, *)
2 | @available(watchOS, unavailable)
3 | nonisolated public struct Menu<Label, Content> : View, ~Sendable where Label : View, Content : View {
| `- note: 'Menu' has been explicitly marked unavailable here
4 | nonisolated public var body: some View { get }
5 | @available(macOS 11.0, iOS 14.0, tvOS 17.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontWeightDropdown.swift:19:13: error: 'init(content:label:)' is unavailable in watchOS
17 | .padding(.bottom, 4)
18 |
19 | Menu {
| `- error: 'init(content:label:)' is unavailable in watchOS
20 | ForEach(viewModel.fontWeights.keys.sorted(), id: \.self) { weightName in
21 | Button(action: {
SwiftUI.Menu.init:2:20: note: 'init(content:label:)' has been explicitly marked unavailable here
1 | generic struct Menu {
2 | nonisolated public init(@ContentBuilder content: () -> Content, @ContentBuilder label: () -> Label)}
| `- note: 'init(content:label:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontWeightDropdown.swift:50:66: error: 'systemFontSize' is unavailable in watchOS
48 |
49 | private func weightsForFont(_ fontName: String) -> [UIFont.Weight] {
50 | guard let baseFont = UIFont(name: fontName, size: UIFont.systemFontSize) else {
| `- error: 'systemFontSize' is unavailable in watchOS
51 | return []
52 | }
/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:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontWeightDropdown.swift:61:67: error: 'systemFontSize' is unavailable in watchOS
59 |
60 | for weight in availableWeights {
61 | if let testFont = UIFont(name: fontName, size: UIFont.systemFontSize)?.withWeight(weight) {
| `- error: 'systemFontSize' is unavailable in watchOS
62 | // If font creation succeeds with the weight, add to supported weights
63 | supportedWeights.append(weight)
/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:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontWeightDropdown.swift:50:19: warning: value 'baseFont' was defined but never used; consider replacing with boolean test [#NoUsage]
48 |
49 | private func weightsForFont(_ fontName: String) -> [UIFont.Weight] {
50 | guard let baseFont = UIFont(name: fontName, size: UIFont.systemFontSize) else {
| `- warning: value 'baseFont' was defined but never used; consider replacing with boolean test [#NoUsage]
51 | return []
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontWeightDropdown.swift:61:20: warning: value 'testFont' was defined but never used; consider replacing with boolean test [#NoUsage]
59 |
60 | for weight in availableWeights {
61 | if let testFont = UIFont(name: fontName, size: UIFont.systemFontSize)?.withWeight(weight) {
| `- warning: value 'testFont' was defined but never used; consider replacing with boolean test [#NoUsage]
62 | // If font creation succeeds with the weight, add to supported weights
63 | supportedWeights.append(weight)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:20:21: error: 'UIImagePickerController' is unavailable in watchOS
18 | public struct CameraImagePicker: UIViewControllerRepresentable {
19 | let onImagePicked: (UIImage) -> Void // Callback for the selected image
20 | var sourceType: UIImagePickerController.SourceType
| `- error: 'UIImagePickerController' is unavailable in watchOS
21 |
22 | public func makeUIViewController(context: Context) -> UIImagePickerController {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:69:12: note: 'UIImagePickerController' has been explicitly marked unavailable here
67 |
68 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
69 | @interface UIImagePickerController : UINavigationController <NSCoding>
| `- note: 'UIImagePickerController' has been explicitly marked unavailable here
70 |
71 | + (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType)sourceType; // returns YES if source is available (i.e. camera present)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:22:47: error: cannot find type 'Context' in scope
20 | var sourceType: UIImagePickerController.SourceType
21 |
22 | public func makeUIViewController(context: Context) -> UIImagePickerController {
| `- error: cannot find type 'Context' in scope
23 | let picker = UIImagePickerController()
24 | picker.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:22:59: error: 'UIImagePickerController' is unavailable in watchOS
20 | var sourceType: UIImagePickerController.SourceType
21 |
22 | public func makeUIViewController(context: Context) -> UIImagePickerController {
| `- error: 'UIImagePickerController' is unavailable in watchOS
23 | let picker = UIImagePickerController()
24 | picker.delegate = context.coordinator
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:69:12: note: 'UIImagePickerController' has been explicitly marked unavailable here
67 |
68 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
69 | @interface UIImagePickerController : UINavigationController <NSCoding>
| `- note: 'UIImagePickerController' has been explicitly marked unavailable here
70 |
71 | + (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType)sourceType; // returns YES if source is available (i.e. camera present)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:29:94: error: cannot find type 'Context' in scope
27 | }
28 |
29 | public func updateUIViewController(_ uiViewController: UIImagePickerController, context: Context) {}
| `- error: cannot find type 'Context' in scope
30 |
31 | public func makeCoordinator() -> Coordinator {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:29:60: error: 'UIImagePickerController' is unavailable in watchOS
27 | }
28 |
29 | public func updateUIViewController(_ uiViewController: UIImagePickerController, context: Context) {}
| `- error: 'UIImagePickerController' is unavailable in watchOS
30 |
31 | public func makeCoordinator() -> Coordinator {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:69:12: note: 'UIImagePickerController' has been explicitly marked unavailable here
67 |
68 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
69 | @interface UIImagePickerController : UINavigationController <NSCoding>
| `- note: 'UIImagePickerController' has been explicitly marked unavailable here
70 |
71 | + (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType)sourceType; // returns YES if source is available (i.e. camera present)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:42:53: error: 'UIImagePickerController' is unavailable in watchOS
40 | }
41 |
42 | public func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey: Any]) {
| `- error: 'UIImagePickerController' is unavailable in watchOS
43 | if let image = info[.originalImage] as? UIImage {
44 | parent.onImagePicked(image)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:69:12: note: 'UIImagePickerController' has been explicitly marked unavailable here
67 |
68 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
69 | @interface UIImagePickerController : UINavigationController <NSCoding>
| `- note: 'UIImagePickerController' has been explicitly marked unavailable here
70 |
71 | + (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType)sourceType; // returns YES if source is available (i.e. camera present)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:42:115: error: 'UIImagePickerController' is unavailable in watchOS
40 | }
41 |
42 | public func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey: Any]) {
| `- error: 'UIImagePickerController' is unavailable in watchOS
43 | if let image = info[.originalImage] as? UIImage {
44 | parent.onImagePicked(image)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:69:12: note: 'UIImagePickerController' has been explicitly marked unavailable here
67 |
68 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
69 | @interface UIImagePickerController : UINavigationController <NSCoding>
| `- note: 'UIImagePickerController' has been explicitly marked unavailable here
70 |
71 | + (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType)sourceType; // returns YES if source is available (i.e. camera present)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:49:62: error: 'UIImagePickerController' is unavailable in watchOS
47 | }
48 |
49 | public func imagePickerControllerDidCancel(_ picker: UIImagePickerController) {
| `- error: 'UIImagePickerController' is unavailable in watchOS
50 | picker.dismiss(animated: true)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:69:12: note: 'UIImagePickerController' has been explicitly marked unavailable here
67 |
68 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
69 | @interface UIImagePickerController : UINavigationController <NSCoding>
| `- note: 'UIImagePickerController' has been explicitly marked unavailable here
70 |
71 | + (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType)sourceType; // returns YES if source is available (i.e. camera present)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:35:41: error: 'UINavigationControllerDelegate' is unavailable in watchOS
33 | }
34 |
35 | public class Coordinator: NSObject, UINavigationControllerDelegate, UIImagePickerControllerDelegate {
| `- error: 'UINavigationControllerDelegate' is unavailable in watchOS
36 | var parent: CameraImagePicker
37 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:128:11: note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
126 |
127 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
128 | @protocol UINavigationControllerDelegate <NSObject>
| `- note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
129 |
130 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:35:73: error: 'UIImagePickerControllerDelegate' is unavailable in watchOS
33 | }
34 |
35 | public class Coordinator: NSObject, UINavigationControllerDelegate, UIImagePickerControllerDelegate {
| `- error: 'UIImagePickerControllerDelegate' is unavailable in watchOS
36 | var parent: CameraImagePicker
37 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:113:11: note: 'UIImagePickerControllerDelegate' has been explicitly marked unavailable here
111 |
112 | API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
113 | @protocol UIImagePickerControllerDelegate<NSObject>
| `- note: 'UIImagePickerControllerDelegate' has been explicitly marked unavailable here
114 | @optional
115 | // The picker does not dismiss itself; the client dismisses it in these callbacks.
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:18:34: error: cannot find type 'UIViewControllerRepresentable' in scope
16 | /// CameraImagePicker(image: $image, sourceType: .camera)
17 | /// ```
18 | public struct CameraImagePicker: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
19 | let onImagePicked: (UIImage) -> Void // Callback for the selected image
20 | var sourceType: UIImagePickerController.SourceType
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:23:22: error: 'UIImagePickerController' is unavailable in watchOS
21 |
22 | public func makeUIViewController(context: Context) -> UIImagePickerController {
23 | let picker = UIImagePickerController()
| `- error: 'UIImagePickerController' is unavailable in watchOS
24 | picker.delegate = context.coordinator
25 | picker.sourceType = sourceType
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:69:12: note: 'UIImagePickerController' has been explicitly marked unavailable here
67 |
68 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
69 | @interface UIImagePickerController : UINavigationController <NSCoding>
| `- note: 'UIImagePickerController' has been explicitly marked unavailable here
70 |
71 | + (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType)sourceType; // returns YES if source is available (i.e. camera present)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:43:34: error: 'originalImage' is unavailable in watchOS
41 |
42 | public func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey: Any]) {
43 | if let image = info[.originalImage] as? UIImage {
| `- error: 'originalImage' is unavailable in watchOS
44 | parent.onImagePicked(image)
45 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:58:51: note: 'originalImage' has been explicitly marked unavailable here
56 | // info dictionary keys
57 | UIKIT_EXTERN UIImagePickerControllerInfoKey const UIImagePickerControllerMediaType API_UNAVAILABLE(tvos, watchos); // an NSString (UTI, i.e. kUTTypeImage)
58 | UIKIT_EXTERN UIImagePickerControllerInfoKey const UIImagePickerControllerOriginalImage API_UNAVAILABLE(tvos, watchos); // a UIImage
| `- note: 'originalImage' has been explicitly marked unavailable here
59 | UIKIT_EXTERN UIImagePickerControllerInfoKey const UIImagePickerControllerEditedImage API_UNAVAILABLE(tvos, watchos); // a UIImage
60 | UIKIT_EXTERN UIImagePickerControllerInfoKey const UIImagePickerControllerCropRect API_UNAVAILABLE(tvos, watchos); // an NSValue (CGRect)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift:72:43: error: 'systemGray6' is unavailable in watchOS
70 | }
71 | .padding()
72 | .background(Color(UIColor.systemGray6))
| `- error: 'systemGray6' is unavailable in watchOS
73 | .cornerRadius(8)
74 | }
/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:150:49: note: 'systemGray6' has been explicitly marked unavailable here
148 | @property (class, nonatomic, readonly) UIColor *systemGray4Color API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
149 | @property (class, nonatomic, readonly) UIColor *systemGray5Color API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
150 | @property (class, nonatomic, readonly) UIColor *systemGray6Color API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemGray6' has been explicitly marked unavailable here
151 |
152 | #pragma mark Tint color
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontStyleDropdownView.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FontStyleDropdownView.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/FontPicker/FontWeightDropdown.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FontWeightDropdown.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/RichTextEditorSwiftUI/ImagePickers/CameraImagePicker.swift (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CameraImagePicker.swift
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-APXDH8ULYLM6FD17YRA73TULO.pcm
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-21 11:52:44.701 xcodebuild[805:4751] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ RichTextEditorSwiftUI (in target 'RichTextEditorSwiftUI' from project 'RichTextEditorSwiftUI')
Building workspace RichTextEditorSwiftUI with scheme RichTextEditorSwiftUI
(3 failures)
BUILD FAILURE 6.4 watchOS