The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NKModalPresenter, reference 1.7.5 (d133cd), with Swift 6.4 for watchOS using Xcode 27.0 on 22 Sep 2026 05:23:31 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 NKModalPresenter -destination generic/platform=watchOS

Build Log

/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:277:18: error: 'UIPanGestureRecognizer' is unavailable in watchOS
 275 |
 276 | 	var tapGesture: UITapGestureRecognizer?
 277 | 	var panGesture: UIPanGestureRecognizer?
     |                  `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
 278 |
 279 | 	public init(viewController: UIViewController) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic)          NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos);   // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:279:30: error: 'UIViewController' is unavailable in watchOS
 277 | 	var panGesture: UIPanGestureRecognizer?
 278 |
 279 | 	public init(viewController: UIViewController) {
     |                              `- error: 'UIViewController' is unavailable in watchOS
 280 | 		super.init(nibName: nil, bundle: nil)
 281 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:700:63: error: 'UIView' is unavailable in watchOS
 698 | 	}
 699 |
 700 | 	private func animationBlock(duration: TimeInterval, options: UIView.AnimationOptions, animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil) {
     |                                                               `- error: 'UIView' is unavailable in watchOS
 701 | 		if duration == 0 {
 702 | 			animations()
/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/NKModalPresenter/NKModalController.swift:710:31: error: 'UIView' is unavailable in watchOS
 708 | 	}
 709 |
 710 | 	private func capture(_ view: UIView) -> UIImageView {
     |                               `- error: 'UIView' is unavailable in watchOS
 711 | 		let imageView = UIImageView(image: captureImage(view))
 712 | 		imageView.clipsToBounds = 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: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/NKModalPresenter/NKModalController.swift:710:42: error: 'UIImageView' is unavailable in watchOS
 708 | 	}
 709 |
 710 | 	private func capture(_ view: UIView) -> UIImageView {
     |                                          `- error: 'UIImageView' is unavailable in watchOS
 711 | 		let imageView = UIImageView(image: captureImage(view))
 712 | 		imageView.clipsToBounds = 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/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:720:36: error: 'UIView' is unavailable in watchOS
 718 | 	}
 719 |
 720 | 	private func captureImage(_ view: UIView) -> UIImage? {
     |                                    `- error: 'UIView' is unavailable in watchOS
 721 | 		UIGraphicsBeginImageContext(view.frame.size)
 722 |
/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/NKModalPresenter/NKModalController.swift:735:53: error: 'UIImageView' is unavailable in watchOS
 733 | 	}
 734 |
 735 | 	private func removeCapturedView(_ imageView: inout UIImageView?) {
     |                                                     `- error: 'UIImageView' is unavailable in watchOS
 736 | 		imageView?.removeFromSuperview()
 737 | 		imageView?.image = nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:863:30: error: 'UIPanGestureRecognizer' is unavailable in watchOS
 861 | 	fileprivate var originPoint: CGPoint = .zero
 862 |
 863 | 	@objc func onPan(_ gesture: UIPanGestureRecognizer) {
     |                              `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
 864 | 		let enablePanGesture = delegate?.shouldDragToDismiss(modalController: self) ?? dragToDismiss
 865 | 		guard enablePanGesture else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic)          NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos);   // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: error: cannot override 'shouldAutorotate' which has been marked unavailable
 987 | 	// Orientation
 988 |
 989 | 	public override var shouldAutorotate: Bool {
     |                      |- error: cannot override 'shouldAutorotate' which has been marked unavailable
     |                      `- note: remove 'override' modifier to declare a new 'shouldAutorotate'
 990 | 		return visibleViewController?.shouldAutorotate ?? true
 991 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:384:37: note: 'shouldAutorotate' has been explicitly marked unavailable here
382 |
383 | // New Autorotation support.
384 | @property(nonatomic, readonly) BOOL shouldAutorotate API_DEPRECATED("Update supported interface orientations and call setNeedsUpdateOfSupportedInterfaceOrientations to indicate a change.", ios(6.0, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
    |                                     `- note: 'shouldAutorotate' has been explicitly marked unavailable here
385 | @property(nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(tvos);
386 | // Returns interface orientation masks.
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:53: error: 'UIGestureRecognizer' is unavailable in watchOS
 964 | extension NKModalController: UIGestureRecognizerDelegate {
 965 |
 966 | 	public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
     |                                                     `- error: 'UIGestureRecognizer' is unavailable in watchOS
 967 | 	    if touch.view == view {
 968 | 			let enableTapOutsideToDismiss = delegate?.shouldTapOutsideToDismiss(modalController: self) ?? tapOutsideToDismiss
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:95: error: 'UITouch' is unavailable in watchOS
 964 | extension NKModalController: UIGestureRecognizerDelegate {
 965 |
 966 | 	public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
     |                                                                                               `- error: 'UITouch' is unavailable in watchOS
 967 | 	    if touch.view == view {
 968 | 			let enableTapOutsideToDismiss = delegate?.shouldTapOutsideToDismiss(modalController: self) ?? tapOutsideToDismiss
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:964:30: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 962 | }
 963 |
 964 | extension NKModalController: UIGestureRecognizerDelegate {
     |                              `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 965 |
 966 | 	public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 89 |
 90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 91 | @protocol UIGestureRecognizerDelegate <NSObject>
    |           `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 92 | @optional
 93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile NKModalController.swift
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:981:53: error: 'UIViewController' is unavailable in watchOS
 979 |
 980 | public class NKModalContainerViewController: UIViewController {
 981 | 	public fileprivate(set) var contentViewController: UIViewController!
     |                                                     `- error: 'UIViewController' is unavailable in watchOS
 982 |
 983 | 	var visibleViewController: UIViewController? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:983:29: error: 'UIViewController' is unavailable in watchOS
 981 | 	public fileprivate(set) var contentViewController: UIViewController!
 982 |
 983 | 	var visibleViewController: UIViewController? {
     |                             `- error: 'UIViewController' is unavailable in watchOS
 984 | 		return (contentViewController as? UINavigationController)?.visibleViewController ?? contentViewController
 985 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:993:54: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 991 | 	}
 992 |
 993 | 	public override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
     |                                                      `- error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 994 | 		return visibleViewController?.supportedInterfaceOrientations ?? .all
 995 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(tvos, watchos);
48 |
49 | typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
   |                                `- note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
50 |     UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
51 |     UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:997:68: error: 'UIInterfaceOrientation' is unavailable in watchOS
 995 | 	}
 996 |
 997 | 	public override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
     |                                                                    `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 998 | 		#if targetEnvironment(macCatalyst)
 999 | 		return visibleViewController?.preferredInterfaceOrientationForPresentation ?? UIApplication.shared.windows.first?.windowScene?.interfaceOrientation ?? .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1011:47: error: 'UIStatusBarStyle' is unavailable in watchOS
1009 | 	}
1010 |
1011 | 	public override var preferredStatusBarStyle: UIStatusBarStyle {
     |                                               `- error: 'UIStatusBarStyle' is unavailable in watchOS
1012 | 		return visibleViewController?.preferredStatusBarStyle ?? .default
1013 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
 20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
 21 |
 22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
    |                            `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
 23 |     UIStatusBarStyleDefault                                  = 0, // Automatically chooses light or dark content based on the user interface style
 24 |     UIStatusBarStyleLightContent     API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1015:57: error: 'UIStatusBarAnimation' is unavailable in watchOS
1013 | 	}
1014 |
1015 | 	public override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
     |                                                         `- error: 'UIStatusBarAnimation' is unavailable in watchOS
1016 | 		return visibleViewController?.preferredStatusBarUpdateAnimation ?? .fade
1017 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:31:28: note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
 29 | } API_UNAVAILABLE(tvos, watchos);
 30 |
 31 | typedef NS_ENUM(NSInteger, UIStatusBarAnimation) {
    |                            `- note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
 32 |     UIStatusBarAnimationNone,
 33 |     UIStatusBarAnimationFade API_AVAILABLE(ios(3.2)),
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:980:46: error: 'UIViewController' is unavailable in watchOS
 978 | }
 979 |
 980 | public class NKModalContainerViewController: UIViewController {
     |                                              `- error: 'UIViewController' is unavailable in watchOS
 981 | 	public fileprivate(set) var contentViewController: UIViewController!
 982 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1023:11: error: 'UIViewController' is unavailable in watchOS
1021 | // Swizzle methods
1022 |
1023 | extension UIViewController {
     |           `- error: 'UIViewController' is unavailable in watchOS
1024 |
1025 | 	func swizzleInstanceMethod(from sel1: Selector, to sel2: Selector) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:28:18: error: 'UIView' is unavailable in watchOS
  26 | 	case fromRight
  27 | 	case fromCenter(scale: CGFloat)
  28 | 	case from(view: UIView)
     |                  `- error: 'UIView' is unavailable in watchOS
  29 | }
  30 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/NKModalPresenter/NKModalController.swift:38:16: error: 'UIView' is unavailable in watchOS
  36 | 	case toRight
  37 | 	case toCenter(scale: CGFloat)
  38 | 	case to(view: UIView)
     |                `- error: 'UIView' is unavailable in watchOS
  39 | }
  40 |
/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/NKModalPresenter/NKModalController.swift:50:84: error: 'UIViewController' is unavailable in watchOS
  48 | public protocol NKModalControllerDelegate {
  49 |
  50 | 	func modalController(_ controller: NKModalController, willPresent viewController: UIViewController)
     |                                                                                    `- error: 'UIViewController' is unavailable in watchOS
  51 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController)
  52 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:51:83: error: 'UIViewController' is unavailable in watchOS
  49 |
  50 | 	func modalController(_ controller: NKModalController, willPresent viewController: UIViewController)
  51 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController)
     |                                                                                   `- error: 'UIViewController' is unavailable in watchOS
  52 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
  53 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:52:84: error: 'UIViewController' is unavailable in watchOS
  50 | 	func modalController(_ controller: NKModalController, willPresent viewController: UIViewController)
  51 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController)
  52 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
     |                                                                                    `- error: 'UIViewController' is unavailable in watchOS
  53 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController)
  54 | 	func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:53:83: error: 'UIViewController' is unavailable in watchOS
  51 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController)
  52 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
  53 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController)
     |                                                                                   `- error: 'UIViewController' is unavailable in watchOS
  54 | 	func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State)
  55 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:54:67: error: 'UIGestureRecognizer' is unavailable in watchOS
  52 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
  53 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController)
  54 | 	func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State)
     |                                                                   `- error: 'UIGestureRecognizer' is unavailable in watchOS
  55 |
  56 | 	func shouldTapOutsideToDismiss(modalController: NKModalController) -> Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:61:71: error: 'UIViewController' is unavailable in watchOS
  59 | 	func shouldDisableUserInteractionWhileDismissing(modalController: NKModalController) -> Bool
  60 |
  61 | 	func presentingViewController(modalController: NKModalController) -> UIViewController?
     |                                                                       `- error: 'UIViewController' is unavailable in watchOS
  62 | 	func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle
  63 | 	func presentPosition(modalController: NKModalController) -> NKModalPresentPosition
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:62:59: error: 'UIModalPresentationStyle' is unavailable in watchOS
  60 |
  61 | 	func presentingViewController(modalController: NKModalController) -> UIViewController?
  62 | 	func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle
     |                                                           `- error: 'UIModalPresentationStyle' is unavailable in watchOS
  63 | 	func presentPosition(modalController: NKModalController) -> NKModalPresentPosition
  64 | 	func presentAnimation(modalController: NKModalController) -> NKModalPresentAnimation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
 47 | } API_UNAVAILABLE(watchos);
 48 |
 49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
    |                            `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
 50 |     UIModalPresentationFullScreen = 0,
 51 |     UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:70:57: error: 'CACornerMask' is unavailable in watchOS
  68 | 	func backgroundColor(modalController: NKModalController) -> UIColor
  69 | 	func cornerRadius(modalController: NKModalController) -> CGFloat
  70 | 	func cornerMask(modalController: NKModalController) -> CACornerMask
     |                                                         `- error: 'CACornerMask' is unavailable in watchOS
  71 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level
  72 | 	func transitionView(modalController: NKModalController) -> UIView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:106:33: note: 'CACornerMask' has been explicitly marked unavailable here
 104 | /* Bit definitions for `maskedCorners' property. */
 105 |
 106 | typedef NS_OPTIONS (NSUInteger, CACornerMask)
     |                                 `- note: 'CACornerMask' has been explicitly marked unavailable here
 107 | {
 108 |   kCALayerMinXMinYCorner = 1U << 0,
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:71:58: error: 'UIWindow' is unavailable in watchOS
  69 | 	func cornerRadius(modalController: NKModalController) -> CGFloat
  70 | 	func cornerMask(modalController: NKModalController) -> CACornerMask
  71 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level
     |                                                          `- error: 'UIWindow' is unavailable in watchOS
  72 | 	func transitionView(modalController: NKModalController) -> UIView?
  73 | 	func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:72:61: error: 'UIView' is unavailable in watchOS
  70 | 	func cornerMask(modalController: NKModalController) -> CACornerMask
  71 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level
  72 | 	func transitionView(modalController: NKModalController) -> UIView?
     |                                                             `- error: 'UIView' is unavailable in watchOS
  73 | 	func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode?
  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/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/NKModalPresenter/NKModalController.swift:73:72: error: 'UIView' is unavailable in watchOS
  71 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level
  72 | 	func transitionView(modalController: NKModalController) -> UIView?
  73 | 	func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode?
     |                                                                        `- error: 'UIView' is unavailable in watchOS
  74 |
  75 | }
/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/NKModalPresenter/NKModalController.swift:79:84: error: 'UIViewController' is unavailable in watchOS
  77 | public extension NKModalControllerDelegate {
  78 |
  79 | 	func modalController(_ controller: NKModalController, willPresent viewController: UIViewController) {}
     |                                                                                    `- error: 'UIViewController' is unavailable in watchOS
  80 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController) {}
  81 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:80:83: error: 'UIViewController' is unavailable in watchOS
  78 |
  79 | 	func modalController(_ controller: NKModalController, willPresent viewController: UIViewController) {}
  80 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController) {}
     |                                                                                   `- error: 'UIViewController' is unavailable in watchOS
  81 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
  82 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController) {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:81:84: error: 'UIViewController' is unavailable in watchOS
  79 | 	func modalController(_ controller: NKModalController, willPresent viewController: UIViewController) {}
  80 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController) {}
  81 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
     |                                                                                    `- error: 'UIViewController' is unavailable in watchOS
  82 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController) {}
  83 | 	func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State) {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:82:83: error: 'UIViewController' is unavailable in watchOS
  80 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController) {}
  81 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
  82 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController) {}
     |                                                                                   `- error: 'UIViewController' is unavailable in watchOS
  83 | 	func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State) {}
  84 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:83:67: error: 'UIGestureRecognizer' is unavailable in watchOS
  81 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
  82 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController) {}
  83 | 	func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State) {}
     |                                                                   `- error: 'UIGestureRecognizer' is unavailable in watchOS
  84 |
  85 | 	func shouldTapOutsideToDismiss(modalController: NKModalController) -> Bool { 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/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:90:71: error: 'UIViewController' is unavailable in watchOS
  88 | 	func shouldDisableUserInteractionWhileDismissing(modalController: NKModalController) -> Bool { false }
  89 |
  90 | 	func presentingViewController(modalController: NKModalController) -> UIViewController? { nil }
     |                                                                       `- error: 'UIViewController' is unavailable in watchOS
  91 | 	func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle { .custom }
  92 | 	func presentPosition(modalController: NKModalController) -> NKModalPresentPosition { .center }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:91:59: error: 'UIModalPresentationStyle' is unavailable in watchOS
  89 |
  90 | 	func presentingViewController(modalController: NKModalController) -> UIViewController? { nil }
  91 | 	func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle { .custom }
     |                                                           `- error: 'UIModalPresentationStyle' is unavailable in watchOS
  92 | 	func presentPosition(modalController: NKModalController) -> NKModalPresentPosition { .center }
  93 | 	func presentAnimation(modalController: NKModalController) -> NKModalPresentAnimation { .auto }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
 47 | } API_UNAVAILABLE(watchos);
 48 |
 49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
    |                            `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
 50 |     UIModalPresentationFullScreen = 0,
 51 |     UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:99:57: error: 'CACornerMask' is unavailable in watchOS
  97 | 	func backgroundColor(modalController: NKModalController) -> UIColor { NKModalController.backgroundColor }
  98 | 	func cornerRadius(modalController: NKModalController) -> CGFloat { NKModalController.cornerRadius }
  99 | 	func cornerMask(modalController: NKModalController) -> CACornerMask { [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner] }
     |                                                         `- error: 'CACornerMask' is unavailable in watchOS
 100 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level { .normal + 1 }
 101 | 	func transitionView(modalController: NKModalController) -> UIView? { nil }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:106:33: note: 'CACornerMask' has been explicitly marked unavailable here
 104 | /* Bit definitions for `maskedCorners' property. */
 105 |
 106 | typedef NS_OPTIONS (NSUInteger, CACornerMask)
     |                                 `- note: 'CACornerMask' has been explicitly marked unavailable here
 107 | {
 108 |   kCALayerMinXMinYCorner = 1U << 0,
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:100:58: error: 'UIWindow' is unavailable in watchOS
  98 | 	func cornerRadius(modalController: NKModalController) -> CGFloat { NKModalController.cornerRadius }
  99 | 	func cornerMask(modalController: NKModalController) -> CACornerMask { [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner] }
 100 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level { .normal + 1 }
     |                                                          `- error: 'UIWindow' is unavailable in watchOS
 101 | 	func transitionView(modalController: NKModalController) -> UIView? { nil }
 102 | 	func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode? { nil }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:101:61: error: 'UIView' is unavailable in watchOS
  99 | 	func cornerMask(modalController: NKModalController) -> CACornerMask { [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner] }
 100 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level { .normal + 1 }
 101 | 	func transitionView(modalController: NKModalController) -> UIView? { nil }
     |                                                             `- error: 'UIView' is unavailable in watchOS
 102 | 	func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode? { nil }
 103 |
/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/NKModalPresenter/NKModalController.swift:102:72: error: 'UIView' is unavailable in watchOS
 100 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level { .normal + 1 }
 101 | 	func transitionView(modalController: NKModalController) -> UIView? { nil }
 102 | 	func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode? { nil }
     |                                                                        `- error: 'UIView' is unavailable in watchOS
 103 |
 104 | }
/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/NKModalPresenter/NKModalController.swift:108:32: error: 'UIView' is unavailable in watchOS
 106 | extension NKModalPresentPosition {
 107 |
 108 | 	func toPresentAnimation(view: UIView) -> NKModalPresentAnimation {
     |                                `- error: 'UIView' is unavailable in watchOS
 109 | 		switch self {
 110 | 		case .top: return .fromTop
/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/NKModalPresenter/NKModalController.swift:137:32: error: 'UIView' is unavailable in watchOS
 135 | 	}
 136 |
 137 | 	func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
     |                                `- error: 'UIView' is unavailable in watchOS
 138 | 		switch self {
 139 | 		case .top: return .toTop
/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/NKModalPresenter/NKModalController.swift:170:32: error: 'UIView' is unavailable in watchOS
 168 | extension NKModalPresentAnimation {
 169 |
 170 | 	func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
     |                                `- error: 'UIView' is unavailable in watchOS
 171 | 		switch self {
 172 | 			case .fromTop: return .toTop
/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/NKModalPresenter/NKModalController.swift:185:30: error: 'UIView' is unavailable in watchOS
 183 | extension NKModalEasingAnimation {
 184 |
 185 | 	func toAnimationOption() -> UIView.AnimationOptions {
     |                              `- error: 'UIView' is unavailable in watchOS
 186 | 		switch self {
 187 | 			case .easeIn: return .curveEaseIn
/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/NKModalPresenter/NKModalController.swift:198:24: error: 'UIWindow' is unavailable in watchOS
 196 | extension UIWindow {
 197 |
 198 | 	static var keyWindow: UIWindow? {
     |                        `- error: 'UIWindow' is unavailable in watchOS
 199 | 		if #available(iOS 13, *) {
 200 | 			return UIApplication.shared.windows.first { $0.isKeyWindow }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:196:11: error: 'UIWindow' is unavailable in watchOS
 194 | }
 195 |
 196 | extension UIWindow {
     |           `- error: 'UIWindow' is unavailable in watchOS
 197 |
 198 | 	static var keyWindow: UIWindow? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:233:43: error: 'UIView' is unavailable in watchOS
 231 | 	public var avoidKeyboard = false
 232 |
 233 | 	public fileprivate(set) var contentView: UIView!
     |                                           `- error: 'UIView' is unavailable in watchOS
 234 | 	public var anchorView: UIView? {
 235 | 		didSet {
/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/NKModalPresenter/NKModalController.swift:234:25: error: 'UIView' is unavailable in watchOS
 232 |
 233 | 	public fileprivate(set) var contentView: UIView!
 234 | 	public var anchorView: UIView? {
     |                         `- error: 'UIView' is unavailable in watchOS
 235 | 		didSet {
 236 | 			guard anchorView != oldValue else { return }
/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/NKModalPresenter/NKModalController.swift:254:32: error: 'CACornerMask' is unavailable in watchOS
 252 | 	public static var easingAnimation: NKModalEasingAnimation = .easeInOut
 253 | 	public static var cornerRadius: CGFloat = 8.0
 254 | 	public static var cornerMask: CACornerMask = [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner]
     |                                `- error: 'CACornerMask' is unavailable in watchOS
 255 |
 256 | 	public var backgroundColor = NKModalController.backgroundColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:106:33: note: 'CACornerMask' has been explicitly marked unavailable here
 104 | /* Bit definitions for `maskedCorners' property. */
 105 |
 106 | typedef NS_OPTIONS (NSUInteger, CACornerMask)
     |                                 `- note: 'CACornerMask' has been explicitly marked unavailable here
 107 | {
 108 |   kCALayerMinXMinYCorner = 1U << 0,
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:260:25: error: 'CACornerMask' is unavailable in watchOS
 258 | 	public var easingAnimation: NKModalEasingAnimation = NKModalController.easingAnimation
 259 | 	public var cornerRadius: CGFloat = NKModalController.cornerRadius
 260 | 	public var cornerMask: CACornerMask = NKModalController.cornerMask
     |                         `- error: 'CACornerMask' is unavailable in watchOS
 261 |
 262 | 	let containerView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:106:33: note: 'CACornerMask' has been explicitly marked unavailable here
 104 | /* Bit definitions for `maskedCorners' property. */
 105 |
 106 | typedef NS_OPTIONS (NSUInteger, CACornerMask)
     |                                 `- note: 'CACornerMask' has been explicitly marked unavailable here
 107 | {
 108 |   kCALayerMinXMinYCorner = 1U << 0,
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:262:22: error: 'UIView' is unavailable in watchOS
 260 | 	public var cornerMask: CACornerMask = NKModalController.cornerMask
 261 |
 262 | 	let containerView = UIView()
     |                      `- error: 'UIView' is unavailable in watchOS
 263 | 	var window: UIWindow?
 264 | 	weak var lastWindow: UIWindow?
/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/NKModalPresenter/NKModalController.swift:262:22: error: 'init()' is unavailable in watchOS
 260 | 	public var cornerMask: CACornerMask = NKModalController.cornerMask
 261 |
 262 | 	let containerView = UIView()
     |                      `- error: 'init()' is unavailable in watchOS
 263 | 	var window: UIWindow?
 264 | 	weak var lastWindow: UIWindow?
/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/NKModalPresenter/NKModalController.swift:263:14: error: 'UIWindow' is unavailable in watchOS
 261 |
 262 | 	let containerView = UIView()
 263 | 	var window: UIWindow?
     |              `- error: 'UIWindow' is unavailable in watchOS
 264 | 	weak var lastWindow: UIWindow?
 265 | 	var lastPosition: (container: UIView, frame: CGRect)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:264:23: error: 'UIWindow' is unavailable in watchOS
 262 | 	let containerView = UIView()
 263 | 	var window: UIWindow?
 264 | 	weak var lastWindow: UIWindow?
     |                       `- error: 'UIWindow' is unavailable in watchOS
 265 | 	var lastPosition: (container: UIView, frame: CGRect)?
 266 | 	var anchorCapturedView: UIImageView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:265:32: error: 'UIView' is unavailable in watchOS
 263 | 	var window: UIWindow?
 264 | 	weak var lastWindow: UIWindow?
 265 | 	var lastPosition: (container: UIView, frame: CGRect)?
     |                                `- error: 'UIView' is unavailable in watchOS
 266 | 	var anchorCapturedView: UIImageView?
 267 | 	var contentCapturedView: UIImageView?
/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/NKModalPresenter/NKModalController.swift:266:26: error: 'UIImageView' is unavailable in watchOS
 264 | 	weak var lastWindow: UIWindow?
 265 | 	var lastPosition: (container: UIView, frame: CGRect)?
 266 | 	var anchorCapturedView: UIImageView?
     |                          `- error: 'UIImageView' is unavailable in watchOS
 267 | 	var contentCapturedView: UIImageView?
 268 | 	var transitionView: UIView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:267:27: error: 'UIImageView' is unavailable in watchOS
 265 | 	var lastPosition: (container: UIView, frame: CGRect)?
 266 | 	var anchorCapturedView: UIImageView?
 267 | 	var contentCapturedView: UIImageView?
     |                           `- error: 'UIImageView' is unavailable in watchOS
 268 | 	var transitionView: UIView?
 269 | 	var lastTransitionViewAlpha: CGFloat = 1.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:268:22: error: 'UIView' is unavailable in watchOS
 266 | 	var anchorCapturedView: UIImageView?
 267 | 	var contentCapturedView: UIImageView?
 268 | 	var transitionView: UIView?
     |                      `- error: 'UIView' is unavailable in watchOS
 269 | 	var lastTransitionViewAlpha: CGFloat = 1.0
 270 | 	var keyboardHeight: CGFloat = 0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/NKModalPresenter/NKModalController.swift:274:23: error: 'UIInterfaceOrientation' is unavailable in watchOS
 272 | 	var lastAnchorViewAlpha: CGFloat = 1.0
 273 | 	var lastViewSize: CGSize?
 274 | 	var lastOrientation: UIInterfaceOrientation?
     |                       `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 275 |
 276 | 	var tapGesture: UITapGestureRecognizer?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:276:18: error: 'UITapGestureRecognizer' is unavailable in watchOS
 274 | 	var lastOrientation: UIInterfaceOrientation?
 275 |
 276 | 	var tapGesture: UITapGestureRecognizer?
     |                  `- error: 'UITapGestureRecognizer' is unavailable in watchOS
 277 | 	var panGesture: UIPanGestureRecognizer?
 278 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger  numberOfTapsRequired;       // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:277:18: error: 'UIPanGestureRecognizer' is unavailable in watchOS
 275 |
 276 | 	var tapGesture: UITapGestureRecognizer?
 277 | 	var panGesture: UIPanGestureRecognizer?
     |                  `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
 278 |
 279 | 	public init(viewController: UIViewController) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic)          NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos);   // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:279:30: error: 'UIViewController' is unavailable in watchOS
 277 | 	var panGesture: UIPanGestureRecognizer?
 278 |
 279 | 	public init(viewController: UIViewController) {
     |                              `- error: 'UIViewController' is unavailable in watchOS
 280 | 		super.init(nibName: nil, bundle: nil)
 281 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:700:63: error: 'UIView' is unavailable in watchOS
 698 | 	}
 699 |
 700 | 	private func animationBlock(duration: TimeInterval, options: UIView.AnimationOptions, animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil) {
     |                                                               `- error: 'UIView' is unavailable in watchOS
 701 | 		if duration == 0 {
 702 | 			animations()
/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/NKModalPresenter/NKModalController.swift:710:31: error: 'UIView' is unavailable in watchOS
 708 | 	}
 709 |
 710 | 	private func capture(_ view: UIView) -> UIImageView {
     |                               `- error: 'UIView' is unavailable in watchOS
 711 | 		let imageView = UIImageView(image: captureImage(view))
 712 | 		imageView.clipsToBounds = 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: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/NKModalPresenter/NKModalController.swift:710:42: error: 'UIImageView' is unavailable in watchOS
 708 | 	}
 709 |
 710 | 	private func capture(_ view: UIView) -> UIImageView {
     |                                          `- error: 'UIImageView' is unavailable in watchOS
 711 | 		let imageView = UIImageView(image: captureImage(view))
 712 | 		imageView.clipsToBounds = 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/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:720:36: error: 'UIView' is unavailable in watchOS
 718 | 	}
 719 |
 720 | 	private func captureImage(_ view: UIView) -> UIImage? {
     |                                    `- error: 'UIView' is unavailable in watchOS
 721 | 		UIGraphicsBeginImageContext(view.frame.size)
 722 |
/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/NKModalPresenter/NKModalController.swift:735:53: error: 'UIImageView' is unavailable in watchOS
 733 | 	}
 734 |
 735 | 	private func removeCapturedView(_ imageView: inout UIImageView?) {
     |                                                     `- error: 'UIImageView' is unavailable in watchOS
 736 | 		imageView?.removeFromSuperview()
 737 | 		imageView?.image = nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:863:30: error: 'UIPanGestureRecognizer' is unavailable in watchOS
 861 | 	fileprivate var originPoint: CGPoint = .zero
 862 |
 863 | 	@objc func onPan(_ gesture: UIPanGestureRecognizer) {
     |                              `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
 864 | 		let enablePanGesture = delegate?.shouldDragToDismiss(modalController: self) ?? dragToDismiss
 865 | 		guard enablePanGesture else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic)          NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos);   // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: error: cannot override 'shouldAutorotate' which has been marked unavailable
 987 | 	// Orientation
 988 |
 989 | 	public override var shouldAutorotate: Bool {
     |                      |- error: cannot override 'shouldAutorotate' which has been marked unavailable
     |                      `- note: remove 'override' modifier to declare a new 'shouldAutorotate'
 990 | 		return visibleViewController?.shouldAutorotate ?? true
 991 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:384:37: note: 'shouldAutorotate' has been explicitly marked unavailable here
382 |
383 | // New Autorotation support.
384 | @property(nonatomic, readonly) BOOL shouldAutorotate API_DEPRECATED("Update supported interface orientations and call setNeedsUpdateOfSupportedInterfaceOrientations to indicate a change.", ios(6.0, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
    |                                     `- note: 'shouldAutorotate' has been explicitly marked unavailable here
385 | @property(nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(tvos);
386 | // Returns interface orientation masks.
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:53: error: 'UIGestureRecognizer' is unavailable in watchOS
 964 | extension NKModalController: UIGestureRecognizerDelegate {
 965 |
 966 | 	public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
     |                                                     `- error: 'UIGestureRecognizer' is unavailable in watchOS
 967 | 	    if touch.view == view {
 968 | 			let enableTapOutsideToDismiss = delegate?.shouldTapOutsideToDismiss(modalController: self) ?? tapOutsideToDismiss
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:95: error: 'UITouch' is unavailable in watchOS
 964 | extension NKModalController: UIGestureRecognizerDelegate {
 965 |
 966 | 	public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
     |                                                                                               `- error: 'UITouch' is unavailable in watchOS
 967 | 	    if touch.view == view {
 968 | 			let enableTapOutsideToDismiss = delegate?.shouldTapOutsideToDismiss(modalController: self) ?? tapOutsideToDismiss
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:964:30: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 962 | }
 963 |
 964 | extension NKModalController: UIGestureRecognizerDelegate {
     |                              `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 965 |
 966 | 	public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 89 |
 90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 91 | @protocol UIGestureRecognizerDelegate <NSObject>
    |           `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 92 | @optional
 93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile NKModalController.swift
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:981:53: error: 'UIViewController' is unavailable in watchOS
 979 |
 980 | public class NKModalContainerViewController: UIViewController {
 981 | 	public fileprivate(set) var contentViewController: UIViewController!
     |                                                     `- error: 'UIViewController' is unavailable in watchOS
 982 |
 983 | 	var visibleViewController: UIViewController? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:983:29: error: 'UIViewController' is unavailable in watchOS
 981 | 	public fileprivate(set) var contentViewController: UIViewController!
 982 |
 983 | 	var visibleViewController: UIViewController? {
     |                             `- error: 'UIViewController' is unavailable in watchOS
 984 | 		return (contentViewController as? UINavigationController)?.visibleViewController ?? contentViewController
 985 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:993:54: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 991 | 	}
 992 |
 993 | 	public override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
     |                                                      `- error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 994 | 		return visibleViewController?.supportedInterfaceOrientations ?? .all
 995 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(tvos, watchos);
48 |
49 | typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
   |                                `- note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
50 |     UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
51 |     UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:997:68: error: 'UIInterfaceOrientation' is unavailable in watchOS
 995 | 	}
 996 |
 997 | 	public override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
     |                                                                    `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 998 | 		#if targetEnvironment(macCatalyst)
 999 | 		return visibleViewController?.preferredInterfaceOrientationForPresentation ?? UIApplication.shared.windows.first?.windowScene?.interfaceOrientation ?? .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1011:47: error: 'UIStatusBarStyle' is unavailable in watchOS
1009 | 	}
1010 |
1011 | 	public override var preferredStatusBarStyle: UIStatusBarStyle {
     |                                               `- error: 'UIStatusBarStyle' is unavailable in watchOS
1012 | 		return visibleViewController?.preferredStatusBarStyle ?? .default
1013 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
 20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
 21 |
 22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
    |                            `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
 23 |     UIStatusBarStyleDefault                                  = 0, // Automatically chooses light or dark content based on the user interface style
 24 |     UIStatusBarStyleLightContent     API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1015:57: error: 'UIStatusBarAnimation' is unavailable in watchOS
1013 | 	}
1014 |
1015 | 	public override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
     |                                                         `- error: 'UIStatusBarAnimation' is unavailable in watchOS
1016 | 		return visibleViewController?.preferredStatusBarUpdateAnimation ?? .fade
1017 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:31:28: note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
 29 | } API_UNAVAILABLE(tvos, watchos);
 30 |
 31 | typedef NS_ENUM(NSInteger, UIStatusBarAnimation) {
    |                            `- note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
 32 |     UIStatusBarAnimationNone,
 33 |     UIStatusBarAnimationFade API_AVAILABLE(ios(3.2)),
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:980:46: error: 'UIViewController' is unavailable in watchOS
 978 | }
 979 |
 980 | public class NKModalContainerViewController: UIViewController {
     |                                              `- error: 'UIViewController' is unavailable in watchOS
 981 | 	public fileprivate(set) var contentViewController: UIViewController!
 982 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftEmitModule normal arm64 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:28:18: error: 'UIView' is unavailable in watchOS
  26 | 	case fromRight
  27 | 	case fromCenter(scale: CGFloat)
  28 | 	case from(view: UIView)
     |                  `- error: 'UIView' is unavailable in watchOS
  29 | }
  30 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/NKModalPresenter/NKModalController.swift:38:16: error: 'UIView' is unavailable in watchOS
  36 | 	case toRight
  37 | 	case toCenter(scale: CGFloat)
  38 | 	case to(view: UIView)
     |                `- error: 'UIView' is unavailable in watchOS
  39 | }
  40 |
/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/NKModalPresenter/NKModalController.swift:50:84: error: 'UIViewController' is unavailable in watchOS
  48 | public protocol NKModalControllerDelegate {
  49 |
  50 | 	func modalController(_ controller: NKModalController, willPresent viewController: UIViewController)
     |                                                                                    `- error: 'UIViewController' is unavailable in watchOS
  51 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController)
  52 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:51:83: error: 'UIViewController' is unavailable in watchOS
  49 |
  50 | 	func modalController(_ controller: NKModalController, willPresent viewController: UIViewController)
  51 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController)
     |                                                                                   `- error: 'UIViewController' is unavailable in watchOS
  52 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
  53 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:52:84: error: 'UIViewController' is unavailable in watchOS
  50 | 	func modalController(_ controller: NKModalController, willPresent viewController: UIViewController)
  51 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController)
  52 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
     |                                                                                    `- error: 'UIViewController' is unavailable in watchOS
  53 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController)
  54 | 	func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:53:83: error: 'UIViewController' is unavailable in watchOS
  51 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController)
  52 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
  53 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController)
     |                                                                                   `- error: 'UIViewController' is unavailable in watchOS
  54 | 	func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State)
  55 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:54:67: error: 'UIGestureRecognizer' is unavailable in watchOS
  52 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
  53 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController)
  54 | 	func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State)
     |                                                                   `- error: 'UIGestureRecognizer' is unavailable in watchOS
  55 |
  56 | 	func shouldTapOutsideToDismiss(modalController: NKModalController) -> Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:61:71: error: 'UIViewController' is unavailable in watchOS
  59 | 	func shouldDisableUserInteractionWhileDismissing(modalController: NKModalController) -> Bool
  60 |
  61 | 	func presentingViewController(modalController: NKModalController) -> UIViewController?
     |                                                                       `- error: 'UIViewController' is unavailable in watchOS
  62 | 	func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle
  63 | 	func presentPosition(modalController: NKModalController) -> NKModalPresentPosition
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:62:59: error: 'UIModalPresentationStyle' is unavailable in watchOS
  60 |
  61 | 	func presentingViewController(modalController: NKModalController) -> UIViewController?
  62 | 	func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle
     |                                                           `- error: 'UIModalPresentationStyle' is unavailable in watchOS
  63 | 	func presentPosition(modalController: NKModalController) -> NKModalPresentPosition
  64 | 	func presentAnimation(modalController: NKModalController) -> NKModalPresentAnimation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
 47 | } API_UNAVAILABLE(watchos);
 48 |
 49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
    |                            `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
 50 |     UIModalPresentationFullScreen = 0,
 51 |     UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:70:57: error: 'CACornerMask' is unavailable in watchOS
  68 | 	func backgroundColor(modalController: NKModalController) -> UIColor
  69 | 	func cornerRadius(modalController: NKModalController) -> CGFloat
  70 | 	func cornerMask(modalController: NKModalController) -> CACornerMask
     |                                                         `- error: 'CACornerMask' is unavailable in watchOS
  71 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level
  72 | 	func transitionView(modalController: NKModalController) -> UIView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:106:33: note: 'CACornerMask' has been explicitly marked unavailable here
 104 | /* Bit definitions for `maskedCorners' property. */
 105 |
 106 | typedef NS_OPTIONS (NSUInteger, CACornerMask)
     |                                 `- note: 'CACornerMask' has been explicitly marked unavailable here
 107 | {
 108 |   kCALayerMinXMinYCorner = 1U << 0,
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:71:58: error: 'UIWindow' is unavailable in watchOS
  69 | 	func cornerRadius(modalController: NKModalController) -> CGFloat
  70 | 	func cornerMask(modalController: NKModalController) -> CACornerMask
  71 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level
     |                                                          `- error: 'UIWindow' is unavailable in watchOS
  72 | 	func transitionView(modalController: NKModalController) -> UIView?
  73 | 	func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:72:61: error: 'UIView' is unavailable in watchOS
  70 | 	func cornerMask(modalController: NKModalController) -> CACornerMask
  71 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level
  72 | 	func transitionView(modalController: NKModalController) -> UIView?
     |                                                             `- error: 'UIView' is unavailable in watchOS
  73 | 	func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode?
  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/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/NKModalPresenter/NKModalController.swift:73:72: error: 'UIView' is unavailable in watchOS
  71 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level
  72 | 	func transitionView(modalController: NKModalController) -> UIView?
  73 | 	func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode?
     |                                                                        `- error: 'UIView' is unavailable in watchOS
  74 |
  75 | }
/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/NKModalPresenter/NKModalController.swift:79:84: error: 'UIViewController' is unavailable in watchOS
  77 | public extension NKModalControllerDelegate {
  78 |
  79 | 	func modalController(_ controller: NKModalController, willPresent viewController: UIViewController) {}
     |                                                                                    `- error: 'UIViewController' is unavailable in watchOS
  80 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController) {}
  81 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:80:83: error: 'UIViewController' is unavailable in watchOS
  78 |
  79 | 	func modalController(_ controller: NKModalController, willPresent viewController: UIViewController) {}
  80 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController) {}
     |                                                                                   `- error: 'UIViewController' is unavailable in watchOS
  81 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
  82 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController) {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:81:84: error: 'UIViewController' is unavailable in watchOS
  79 | 	func modalController(_ controller: NKModalController, willPresent viewController: UIViewController) {}
  80 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController) {}
  81 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
     |                                                                                    `- error: 'UIViewController' is unavailable in watchOS
  82 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController) {}
  83 | 	func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State) {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:82:83: error: 'UIViewController' is unavailable in watchOS
  80 | 	func modalController(_ controller: NKModalController, didPresent viewController: UIViewController) {}
  81 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
  82 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController) {}
     |                                                                                   `- error: 'UIViewController' is unavailable in watchOS
  83 | 	func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State) {}
  84 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:83:67: error: 'UIGestureRecognizer' is unavailable in watchOS
  81 | 	func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
  82 | 	func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController) {}
  83 | 	func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State) {}
     |                                                                   `- error: 'UIGestureRecognizer' is unavailable in watchOS
  84 |
  85 | 	func shouldTapOutsideToDismiss(modalController: NKModalController) -> Bool { 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/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:90:71: error: 'UIViewController' is unavailable in watchOS
  88 | 	func shouldDisableUserInteractionWhileDismissing(modalController: NKModalController) -> Bool { false }
  89 |
  90 | 	func presentingViewController(modalController: NKModalController) -> UIViewController? { nil }
     |                                                                       `- error: 'UIViewController' is unavailable in watchOS
  91 | 	func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle { .custom }
  92 | 	func presentPosition(modalController: NKModalController) -> NKModalPresentPosition { .center }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:91:59: error: 'UIModalPresentationStyle' is unavailable in watchOS
  89 |
  90 | 	func presentingViewController(modalController: NKModalController) -> UIViewController? { nil }
  91 | 	func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle { .custom }
     |                                                           `- error: 'UIModalPresentationStyle' is unavailable in watchOS
  92 | 	func presentPosition(modalController: NKModalController) -> NKModalPresentPosition { .center }
  93 | 	func presentAnimation(modalController: NKModalController) -> NKModalPresentAnimation { .auto }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
 47 | } API_UNAVAILABLE(watchos);
 48 |
 49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
    |                            `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
 50 |     UIModalPresentationFullScreen = 0,
 51 |     UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:99:57: error: 'CACornerMask' is unavailable in watchOS
  97 | 	func backgroundColor(modalController: NKModalController) -> UIColor { NKModalController.backgroundColor }
  98 | 	func cornerRadius(modalController: NKModalController) -> CGFloat { NKModalController.cornerRadius }
  99 | 	func cornerMask(modalController: NKModalController) -> CACornerMask { [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner] }
     |                                                         `- error: 'CACornerMask' is unavailable in watchOS
 100 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level { .normal + 1 }
 101 | 	func transitionView(modalController: NKModalController) -> UIView? { nil }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:106:33: note: 'CACornerMask' has been explicitly marked unavailable here
 104 | /* Bit definitions for `maskedCorners' property. */
 105 |
 106 | typedef NS_OPTIONS (NSUInteger, CACornerMask)
     |                                 `- note: 'CACornerMask' has been explicitly marked unavailable here
 107 | {
 108 |   kCALayerMinXMinYCorner = 1U << 0,
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:100:58: error: 'UIWindow' is unavailable in watchOS
  98 | 	func cornerRadius(modalController: NKModalController) -> CGFloat { NKModalController.cornerRadius }
  99 | 	func cornerMask(modalController: NKModalController) -> CACornerMask { [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner] }
 100 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level { .normal + 1 }
     |                                                          `- error: 'UIWindow' is unavailable in watchOS
 101 | 	func transitionView(modalController: NKModalController) -> UIView? { nil }
 102 | 	func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode? { nil }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:101:61: error: 'UIView' is unavailable in watchOS
  99 | 	func cornerMask(modalController: NKModalController) -> CACornerMask { [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner] }
 100 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level { .normal + 1 }
 101 | 	func transitionView(modalController: NKModalController) -> UIView? { nil }
     |                                                             `- error: 'UIView' is unavailable in watchOS
 102 | 	func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode? { nil }
 103 |
/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/NKModalPresenter/NKModalController.swift:102:72: error: 'UIView' is unavailable in watchOS
 100 | 	func windowLevel(modalController: NKModalController) -> UIWindow.Level { .normal + 1 }
 101 | 	func transitionView(modalController: NKModalController) -> UIView? { nil }
 102 | 	func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode? { nil }
     |                                                                        `- error: 'UIView' is unavailable in watchOS
 103 |
 104 | }
/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/NKModalPresenter/NKModalController.swift:108:32: error: 'UIView' is unavailable in watchOS
 106 | extension NKModalPresentPosition {
 107 |
 108 | 	func toPresentAnimation(view: UIView) -> NKModalPresentAnimation {
     |                                `- error: 'UIView' is unavailable in watchOS
 109 | 		switch self {
 110 | 		case .top: return .fromTop
/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/NKModalPresenter/NKModalController.swift:137:32: error: 'UIView' is unavailable in watchOS
 135 | 	}
 136 |
 137 | 	func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
     |                                `- error: 'UIView' is unavailable in watchOS
 138 | 		switch self {
 139 | 		case .top: return .toTop
/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/NKModalPresenter/NKModalController.swift:170:32: error: 'UIView' is unavailable in watchOS
 168 | extension NKModalPresentAnimation {
 169 |
 170 | 	func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
     |                                `- error: 'UIView' is unavailable in watchOS
 171 | 		switch self {
 172 | 			case .fromTop: return .toTop
/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/NKModalPresenter/NKModalController.swift:185:30: error: 'UIView' is unavailable in watchOS
 183 | extension NKModalEasingAnimation {
 184 |
 185 | 	func toAnimationOption() -> UIView.AnimationOptions {
     |                              `- error: 'UIView' is unavailable in watchOS
 186 | 		switch self {
 187 | 			case .easeIn: return .curveEaseIn
/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/NKModalPresenter/NKModalController.swift:198:24: error: 'UIWindow' is unavailable in watchOS
 196 | extension UIWindow {
 197 |
 198 | 	static var keyWindow: UIWindow? {
     |                        `- error: 'UIWindow' is unavailable in watchOS
 199 | 		if #available(iOS 13, *) {
 200 | 			return UIApplication.shared.windows.first { $0.isKeyWindow }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:196:11: error: 'UIWindow' is unavailable in watchOS
 194 | }
 195 |
 196 | extension UIWindow {
     |           `- error: 'UIWindow' is unavailable in watchOS
 197 |
 198 | 	static var keyWindow: UIWindow? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:233:43: error: 'UIView' is unavailable in watchOS
 231 | 	public var avoidKeyboard = false
 232 |
 233 | 	public fileprivate(set) var contentView: UIView!
     |                                           `- error: 'UIView' is unavailable in watchOS
 234 | 	public var anchorView: UIView? {
 235 | 		didSet {
/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/NKModalPresenter/NKModalController.swift:234:25: error: 'UIView' is unavailable in watchOS
 232 |
 233 | 	public fileprivate(set) var contentView: UIView!
 234 | 	public var anchorView: UIView? {
     |                         `- error: 'UIView' is unavailable in watchOS
 235 | 		didSet {
 236 | 			guard anchorView != oldValue else { return }
/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/NKModalPresenter/NKModalController.swift:254:32: error: 'CACornerMask' is unavailable in watchOS
 252 | 	public static var easingAnimation: NKModalEasingAnimation = .easeInOut
 253 | 	public static var cornerRadius: CGFloat = 8.0
 254 | 	public static var cornerMask: CACornerMask = [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner]
     |                                `- error: 'CACornerMask' is unavailable in watchOS
 255 |
 256 | 	public var backgroundColor = NKModalController.backgroundColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:106:33: note: 'CACornerMask' has been explicitly marked unavailable here
 104 | /* Bit definitions for `maskedCorners' property. */
 105 |
 106 | typedef NS_OPTIONS (NSUInteger, CACornerMask)
     |                                 `- note: 'CACornerMask' has been explicitly marked unavailable here
 107 | {
 108 |   kCALayerMinXMinYCorner = 1U << 0,
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:260:25: error: 'CACornerMask' is unavailable in watchOS
 258 | 	public var easingAnimation: NKModalEasingAnimation = NKModalController.easingAnimation
 259 | 	public var cornerRadius: CGFloat = NKModalController.cornerRadius
 260 | 	public var cornerMask: CACornerMask = NKModalController.cornerMask
     |                         `- error: 'CACornerMask' is unavailable in watchOS
 261 |
 262 | 	let containerView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:106:33: note: 'CACornerMask' has been explicitly marked unavailable here
 104 | /* Bit definitions for `maskedCorners' property. */
 105 |
 106 | typedef NS_OPTIONS (NSUInteger, CACornerMask)
     |                                 `- note: 'CACornerMask' has been explicitly marked unavailable here
 107 | {
 108 |   kCALayerMinXMinYCorner = 1U << 0,
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:262:22: error: 'UIView' is unavailable in watchOS
 260 | 	public var cornerMask: CACornerMask = NKModalController.cornerMask
 261 |
 262 | 	let containerView = UIView()
     |                      `- error: 'UIView' is unavailable in watchOS
 263 | 	var window: UIWindow?
 264 | 	weak var lastWindow: UIWindow?
/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/NKModalPresenter/NKModalController.swift:262:22: error: 'init()' is unavailable in watchOS
 260 | 	public var cornerMask: CACornerMask = NKModalController.cornerMask
 261 |
 262 | 	let containerView = UIView()
     |                      `- error: 'init()' is unavailable in watchOS
 263 | 	var window: UIWindow?
 264 | 	weak var lastWindow: UIWindow?
/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/NKModalPresenter/NKModalController.swift:263:14: error: 'UIWindow' is unavailable in watchOS
 261 |
 262 | 	let containerView = UIView()
 263 | 	var window: UIWindow?
     |              `- error: 'UIWindow' is unavailable in watchOS
 264 | 	weak var lastWindow: UIWindow?
 265 | 	var lastPosition: (container: UIView, frame: CGRect)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:264:23: error: 'UIWindow' is unavailable in watchOS
 262 | 	let containerView = UIView()
 263 | 	var window: UIWindow?
 264 | 	weak var lastWindow: UIWindow?
     |                       `- error: 'UIWindow' is unavailable in watchOS
 265 | 	var lastPosition: (container: UIView, frame: CGRect)?
 266 | 	var anchorCapturedView: UIImageView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
 20 |
 21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 22 | @interface UIWindow : UIView
    |            `- note: 'UIWindow' has been explicitly marked unavailable here
 23 |
 24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:265:32: error: 'UIView' is unavailable in watchOS
 263 | 	var window: UIWindow?
 264 | 	weak var lastWindow: UIWindow?
 265 | 	var lastPosition: (container: UIView, frame: CGRect)?
     |                                `- error: 'UIView' is unavailable in watchOS
 266 | 	var anchorCapturedView: UIImageView?
 267 | 	var contentCapturedView: UIImageView?
/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/NKModalPresenter/NKModalController.swift:266:26: error: 'UIImageView' is unavailable in watchOS
 264 | 	weak var lastWindow: UIWindow?
 265 | 	var lastPosition: (container: UIView, frame: CGRect)?
 266 | 	var anchorCapturedView: UIImageView?
     |                          `- error: 'UIImageView' is unavailable in watchOS
 267 | 	var contentCapturedView: UIImageView?
 268 | 	var transitionView: UIView?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:267:27: error: 'UIImageView' is unavailable in watchOS
 265 | 	var lastPosition: (container: UIView, frame: CGRect)?
 266 | 	var anchorCapturedView: UIImageView?
 267 | 	var contentCapturedView: UIImageView?
     |                           `- error: 'UIImageView' is unavailable in watchOS
 268 | 	var transitionView: UIView?
 269 | 	var lastTransitionViewAlpha: CGFloat = 1.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:268:22: error: 'UIView' is unavailable in watchOS
 266 | 	var anchorCapturedView: UIImageView?
 267 | 	var contentCapturedView: UIImageView?
 268 | 	var transitionView: UIView?
     |                      `- error: 'UIView' is unavailable in watchOS
 269 | 	var lastTransitionViewAlpha: CGFloat = 1.0
 270 | 	var keyboardHeight: CGFloat = 0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/NKModalPresenter/NKModalController.swift:274:23: error: 'UIInterfaceOrientation' is unavailable in watchOS
 272 | 	var lastAnchorViewAlpha: CGFloat = 1.0
 273 | 	var lastViewSize: CGSize?
 274 | 	var lastOrientation: UIInterfaceOrientation?
     |                       `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 275 |
 276 | 	var tapGesture: UITapGestureRecognizer?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:276:18: error: 'UITapGestureRecognizer' is unavailable in watchOS
 274 | 	var lastOrientation: UIInterfaceOrientation?
 275 |
 276 | 	var tapGesture: UITapGestureRecognizer?
     |                  `- error: 'UITapGestureRecognizer' is unavailable in watchOS
 277 | 	var panGesture: UIPanGestureRecognizer?
 278 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger  numberOfTapsRequired;       // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:277:18: error: 'UIPanGestureRecognizer' is unavailable in watchOS
 275 |
 276 | 	var tapGesture: UITapGestureRecognizer?
 277 | 	var panGesture: UIPanGestureRecognizer?
     |                  `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
 278 |
 279 | 	public init(viewController: UIViewController) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic)          NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos);   // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:279:30: error: 'UIViewController' is unavailable in watchOS
 277 | 	var panGesture: UIPanGestureRecognizer?
 278 |
 279 | 	public init(viewController: UIViewController) {
     |                              `- error: 'UIViewController' is unavailable in watchOS
 280 | 		super.init(nibName: nil, bundle: nil)
 281 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:700:63: error: 'UIView' is unavailable in watchOS
 698 | 	}
 699 |
 700 | 	private func animationBlock(duration: TimeInterval, options: UIView.AnimationOptions, animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil) {
     |                                                               `- error: 'UIView' is unavailable in watchOS
 701 | 		if duration == 0 {
 702 | 			animations()
/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/NKModalPresenter/NKModalController.swift:710:31: error: 'UIView' is unavailable in watchOS
 708 | 	}
 709 |
 710 | 	private func capture(_ view: UIView) -> UIImageView {
     |                               `- error: 'UIView' is unavailable in watchOS
 711 | 		let imageView = UIImageView(image: captureImage(view))
 712 | 		imageView.clipsToBounds = 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: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/NKModalPresenter/NKModalController.swift:710:42: error: 'UIImageView' is unavailable in watchOS
 708 | 	}
 709 |
 710 | 	private func capture(_ view: UIView) -> UIImageView {
     |                                          `- error: 'UIImageView' is unavailable in watchOS
 711 | 		let imageView = UIImageView(image: captureImage(view))
 712 | 		imageView.clipsToBounds = 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/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:720:36: error: 'UIView' is unavailable in watchOS
 718 | 	}
 719 |
 720 | 	private func captureImage(_ view: UIView) -> UIImage? {
     |                                    `- error: 'UIView' is unavailable in watchOS
 721 | 		UIGraphicsBeginImageContext(view.frame.size)
 722 |
/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/NKModalPresenter/NKModalController.swift:735:53: error: 'UIImageView' is unavailable in watchOS
 733 | 	}
 734 |
 735 | 	private func removeCapturedView(_ imageView: inout UIImageView?) {
     |                                                     `- error: 'UIImageView' is unavailable in watchOS
 736 | 		imageView?.removeFromSuperview()
 737 | 		imageView?.image = nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
 19 |
 20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 21 | @interface UIImageView : UIView
    |            `- note: 'UIImageView' has been explicitly marked unavailable here
 22 |
 23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:863:30: error: 'UIPanGestureRecognizer' is unavailable in watchOS
 861 | 	fileprivate var originPoint: CGPoint = .zero
 862 |
 863 | 	@objc func onPan(_ gesture: UIPanGestureRecognizer) {
     |                              `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
 864 | 		let enablePanGesture = delegate?.shouldDragToDismiss(modalController: self) ?? dragToDismiss
 865 | 		guard enablePanGesture else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
   |            `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic)          NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos);   // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: error: cannot override 'shouldAutorotate' which has been marked unavailable
 987 | 	// Orientation
 988 |
 989 | 	public override var shouldAutorotate: Bool {
     |                      |- error: cannot override 'shouldAutorotate' which has been marked unavailable
     |                      `- note: remove 'override' modifier to declare a new 'shouldAutorotate'
 990 | 		return visibleViewController?.shouldAutorotate ?? true
 991 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:384:37: note: 'shouldAutorotate' has been explicitly marked unavailable here
382 |
383 | // New Autorotation support.
384 | @property(nonatomic, readonly) BOOL shouldAutorotate API_DEPRECATED("Update supported interface orientations and call setNeedsUpdateOfSupportedInterfaceOrientations to indicate a change.", ios(6.0, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
    |                                     `- note: 'shouldAutorotate' has been explicitly marked unavailable here
385 | @property(nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(tvos);
386 | // Returns interface orientation masks.
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:53: error: 'UIGestureRecognizer' is unavailable in watchOS
 964 | extension NKModalController: UIGestureRecognizerDelegate {
 965 |
 966 | 	public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
     |                                                     `- error: 'UIGestureRecognizer' is unavailable in watchOS
 967 | 	    if touch.view == view {
 968 | 			let enableTapOutsideToDismiss = delegate?.shouldTapOutsideToDismiss(modalController: self) ?? tapOutsideToDismiss
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 33 |
 34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 35 | @interface UIGestureRecognizer : NSObject
    |            `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
 36 |
 37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:95: error: 'UITouch' is unavailable in watchOS
 964 | extension NKModalController: UIGestureRecognizerDelegate {
 965 |
 966 | 	public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
     |                                                                                               `- error: 'UITouch' is unavailable in watchOS
 967 | 	    if touch.view == view {
 968 | 			let enableTapOutsideToDismiss = delegate?.shouldTapOutsideToDismiss(modalController: self) ?? tapOutsideToDismiss
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
 49 |
 50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 51 | @interface UITouch : NSObject
    |            `- note: 'UITouch' has been explicitly marked unavailable here
 52 |
 53 | @property(nonatomic,readonly) NSTimeInterval      timestamp;
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:964:30: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 962 | }
 963 |
 964 | extension NKModalController: UIGestureRecognizerDelegate {
     |                              `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
 965 |
 966 | 	public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 89 |
 90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
 91 | @protocol UIGestureRecognizerDelegate <NSObject>
    |           `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
 92 | @optional
 93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:981:53: error: 'UIViewController' is unavailable in watchOS
 979 |
 980 | public class NKModalContainerViewController: UIViewController {
 981 | 	public fileprivate(set) var contentViewController: UIViewController!
     |                                                     `- error: 'UIViewController' is unavailable in watchOS
 982 |
 983 | 	var visibleViewController: UIViewController? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:983:29: error: 'UIViewController' is unavailable in watchOS
 981 | 	public fileprivate(set) var contentViewController: UIViewController!
 982 |
 983 | 	var visibleViewController: UIViewController? {
     |                             `- error: 'UIViewController' is unavailable in watchOS
 984 | 		return (contentViewController as? UINavigationController)?.visibleViewController ?? contentViewController
 985 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:993:54: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 991 | 	}
 992 |
 993 | 	public override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
     |                                                      `- error: 'UIInterfaceOrientationMask' is unavailable in watchOS
 994 | 		return visibleViewController?.supportedInterfaceOrientations ?? .all
 995 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(tvos, watchos);
48 |
49 | typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
   |                                `- note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
50 |     UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
51 |     UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:997:68: error: 'UIInterfaceOrientation' is unavailable in watchOS
 995 | 	}
 996 |
 997 | 	public override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
     |                                                                    `- error: 'UIInterfaceOrientation' is unavailable in watchOS
 998 | 		#if targetEnvironment(macCatalyst)
 999 | 		return visibleViewController?.preferredInterfaceOrientationForPresentation ?? UIApplication.shared.windows.first?.windowScene?.interfaceOrientation ?? .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
39 | // Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa).
40 | // This is because rotating the device to the left requires rotating the content to the right.
41 | typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
   |                            `- note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
42 |     UIInterfaceOrientationUnknown            = UIDeviceOrientationUnknown,
43 |     UIInterfaceOrientationPortrait           = UIDeviceOrientationPortrait,
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1011:47: error: 'UIStatusBarStyle' is unavailable in watchOS
1009 | 	}
1010 |
1011 | 	public override var preferredStatusBarStyle: UIStatusBarStyle {
     |                                               `- error: 'UIStatusBarStyle' is unavailable in watchOS
1012 | 		return visibleViewController?.preferredStatusBarStyle ?? .default
1013 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
 20 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
 21 |
 22 | typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
    |                            `- note: 'UIStatusBarStyle' has been explicitly marked unavailable here
 23 |     UIStatusBarStyleDefault                                  = 0, // Automatically chooses light or dark content based on the user interface style
 24 |     UIStatusBarStyleLightContent     API_AVAILABLE(ios(7.0)) = 1, // Light content, for use on dark backgrounds
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1015:57: error: 'UIStatusBarAnimation' is unavailable in watchOS
1013 | 	}
1014 |
1015 | 	public override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
     |                                                         `- error: 'UIStatusBarAnimation' is unavailable in watchOS
1016 | 		return visibleViewController?.preferredStatusBarUpdateAnimation ?? .fade
1017 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:31:28: note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
 29 | } API_UNAVAILABLE(tvos, watchos);
 30 |
 31 | typedef NS_ENUM(NSInteger, UIStatusBarAnimation) {
    |                            `- note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
 32 |     UIStatusBarAnimationNone,
 33 |     UIStatusBarAnimationFade API_AVAILABLE(ios(3.2)),
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:980:46: error: 'UIViewController' is unavailable in watchOS
 978 | }
 979 |
 980 | public class NKModalContainerViewController: UIViewController {
     |                                              `- error: 'UIViewController' is unavailable in watchOS
 981 | 	public fileprivate(set) var contentViewController: UIViewController!
 982 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1023:11: error: 'UIViewController' is unavailable in watchOS
1021 | // Swizzle methods
1022 |
1023 | extension UIViewController {
     |           `- error: 'UIViewController' is unavailable in watchOS
1024 |
1025 | 	func swizzleInstanceMethod(from sel1: Selector, to sel2: Selector) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:34:38: error: 'UIViewController' is unavailable in watchOS
 32 |
 33 | 	@discardableResult
 34 | 	public func present(viewController: UIViewController, animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) -> NKModalController {
    |                                      `- error: 'UIViewController' is unavailable in watchOS
 35 | 		let modalController = NKModalController(viewController: viewController)
 36 | 		modalController.present(animate: animate, to: position)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:43:38: error: 'UIViewController' is unavailable in watchOS
 41 | 	}
 42 |
 43 | 	public func dismiss(viewController: UIViewController, animated: Bool, completion: (() -> Void)? = nil) {
    |                                      `- error: 'UIViewController' is unavailable in watchOS
 44 | 		guard let modalController = modalController(containing: viewController) else { return }
 45 | 		activeModalControllers.remove(element: modalController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:63:57: error: 'UIViewController' is unavailable in watchOS
 61 | 	}
 62 |
 63 | 	public func modalController(containing viewController: UIViewController) -> NKModalController? {
    |                                                         `- error: 'UIViewController' is unavailable in watchOS
 64 | 		return activeModalControllers.first(where: { $0.contentViewController == viewController || $0.contentViewController == viewController.navigationController })
 65 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:67:47: error: 'UIView' is unavailable in watchOS
 65 | 	}
 66 |
 67 | 	public func modalController(containing view: UIView) -> NKModalController? {
    |                                               `- error: 'UIView' is unavailable in watchOS
 68 | 		return activeModalControllers.first(where: { $0.contentViewController.view == view})
 69 | 	}
/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/NKModalPresenter/NKModalPresenter.swift:83:11: error: 'UIViewController' is unavailable in watchOS
 81 | }
 82 |
 83 | extension UIViewController {
    |           `- error: 'UIViewController' is unavailable in watchOS
 84 |
 85 | 	@discardableResult
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/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/NKModalPresenter.build/Debug-watchos/NKModalPresenter-t.build/Objects-normal/arm64/NKModalPresenter-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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/NKModalPresenter.build/Debug-watchos/NKModalPresenter-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NKModalPresenter -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter-t.build/Objects-normal/arm64/NKModalPresenter_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter-t.build/Objects-normal/arm64/NKModalPresenter.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter-t.build/Objects-normal/arm64/NKModalPresenter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter-t.build/Objects-normal/arm64/NKModalPresenter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter-t.build/Objects-normal/arm64/NKModalPresenter-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter-t.build/Objects-normal/arm64/NKModalPresenter-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter-t.build/Objects-normal/arm64/NKModalPresenter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter-t.build/Objects-normal/arm64/NKModalPresenter.abi.json
SwiftCompile normal arm64 (in target 'NKModalPresenter' from project 'NKModalPresenter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64_32 Compiling\ NKModalPresenter.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile NKModalPresenter.swift
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:34:38: error: 'UIViewController' is unavailable in watchOS
 32 |
 33 | 	@discardableResult
 34 | 	public func present(viewController: UIViewController, animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) -> NKModalController {
    |                                      `- error: 'UIViewController' is unavailable in watchOS
 35 | 		let modalController = NKModalController(viewController: viewController)
 36 | 		modalController.present(animate: animate, to: position)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:43:38: error: 'UIViewController' is unavailable in watchOS
 41 | 	}
 42 |
 43 | 	public func dismiss(viewController: UIViewController, animated: Bool, completion: (() -> Void)? = nil) {
    |                                      `- error: 'UIViewController' is unavailable in watchOS
 44 | 		guard let modalController = modalController(containing: viewController) else { return }
 45 | 		activeModalControllers.remove(element: modalController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:63:57: error: 'UIViewController' is unavailable in watchOS
 61 | 	}
 62 |
 63 | 	public func modalController(containing viewController: UIViewController) -> NKModalController? {
    |                                                         `- error: 'UIViewController' is unavailable in watchOS
 64 | 		return activeModalControllers.first(where: { $0.contentViewController == viewController || $0.contentViewController == viewController.navigationController })
 65 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:67:47: error: 'UIView' is unavailable in watchOS
 65 | 	}
 66 |
 67 | 	public func modalController(containing view: UIView) -> NKModalController? {
    |                                               `- error: 'UIView' is unavailable in watchOS
 68 | 		return activeModalControllers.first(where: { $0.contentViewController.view == view})
 69 | 	}
/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 Compiling\ NKModalPresenter.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile NKModalPresenter.swift
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:34:38: error: 'UIViewController' is unavailable in watchOS
 32 |
 33 | 	@discardableResult
 34 | 	public func present(viewController: UIViewController, animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) -> NKModalController {
    |                                      `- error: 'UIViewController' is unavailable in watchOS
 35 | 		let modalController = NKModalController(viewController: viewController)
 36 | 		modalController.present(animate: animate, to: position)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:43:38: error: 'UIViewController' is unavailable in watchOS
 41 | 	}
 42 |
 43 | 	public func dismiss(viewController: UIViewController, animated: Bool, completion: (() -> Void)? = nil) {
    |                                      `- error: 'UIViewController' is unavailable in watchOS
 44 | 		guard let modalController = modalController(containing: viewController) else { return }
 45 | 		activeModalControllers.remove(element: modalController)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:63:57: error: 'UIViewController' is unavailable in watchOS
 61 | 	}
 62 |
 63 | 	public func modalController(containing viewController: UIViewController) -> NKModalController? {
    |                                                         `- error: 'UIViewController' is unavailable in watchOS
 64 | 		return activeModalControllers.first(where: { $0.contentViewController == viewController || $0.contentViewController == viewController.navigationController })
 65 | 	}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
    |            `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:67:47: error: 'UIView' is unavailable in watchOS
 65 | 	}
 66 |
 67 | 	public func modalController(containing view: UIView) -> NKModalController? {
    |                                               `- error: 'UIView' is unavailable in watchOS
 68 | 		return activeModalControllers.first(where: { $0.contentViewController.view == view})
 69 | 	}
/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.
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-22 01:23:30.618 xcodebuild[790:4849] [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 'NKModalPresenter' from project 'NKModalPresenter')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
	SwiftCompile normal arm64 (in target 'NKModalPresenter' from project 'NKModalPresenter')
	Building workspace NKModalPresenter with scheme NKModalPresenter
(5 failures)
BUILD FAILURE 6.4 watchOS